IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-isp-video.c_fimc_isp_video_device_unregister.c' source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-isp-video.c_fimc_isp_video_device_unregister.c" target datalayout = "e-m:e-p270:32:32-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.fimc_isp = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.exynos_video_entity } %struct.exynos_video_entity = type { ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @fimc_isp_video_device_unregister(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, align 4, !tbaa !5 %4 = icmp eq i32 %3, %1 br i1 %4, label %5, label %16 5: ; preds = %2 %6 = tail call i32 @mutex_lock(ptr noundef %0) #2 %7 = getelementptr inbounds %struct.fimc_isp, ptr %0, i64 0, i32 1, i32 0, i32 1 %8 = tail call i64 @video_is_registered(ptr noundef nonnull %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %5 %11 = getelementptr inbounds %struct.fimc_isp, ptr %0, i64 0, i32 1 %12 = tail call i32 @video_unregister_device(ptr noundef nonnull %7) #2 %13 = tail call i32 @media_entity_cleanup(ptr noundef nonnull %7) #2 store ptr null, ptr %11, align 8, !tbaa !9 br label %14 14: ; preds = %10, %5 %15 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %16 16: ; preds = %2, %14 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @video_is_registered(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @media_entity_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"exynos_video_entity", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_5__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-isp-video.c_fimc_isp_video_device_unregister.c' source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-isp-video.c_fimc_isp_video_device_unregister.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @fimc_isp_video_device_unregister(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, align 4, !tbaa !6 %4 = icmp eq i32 %3, %1 br i1 %4, label %5, label %16 5: ; preds = %2 %6 = tail call i32 @mutex_lock(ptr noundef %0) #2 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = tail call i64 @video_is_registered(ptr noundef nonnull %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = tail call i32 @video_unregister_device(ptr noundef nonnull %7) #2 %13 = tail call i32 @media_entity_cleanup(ptr noundef nonnull %7) #2 store ptr null, ptr %11, align 8, !tbaa !10 br label %14 14: ; preds = %10, %5 %15 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %16 16: ; preds = %2, %14 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @video_is_registered(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @media_entity_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"exynos_video_entity", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_5__", !7, i64 0}
linux_drivers_media_platform_exynos4-is_extr_fimc-isp-video.c_fimc_isp_video_device_unregister
; ModuleID = 'AnghaBench/tengine/src/http/extr_ngx_http_script.c_ngx_http_script_run.c' source_filename = "AnghaBench/tengine/src/http/extr_ngx_http_script.c_ngx_http_script_run.c" target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32, ptr, ptr, ptr } %struct.TYPE_18__ = type { i32, ptr } %struct.TYPE_15__ = type { i64, i64, i64 } %struct.TYPE_16__ = type { i64, ptr } @ngx_http_core_module = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @ngx_http_script_run(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.TYPE_17__, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !5 %8 = tail call ptr @ngx_http_get_module_main_conf(ptr noundef %0, i32 noundef %7) #4 %9 = load i64, ptr %8, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 br i1 %10, label %46, label %11 11: ; preds = %5 %12 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = and i64 %9, 1 %15 = icmp eq i64 %9, 1 br i1 %15, label %37, label %16 16: ; preds = %11 %17 = and i64 %9, -2 br label %18 18: ; preds = %33, %16 %19 = phi i64 [ 0, %16 ], [ %34, %33 ] %20 = phi i64 [ 0, %16 ], [ %35, %33 ] %21 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %19, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18 %25 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %19 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, i8 0, i64 16, i1 false) br label %26 26: ; preds = %18, %24 %27 = or disjoint i64 %19, 1 %28 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %27, i32 2 %29 = load i64, ptr %28, align 8, !tbaa !16 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %26 %32 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %27 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %32, i8 0, i64 16, i1 false) br label %33 33: ; preds = %31, %26 %34 = add nuw i64 %19, 2 %35 = add i64 %20, 2 %36 = icmp eq i64 %35, %17 br i1 %36, label %37, label %18, !llvm.loop !18 37: ; preds = %33, %11 %38 = phi i64 [ 0, %11 ], [ %34, %33 ] %39 = icmp eq i64 %14, 0 br i1 %39, label %46, label %40 40: ; preds = %37 %41 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %38, i32 2 %42 = load i64, ptr %41, align 8, !tbaa !16 %43 = icmp eq i64 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %40 %45 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %38 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %45, i8 0, i64 16, i1 false) br label %46 46: ; preds = %37, %44, %40, %5 %47 = call i32 @ngx_memzero(ptr noundef nonnull %6, i32 noundef 32) #4 %48 = getelementptr inbounds %struct.TYPE_17__, ptr %6, i64 0, i32 2 store ptr %2, ptr %48, align 8, !tbaa !20 %49 = getelementptr inbounds %struct.TYPE_17__, ptr %6, i64 0, i32 3 store ptr %0, ptr %49, align 8, !tbaa !22 store i32 1, ptr %6, align 8, !tbaa !23 %50 = load i64, ptr %2, align 8 %51 = icmp eq i64 %50, 0 br i1 %51, label %61, label %52 52: ; preds = %46, %52 %53 = phi i64 [ %59, %52 ], [ %50, %46 ] %54 = phi i64 [ %57, %52 ], [ %3, %46 ] %55 = inttoptr i64 %53 to ptr %56 = call i64 %55(ptr noundef nonnull %6) #4 %57 = add i64 %56, %54 %58 = load ptr, ptr %48, align 8, !tbaa !20 %59 = load i64, ptr %58, align 8 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %52, !llvm.loop !24 61: ; preds = %52, %46 %62 = phi i64 [ %3, %46 ], [ %57, %52 ] store i64 %62, ptr %1, align 8, !tbaa !25 %63 = load i32, ptr %0, align 8, !tbaa !27 %64 = call ptr @ngx_pnalloc(i32 noundef %63, i64 noundef %62) #4 %65 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1 store ptr %64, ptr %65, align 8, !tbaa !28 %66 = icmp eq ptr %64, null br i1 %66, label %80, label %67 67: ; preds = %61 store ptr %4, ptr %48, align 8, !tbaa !20 %68 = getelementptr inbounds %struct.TYPE_17__, ptr %6, i64 0, i32 1 store ptr %64, ptr %68, align 8, !tbaa !29 %69 = load i64, ptr %4, align 8 %70 = icmp eq i64 %69, 0 br i1 %70, label %80, label %71 71: ; preds = %67, %71 %72 = phi i64 [ %76, %71 ], [ %69, %67 ] %73 = inttoptr i64 %72 to ptr %74 = call i32 %73(ptr noundef nonnull %6) #4 %75 = load ptr, ptr %48, align 8, !tbaa !20 %76 = load i64, ptr %75, align 8 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %71, !llvm.loop !30 78: ; preds = %71 %79 = load ptr, ptr %68, align 8, !tbaa !29 br label %80 80: ; preds = %67, %78, %61 %81 = phi ptr [ null, %61 ], [ %79, %78 ], [ %64, %67 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 ret ptr %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ngx_http_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_pnalloc(i32 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"TYPE_19__", !11, i64 0} !11 = !{!"TYPE_14__", !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"TYPE_18__", !6, i64 0, !15, i64 8} !15 = !{!"any pointer", !7, i64 0} !16 = !{!17, !12, i64 16} !17 = !{!"TYPE_15__", !12, i64 0, !12, i64 8, !12, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!21, !15, i64 16} !21 = !{!"TYPE_17__", !6, i64 0, !15, i64 8, !15, i64 16, !15, i64 24} !22 = !{!21, !15, i64 24} !23 = !{!21, !6, i64 0} !24 = distinct !{!24, !19} !25 = !{!26, !12, i64 0} !26 = !{!"TYPE_16__", !12, i64 0, !15, i64 8} !27 = !{!14, !6, i64 0} !28 = !{!26, !15, i64 8} !29 = !{!21, !15, i64 8} !30 = distinct !{!30, !19}
; ModuleID = 'AnghaBench/tengine/src/http/extr_ngx_http_script.c_ngx_http_script_run.c' source_filename = "AnghaBench/tengine/src/http/extr_ngx_http_script.c_ngx_http_script_run.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i32, ptr, ptr, ptr } %struct.TYPE_15__ = type { i64, i64, i64 } @ngx_http_core_module = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ngx_http_script_run(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.TYPE_17__, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !6 %8 = tail call ptr @ngx_http_get_module_main_conf(ptr noundef %0, i32 noundef %7) #4 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %24, label %11 11: ; preds = %5 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !14 br label %14 14: ; preds = %11, %21 %15 = phi i64 [ 0, %11 ], [ %22, %21 ] %16 = getelementptr inbounds %struct.TYPE_15__, ptr %13, i64 %15 %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp eq i64 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false) br label %21 21: ; preds = %14, %20 %22 = add nuw i64 %15, 1 %23 = icmp eq i64 %22, %9 br i1 %23, label %24, label %14, !llvm.loop !19 24: ; preds = %21, %5 %25 = call i32 @ngx_memzero(ptr noundef nonnull %6, i32 noundef 32) #4 %26 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %2, ptr %26, align 8, !tbaa !21 %27 = getelementptr inbounds i8, ptr %6, i64 24 store ptr %0, ptr %27, align 8, !tbaa !23 store i32 1, ptr %6, align 8, !tbaa !24 %28 = load i64, ptr %2, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %39, label %30 30: ; preds = %24, %30 %31 = phi i64 [ %37, %30 ], [ %28, %24 ] %32 = phi i64 [ %35, %30 ], [ %3, %24 ] %33 = inttoptr i64 %31 to ptr %34 = call i64 %33(ptr noundef nonnull %6) #4 %35 = add i64 %34, %32 %36 = load ptr, ptr %26, align 8, !tbaa !21 %37 = load i64, ptr %36, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %30, !llvm.loop !25 39: ; preds = %30, %24 %40 = phi i64 [ %3, %24 ], [ %35, %30 ] store i64 %40, ptr %1, align 8, !tbaa !26 %41 = load i32, ptr %0, align 8, !tbaa !28 %42 = call ptr @ngx_pnalloc(i32 noundef %41, i64 noundef %40) #4 %43 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %42, ptr %43, align 8, !tbaa !29 %44 = icmp eq ptr %42, null br i1 %44, label %58, label %45 45: ; preds = %39 store ptr %4, ptr %26, align 8, !tbaa !21 %46 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %42, ptr %46, align 8, !tbaa !30 %47 = load i64, ptr %4, align 8 %48 = icmp eq i64 %47, 0 br i1 %48, label %58, label %49 49: ; preds = %45, %49 %50 = phi i64 [ %54, %49 ], [ %47, %45 ] %51 = inttoptr i64 %50 to ptr %52 = call i32 %51(ptr noundef nonnull %6) #4 %53 = load ptr, ptr %26, align 8, !tbaa !21 %54 = load i64, ptr %53, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %49, !llvm.loop !31 56: ; preds = %49 %57 = load ptr, ptr %46, align 8, !tbaa !30 br label %58 58: ; preds = %45, %56, %39 %59 = phi ptr [ null, %39 ], [ %57, %56 ], [ %42, %45 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 ret ptr %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ngx_http_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_pnalloc(i32 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_19__", !12, i64 0} !12 = !{!"TYPE_14__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_18__", !7, i64 0, !16, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !13, i64 16} !18 = !{!"TYPE_15__", !13, i64 0, !13, i64 8, !13, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!22, !16, i64 16} !22 = !{!"TYPE_17__", !7, i64 0, !16, i64 8, !16, i64 16, !16, i64 24} !23 = !{!22, !16, i64 24} !24 = !{!22, !7, i64 0} !25 = distinct !{!25, !20} !26 = !{!27, !13, i64 0} !27 = !{!"TYPE_16__", !13, i64 0, !16, i64 8} !28 = !{!15, !7, i64 0} !29 = !{!27, !16, i64 8} !30 = !{!22, !16, i64 8} !31 = distinct !{!31, !20}
tengine_src_http_extr_ngx_http_script.c_ngx_http_script_run
; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_iext_tree.c_xfs_iext_inc_seq.c' source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_iext_tree.c_xfs_iext_inc_seq.c" target datalayout = "e-m:e-p270:32:32-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 @xfs_iext_inc_seq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @xfs_iext_inc_seq(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i64 @READ_ONCE(i32 noundef %2) #2 %4 = add nsw i64 %3, 1 %5 = tail call i32 @WRITE_ONCE(i32 noundef %2, i64 noundef %4) #2 ret void } declare i32 @WRITE_ONCE(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @READ_ONCE(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 = !{!"xfs_ifork", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_iext_tree.c_xfs_iext_inc_seq.c' source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_iext_tree.c_xfs_iext_inc_seq.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 @xfs_iext_inc_seq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @xfs_iext_inc_seq(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i64 @READ_ONCE(i32 noundef %2) #2 %4 = add nsw i64 %3, 1 %5 = tail call i32 @WRITE_ONCE(i32 noundef %2, i64 noundef %4) #2 ret void } declare i32 @WRITE_ONCE(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @READ_ONCE(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 = !{!"xfs_ifork", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_xfs_libxfs_extr_xfs_iext_tree.c_xfs_iext_inc_seq
; ModuleID = 'AnghaBench/php-src/ext/standard/extr_var.c_php_var_serialize_long.c' source_filename = "AnghaBench/php-src/ext/standard/extr_var.c_php_var_serialize_long.c" target datalayout = "e-m:e-p270:32:32-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"i:\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @php_var_serialize_long], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @php_var_serialize_long(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 2) #2 %4 = tail call i32 @smart_str_append_long(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 @smart_str_appendc(ptr noundef %0, i8 noundef signext 59) #2 ret void } declare i32 @smart_str_appendl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smart_str_append_long(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smart_str_appendc(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/php-src/ext/standard/extr_var.c_php_var_serialize_long.c' source_filename = "AnghaBench/php-src/ext/standard/extr_var.c_php_var_serialize_long.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"i:\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @php_var_serialize_long], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @php_var_serialize_long(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 2) #2 %4 = tail call i32 @smart_str_append_long(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 @smart_str_appendc(ptr noundef %0, i8 noundef signext 59) #2 ret void } declare i32 @smart_str_appendl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smart_str_append_long(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smart_str_appendc(ptr noundef, i8 noundef signext) 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)"}
php-src_ext_standard_extr_var.c_php_var_serialize_long
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsmbclient.c_libsmbc_close_dir.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsmbclient.c_libsmbc_close_dir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @libsmbc_close_dir], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @libsmbc_close_dir(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = icmp sgt i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @smbc_closedir(i32 noundef %3) #2 store i32 -1, ptr %2, align 4, !tbaa !10 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @libsmbc_close(ptr noundef nonnull %0) #2 ret i32 0 } declare i32 @smbc_closedir(i32 noundef) local_unnamed_addr #1 declare i32 @libsmbc_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, !7, i64 0} !6 = !{!"TYPE_5__", !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_6__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsmbclient.c_libsmbc_close_dir.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsmbclient.c_libsmbc_close_dir.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 @libsmbc_close_dir], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @libsmbc_close_dir(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = icmp sgt i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @smbc_closedir(i32 noundef %3) #2 store i32 -1, ptr %2, align 4, !tbaa !11 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @libsmbc_close(ptr noundef nonnull %0) #2 ret i32 0 } declare i32 @smbc_closedir(i32 noundef) local_unnamed_addr #1 declare i32 @libsmbc_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, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"int", !9, i64 0}
FFmpeg_libavformat_extr_libsmbclient.c_libsmbc_close_dir
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/usnic/extr_usnic_uiom.c_usnic_uiom_reg_get.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/usnic/extr_usnic_uiom.c_usnic_uiom_reg_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usnic_uiom_reg = type { i64, i32, i64, i32, i32, i32, ptr } %struct.usnic_uiom_pd = type { i32, i32 } @sorted_diff_intervals = dso_local global i32 0, align 4 @PAGE_MASK = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Failed get_pages vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @IOMMU_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"Failed disjoint interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"Failed map interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Failed insert interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @usnic_uiom_reg_get(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @sorted_diff_intervals, align 4, !tbaa !5 %7 = tail call i32 @LIST_HEAD(i32 noundef %6) #2 %8 = load i64, ptr @PAGE_MASK, align 8, !tbaa !9 %9 = xor i64 %8, -1 %10 = and i64 %9, %1 %11 = shl i64 %10, 32 %12 = ashr exact i64 %11, 32 %13 = add i64 %12, %2 %14 = tail call i64 @PAGE_ALIGN(i64 noundef %13) #2 %15 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !9 %16 = lshr i64 %14, %15 %17 = load i64, ptr @PAGE_MASK, align 8, !tbaa !9 %18 = and i64 %17, %1 %19 = lshr i64 %18, %15 %20 = add i64 %16, -1 %21 = add i64 %20, %19 %22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %23 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %22) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %5 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %27 = sub nsw i32 0, %26 %28 = tail call ptr @ERR_PTR(i32 noundef %27) #2 br label %78 29: ; preds = %5 %30 = trunc i64 %10 to i32 %31 = and i64 %8, %1 store i64 %31, ptr %23, align 8, !tbaa !11 %32 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 1 store i32 %30, ptr %32, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 2 store i64 %2, ptr %33, align 8, !tbaa !15 %34 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 3 store i32 1, ptr %34, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 6 store ptr %0, ptr %35, align 8, !tbaa !17 %36 = tail call i32 @usnic_uiom_get_pages(i64 noundef %1, i64 noundef %2, i32 noundef 1, i32 noundef %4, ptr noundef nonnull %23) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %29 %39 = tail call i32 @usnic_err(ptr noundef nonnull @.str, i64 noundef %19, i64 noundef %21, i32 noundef %36) #2 br label %74 40: ; preds = %29 %41 = tail call i32 @spin_lock(ptr noundef %0) #2 %42 = load i32, ptr @IOMMU_WRITE, align 4 %43 = getelementptr inbounds %struct.usnic_uiom_pd, ptr %0, i64 0, i32 1 %44 = tail call i32 @usnic_uiom_get_intervals_diff(i64 noundef %19, i64 noundef %21, i32 noundef %42, i32 noundef %42, ptr noundef nonnull %43, ptr noundef nonnull @sorted_diff_intervals) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %40 %47 = tail call i32 @usnic_err(ptr noundef nonnull @.str.1, i64 noundef %19, i64 noundef %21, i32 noundef %44) #2 br label %66 48: ; preds = %40 %49 = tail call i32 @usnic_uiom_map_sorted_intervals(ptr noundef nonnull @sorted_diff_intervals, ptr noundef nonnull %23) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %53, label %51 51: ; preds = %48 %52 = tail call i32 @usnic_err(ptr noundef nonnull @.str.2, i64 noundef %19, i64 noundef %21, i32 noundef %49) #2 br label %63 53: ; preds = %48 %54 = load i32, ptr @IOMMU_WRITE, align 4 %55 = tail call i32 @usnic_uiom_insert_interval(ptr noundef nonnull %43, i64 noundef %19, i64 noundef %21, i32 noundef %54) #2 %56 = icmp eq i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %53 %58 = tail call i32 @usnic_err(ptr noundef nonnull @.str.3, i64 noundef %19, i64 noundef %21, i32 noundef %55) #2 %59 = tail call i32 @usnic_uiom_unmap_sorted_intervals(ptr noundef nonnull @sorted_diff_intervals, ptr noundef %0) #2 br label %63 60: ; preds = %53 %61 = tail call i32 @usnic_uiom_put_interval_set(ptr noundef nonnull @sorted_diff_intervals) #2 %62 = tail call i32 @spin_unlock(ptr noundef %0) #2 br label %78 63: ; preds = %57, %51 %64 = phi i32 [ %49, %51 ], [ %55, %57 ] %65 = tail call i32 @usnic_uiom_put_interval_set(ptr noundef nonnull @sorted_diff_intervals) #2 br label %66 66: ; preds = %63, %46 %67 = phi i32 [ %44, %46 ], [ %64, %63 ] %68 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 5 %69 = tail call i32 @usnic_uiom_put_pages(ptr noundef nonnull %68, i32 noundef 0) #2 %70 = tail call i32 @spin_unlock(ptr noundef %0) #2 %71 = getelementptr inbounds %struct.usnic_uiom_reg, ptr %23, i64 0, i32 4 %72 = load i32, ptr %71, align 4, !tbaa !18 %73 = tail call i32 @mmdrop(i32 noundef %72) #2 br label %74 74: ; preds = %66, %38 %75 = phi i32 [ %36, %38 ], [ %67, %66 ] %76 = tail call i32 @kfree(ptr noundef nonnull %23) #2 %77 = tail call ptr @ERR_PTR(i32 noundef %75) #2 br label %78 78: ; preds = %74, %60, %25 %79 = phi ptr [ %77, %74 ], [ %23, %60 ], [ %28, %25 ] ret ptr %79 } declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_get_pages(i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_err(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_get_intervals_diff(i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_map_sorted_intervals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_insert_interval(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_put_interval_set(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_unmap_sorted_intervals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_put_pages(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmdrop(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !10, i64 0} !12 = !{!"usnic_uiom_reg", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !13, i64 40} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !6, i64 8} !15 = !{!12, !10, i64 16} !16 = !{!12, !6, i64 24} !17 = !{!12, !13, i64 40} !18 = !{!12, !6, i64 28}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/usnic/extr_usnic_uiom.c_usnic_uiom_reg_get.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/usnic/extr_usnic_uiom.c_usnic_uiom_reg_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sorted_diff_intervals = common global i32 0, align 4 @PAGE_MASK = common local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Failed get_pages vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @IOMMU_WRITE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"Failed disjoint interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"Failed map interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Failed insert interval vpn [0x%lx,0x%lx] err %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @usnic_uiom_reg_get(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @sorted_diff_intervals, align 4, !tbaa !6 %7 = tail call i32 @LIST_HEAD(i32 noundef %6) #2 %8 = load i64, ptr @PAGE_MASK, align 8, !tbaa !10 %9 = xor i64 %8, -1 %10 = and i64 %9, %1 %11 = shl i64 %10, 32 %12 = ashr exact i64 %11, 32 %13 = add i64 %12, %2 %14 = tail call i64 @PAGE_ALIGN(i64 noundef %13) #2 %15 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !10 %16 = lshr i64 %14, %15 %17 = load i64, ptr @PAGE_MASK, align 8, !tbaa !10 %18 = and i64 %17, %1 %19 = lshr i64 %18, %15 %20 = add i64 %16, -1 %21 = add i64 %20, %19 %22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %23 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %22) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %5 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %27 = sub nsw i32 0, %26 %28 = tail call ptr @ERR_PTR(i32 noundef %27) #2 br label %78 29: ; preds = %5 %30 = trunc i64 %10 to i32 %31 = and i64 %8, %1 store i64 %31, ptr %23, align 8, !tbaa !12 %32 = getelementptr inbounds i8, ptr %23, i64 8 store i32 %30, ptr %32, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %23, i64 16 store i64 %2, ptr %33, align 8, !tbaa !16 %34 = getelementptr inbounds i8, ptr %23, i64 24 store i32 1, ptr %34, align 8, !tbaa !17 %35 = getelementptr inbounds i8, ptr %23, i64 40 store ptr %0, ptr %35, align 8, !tbaa !18 %36 = tail call i32 @usnic_uiom_get_pages(i64 noundef %1, i64 noundef %2, i32 noundef 1, i32 noundef %4, ptr noundef nonnull %23) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %29 %39 = tail call i32 @usnic_err(ptr noundef nonnull @.str, i64 noundef %19, i64 noundef %21, i32 noundef %36) #2 br label %74 40: ; preds = %29 %41 = tail call i32 @spin_lock(ptr noundef %0) #2 %42 = load i32, ptr @IOMMU_WRITE, align 4 %43 = getelementptr inbounds i8, ptr %0, i64 4 %44 = tail call i32 @usnic_uiom_get_intervals_diff(i64 noundef %19, i64 noundef %21, i32 noundef %42, i32 noundef %42, ptr noundef nonnull %43, ptr noundef nonnull @sorted_diff_intervals) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %40 %47 = tail call i32 @usnic_err(ptr noundef nonnull @.str.1, i64 noundef %19, i64 noundef %21, i32 noundef %44) #2 br label %66 48: ; preds = %40 %49 = tail call i32 @usnic_uiom_map_sorted_intervals(ptr noundef nonnull @sorted_diff_intervals, ptr noundef nonnull %23) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %53, label %51 51: ; preds = %48 %52 = tail call i32 @usnic_err(ptr noundef nonnull @.str.2, i64 noundef %19, i64 noundef %21, i32 noundef %49) #2 br label %63 53: ; preds = %48 %54 = load i32, ptr @IOMMU_WRITE, align 4 %55 = tail call i32 @usnic_uiom_insert_interval(ptr noundef nonnull %43, i64 noundef %19, i64 noundef %21, i32 noundef %54) #2 %56 = icmp eq i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %53 %58 = tail call i32 @usnic_err(ptr noundef nonnull @.str.3, i64 noundef %19, i64 noundef %21, i32 noundef %55) #2 %59 = tail call i32 @usnic_uiom_unmap_sorted_intervals(ptr noundef nonnull @sorted_diff_intervals, ptr noundef %0) #2 br label %63 60: ; preds = %53 %61 = tail call i32 @usnic_uiom_put_interval_set(ptr noundef nonnull @sorted_diff_intervals) #2 %62 = tail call i32 @spin_unlock(ptr noundef %0) #2 br label %78 63: ; preds = %57, %51 %64 = phi i32 [ %49, %51 ], [ %55, %57 ] %65 = tail call i32 @usnic_uiom_put_interval_set(ptr noundef nonnull @sorted_diff_intervals) #2 br label %66 66: ; preds = %63, %46 %67 = phi i32 [ %44, %46 ], [ %64, %63 ] %68 = getelementptr inbounds i8, ptr %23, i64 32 %69 = tail call i32 @usnic_uiom_put_pages(ptr noundef nonnull %68, i32 noundef 0) #2 %70 = tail call i32 @spin_unlock(ptr noundef %0) #2 %71 = getelementptr inbounds i8, ptr %23, i64 28 %72 = load i32, ptr %71, align 4, !tbaa !19 %73 = tail call i32 @mmdrop(i32 noundef %72) #2 br label %74 74: ; preds = %66, %38 %75 = phi i32 [ %36, %38 ], [ %67, %66 ] %76 = tail call i32 @kfree(ptr noundef nonnull %23) #2 %77 = tail call ptr @ERR_PTR(i32 noundef %75) #2 br label %78 78: ; preds = %74, %60, %25 %79 = phi ptr [ %77, %74 ], [ %23, %60 ], [ %28, %25 ] ret ptr %79 } declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_get_pages(i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_err(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_get_intervals_diff(i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_map_sorted_intervals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_insert_interval(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_put_interval_set(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_unmap_sorted_intervals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usnic_uiom_put_pages(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmdrop(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !11, i64 0} !13 = !{!"usnic_uiom_reg", !11, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !14, i64 40} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !7, i64 8} !16 = !{!13, !11, i64 16} !17 = !{!13, !7, i64 24} !18 = !{!13, !14, i64 40} !19 = !{!13, !7, i64 28}
linux_drivers_infiniband_hw_usnic_extr_usnic_uiom.c_usnic_uiom_reg_get
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd4_replay_create_session.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd4_replay_create_session.c" target datalayout = "e-m:e-p270:32:32-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.nfsd4_clid_slot = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @nfsd4_replay_create_session], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nfsd4_replay_create_session(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.nfsd4_clid_slot, ptr %1, i64 0, i32 1 %4 = tail call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 4) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 ret i32 %5 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nfsd4_clid_slot", !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/fs/nfsd/extr_nfs4state.c_nfsd4_replay_create_session.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd4_replay_create_session.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 @nfsd4_replay_create_session], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nfsd4_replay_create_session(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = tail call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 4) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 ret i32 %5 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nfsd4_clid_slot", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_nfsd_extr_nfs4state.c_nfsd4_replay_create_session
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sunplus.c_setbrightness.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sunplus.c_setbrightness.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sd = type { i64, i32 } @BRIDGE_SPCA536 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @setbrightness], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @setbrightness(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @BRIDGE_SPCA536, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, i32 8432, i32 8615 %6 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @reg_w_riv(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %5, i32 noundef %7) #2 ret void } declare i32 @reg_w_riv(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, !7, i64 0} !6 = !{!"sd", !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sunplus.c_setbrightness.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sunplus.c_setbrightness.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BRIDGE_SPCA536 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @setbrightness], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @setbrightness(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @BRIDGE_SPCA536, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, i32 8432, i32 8615 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = tail call i32 @reg_w_riv(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %5, i32 noundef %7) #2 ret void } declare i32 @reg_w_riv(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, !8, i64 0} !7 = !{!"sd", !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_media_video_gspca_extr_sunplus.c_setbrightness
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkzynfw.c_parse_opt_board.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkzynfw.c_parse_opt_board.c" target datalayout = "e-m:e-p270:32:32-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 [29 x i8] c"parsing board option: -%c %s\00", align 1 @board = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [30 x i8] c"only one board option allowed\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"invalid/unknown board specified: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @parse_opt_board(i8 noundef signext %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @DBG(i32 noundef 1, ptr noundef nonnull @.str, i8 noundef signext %0, ptr noundef %1) #2 %4 = load ptr, ptr @board, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.1) #2 br label %16 8: ; preds = %2 %9 = tail call i64 @required_arg(i8 noundef signext %0, ptr noundef %1) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = tail call ptr @find_board(ptr noundef %1) #2 store ptr %12, ptr @board, align 8, !tbaa !5 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %11 %15 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.2, ptr noundef %1) #2 br label %16 16: ; preds = %11, %8, %14, %6 %17 = phi i32 [ -1, %6 ], [ -1, %14 ], [ -1, %8 ], [ 0, %11 ] ret i32 %17 } declare i32 @DBG(i32 noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @required_arg(i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare ptr @find_board(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/openwrt/tools/firmware-utils/src/extr_mkzynfw.c_parse_opt_board.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkzynfw.c_parse_opt_board.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 [29 x i8] c"parsing board option: -%c %s\00", align 1 @board = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [30 x i8] c"only one board option allowed\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"invalid/unknown board specified: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @parse_opt_board(i8 noundef signext %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @DBG(i32 noundef 1, ptr noundef nonnull @.str, i8 noundef signext %0, ptr noundef %1) #2 %4 = load ptr, ptr @board, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.1) #2 br label %16 8: ; preds = %2 %9 = tail call i64 @required_arg(i8 noundef signext %0, ptr noundef %1) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = tail call ptr @find_board(ptr noundef %1) #2 store ptr %12, ptr @board, align 8, !tbaa !6 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %11 %15 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.2, ptr noundef %1) #2 br label %16 16: ; preds = %11, %8, %14, %6 %17 = phi i32 [ -1, %6 ], [ -1, %14 ], [ -1, %8 ], [ 0, %11 ] ret i32 %17 } declare i32 @DBG(i32 noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @required_arg(i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare ptr @find_board(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"}
openwrt_tools_firmware-utils_src_extr_mkzynfw.c_parse_opt_board
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_irq_locked.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_irq_locked.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.wl1271 = type { i32, i64, i32, i32, i32, i32, i32, ptr, i32 } @WL1271_IRQ_MAX_LOOPS = dso_local local_unnamed_addr global i32 0, align 4 @WL12XX_PLATFORM_QUIRK_EDGE_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @DEBUG_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"IRQ work\00", align 1 @WLCORE_STATE_ON = dso_local local_unnamed_addr global i64 0, align 8 @WL1271_FLAG_IRQ_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @WLCORE_ALL_INTR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WL1271_ACX_INTR_WATCHDOG = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"HW watchdog interrupt received! starting recovery.\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @WL1271_ACX_SW_INTR_WATCHDOG = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"SW watchdog interrupt received! starting recovery.\00", align 1 @WL1271_ACX_INTR_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"WL1271_ACX_INTR_DATA\00", align 1 @WL1271_FLAG_FW_TX_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @WL1271_DEFERRED_QUEUE_LIMIT = dso_local local_unnamed_addr global i32 0, align 4 @WL1271_ACX_INTR_EVENT_A = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [24 x i8] c"WL1271_ACX_INTR_EVENT_A\00", align 1 @WL1271_ACX_INTR_EVENT_B = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [24 x i8] c"WL1271_ACX_INTR_EVENT_B\00", align 1 @WL1271_ACX_INTR_INIT_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [30 x i8] c"WL1271_ACX_INTR_INIT_COMPLETE\00", align 1 @WL1271_ACX_INTR_HW_AVAILABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"WL1271_ACX_INTR_HW_AVAILABLE\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_irq_locked], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wlcore_irq_locked(ptr noundef %0) #0 { %2 = load i32, ptr @WL1271_IRQ_MAX_LOOPS, align 4, !tbaa !5 %3 = load i32, ptr %0, align 8, !tbaa !9 %4 = load i32, ptr @WL12XX_PLATFORM_QUIRK_EDGE_IRQ, align 4, !tbaa !5 %5 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %6 = tail call i32 @wl1271_debug(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr @WLCORE_STATE_ON, align 8, !tbaa !14 %10 = icmp ne i64 %8, %9 %11 = zext i1 %10 to i32 %12 = tail call i64 @unlikely(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %142 14: ; preds = %1 %15 = tail call i32 @wl1271_ps_elp_wakeup(ptr noundef nonnull %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %142, label %17 17: ; preds = %14 %18 = and i32 %4, %3 %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 6 %21 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 7 %22 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 8 %23 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 5 %24 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 4 %25 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 3 %26 = select i1 %19, i32 %2, i32 1 %27 = icmp eq i32 %26, 0 br i1 %27, label %139, label %28 28: ; preds = %17, %137 %29 = phi i32 [ %30, %137 ], [ %26, %17 ] %30 = add nsw i32 %29, -1 %31 = load i32, ptr @WL1271_FLAG_IRQ_RUNNING, align 4, !tbaa !5 %32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef nonnull %20) #2 %33 = tail call i32 (...) @smp_mb__after_clear_bit() #2 %34 = load ptr, ptr %21, align 8, !tbaa !15 %35 = load i32, ptr %22, align 8, !tbaa !16 %36 = tail call i32 @wlcore_fw_status(ptr noundef nonnull %0, ptr noundef %34, i32 noundef %35) #2 %37 = icmp slt i32 %36, 0 br i1 %37, label %142, label %38 38: ; preds = %28 %39 = tail call i32 @wlcore_hw_tx_immediate_compl(ptr noundef nonnull %0) #2 %40 = load ptr, ptr %21, align 8, !tbaa !15 %41 = load i32, ptr %40, align 4, !tbaa !17 %42 = tail call i32 @le32_to_cpu(i32 noundef %41) #2 %43 = load i32, ptr @WLCORE_ALL_INTR_MASK, align 4, !tbaa !5 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %139, label %46 46: ; preds = %38 %47 = load i32, ptr @WL1271_ACX_INTR_WATCHDOG, align 4, !tbaa !5 %48 = and i32 %47, %44 %49 = tail call i64 @unlikely(i32 noundef %48) #2 %50 = icmp eq i64 %49, 0 br i1 %50, label %56, label %51 51: ; preds = %46 %52 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2 %53 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 2 store i32 1, ptr %53, align 8, !tbaa !19 %54 = load i32, ptr @EIO, align 4, !tbaa !5 %55 = sub nsw i32 0, %54 br label %142 56: ; preds = %46 %57 = load i32, ptr @WL1271_ACX_SW_INTR_WATCHDOG, align 4, !tbaa !5 %58 = and i32 %57, %44 %59 = tail call i64 @unlikely(i32 noundef %58) #2 %60 = icmp eq i64 %59, 0 br i1 %60, label %66, label %61 61: ; preds = %56 %62 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.2) #2 %63 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 2 store i32 1, ptr %63, align 8, !tbaa !19 %64 = load i32, ptr @EIO, align 4, !tbaa !5 %65 = sub nsw i32 0, %64 br label %142 66: ; preds = %56 %67 = load i32, ptr @WL1271_ACX_INTR_DATA, align 4, !tbaa !5 %68 = and i32 %67, %44 %69 = tail call i64 @likely(i32 noundef %68) #2 %70 = icmp eq i64 %69, 0 br i1 %70, label %102, label %71 71: ; preds = %66 %72 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %73 = tail call i32 @wl1271_debug(i32 noundef %72, ptr noundef nonnull @.str.3) #2 %74 = load ptr, ptr %21, align 8, !tbaa !15 %75 = tail call i32 @wlcore_rx(ptr noundef nonnull %0, ptr noundef %74) #2 %76 = icmp slt i32 %75, 0 br i1 %76, label %142, label %77 77: ; preds = %71 %78 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %23, i64 noundef undef) #2 %79 = load i32, ptr @WL1271_FLAG_FW_TX_BUSY, align 4, !tbaa !5 %80 = tail call i32 @test_bit(i32 noundef %79, ptr noundef nonnull %20) #2 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = tail call i64 @wl1271_tx_total_queue_count(ptr noundef nonnull %0) #2 %84 = icmp sgt i64 %83, 0 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %23, i64 noundef undef) #2 %87 = tail call i32 @wlcore_tx_work_locked(ptr noundef nonnull %0) #2 %88 = icmp slt i32 %87, 0 br i1 %88, label %142, label %91 89: ; preds = %82, %77 %90 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %23, i64 noundef undef) #2 br label %91 91: ; preds = %85, %89 %92 = tail call i32 @wlcore_hw_tx_delayed_compl(ptr noundef nonnull %0) #2 %93 = icmp slt i32 %92, 0 br i1 %93, label %142, label %94 94: ; preds = %91 %95 = tail call i32 @skb_queue_len(ptr noundef nonnull %24) #2 %96 = tail call i32 @skb_queue_len(ptr noundef nonnull %25) #2 %97 = add i32 %96, %95 %98 = load i32, ptr @WL1271_DEFERRED_QUEUE_LIMIT, align 4, !tbaa !5 %99 = icmp ugt i32 %97, %98 br i1 %99, label %100, label %102 100: ; preds = %94 %101 = tail call i32 @wl1271_flush_deferred_work(ptr noundef nonnull %0) #2 br label %102 102: ; preds = %94, %100, %66 %103 = phi i32 [ %92, %100 ], [ %92, %94 ], [ %36, %66 ] %104 = load i32, ptr @WL1271_ACX_INTR_EVENT_A, align 4, !tbaa !5 %105 = and i32 %104, %44 %106 = icmp eq i32 %105, 0 br i1 %106, label %112, label %107 107: ; preds = %102 %108 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %109 = tail call i32 @wl1271_debug(i32 noundef %108, ptr noundef nonnull @.str.4) #2 %110 = tail call i32 @wl1271_event_handle(ptr noundef nonnull %0, i32 noundef 0) #2 %111 = icmp slt i32 %110, 0 br i1 %111, label %142, label %112 112: ; preds = %107, %102 %113 = phi i32 [ %110, %107 ], [ %103, %102 ] %114 = load i32, ptr @WL1271_ACX_INTR_EVENT_B, align 4, !tbaa !5 %115 = and i32 %114, %44 %116 = icmp eq i32 %115, 0 br i1 %116, label %122, label %117 117: ; preds = %112 %118 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %119 = tail call i32 @wl1271_debug(i32 noundef %118, ptr noundef nonnull @.str.5) #2 %120 = tail call i32 @wl1271_event_handle(ptr noundef nonnull %0, i32 noundef 1) #2 %121 = icmp slt i32 %120, 0 br i1 %121, label %142, label %122 122: ; preds = %117, %112 %123 = phi i32 [ %120, %117 ], [ %113, %112 ] %124 = load i32, ptr @WL1271_ACX_INTR_INIT_COMPLETE, align 4, !tbaa !5 %125 = and i32 %124, %44 %126 = icmp eq i32 %125, 0 br i1 %126, label %130, label %127 127: ; preds = %122 %128 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %129 = tail call i32 @wl1271_debug(i32 noundef %128, ptr noundef nonnull @.str.6) #2 br label %130 130: ; preds = %127, %122 %131 = load i32, ptr @WL1271_ACX_INTR_HW_AVAILABLE, align 4, !tbaa !5 %132 = and i32 %131, %44 %133 = icmp eq i32 %132, 0 br i1 %133, label %137, label %134 134: ; preds = %130 %135 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !5 %136 = tail call i32 @wl1271_debug(i32 noundef %135, ptr noundef nonnull @.str.7) #2 br label %137 137: ; preds = %130, %134 %138 = icmp eq i32 %30, 0 br i1 %138, label %139, label %28, !llvm.loop !20 139: ; preds = %137, %38, %17 %140 = phi i32 [ %15, %17 ], [ %123, %137 ], [ %36, %38 ] %141 = tail call i32 @wl1271_ps_elp_sleep(ptr noundef nonnull %0) #2 br label %142 142: ; preds = %117, %107, %91, %85, %71, %28, %14, %1, %139, %61, %51 %143 = phi i32 [ 0, %1 ], [ %15, %14 ], [ %140, %139 ], [ %55, %51 ], [ %65, %61 ], [ %87, %85 ], [ %120, %117 ], [ %110, %107 ], [ %92, %91 ], [ %75, %71 ], [ %36, %28 ] ret i32 %143 } declare i32 @wl1271_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_elp_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @smp_mb__after_clear_bit(...) local_unnamed_addr #1 declare i32 @wlcore_fw_status(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlcore_hw_tx_immediate_compl(ptr noundef) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @wlcore_rx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @wl1271_tx_total_queue_count(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wlcore_tx_work_locked(ptr noundef) local_unnamed_addr #1 declare i32 @wlcore_hw_tx_delayed_compl(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_len(ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_flush_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_event_handle(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_elp_sleep(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"wl1271", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !12, i64 40, !6, i64 48} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!10, !12, i64 40} !16 = !{!10, !6, i64 48} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_3__", !6, i64 0} !19 = !{!10, !6, i64 16} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_irq_locked.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_irq_locked.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WL1271_IRQ_MAX_LOOPS = common local_unnamed_addr global i32 0, align 4 @WL12XX_PLATFORM_QUIRK_EDGE_IRQ = common local_unnamed_addr global i32 0, align 4 @DEBUG_IRQ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"IRQ work\00", align 1 @WLCORE_STATE_ON = common local_unnamed_addr global i64 0, align 8 @WL1271_FLAG_IRQ_RUNNING = common local_unnamed_addr global i32 0, align 4 @WLCORE_ALL_INTR_MASK = common local_unnamed_addr global i32 0, align 4 @WL1271_ACX_INTR_WATCHDOG = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"HW watchdog interrupt received! starting recovery.\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @WL1271_ACX_SW_INTR_WATCHDOG = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"SW watchdog interrupt received! starting recovery.\00", align 1 @WL1271_ACX_INTR_DATA = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"WL1271_ACX_INTR_DATA\00", align 1 @WL1271_FLAG_FW_TX_BUSY = common local_unnamed_addr global i32 0, align 4 @WL1271_DEFERRED_QUEUE_LIMIT = common local_unnamed_addr global i32 0, align 4 @WL1271_ACX_INTR_EVENT_A = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [24 x i8] c"WL1271_ACX_INTR_EVENT_A\00", align 1 @WL1271_ACX_INTR_EVENT_B = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [24 x i8] c"WL1271_ACX_INTR_EVENT_B\00", align 1 @WL1271_ACX_INTR_INIT_COMPLETE = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [30 x i8] c"WL1271_ACX_INTR_INIT_COMPLETE\00", align 1 @WL1271_ACX_INTR_HW_AVAILABLE = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"WL1271_ACX_INTR_HW_AVAILABLE\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @wlcore_irq_locked], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wlcore_irq_locked(ptr noundef %0) #0 { %2 = load i32, ptr @WL1271_IRQ_MAX_LOOPS, align 4, !tbaa !6 %3 = load i32, ptr %0, align 8, !tbaa !10 %4 = load i32, ptr @WL12XX_PLATFORM_QUIRK_EDGE_IRQ, align 4, !tbaa !6 %5 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %6 = tail call i32 @wl1271_debug(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = load i64, ptr @WLCORE_STATE_ON, align 8, !tbaa !15 %10 = icmp ne i64 %8, %9 %11 = zext i1 %10 to i32 %12 = tail call i64 @unlikely(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %142 14: ; preds = %1 %15 = tail call i32 @wl1271_ps_elp_wakeup(ptr noundef nonnull %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %142, label %17 17: ; preds = %14 %18 = and i32 %4, %3 %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds i8, ptr %0, i64 32 %21 = getelementptr inbounds i8, ptr %0, i64 40 %22 = getelementptr inbounds i8, ptr %0, i64 48 %23 = getelementptr inbounds i8, ptr %0, i64 28 %24 = getelementptr inbounds i8, ptr %0, i64 24 %25 = getelementptr inbounds i8, ptr %0, i64 20 %26 = select i1 %19, i32 %2, i32 1 %27 = icmp eq i32 %26, 0 br i1 %27, label %139, label %28 28: ; preds = %17, %137 %29 = phi i32 [ %30, %137 ], [ %26, %17 ] %30 = add nsw i32 %29, -1 %31 = load i32, ptr @WL1271_FLAG_IRQ_RUNNING, align 4, !tbaa !6 %32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef nonnull %20) #2 %33 = tail call i32 @smp_mb__after_clear_bit() #2 %34 = load ptr, ptr %21, align 8, !tbaa !16 %35 = load i32, ptr %22, align 8, !tbaa !17 %36 = tail call i32 @wlcore_fw_status(ptr noundef nonnull %0, ptr noundef %34, i32 noundef %35) #2 %37 = icmp slt i32 %36, 0 br i1 %37, label %142, label %38 38: ; preds = %28 %39 = tail call i32 @wlcore_hw_tx_immediate_compl(ptr noundef nonnull %0) #2 %40 = load ptr, ptr %21, align 8, !tbaa !16 %41 = load i32, ptr %40, align 4, !tbaa !18 %42 = tail call i32 @le32_to_cpu(i32 noundef %41) #2 %43 = load i32, ptr @WLCORE_ALL_INTR_MASK, align 4, !tbaa !6 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %139, label %46 46: ; preds = %38 %47 = load i32, ptr @WL1271_ACX_INTR_WATCHDOG, align 4, !tbaa !6 %48 = and i32 %47, %44 %49 = tail call i64 @unlikely(i32 noundef %48) #2 %50 = icmp eq i64 %49, 0 br i1 %50, label %56, label %51 51: ; preds = %46 %52 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2 %53 = getelementptr inbounds i8, ptr %0, i64 16 store i32 1, ptr %53, align 8, !tbaa !20 %54 = load i32, ptr @EIO, align 4, !tbaa !6 %55 = sub nsw i32 0, %54 br label %142 56: ; preds = %46 %57 = load i32, ptr @WL1271_ACX_SW_INTR_WATCHDOG, align 4, !tbaa !6 %58 = and i32 %57, %44 %59 = tail call i64 @unlikely(i32 noundef %58) #2 %60 = icmp eq i64 %59, 0 br i1 %60, label %66, label %61 61: ; preds = %56 %62 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.2) #2 %63 = getelementptr inbounds i8, ptr %0, i64 16 store i32 1, ptr %63, align 8, !tbaa !20 %64 = load i32, ptr @EIO, align 4, !tbaa !6 %65 = sub nsw i32 0, %64 br label %142 66: ; preds = %56 %67 = load i32, ptr @WL1271_ACX_INTR_DATA, align 4, !tbaa !6 %68 = and i32 %67, %44 %69 = tail call i64 @likely(i32 noundef %68) #2 %70 = icmp eq i64 %69, 0 br i1 %70, label %102, label %71 71: ; preds = %66 %72 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %73 = tail call i32 @wl1271_debug(i32 noundef %72, ptr noundef nonnull @.str.3) #2 %74 = load ptr, ptr %21, align 8, !tbaa !16 %75 = tail call i32 @wlcore_rx(ptr noundef nonnull %0, ptr noundef %74) #2 %76 = icmp slt i32 %75, 0 br i1 %76, label %142, label %77 77: ; preds = %71 %78 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %23, i64 noundef undef) #2 %79 = load i32, ptr @WL1271_FLAG_FW_TX_BUSY, align 4, !tbaa !6 %80 = tail call i32 @test_bit(i32 noundef %79, ptr noundef nonnull %20) #2 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = tail call i64 @wl1271_tx_total_queue_count(ptr noundef nonnull %0) #2 %84 = icmp sgt i64 %83, 0 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %23, i64 noundef undef) #2 %87 = tail call i32 @wlcore_tx_work_locked(ptr noundef nonnull %0) #2 %88 = icmp slt i32 %87, 0 br i1 %88, label %142, label %91 89: ; preds = %82, %77 %90 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %23, i64 noundef undef) #2 br label %91 91: ; preds = %85, %89 %92 = tail call i32 @wlcore_hw_tx_delayed_compl(ptr noundef nonnull %0) #2 %93 = icmp slt i32 %92, 0 br i1 %93, label %142, label %94 94: ; preds = %91 %95 = tail call i32 @skb_queue_len(ptr noundef nonnull %24) #2 %96 = tail call i32 @skb_queue_len(ptr noundef nonnull %25) #2 %97 = add i32 %96, %95 %98 = load i32, ptr @WL1271_DEFERRED_QUEUE_LIMIT, align 4, !tbaa !6 %99 = icmp ugt i32 %97, %98 br i1 %99, label %100, label %102 100: ; preds = %94 %101 = tail call i32 @wl1271_flush_deferred_work(ptr noundef nonnull %0) #2 br label %102 102: ; preds = %94, %100, %66 %103 = phi i32 [ %92, %100 ], [ %92, %94 ], [ %36, %66 ] %104 = load i32, ptr @WL1271_ACX_INTR_EVENT_A, align 4, !tbaa !6 %105 = and i32 %104, %44 %106 = icmp eq i32 %105, 0 br i1 %106, label %112, label %107 107: ; preds = %102 %108 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %109 = tail call i32 @wl1271_debug(i32 noundef %108, ptr noundef nonnull @.str.4) #2 %110 = tail call i32 @wl1271_event_handle(ptr noundef nonnull %0, i32 noundef 0) #2 %111 = icmp slt i32 %110, 0 br i1 %111, label %142, label %112 112: ; preds = %107, %102 %113 = phi i32 [ %110, %107 ], [ %103, %102 ] %114 = load i32, ptr @WL1271_ACX_INTR_EVENT_B, align 4, !tbaa !6 %115 = and i32 %114, %44 %116 = icmp eq i32 %115, 0 br i1 %116, label %122, label %117 117: ; preds = %112 %118 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %119 = tail call i32 @wl1271_debug(i32 noundef %118, ptr noundef nonnull @.str.5) #2 %120 = tail call i32 @wl1271_event_handle(ptr noundef nonnull %0, i32 noundef 1) #2 %121 = icmp slt i32 %120, 0 br i1 %121, label %142, label %122 122: ; preds = %117, %112 %123 = phi i32 [ %120, %117 ], [ %113, %112 ] %124 = load i32, ptr @WL1271_ACX_INTR_INIT_COMPLETE, align 4, !tbaa !6 %125 = and i32 %124, %44 %126 = icmp eq i32 %125, 0 br i1 %126, label %130, label %127 127: ; preds = %122 %128 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %129 = tail call i32 @wl1271_debug(i32 noundef %128, ptr noundef nonnull @.str.6) #2 br label %130 130: ; preds = %127, %122 %131 = load i32, ptr @WL1271_ACX_INTR_HW_AVAILABLE, align 4, !tbaa !6 %132 = and i32 %131, %44 %133 = icmp eq i32 %132, 0 br i1 %133, label %137, label %134 134: ; preds = %130 %135 = load i32, ptr @DEBUG_IRQ, align 4, !tbaa !6 %136 = tail call i32 @wl1271_debug(i32 noundef %135, ptr noundef nonnull @.str.7) #2 br label %137 137: ; preds = %130, %134 %138 = icmp eq i32 %30, 0 br i1 %138, label %139, label %28, !llvm.loop !21 139: ; preds = %137, %38, %17 %140 = phi i32 [ %15, %17 ], [ %123, %137 ], [ %36, %38 ] %141 = tail call i32 @wl1271_ps_elp_sleep(ptr noundef nonnull %0) #2 br label %142 142: ; preds = %117, %107, %91, %85, %71, %28, %14, %1, %139, %61, %51 %143 = phi i32 [ 0, %1 ], [ %15, %14 ], [ %140, %139 ], [ %55, %51 ], [ %65, %61 ], [ %87, %85 ], [ %120, %117 ], [ %110, %107 ], [ %92, %91 ], [ %75, %71 ], [ %36, %28 ] ret i32 %143 } declare i32 @wl1271_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_elp_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @smp_mb__after_clear_bit(...) local_unnamed_addr #1 declare i32 @wlcore_fw_status(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlcore_hw_tx_immediate_compl(ptr noundef) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @wlcore_rx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @wl1271_tx_total_queue_count(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wlcore_tx_work_locked(ptr noundef) local_unnamed_addr #1 declare i32 @wlcore_hw_tx_delayed_compl(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_len(ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_flush_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_event_handle(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_elp_sleep(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"wl1271", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !13, i64 40, !7, i64 48} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!12, !12, i64 0} !16 = !{!11, !13, i64 40} !17 = !{!11, !7, i64 48} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_3__", !7, i64 0} !20 = !{!11, !7, i64 16} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_wireless_ti_wlcore_extr_main.c_wlcore_irq_locked
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_dpm_enable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_dpm_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ci_power_info = type { i64, i32, i64, i64 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @CISLANDS_VOLTAGE_CONTROL_NONE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"ci_construct_voltage_tables failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"ci_upload_firmware failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"ci_process_firmware_header failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"ci_initial_switch_from_arb_f0_to_f1 failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"ci_init_smc_table failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"ci_init_arb_table_index failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"ci_populate_initial_mc_reg_table failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"ci_populate_pm_base failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"ci_notify_smc_display_change failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"ci_enable_ulv failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"ci_enable_ds_master_switch failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"ci_start_dpm failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"ci_enable_didt failed\0A\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"ci_enable_smc_cac failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [36 x i8] c"ci_enable_power_containment failed\0A\00", align 1 @.str.15 = private unnamed_addr constant [35 x i8] c"ci_power_control_set_level failed\0A\00", align 1 @RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [41 x i8] c"ci_enable_thermal_based_sclk_dpm failed\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ci_dpm_enable(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @ci_get_pi(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i64 @ci_is_smc_running(ptr noundef nonnull %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %133 9: ; preds = %1 %10 = load i64, ptr %2, align 8, !tbaa !14 %11 = load i64, ptr @CISLANDS_VOLTAGE_CONTROL_NONE, align 8, !tbaa !17 %12 = icmp eq i64 %10, %11 br i1 %12, label %19, label %13 13: ; preds = %9 %14 = tail call i32 @ci_enable_voltage_control(ptr noundef nonnull %0) #2 %15 = tail call i32 @ci_construct_voltage_tables(ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %133 19: ; preds = %13, %9 %20 = getelementptr inbounds %struct.ci_power_info, ptr %2, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = icmp eq i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = tail call i32 @ci_initialize_mc_reg_table(ptr noundef nonnull %0) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %23 store i32 0, ptr %20, align 8, !tbaa !18 br label %27 27: ; preds = %23, %26, %19 %28 = getelementptr inbounds %struct.ci_power_info, ptr %2, i64 0, i32 3 %29 = load i64, ptr %28, align 8, !tbaa !19 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @ci_enable_spread_spectrum(ptr noundef nonnull %0, i32 noundef 1) #2 br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds %struct.ci_power_info, ptr %2, i64 0, i32 2 %35 = load i64, ptr %34, align 8, !tbaa !20 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %33 %38 = tail call i32 @ci_enable_thermal_protection(ptr noundef nonnull %0, i32 noundef 1) #2 br label %39 39: ; preds = %37, %33 %40 = tail call i32 @ci_program_sstp(ptr noundef nonnull %0) #2 %41 = tail call i32 @ci_enable_display_gap(ptr noundef nonnull %0) #2 %42 = tail call i32 @ci_program_vc(ptr noundef nonnull %0) #2 %43 = tail call i32 @ci_upload_firmware(ptr noundef nonnull %0) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %39 %46 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %133 47: ; preds = %39 %48 = tail call i32 @ci_process_firmware_header(ptr noundef nonnull %0) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %47 %51 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %133 52: ; preds = %47 %53 = tail call i32 @ci_initial_switch_from_arb_f0_to_f1(ptr noundef nonnull %0) #2 %54 = icmp eq i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %52 %56 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.3) #2 br label %133 57: ; preds = %52 %58 = tail call i32 @ci_init_smc_table(ptr noundef nonnull %0) #2 %59 = icmp eq i32 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %57 %61 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.4) #2 br label %133 62: ; preds = %57 %63 = tail call i32 @ci_init_arb_table_index(ptr noundef nonnull %0) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %62 %66 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.5) #2 br label %133 67: ; preds = %62 %68 = load i32, ptr %20, align 8, !tbaa !18 %69 = icmp eq i32 %68, 0 br i1 %69, label %75, label %70 70: ; preds = %67 %71 = tail call i32 @ci_populate_initial_mc_reg_table(ptr noundef nonnull %0) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %75, label %73 73: ; preds = %70 %74 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.6) #2 br label %133 75: ; preds = %70, %67 %76 = tail call i32 @ci_populate_pm_base(ptr noundef nonnull %0) #2 %77 = icmp eq i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %75 %79 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.7) #2 br label %133 80: ; preds = %75 %81 = tail call i32 @ci_dpm_start_smc(ptr noundef nonnull %0) #2 %82 = tail call i32 @ci_enable_vr_hot_gpio_interrupt(ptr noundef nonnull %0) #2 %83 = tail call i32 @ci_notify_smc_display_change(ptr noundef nonnull %0, i32 noundef 0) #2 %84 = icmp eq i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %80 %86 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.8) #2 br label %133 87: ; preds = %80 %88 = tail call i32 @ci_enable_sclk_control(ptr noundef nonnull %0, i32 noundef 1) #2 %89 = tail call i32 @ci_enable_ulv(ptr noundef nonnull %0, i32 noundef 1) #2 %90 = icmp eq i32 %89, 0 br i1 %90, label %93, label %91 91: ; preds = %87 %92 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.9) #2 br label %133 93: ; preds = %87 %94 = tail call i32 @ci_enable_ds_master_switch(ptr noundef nonnull %0, i32 noundef 1) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %98, label %96 96: ; preds = %93 %97 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.10) #2 br label %133 98: ; preds = %93 %99 = tail call i32 @ci_start_dpm(ptr noundef nonnull %0) #2 %100 = icmp eq i32 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %98 %102 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.11) #2 br label %133 103: ; preds = %98 %104 = tail call i32 @ci_enable_didt(ptr noundef nonnull %0, i32 noundef 1) #2 %105 = icmp eq i32 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %103 %107 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.12) #2 br label %133 108: ; preds = %103 %109 = tail call i32 @ci_enable_smc_cac(ptr noundef nonnull %0, i32 noundef 1) #2 %110 = icmp eq i32 %109, 0 br i1 %110, label %113, label %111 111: ; preds = %108 %112 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.13) #2 br label %133 113: ; preds = %108 %114 = tail call i32 @ci_enable_power_containment(ptr noundef nonnull %0, i32 noundef 1) #2 %115 = icmp eq i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %113 %117 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.14) #2 br label %133 118: ; preds = %113 %119 = tail call i32 @ci_power_control_set_level(ptr noundef nonnull %0) #2 %120 = icmp eq i32 %119, 0 br i1 %120, label %123, label %121 121: ; preds = %118 %122 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.15) #2 br label %133 123: ; preds = %118 %124 = load i32, ptr @RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL, align 4, !tbaa !12 %125 = tail call i32 @ci_enable_auto_throttle_source(ptr noundef nonnull %0, i32 noundef %124, i32 noundef 1) #2 %126 = tail call i32 @ci_enable_thermal_based_sclk_dpm(ptr noundef nonnull %0, i32 noundef 1) #2 %127 = icmp eq i32 %126, 0 br i1 %127, label %130, label %128 128: ; preds = %123 %129 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.16) #2 br label %133 130: ; preds = %123 %131 = tail call i32 @ci_thermal_start_thermal_controller(ptr noundef nonnull %0) #2 %132 = tail call i32 @ci_update_current_ps(ptr noundef nonnull %0, ptr noundef %3) #2 br label %133 133: ; preds = %130, %128, %121, %116, %111, %106, %101, %96, %91, %85, %78, %73, %65, %60, %55, %50, %45, %17, %6 %134 = phi i32 [ %8, %6 ], [ %15, %17 ], [ %43, %45 ], [ %48, %50 ], [ %53, %55 ], [ %58, %60 ], [ %63, %65 ], [ %71, %73 ], [ %76, %78 ], [ %83, %85 ], [ %89, %91 ], [ %94, %96 ], [ %99, %101 ], [ %104, %106 ], [ %109, %111 ], [ %114, %116 ], [ %119, %121 ], [ %126, %128 ], [ 0, %130 ] ret i32 %134 } declare ptr @ci_get_pi(ptr noundef) local_unnamed_addr #1 declare i64 @ci_is_smc_running(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_voltage_control(ptr noundef) local_unnamed_addr #1 declare i32 @ci_construct_voltage_tables(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @ci_initialize_mc_reg_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_spread_spectrum(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_thermal_protection(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_program_sstp(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_display_gap(ptr noundef) local_unnamed_addr #1 declare i32 @ci_program_vc(ptr noundef) local_unnamed_addr #1 declare i32 @ci_upload_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @ci_process_firmware_header(ptr noundef) local_unnamed_addr #1 declare i32 @ci_initial_switch_from_arb_f0_to_f1(ptr noundef) local_unnamed_addr #1 declare i32 @ci_init_smc_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_init_arb_table_index(ptr noundef) local_unnamed_addr #1 declare i32 @ci_populate_initial_mc_reg_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_populate_pm_base(ptr noundef) local_unnamed_addr #1 declare i32 @ci_dpm_start_smc(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_vr_hot_gpio_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @ci_notify_smc_display_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_sclk_control(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_ulv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_ds_master_switch(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_start_dpm(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_didt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_smc_cac(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_power_containment(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_power_control_set_level(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_auto_throttle_source(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_thermal_based_sclk_dpm(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_thermal_start_thermal_controller(ptr noundef) local_unnamed_addr #1 declare i32 @ci_update_current_ps(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, !9, i64 0} !6 = !{!"radeon_device", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"ci_power_info", !16, i64 0, !13, i64 8, !16, i64 16, !16, i64 24} !16 = !{!"long", !10, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!15, !13, i64 8} !19 = !{!15, !16, i64 24} !20 = !{!15, !16, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_dpm_enable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_dpm_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @CISLANDS_VOLTAGE_CONTROL_NONE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"ci_construct_voltage_tables failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"ci_upload_firmware failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"ci_process_firmware_header failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"ci_initial_switch_from_arb_f0_to_f1 failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"ci_init_smc_table failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"ci_init_arb_table_index failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"ci_populate_initial_mc_reg_table failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"ci_populate_pm_base failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"ci_notify_smc_display_change failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"ci_enable_ulv failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"ci_enable_ds_master_switch failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"ci_start_dpm failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"ci_enable_didt failed\0A\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"ci_enable_smc_cac failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [36 x i8] c"ci_enable_power_containment failed\0A\00", align 1 @.str.15 = private unnamed_addr constant [35 x i8] c"ci_power_control_set_level failed\0A\00", align 1 @RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL = common local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [41 x i8] c"ci_enable_thermal_based_sclk_dpm failed\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ci_dpm_enable(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @ci_get_pi(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i64 @ci_is_smc_running(ptr noundef nonnull %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4, !tbaa !13 %8 = sub nsw i32 0, %7 br label %133 9: ; preds = %1 %10 = load i64, ptr %2, align 8, !tbaa !15 %11 = load i64, ptr @CISLANDS_VOLTAGE_CONTROL_NONE, align 8, !tbaa !18 %12 = icmp eq i64 %10, %11 br i1 %12, label %19, label %13 13: ; preds = %9 %14 = tail call i32 @ci_enable_voltage_control(ptr noundef nonnull %0) #2 %15 = tail call i32 @ci_construct_voltage_tables(ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %133 19: ; preds = %13, %9 %20 = getelementptr inbounds i8, ptr %2, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !19 %22 = icmp eq i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = tail call i32 @ci_initialize_mc_reg_table(ptr noundef nonnull %0) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %23 store i32 0, ptr %20, align 8, !tbaa !19 br label %27 27: ; preds = %23, %26, %19 %28 = getelementptr inbounds i8, ptr %2, i64 24 %29 = load i64, ptr %28, align 8, !tbaa !20 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @ci_enable_spread_spectrum(ptr noundef nonnull %0, i32 noundef 1) #2 br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds i8, ptr %2, i64 16 %35 = load i64, ptr %34, align 8, !tbaa !21 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %33 %38 = tail call i32 @ci_enable_thermal_protection(ptr noundef nonnull %0, i32 noundef 1) #2 br label %39 39: ; preds = %37, %33 %40 = tail call i32 @ci_program_sstp(ptr noundef nonnull %0) #2 %41 = tail call i32 @ci_enable_display_gap(ptr noundef nonnull %0) #2 %42 = tail call i32 @ci_program_vc(ptr noundef nonnull %0) #2 %43 = tail call i32 @ci_upload_firmware(ptr noundef nonnull %0) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %39 %46 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %133 47: ; preds = %39 %48 = tail call i32 @ci_process_firmware_header(ptr noundef nonnull %0) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %47 %51 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %133 52: ; preds = %47 %53 = tail call i32 @ci_initial_switch_from_arb_f0_to_f1(ptr noundef nonnull %0) #2 %54 = icmp eq i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %52 %56 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.3) #2 br label %133 57: ; preds = %52 %58 = tail call i32 @ci_init_smc_table(ptr noundef nonnull %0) #2 %59 = icmp eq i32 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %57 %61 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.4) #2 br label %133 62: ; preds = %57 %63 = tail call i32 @ci_init_arb_table_index(ptr noundef nonnull %0) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %62 %66 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.5) #2 br label %133 67: ; preds = %62 %68 = load i32, ptr %20, align 8, !tbaa !19 %69 = icmp eq i32 %68, 0 br i1 %69, label %75, label %70 70: ; preds = %67 %71 = tail call i32 @ci_populate_initial_mc_reg_table(ptr noundef nonnull %0) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %75, label %73 73: ; preds = %70 %74 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.6) #2 br label %133 75: ; preds = %70, %67 %76 = tail call i32 @ci_populate_pm_base(ptr noundef nonnull %0) #2 %77 = icmp eq i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %75 %79 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.7) #2 br label %133 80: ; preds = %75 %81 = tail call i32 @ci_dpm_start_smc(ptr noundef nonnull %0) #2 %82 = tail call i32 @ci_enable_vr_hot_gpio_interrupt(ptr noundef nonnull %0) #2 %83 = tail call i32 @ci_notify_smc_display_change(ptr noundef nonnull %0, i32 noundef 0) #2 %84 = icmp eq i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %80 %86 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.8) #2 br label %133 87: ; preds = %80 %88 = tail call i32 @ci_enable_sclk_control(ptr noundef nonnull %0, i32 noundef 1) #2 %89 = tail call i32 @ci_enable_ulv(ptr noundef nonnull %0, i32 noundef 1) #2 %90 = icmp eq i32 %89, 0 br i1 %90, label %93, label %91 91: ; preds = %87 %92 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.9) #2 br label %133 93: ; preds = %87 %94 = tail call i32 @ci_enable_ds_master_switch(ptr noundef nonnull %0, i32 noundef 1) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %98, label %96 96: ; preds = %93 %97 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.10) #2 br label %133 98: ; preds = %93 %99 = tail call i32 @ci_start_dpm(ptr noundef nonnull %0) #2 %100 = icmp eq i32 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %98 %102 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.11) #2 br label %133 103: ; preds = %98 %104 = tail call i32 @ci_enable_didt(ptr noundef nonnull %0, i32 noundef 1) #2 %105 = icmp eq i32 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %103 %107 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.12) #2 br label %133 108: ; preds = %103 %109 = tail call i32 @ci_enable_smc_cac(ptr noundef nonnull %0, i32 noundef 1) #2 %110 = icmp eq i32 %109, 0 br i1 %110, label %113, label %111 111: ; preds = %108 %112 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.13) #2 br label %133 113: ; preds = %108 %114 = tail call i32 @ci_enable_power_containment(ptr noundef nonnull %0, i32 noundef 1) #2 %115 = icmp eq i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %113 %117 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.14) #2 br label %133 118: ; preds = %113 %119 = tail call i32 @ci_power_control_set_level(ptr noundef nonnull %0) #2 %120 = icmp eq i32 %119, 0 br i1 %120, label %123, label %121 121: ; preds = %118 %122 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.15) #2 br label %133 123: ; preds = %118 %124 = load i32, ptr @RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL, align 4, !tbaa !13 %125 = tail call i32 @ci_enable_auto_throttle_source(ptr noundef nonnull %0, i32 noundef %124, i32 noundef 1) #2 %126 = tail call i32 @ci_enable_thermal_based_sclk_dpm(ptr noundef nonnull %0, i32 noundef 1) #2 %127 = icmp eq i32 %126, 0 br i1 %127, label %130, label %128 128: ; preds = %123 %129 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.16) #2 br label %133 130: ; preds = %123 %131 = tail call i32 @ci_thermal_start_thermal_controller(ptr noundef nonnull %0) #2 %132 = tail call i32 @ci_update_current_ps(ptr noundef nonnull %0, ptr noundef %3) #2 br label %133 133: ; preds = %130, %128, %121, %116, %111, %106, %101, %96, %91, %85, %78, %73, %65, %60, %55, %50, %45, %17, %6 %134 = phi i32 [ %8, %6 ], [ %15, %17 ], [ %43, %45 ], [ %48, %50 ], [ %53, %55 ], [ %58, %60 ], [ %63, %65 ], [ %71, %73 ], [ %76, %78 ], [ %83, %85 ], [ %89, %91 ], [ %94, %96 ], [ %99, %101 ], [ %104, %106 ], [ %109, %111 ], [ %114, %116 ], [ %119, %121 ], [ %126, %128 ], [ 0, %130 ] ret i32 %134 } declare ptr @ci_get_pi(ptr noundef) local_unnamed_addr #1 declare i64 @ci_is_smc_running(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_voltage_control(ptr noundef) local_unnamed_addr #1 declare i32 @ci_construct_voltage_tables(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @ci_initialize_mc_reg_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_spread_spectrum(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_thermal_protection(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_program_sstp(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_display_gap(ptr noundef) local_unnamed_addr #1 declare i32 @ci_program_vc(ptr noundef) local_unnamed_addr #1 declare i32 @ci_upload_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @ci_process_firmware_header(ptr noundef) local_unnamed_addr #1 declare i32 @ci_initial_switch_from_arb_f0_to_f1(ptr noundef) local_unnamed_addr #1 declare i32 @ci_init_smc_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_init_arb_table_index(ptr noundef) local_unnamed_addr #1 declare i32 @ci_populate_initial_mc_reg_table(ptr noundef) local_unnamed_addr #1 declare i32 @ci_populate_pm_base(ptr noundef) local_unnamed_addr #1 declare i32 @ci_dpm_start_smc(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_vr_hot_gpio_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @ci_notify_smc_display_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_sclk_control(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_ulv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_ds_master_switch(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_start_dpm(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_didt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_smc_cac(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_power_containment(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_power_control_set_level(ptr noundef) local_unnamed_addr #1 declare i32 @ci_enable_auto_throttle_source(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_enable_thermal_based_sclk_dpm(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ci_thermal_start_thermal_controller(ptr noundef) local_unnamed_addr #1 declare i32 @ci_update_current_ps(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, !10, i64 0} !7 = !{!"radeon_device", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!14, !14, i64 0} !14 = !{!"int", !11, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"ci_power_info", !17, i64 0, !14, i64 8, !17, i64 16, !17, i64 24} !17 = !{!"long", !11, i64 0} !18 = !{!17, !17, i64 0} !19 = !{!16, !14, i64 8} !20 = !{!16, !17, i64 24} !21 = !{!16, !17, i64 16}
linux_drivers_gpu_drm_radeon_extr_ci_dpm.c_ci_dpm_enable
; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_signals.c_sig_soft_quit.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_signals.c_sig_soft_quit.c" target datalayout = "e-m:e-p270:32:32-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 } @errno = dso_local local_unnamed_addr global i32 0, align 4 @fpm_globals = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @AF_UNIX = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @ZLOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"failed to create a new socket\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sig_soft_quit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sig_soft_quit(i32 %0) #0 { %2 = load i32, ptr @errno, align 4, !tbaa !5 %3 = load i32, ptr @fpm_globals, align 4, !tbaa !9 %4 = tail call i32 @close(i32 noundef %3) #2 %5 = load i32, ptr @AF_UNIX, align 4, !tbaa !5 %6 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5 %7 = tail call i64 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ZLOG_WARNING, align 4, !tbaa !5 %11 = tail call i32 @zlog(i32 noundef %10, ptr noundef nonnull @.str) #2 br label %12 12: ; preds = %9, %1 %13 = tail call i32 (...) @fpm_php_soft_quit() #2 store i32 %2, ptr @errno, align 4, !tbaa !5 ret void } declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i64 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zlog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fpm_php_soft_quit(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/php-src/sapi/fpm/fpm/extr_fpm_signals.c_sig_soft_quit.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_signals.c_sig_soft_quit.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 } @errno = common local_unnamed_addr global i32 0, align 4 @fpm_globals = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @AF_UNIX = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @ZLOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"failed to create a new socket\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sig_soft_quit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sig_soft_quit(i32 %0) #0 { %2 = load i32, ptr @errno, align 4, !tbaa !6 %3 = load i32, ptr @fpm_globals, align 4, !tbaa !10 %4 = tail call i32 @close(i32 noundef %3) #2 %5 = load i32, ptr @AF_UNIX, align 4, !tbaa !6 %6 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6 %7 = tail call i64 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ZLOG_WARNING, align 4, !tbaa !6 %11 = tail call i32 @zlog(i32 noundef %10, ptr noundef nonnull @.str) #2 br label %12 12: ; preds = %9, %1 %13 = tail call i32 @fpm_php_soft_quit() #2 store i32 %2, ptr @errno, align 4, !tbaa !6 ret void } declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i64 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zlog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fpm_php_soft_quit(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
php-src_sapi_fpm_fpm_extr_fpm_signals.c_sig_soft_quit
; ModuleID = 'AnghaBench/esp-idf/components/esp_event/test/extr_test_event.c_test_teardown.c' source_filename = "AnghaBench/esp-idf/components/esp_event/test/extr_test_event.c_test_teardown.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_teardown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_teardown() #0 { %1 = load i32, ptr @ESP_OK, align 4, !tbaa !5 %2 = tail call i32 (...) @esp_event_loop_delete_default() #2 %3 = tail call i32 @TEST_ASSERT_EQUAL(i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @esp_event_loop_delete_default(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/esp_event/test/extr_test_event.c_test_teardown.c' source_filename = "AnghaBench/esp-idf/components/esp_event/test/extr_test_event.c_test_teardown.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESP_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_teardown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_teardown() #0 { %1 = load i32, ptr @ESP_OK, align 4, !tbaa !6 %2 = tail call i32 @esp_event_loop_delete_default() #2 %3 = tail call i32 @TEST_ASSERT_EQUAL(i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @esp_event_loop_delete_default(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_esp_event_test_extr_test_event.c_test_teardown
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent.c_get_total_cpus.c' source_filename = "AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent.c_get_total_cpus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_SC_NPROCESSORS_CONF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Could not read cpus\0A\00", align 1 @MAX_CPUS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Exceed max cpus(%d)\0A\00", align 1 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_total_cpus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_total_cpus() #0 { %1 = load i32, ptr @_SC_NPROCESSORS_CONF, align 4, !tbaa !5 %2 = tail call i64 @sysconf(i32 noundef %1) #3 %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3 br label %13 7: ; preds = %0 %8 = load i32, ptr @MAX_CPUS, align 4, !tbaa !5 %9 = icmp slt i32 %8, %3 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %8) #3 br label %13 12: ; preds = %7 ret i32 %3 13: ; preds = %10, %5 %14 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 %15 = tail call i32 @exit(i32 noundef %14) #4 unreachable } declare i64 @sysconf(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent.c_get_total_cpus.c' source_filename = "AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent.c_get_total_cpus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_SC_NPROCESSORS_CONF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Could not read cpus\0A\00", align 1 @MAX_CPUS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Exceed max cpus(%d)\0A\00", align 1 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_total_cpus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 1, -2147483648) i32 @get_total_cpus() #0 { %1 = load i32, ptr @_SC_NPROCESSORS_CONF, align 4, !tbaa !6 %2 = tail call i64 @sysconf(i32 noundef %1) #3 %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3 br label %13 7: ; preds = %0 %8 = load i32, ptr @MAX_CPUS, align 4, !tbaa !6 %9 = icmp slt i32 %8, %3 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %8) #3 br label %13 12: ; preds = %7 ret i32 %3 13: ; preds = %10, %5 %14 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 %15 = tail call i32 @exit(i32 noundef %14) #4 unreachable } declare i64 @sysconf(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_tools_virtio_virtio-trace_extr_trace-agent.c_get_total_cpus
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_sun_esp.c_esp_get_differential.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_sun_esp.c_esp_get_differential.c" target datalayout = "e-m:e-p270:32:32-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.esp = type { i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"differential\00", align 1 @ESP_FLAG_DIFFERENTIAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @esp_get_differential], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @esp_get_differential(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.esp, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call ptr @to_platform_device(i32 noundef %3) #2 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i64 @of_find_property(ptr noundef %5, ptr noundef nonnull @.str, ptr noundef null) #2 %7 = icmp eq i64 %6, 0 %8 = load i32, ptr @ESP_FLAG_DIFFERENTIAL, align 4, !tbaa !14 br i1 %7, label %12, label %9 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !15 %11 = or i32 %10, %8 br label %16 12: ; preds = %1 %13 = xor i32 %8, -1 %14 = load i32, ptr %0, align 4, !tbaa !15 %15 = and i32 %14, %13 br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %15, %12 ], [ %11, %9 ] store i32 %17, ptr %0, align 4, !tbaa !15 ret void } declare ptr @to_platform_device(i32 noundef) local_unnamed_addr #1 declare i64 @of_find_property(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 4} !6 = !{!"esp", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"platform_device", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_sun_esp.c_esp_get_differential.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_sun_esp.c_esp_get_differential.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 [13 x i8] c"differential\00", align 1 @ESP_FLAG_DIFFERENTIAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @esp_get_differential], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @esp_get_differential(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call ptr @to_platform_device(i32 noundef %3) #2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i64 @of_find_property(ptr noundef %5, ptr noundef nonnull @.str, ptr noundef null) #2 %7 = icmp eq i64 %6, 0 %8 = load i32, ptr @ESP_FLAG_DIFFERENTIAL, align 4, !tbaa !15 br i1 %7, label %12, label %9 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !16 %11 = or i32 %10, %8 br label %16 12: ; preds = %1 %13 = xor i32 %8, -1 %14 = load i32, ptr %0, align 4, !tbaa !16 %15 = and i32 %14, %13 br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %15, %12 ], [ %11, %9 ] store i32 %17, ptr %0, align 4, !tbaa !16 ret void } declare ptr @to_platform_device(i32 noundef) local_unnamed_addr #1 declare i64 @of_find_property(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 4} !7 = !{!"esp", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"platform_device", !13, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
linux_drivers_scsi_extr_sun_esp.c_esp_get_differential
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/hash/extr_md5.c_br_md5_state.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/src/hash/extr_md5.c_br_md5_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" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @br_md5_state(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @br_range_enc32le(ptr noundef %1, i32 noundef %4, i32 noundef 4) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 ret i32 %6 } declare i32 @br_range_enc32le(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 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}
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/hash/extr_md5.c_br_md5_state.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/src/hash/extr_md5.c_br_md5_state.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 @br_md5_state(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @br_range_enc32le(ptr noundef %1, i32 noundef %4, i32 noundef 4) #2 %6 = load i32, ptr %0, align 4, !tbaa !11 ret i32 %6 } declare i32 @br_range_enc32le(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 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}
freebsd_contrib_bearssl_src_hash_extr_md5.c_br_md5_state
; ModuleID = 'AnghaBench/redis/src/extr_t_zset.c_zzlLexValueGteMin.c' source_filename = "AnghaBench/redis/src/extr_t_zset.c_zzlLexValueGteMin.c" target datalayout = "e-m:e-p270:32:32-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 @zzlLexValueGteMin(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @ziplistGetObject(ptr noundef %0) #2 %4 = tail call i32 @zslLexValueGteMin(i32 noundef %3, ptr noundef %1) #2 %5 = tail call i32 @sdsfree(i32 noundef %3) #2 ret i32 %4 } declare i32 @ziplistGetObject(ptr noundef) local_unnamed_addr #1 declare i32 @zslLexValueGteMin(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sdsfree(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/redis/src/extr_t_zset.c_zzlLexValueGteMin.c' source_filename = "AnghaBench/redis/src/extr_t_zset.c_zzlLexValueGteMin.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 @zzlLexValueGteMin(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @ziplistGetObject(ptr noundef %0) #2 %4 = tail call i32 @zslLexValueGteMin(i32 noundef %3, ptr noundef %1) #2 %5 = tail call i32 @sdsfree(i32 noundef %3) #2 ret i32 %4 } declare i32 @ziplistGetObject(ptr noundef) local_unnamed_addr #1 declare i32 @zslLexValueGteMin(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sdsfree(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)"}
redis_src_extr_t_zset.c_zzlLexValueGteMin
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data_sprom.c_bhnd_nvram_sprom_copy_val.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data_sprom.c_bhnd_nvram_sprom_copy_val.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.bhnd_nvram_sprom_storage = type { i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bhnd_nvram_sprom_copy_val], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bhnd_nvram_sprom_copy_val(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca %union.bhnd_nvram_sprom_storage, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @bhnd_nvram_sprom_getvar_common(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %3 %9 = call ptr @bhnd_nvram_val_copy(ptr noundef nonnull %4) #3 store ptr %9, ptr %2, align 8, !tbaa !5 %10 = call i32 @bhnd_nvram_val_release(ptr noundef nonnull %4) #3 %11 = load ptr, ptr %2, align 8, !tbaa !5 %12 = icmp eq ptr %11, null %13 = load i32, ptr @ENOMEM, align 4 %14 = select i1 %12, i32 %13, i32 0 br label %15 15: ; preds = %8, %3 %16 = phi i32 [ %6, %3 ], [ %14, %8 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bhnd_nvram_sprom_getvar_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bhnd_nvram_val_copy(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_nvram_val_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data_sprom.c_bhnd_nvram_sprom_copy_val.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data_sprom.c_bhnd_nvram_sprom_copy_val.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.bhnd_nvram_sprom_storage = type { i32 } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bhnd_nvram_sprom_copy_val], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bhnd_nvram_sprom_copy_val(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca %union.bhnd_nvram_sprom_storage, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @bhnd_nvram_sprom_getvar_common(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %3 %9 = call ptr @bhnd_nvram_val_copy(ptr noundef nonnull %4) #3 store ptr %9, ptr %2, align 8, !tbaa !6 %10 = call i32 @bhnd_nvram_val_release(ptr noundef nonnull %4) #3 %11 = load ptr, ptr %2, align 8, !tbaa !6 %12 = icmp eq ptr %11, null %13 = load i32, ptr @ENOMEM, align 4 %14 = select i1 %12, i32 %13, i32 0 br label %15 15: ; preds = %8, %3 %16 = phi i32 [ %6, %3 ], [ %14, %8 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bhnd_nvram_sprom_getvar_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bhnd_nvram_val_copy(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_nvram_val_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_bhnd_nvram_extr_bhnd_nvram_data_sprom.c_bhnd_nvram_sprom_copy_val
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_main.c_efa_intr_msix_mgmnt.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_main.c_efa_intr_msix_mgmnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @efa_intr_msix_mgmnt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @efa_intr_msix_mgmnt(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @efa_com_admin_q_comp_intr_handler(ptr noundef %1) #2 %4 = tail call i32 @efa_com_aenq_intr_handler(ptr noundef %1, ptr noundef %1) #2 %5 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %5 } declare i32 @efa_com_admin_q_comp_intr_handler(ptr noundef) local_unnamed_addr #1 declare i32 @efa_com_aenq_intr_handler(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/linux/drivers/infiniband/hw/efa/extr_efa_main.c_efa_intr_msix_mgmnt.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_main.c_efa_intr_msix_mgmnt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @efa_intr_msix_mgmnt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @efa_intr_msix_mgmnt(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @efa_com_admin_q_comp_intr_handler(ptr noundef %1) #2 %4 = tail call i32 @efa_com_aenq_intr_handler(ptr noundef %1, ptr noundef %1) #2 %5 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %5 } declare i32 @efa_com_admin_q_comp_intr_handler(ptr noundef) local_unnamed_addr #1 declare i32 @efa_com_aenq_intr_handler(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"}
linux_drivers_infiniband_hw_efa_extr_efa_main.c_efa_intr_msix_mgmnt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_netdev.c_e1000_clean_rx_irq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_netdev.c_e1000_clean_rx_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.e1000_ring = type { i32, i32, ptr, ptr } %struct.e1000_adapter = type { i32, i32, i32, ptr, i32, %struct.e1000_hw, ptr, ptr } %struct.e1000_hw = type { i32 } %struct.e1000_buffer = type { ptr, i64 } %union.e1000_rx_desc_extended = type { %struct.TYPE_11__ } %struct.TYPE_11__ = type { %struct.TYPE_10__, %struct.TYPE_9__ } %struct.TYPE_10__ = type { i32, i32, i32 } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_12__ = type { i32, i32 } @E1000_RXD_STAT_DD = dso_local local_unnamed_addr global i32 0, align 4 @NET_IP_ALIGN = dso_local local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @E1000_RXD_STAT_EOP = dso_local local_unnamed_addr global i32 0, align 4 @FLAG2_IS_DISCARDING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"Receive packet consumed multiple buffers\0A\00", align 1 @E1000_RXDEXT_ERR_FRAME_ERR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @FLAG2_CRC_STRIPPING = dso_local local_unnamed_addr global i32 0, align 4 @copybreak = dso_local local_unnamed_addr global i32 0, align 4 @E1000_RX_BUFFER_WRITE = 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 @e1000_clean_rx_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @e1000_clean_rx_irq(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.e1000_ring, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 7 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 6 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = load i32, ptr %0, align 8, !tbaa !15 %11 = tail call ptr @E1000_RX_DESC_EXT(ptr noundef nonnull byval(%struct.e1000_ring) align 8 %0, i32 noundef %10) #2 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = tail call i32 @le32_to_cpu(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.e1000_ring, ptr %0, i64 0, i32 2 %15 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !17 %16 = and i32 %15, %13 %17 = icmp eq i32 %16, 0 br i1 %17, label %148, label %18 18: ; preds = %3 %19 = getelementptr inbounds %struct.e1000_ring, ptr %0, i64 0, i32 1 %20 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 4 %21 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 3 %22 = load i32, ptr %1, align 4, !tbaa !17 %23 = icmp slt i32 %22, %2 br i1 %23, label %24, label %148 24: ; preds = %18 %25 = load ptr, ptr %14, align 8, !tbaa !18 %26 = zext i32 %10 to i64 %27 = getelementptr inbounds %struct.e1000_buffer, ptr %25, i64 %26 br label %31 28: ; preds = %141 %29 = load i32, ptr %1, align 4, !tbaa !17 %30 = icmp slt i32 %29, %2 br i1 %30, label %31, label %148 31: ; preds = %24, %28 %32 = phi i32 [ %22, %24 ], [ %29, %28 ] %33 = phi ptr [ %27, %24 ], [ %57, %28 ] %34 = phi i32 [ %13, %24 ], [ %144, %28 ] %35 = phi i32 [ %10, %24 ], [ %52, %28 ] %36 = phi i32 [ 0, %24 ], [ %142, %28 ] %37 = phi i32 [ 0, %24 ], [ %130, %28 ] %38 = phi i32 [ 0, %24 ], [ %131, %28 ] %39 = phi ptr [ %11, %24 ], [ %53, %28 ] %40 = add nsw i32 %32, 1 store i32 %40, ptr %1, align 4, !tbaa !17 %41 = tail call i32 (...) @rmb() #2 %42 = load ptr, ptr %33, align 8, !tbaa !19 store ptr null, ptr %33, align 8, !tbaa !19 %43 = load ptr, ptr %42, align 8, !tbaa !22 %44 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !17 %45 = sext i32 %44 to i64 %46 = sub nsw i64 0, %45 %47 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %43, i64 %46 %48 = tail call i32 @prefetch(ptr noundef %47) #2 %49 = add i32 %35, 1 %50 = load i32, ptr %19, align 4, !tbaa !24 %51 = icmp eq i32 %49, %50 %52 = select i1 %51, i32 0, i32 %49 %53 = tail call ptr @E1000_RX_DESC_EXT(ptr noundef nonnull byval(%struct.e1000_ring) align 8 %0, i32 noundef %52) #2 %54 = tail call i32 @prefetch(ptr noundef %53) #2 %55 = load ptr, ptr %14, align 8, !tbaa !18 %56 = zext i32 %52 to i64 %57 = getelementptr inbounds %struct.e1000_buffer, ptr %55, i64 %56 %58 = add nsw i32 %36, 1 %59 = getelementptr inbounds %struct.e1000_buffer, ptr %33, i64 0, i32 1 %60 = load i64, ptr %59, align 8, !tbaa !25 %61 = load i32, ptr %20, align 8, !tbaa !26 %62 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !17 %63 = tail call i32 @dma_unmap_single(ptr noundef %9, i64 noundef %60, i32 noundef %61, i32 noundef %62) #2 store i64 0, ptr %59, align 8, !tbaa !25 %64 = getelementptr inbounds %struct.TYPE_10__, ptr %39, i64 0, i32 2 %65 = load i32, ptr %64, align 4, !tbaa !16 %66 = tail call i32 @le16_to_cpu(i32 noundef %65) #2 %67 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !17 %68 = and i32 %67, %34 %69 = icmp eq i32 %68, 0 %70 = zext i1 %69 to i32 %71 = tail call i64 @unlikely(i32 noundef %70) #2 %72 = icmp eq i64 %71, 0 %73 = load i32, ptr %5, align 8, !tbaa !27 br i1 %72, label %77, label %74 74: ; preds = %31 %75 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !17 %76 = or i32 %73, %75 store i32 %76, ptr %5, align 8, !tbaa !27 br label %77 77: ; preds = %74, %31 %78 = phi i32 [ %76, %74 ], [ %73, %31 ] %79 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !17 %80 = and i32 %79, %78 %81 = icmp eq i32 %80, 0 br i1 %81, label %92, label %82 82: ; preds = %77 %83 = tail call i32 @e_dbg(ptr noundef nonnull @.str) #2 store ptr %42, ptr %33, align 8, !tbaa !19 %84 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !17 %85 = and i32 %84, %34 %86 = icmp eq i32 %85, 0 br i1 %86, label %129, label %87 87: ; preds = %82 %88 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !17 %89 = xor i32 %88, -1 %90 = load i32, ptr %5, align 8, !tbaa !27 %91 = and i32 %90, %89 store i32 %91, ptr %5, align 8, !tbaa !27 br label %129 92: ; preds = %77 %93 = load i32, ptr @E1000_RXDEXT_ERR_FRAME_ERR_MASK, align 4, !tbaa !17 %94 = and i32 %93, %34 %95 = icmp eq i32 %94, 0 br i1 %95, label %97, label %96 96: ; preds = %92 store ptr %42, ptr %33, align 8, !tbaa !19 br label %129 97: ; preds = %92 %98 = load i32, ptr @FLAG2_CRC_STRIPPING, align 4, !tbaa !17 %99 = and i32 %98, %78 %100 = icmp eq i32 %99, 0 %101 = add nsw i32 %66, -4 %102 = select i1 %100, i32 %101, i32 %66 %103 = add i32 %102, %37 %104 = add i32 %38, 1 %105 = load i32, ptr @copybreak, align 4, !tbaa !17 %106 = icmp slt i32 %102, %105 br i1 %106, label %107, label %119 107: ; preds = %97 %108 = tail call ptr @netdev_alloc_skb_ip_align(ptr noundef %7, i32 noundef %102) #2 %109 = icmp eq ptr %108, null br i1 %109, label %119, label %110 110: ; preds = %107 %111 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !17 %112 = sub nsw i32 0, %111 %113 = load ptr, ptr %42, align 8, !tbaa !22 %114 = sext i32 %111 to i64 %115 = sub nsw i64 0, %114 %116 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %113, i64 %115 %117 = add nsw i32 %111, %102 %118 = tail call i32 @skb_copy_to_linear_data_offset(ptr noundef nonnull %108, i32 noundef %112, ptr noundef %116, i32 noundef %117) #2 store ptr %42, ptr %33, align 8, !tbaa !19 br label %119 119: ; preds = %107, %110, %97 %120 = phi ptr [ %42, %97 ], [ %108, %110 ], [ %42, %107 ] %121 = tail call i32 @skb_put(ptr noundef nonnull %120, i32 noundef %102) #2 %122 = getelementptr inbounds %struct.TYPE_11__, ptr %39, i64 0, i32 1 %123 = load i32, ptr %122, align 4, !tbaa !16 %124 = tail call i32 @le16_to_cpu(i32 noundef %123) #2 %125 = tail call i32 @e1000_rx_checksum(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %124, ptr noundef nonnull %120) #2 %126 = getelementptr inbounds %struct.TYPE_10__, ptr %39, i64 0, i32 1 %127 = load i32, ptr %126, align 4, !tbaa !16 %128 = tail call i32 @e1000_receive_skb(ptr noundef nonnull %5, ptr noundef %7, ptr noundef nonnull %120, i32 noundef %34, i32 noundef %127) #2 br label %129 129: ; preds = %82, %87, %119, %96 %130 = phi i32 [ %37, %87 ], [ %37, %82 ], [ %37, %96 ], [ %103, %119 ] %131 = phi i32 [ %38, %87 ], [ %38, %82 ], [ %38, %96 ], [ %104, %119 ] %132 = tail call i32 @cpu_to_le32(i32 noundef -256) #2 %133 = load i32, ptr %39, align 4, !tbaa !16 %134 = and i32 %133, %132 store i32 %134, ptr %39, align 4, !tbaa !16 %135 = load i32, ptr @E1000_RX_BUFFER_WRITE, align 4, !tbaa !17 %136 = icmp slt i32 %58, %135 br i1 %136, label %141, label %137 137: ; preds = %129 %138 = load ptr, ptr %21, align 8, !tbaa !28 %139 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !17 %140 = tail call i32 %138(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %139) #2 br label %141 141: ; preds = %129, %137 %142 = phi i32 [ 0, %137 ], [ %58, %129 ] %143 = load i32, ptr %53, align 4, !tbaa !16 %144 = tail call i32 @le32_to_cpu(i32 noundef %143) #2 %145 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !17 %146 = and i32 %145, %144 %147 = icmp eq i32 %146, 0 br i1 %147, label %148, label %28 148: ; preds = %28, %141, %18, %3 %149 = phi i32 [ %10, %3 ], [ %10, %18 ], [ %52, %141 ], [ %52, %28 ] %150 = phi i32 [ 0, %3 ], [ 0, %18 ], [ 1, %141 ], [ 1, %28 ] %151 = phi i32 [ 0, %3 ], [ 0, %18 ], [ %130, %141 ], [ %130, %28 ] %152 = phi i32 [ 0, %3 ], [ 0, %18 ], [ %131, %141 ], [ %131, %28 ] store i32 %149, ptr %0, align 8, !tbaa !15 %153 = tail call i32 @e1000_desc_unused(ptr noundef nonnull %0) #2 %154 = icmp eq i32 %153, 0 br i1 %154, label %160, label %155 155: ; preds = %148 %156 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 3 %157 = load ptr, ptr %156, align 8, !tbaa !28 %158 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !17 %159 = tail call i32 %157(ptr noundef nonnull %0, i32 noundef %153, i32 noundef %158) #2 br label %160 160: ; preds = %155, %148 %161 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 1 %162 = load i32, ptr %161, align 4, !tbaa !29 %163 = add i32 %162, %151 store i32 %163, ptr %161, align 4, !tbaa !29 %164 = getelementptr inbounds %struct.e1000_adapter, ptr %5, i64 0, i32 2 %165 = load i32, ptr %164, align 8, !tbaa !30 %166 = add i32 %165, %152 store i32 %166, ptr %164, align 8, !tbaa !30 %167 = load i32, ptr %7, align 4, !tbaa !31 %168 = add i32 %167, %151 store i32 %168, ptr %7, align 4, !tbaa !31 %169 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 0, i32 1 %170 = load i32, ptr %169, align 4, !tbaa !34 %171 = add i32 %170, %152 store i32 %171, ptr %169, align 4, !tbaa !34 ret i32 %150 } declare ptr @E1000_RX_DESC_EXT(ptr noundef byval(%struct.e1000_ring) align 8, i32 noundef) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @rmb(...) local_unnamed_addr #1 declare i32 @prefetch(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_single(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @e_dbg(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_alloc_skb_ip_align(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_copy_to_linear_data_offset(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @e1000_rx_checksum(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @e1000_receive_skb(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @e1000_desc_unused(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 16} !6 = !{!"e1000_ring", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 40} !12 = !{!"e1000_adapter", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !13, i64 28, !10, i64 32, !10, i64 40} !13 = !{!"e1000_hw", !7, i64 0} !14 = !{!12, !10, i64 32} !15 = !{!6, !7, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!20, !10, i64 0} !20 = !{!"e1000_buffer", !10, i64 0, !21, i64 8} !21 = !{!"long", !8, i64 0} !22 = !{!23, !10, i64 0} !23 = !{!"sk_buff", !10, i64 0} !24 = !{!6, !7, i64 4} !25 = !{!20, !21, i64 8} !26 = !{!12, !7, i64 24} !27 = !{!12, !7, i64 0} !28 = !{!12, !10, i64 16} !29 = !{!12, !7, i64 4} !30 = !{!12, !7, i64 8} !31 = !{!32, !7, i64 0} !32 = !{!"net_device", !33, i64 0} !33 = !{!"TYPE_12__", !7, i64 0, !7, i64 4} !34 = !{!32, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_netdev.c_e1000_clean_rx_irq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_netdev.c_e1000_clean_rx_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.e1000_ring = type { i32, i32, ptr, ptr } %struct.e1000_buffer = type { ptr, i64 } %union.e1000_rx_desc_extended = type { %struct.TYPE_11__ } %struct.TYPE_11__ = type { %struct.TYPE_10__, %struct.TYPE_9__ } %struct.TYPE_10__ = type { i32, i32, i32 } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } @E1000_RXD_STAT_DD = common local_unnamed_addr global i32 0, align 4 @NET_IP_ALIGN = common local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @E1000_RXD_STAT_EOP = common local_unnamed_addr global i32 0, align 4 @FLAG2_IS_DISCARDING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"Receive packet consumed multiple buffers\0A\00", align 1 @E1000_RXDEXT_ERR_FRAME_ERR_MASK = common local_unnamed_addr global i32 0, align 4 @FLAG2_CRC_STRIPPING = common local_unnamed_addr global i32 0, align 4 @copybreak = common local_unnamed_addr global i32 0, align 4 @E1000_RX_BUFFER_WRITE = 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 @e1000_clean_rx_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @e1000_clean_rx_irq(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.e1000_ring, align 8 %5 = alloca %struct.e1000_ring, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %7, i64 40 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %7, i64 32 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = load i32, ptr %0, align 8, !tbaa !16 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %0, i64 24, i1 false), !tbaa.struct !17 %13 = call ptr @E1000_RX_DESC_EXT(ptr noundef nonnull %4, i32 noundef %12) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4 %14 = load i32, ptr %13, align 4, !tbaa !20 %15 = call i32 @le32_to_cpu(i32 noundef %14) #4 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !18 %18 = and i32 %17, %15 %19 = icmp eq i32 %18, 0 br i1 %19, label %150, label %20 20: ; preds = %3 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = getelementptr inbounds i8, ptr %7, i64 24 %23 = getelementptr inbounds i8, ptr %7, i64 16 %24 = load i32, ptr %1, align 4, !tbaa !18 %25 = icmp slt i32 %24, %2 br i1 %25, label %26, label %150 26: ; preds = %20 %27 = load ptr, ptr %16, align 8, !tbaa !21 %28 = zext i32 %12 to i64 %29 = getelementptr inbounds %struct.e1000_buffer, ptr %27, i64 %28 br label %33 30: ; preds = %143 %31 = load i32, ptr %1, align 4, !tbaa !18 %32 = icmp slt i32 %31, %2 br i1 %32, label %33, label %150 33: ; preds = %26, %30 %34 = phi i32 [ %24, %26 ], [ %31, %30 ] %35 = phi ptr [ %29, %26 ], [ %59, %30 ] %36 = phi i32 [ %15, %26 ], [ %146, %30 ] %37 = phi i32 [ %12, %26 ], [ %54, %30 ] %38 = phi i32 [ 0, %26 ], [ %144, %30 ] %39 = phi i32 [ 0, %26 ], [ %132, %30 ] %40 = phi i32 [ 0, %26 ], [ %133, %30 ] %41 = phi ptr [ %13, %26 ], [ %55, %30 ] %42 = add nsw i32 %34, 1 store i32 %42, ptr %1, align 4, !tbaa !18 %43 = call i32 @rmb() #4 %44 = load ptr, ptr %35, align 8, !tbaa !22 store ptr null, ptr %35, align 8, !tbaa !22 %45 = load ptr, ptr %44, align 8, !tbaa !25 %46 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !18 %47 = sext i32 %46 to i64 %48 = sub nsw i64 0, %47 %49 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %45, i64 %48 %50 = call i32 @prefetch(ptr noundef %49) #4 %51 = add i32 %37, 1 %52 = load i32, ptr %21, align 4, !tbaa !27 %53 = icmp eq i32 %51, %52 %54 = select i1 %53, i32 0, i32 %51 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %0, i64 24, i1 false), !tbaa.struct !17 %55 = call ptr @E1000_RX_DESC_EXT(ptr noundef nonnull %5, i32 noundef %54) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4 %56 = call i32 @prefetch(ptr noundef %55) #4 %57 = load ptr, ptr %16, align 8, !tbaa !21 %58 = zext i32 %54 to i64 %59 = getelementptr inbounds %struct.e1000_buffer, ptr %57, i64 %58 %60 = add nsw i32 %38, 1 %61 = getelementptr inbounds i8, ptr %35, i64 8 %62 = load i64, ptr %61, align 8, !tbaa !28 %63 = load i32, ptr %22, align 8, !tbaa !29 %64 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !18 %65 = call i32 @dma_unmap_single(ptr noundef %11, i64 noundef %62, i32 noundef %63, i32 noundef %64) #4 store i64 0, ptr %61, align 8, !tbaa !28 %66 = getelementptr inbounds i8, ptr %41, i64 8 %67 = load i32, ptr %66, align 4, !tbaa !20 %68 = call i32 @le16_to_cpu(i32 noundef %67) #4 %69 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !18 %70 = and i32 %69, %36 %71 = icmp eq i32 %70, 0 %72 = zext i1 %71 to i32 %73 = call i64 @unlikely(i32 noundef %72) #4 %74 = icmp eq i64 %73, 0 %75 = load i32, ptr %7, align 8, !tbaa !30 br i1 %74, label %79, label %76 76: ; preds = %33 %77 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !18 %78 = or i32 %75, %77 store i32 %78, ptr %7, align 8, !tbaa !30 br label %79 79: ; preds = %76, %33 %80 = phi i32 [ %78, %76 ], [ %75, %33 ] %81 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !18 %82 = and i32 %81, %80 %83 = icmp eq i32 %82, 0 br i1 %83, label %94, label %84 84: ; preds = %79 %85 = call i32 @e_dbg(ptr noundef nonnull @.str) #4 store ptr %44, ptr %35, align 8, !tbaa !22 %86 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !18 %87 = and i32 %86, %36 %88 = icmp eq i32 %87, 0 br i1 %88, label %131, label %89 89: ; preds = %84 %90 = load i32, ptr @FLAG2_IS_DISCARDING, align 4, !tbaa !18 %91 = xor i32 %90, -1 %92 = load i32, ptr %7, align 8, !tbaa !30 %93 = and i32 %92, %91 store i32 %93, ptr %7, align 8, !tbaa !30 br label %131 94: ; preds = %79 %95 = load i32, ptr @E1000_RXDEXT_ERR_FRAME_ERR_MASK, align 4, !tbaa !18 %96 = and i32 %95, %36 %97 = icmp eq i32 %96, 0 br i1 %97, label %99, label %98 98: ; preds = %94 store ptr %44, ptr %35, align 8, !tbaa !22 br label %131 99: ; preds = %94 %100 = load i32, ptr @FLAG2_CRC_STRIPPING, align 4, !tbaa !18 %101 = and i32 %100, %80 %102 = icmp eq i32 %101, 0 %103 = add nsw i32 %68, -4 %104 = select i1 %102, i32 %103, i32 %68 %105 = add i32 %104, %39 %106 = add i32 %40, 1 %107 = load i32, ptr @copybreak, align 4, !tbaa !18 %108 = icmp slt i32 %104, %107 br i1 %108, label %109, label %121 109: ; preds = %99 %110 = call ptr @netdev_alloc_skb_ip_align(ptr noundef %9, i32 noundef %104) #4 %111 = icmp eq ptr %110, null br i1 %111, label %121, label %112 112: ; preds = %109 %113 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !18 %114 = sub nsw i32 0, %113 %115 = load ptr, ptr %44, align 8, !tbaa !25 %116 = sext i32 %113 to i64 %117 = sub nsw i64 0, %116 %118 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %115, i64 %117 %119 = add nsw i32 %113, %104 %120 = call i32 @skb_copy_to_linear_data_offset(ptr noundef nonnull %110, i32 noundef %114, ptr noundef %118, i32 noundef %119) #4 store ptr %44, ptr %35, align 8, !tbaa !22 br label %121 121: ; preds = %109, %112, %99 %122 = phi ptr [ %44, %99 ], [ %110, %112 ], [ %44, %109 ] %123 = call i32 @skb_put(ptr noundef nonnull %122, i32 noundef %104) #4 %124 = getelementptr inbounds i8, ptr %41, i64 12 %125 = load i32, ptr %124, align 4, !tbaa !20 %126 = call i32 @le16_to_cpu(i32 noundef %125) #4 %127 = call i32 @e1000_rx_checksum(ptr noundef nonnull %7, i32 noundef %36, i32 noundef %126, ptr noundef nonnull %122) #4 %128 = getelementptr inbounds i8, ptr %41, i64 4 %129 = load i32, ptr %128, align 4, !tbaa !20 %130 = call i32 @e1000_receive_skb(ptr noundef nonnull %7, ptr noundef %9, ptr noundef nonnull %122, i32 noundef %36, i32 noundef %129) #4 br label %131 131: ; preds = %84, %89, %121, %98 %132 = phi i32 [ %39, %89 ], [ %39, %84 ], [ %39, %98 ], [ %105, %121 ] %133 = phi i32 [ %40, %89 ], [ %40, %84 ], [ %40, %98 ], [ %106, %121 ] %134 = call i32 @cpu_to_le32(i32 noundef -256) #4 %135 = load i32, ptr %41, align 4, !tbaa !20 %136 = and i32 %135, %134 store i32 %136, ptr %41, align 4, !tbaa !20 %137 = load i32, ptr @E1000_RX_BUFFER_WRITE, align 4, !tbaa !18 %138 = icmp slt i32 %60, %137 br i1 %138, label %143, label %139 139: ; preds = %131 %140 = load ptr, ptr %23, align 8, !tbaa !31 %141 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !18 %142 = call i32 %140(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %141) #4 br label %143 143: ; preds = %131, %139 %144 = phi i32 [ 0, %139 ], [ %60, %131 ] %145 = load i32, ptr %55, align 4, !tbaa !20 %146 = call i32 @le32_to_cpu(i32 noundef %145) #4 %147 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !18 %148 = and i32 %147, %146 %149 = icmp eq i32 %148, 0 br i1 %149, label %150, label %30 150: ; preds = %30, %143, %20, %3 %151 = phi i32 [ %12, %3 ], [ %12, %20 ], [ %54, %143 ], [ %54, %30 ] %152 = phi i32 [ 0, %3 ], [ 0, %20 ], [ 1, %143 ], [ 1, %30 ] %153 = phi i32 [ 0, %3 ], [ 0, %20 ], [ %132, %143 ], [ %132, %30 ] %154 = phi i32 [ 0, %3 ], [ 0, %20 ], [ %133, %143 ], [ %133, %30 ] store i32 %151, ptr %0, align 8, !tbaa !16 %155 = call i32 @e1000_desc_unused(ptr noundef nonnull %0) #4 %156 = icmp eq i32 %155, 0 br i1 %156, label %162, label %157 157: ; preds = %150 %158 = getelementptr inbounds i8, ptr %7, i64 16 %159 = load ptr, ptr %158, align 8, !tbaa !31 %160 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !18 %161 = call i32 %159(ptr noundef nonnull %0, i32 noundef %155, i32 noundef %160) #4 br label %162 162: ; preds = %157, %150 %163 = getelementptr inbounds i8, ptr %7, i64 4 %164 = load i32, ptr %163, align 4, !tbaa !32 %165 = add i32 %164, %153 store i32 %165, ptr %163, align 4, !tbaa !32 %166 = getelementptr inbounds i8, ptr %7, i64 8 %167 = load i32, ptr %166, align 8, !tbaa !33 %168 = add i32 %167, %154 store i32 %168, ptr %166, align 8, !tbaa !33 %169 = load i32, ptr %9, align 4, !tbaa !34 %170 = add i32 %169, %153 store i32 %170, ptr %9, align 4, !tbaa !34 %171 = getelementptr inbounds i8, ptr %9, i64 4 %172 = load i32, ptr %171, align 4, !tbaa !37 %173 = add i32 %172, %154 store i32 %173, ptr %171, align 4, !tbaa !37 ret i32 %152 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @E1000_RX_DESC_EXT(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @rmb(...) local_unnamed_addr #2 declare i32 @prefetch(ptr noundef) local_unnamed_addr #2 declare i32 @dma_unmap_single(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @e_dbg(ptr noundef) local_unnamed_addr #2 declare ptr @netdev_alloc_skb_ip_align(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_copy_to_linear_data_offset(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @e1000_rx_checksum(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @e1000_receive_skb(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @e1000_desc_unused(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"e1000_ring", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 40} !13 = !{!"e1000_adapter", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !14, i64 28, !11, i64 32, !11, i64 40} !14 = !{!"e1000_hw", !8, i64 0} !15 = !{!13, !11, i64 32} !16 = !{!7, !8, i64 0} !17 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 8, !19, i64 16, i64 8, !19} !18 = !{!8, !8, i64 0} !19 = !{!11, !11, i64 0} !20 = !{!9, !9, i64 0} !21 = !{!7, !11, i64 8} !22 = !{!23, !11, i64 0} !23 = !{!"e1000_buffer", !11, i64 0, !24, i64 8} !24 = !{!"long", !9, i64 0} !25 = !{!26, !11, i64 0} !26 = !{!"sk_buff", !11, i64 0} !27 = !{!7, !8, i64 4} !28 = !{!23, !24, i64 8} !29 = !{!13, !8, i64 24} !30 = !{!13, !8, i64 0} !31 = !{!13, !11, i64 16} !32 = !{!13, !8, i64 4} !33 = !{!13, !8, i64 8} !34 = !{!35, !8, i64 0} !35 = !{!"net_device", !36, i64 0} !36 = !{!"TYPE_12__", !8, i64 0, !8, i64 4} !37 = !{!35, !8, i64 4}
fastsocket_kernel_drivers_net_e1000e_extr_netdev.c_e1000_clean_rx_irq
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/davicom/extr_dm9000.c_dm9000_timeout.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/davicom/extr_dm9000.c_dm9000_timeout.c" target datalayout = "e-m:e-p270:32:32-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.board_info = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @dm9000_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dm9000_timeout(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.board_info, ptr %2, i64 0, i32 1 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2 store i32 1, ptr %2, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.board_info, ptr %2, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @readb(i32 noundef %6) #2 %8 = tail call i32 @netif_stop_queue(ptr noundef %0) #2 %9 = tail call i32 @dm9000_init_dm9000(ptr noundef %0) #2 %10 = tail call i32 @dm9000_unmask_interrupts(ptr noundef nonnull %2) #2 %11 = tail call i32 @netif_trans_update(ptr noundef %0) #2 %12 = tail call i32 @netif_wake_queue(ptr noundef %0) #2 %13 = load i32, ptr %5, align 4, !tbaa !10 %14 = tail call i32 @writeb(i32 noundef %7, i32 noundef %13) #2 store i32 0, ptr %2, align 4, !tbaa !5 %15 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @readb(i32 noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @dm9000_init_dm9000(ptr noundef) local_unnamed_addr #1 declare i32 @dm9000_unmask_interrupts(ptr noundef) local_unnamed_addr #1 declare i32 @netif_trans_update(ptr noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1 declare i32 @writeb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"board_info", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/davicom/extr_dm9000.c_dm9000_timeout.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/davicom/extr_dm9000.c_dm9000_timeout.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 @dm9000_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dm9000_timeout(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2 store i32 1, ptr %2, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @readb(i32 noundef %6) #2 %8 = tail call i32 @netif_stop_queue(ptr noundef %0) #2 %9 = tail call i32 @dm9000_init_dm9000(ptr noundef %0) #2 %10 = tail call i32 @dm9000_unmask_interrupts(ptr noundef nonnull %2) #2 %11 = tail call i32 @netif_trans_update(ptr noundef %0) #2 %12 = tail call i32 @netif_wake_queue(ptr noundef %0) #2 %13 = load i32, ptr %5, align 4, !tbaa !11 %14 = tail call i32 @writeb(i32 noundef %7, i32 noundef %13) #2 store i32 0, ptr %2, align 4, !tbaa !6 %15 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @readb(i32 noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @dm9000_init_dm9000(ptr noundef) local_unnamed_addr #1 declare i32 @dm9000_unmask_interrupts(ptr noundef) local_unnamed_addr #1 declare i32 @netif_trans_update(ptr noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1 declare i32 @writeb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"board_info", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
linux_drivers_net_ethernet_davicom_extr_dm9000.c_dm9000_timeout
; ModuleID = 'AnghaBench/git/extr_wrapper.c_xmkstemp_mode.c' source_filename = "AnghaBench/git/extr_wrapper.c_xmkstemp_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Unable to create temporary file '%s'\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @xmkstemp_mode(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @PATH_MAX, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = call i32 @strlcpy(ptr noundef nonnull %5, ptr noundef %0, i32 noundef %3) #2 %7 = call i32 @git_mkstemp_mode(ptr noundef %0, i32 noundef %1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load i32, ptr @errno, align 4, !tbaa !5 %11 = load i8, ptr %0, align 1, !tbaa !9 %12 = icmp eq i8 %11, 0 %13 = select i1 %12, ptr %5, ptr %0 %14 = call ptr @absolute_path(ptr noundef nonnull %13) #2 store i32 %10, ptr @errno, align 4, !tbaa !5 %15 = call i32 @die_errno(ptr noundef nonnull @.str, ptr noundef %14) #2 br label %16 16: ; preds = %9, %2 ret i32 %7 } declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @git_mkstemp_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @absolute_path(ptr noundef) local_unnamed_addr #1 declare i32 @die_errno(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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/git/extr_wrapper.c_xmkstemp_mode.c' source_filename = "AnghaBench/git/extr_wrapper.c_xmkstemp_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PATH_MAX = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Unable to create temporary file '%s'\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @xmkstemp_mode(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @PATH_MAX, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = call i32 @strlcpy(ptr noundef nonnull %5, ptr noundef %0, i32 noundef %3) #2 %7 = call i32 @git_mkstemp_mode(ptr noundef %0, i32 noundef %1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load i32, ptr @errno, align 4, !tbaa !6 %11 = load i8, ptr %0, align 1, !tbaa !10 %12 = icmp eq i8 %11, 0 %13 = select i1 %12, ptr %5, ptr %0 %14 = call ptr @absolute_path(ptr noundef nonnull %13) #2 store i32 %10, ptr @errno, align 4, !tbaa !6 %15 = call i32 @die_errno(ptr noundef nonnull @.str, ptr noundef %14) #2 br label %16 16: ; preds = %9, %2 ret i32 %7 } declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @git_mkstemp_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @absolute_path(ptr noundef) local_unnamed_addr #1 declare i32 @die_errno(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 = !{!8, !8, i64 0}
git_extr_wrapper.c_xmkstemp_mode
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_corruptSchema.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_corruptSchema.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, i32, ptr } %struct.TYPE_6__ = type { i32, i64 } @SQLITE_WriteSchema = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"malformed database schema (%s)\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%z - %s\00", align 1 @SQLITE_NOMEM_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @corruptSchema], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @corruptSchema(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load i32, ptr @SQLITE_NOMEM_BKPT, align 4 br label %40 11: ; preds = %3 %12 = load i32, ptr %5, align 8, !tbaa !14 %13 = load i32, ptr @SQLITE_WriteSchema, align 4, !tbaa !15 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %11 %17 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4 br label %40 18: ; preds = %11 %19 = icmp eq ptr %1, null %20 = select i1 %19, ptr @.str, ptr %1 %21 = tail call ptr (ptr, ptr, ptr, ...) @sqlite3MPrintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef nonnull %20) #2 %22 = icmp eq ptr %2, null br i1 %22, label %28, label %23 23: ; preds = %18 %24 = load i8, ptr %2, align 1, !tbaa !16 %25 = icmp eq i8 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %23 %27 = tail call ptr (ptr, ptr, ptr, ...) @sqlite3MPrintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, ptr noundef %21, ptr noundef nonnull %2) #2 br label %28 28: ; preds = %18, %23, %26 %29 = phi ptr [ %27, %26 ], [ %21, %23 ], [ %21, %18 ] %30 = load ptr, ptr %0, align 8, !tbaa !17 %31 = load ptr, ptr %30, align 8, !tbaa !18 %32 = tail call i32 @sqlite3DbFree(ptr noundef nonnull %5, ptr noundef %31) #2 %33 = load ptr, ptr %0, align 8, !tbaa !17 store ptr %29, ptr %33, align 8, !tbaa !18 %34 = load i64, ptr %6, align 8, !tbaa !11 %35 = freeze i64 %34 %36 = icmp eq i64 %35, 0 %37 = load i32, ptr @SQLITE_NOMEM_BKPT, align 4 %38 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4 %39 = select i1 %36, i32 %38, i32 %37 br label %40 40: ; preds = %28, %16, %9 %41 = phi i32 [ %10, %9 ], [ %17, %16 ], [ %39, %28 ] %42 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 store i32 %41, ptr %42, align 8, !tbaa !19 ret void } declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @sqlite3DbFree(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 16} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_6__", !10, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_corruptSchema.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_corruptSchema.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_WriteSchema = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"malformed database schema (%s)\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%z - %s\00", align 1 @SQLITE_NOMEM_BKPT = common local_unnamed_addr global i32 0, align 4 @SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @corruptSchema], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @corruptSchema(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %34 9: ; preds = %3 %10 = load i32, ptr %5, align 8, !tbaa !15 %11 = load i32, ptr @SQLITE_WriteSchema, align 4, !tbaa !16 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %33 14: ; preds = %9 %15 = icmp eq ptr %1, null %16 = select i1 %15, ptr @.str, ptr %1 %17 = tail call ptr (ptr, ptr, ptr, ...) @sqlite3MPrintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef nonnull %16) #2 %18 = icmp eq ptr %2, null br i1 %18, label %24, label %19 19: ; preds = %14 %20 = load i8, ptr %2, align 1, !tbaa !17 %21 = icmp eq i8 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = tail call ptr (ptr, ptr, ptr, ...) @sqlite3MPrintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, ptr noundef %17, ptr noundef nonnull %2) #2 br label %24 24: ; preds = %14, %19, %22 %25 = phi ptr [ %23, %22 ], [ %17, %19 ], [ %17, %14 ] %26 = load ptr, ptr %0, align 8, !tbaa !18 %27 = load ptr, ptr %26, align 8, !tbaa !19 %28 = tail call i32 @sqlite3DbFree(ptr noundef nonnull %5, ptr noundef %27) #2 %29 = load ptr, ptr %0, align 8, !tbaa !18 store ptr %25, ptr %29, align 8, !tbaa !19 %30 = load i64, ptr %6, align 8, !tbaa !12 %31 = freeze i64 %30 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %9, %24 br label %34 34: ; preds = %3, %24, %33 %35 = phi ptr [ @SQLITE_CORRUPT_BKPT, %33 ], [ @SQLITE_NOMEM_BKPT, %24 ], [ @SQLITE_NOMEM_BKPT, %3 ] %36 = load i32, ptr %35, align 4 %37 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %36, ptr %37, align 8, !tbaa !20 ret void } declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @sqlite3DbFree(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 16} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_6__", !11, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!9, !9, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!7, !11, i64 8}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_corruptSchema
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_strings-table.c_svn_fs_bdb__string_delete.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_strings-table.c_svn_fs_bdb__string_delete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"strings\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"del\00", align 1 @DB_NOTFOUND = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_FS_NO_SUCH_STRING = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"No such string '%s'\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"deleting string\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_bdb__string_delete(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %7 = tail call i32 @svn_fs_base__trail_debug(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %8 = load ptr, ptr %6, align 8, !tbaa !10 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr %2, align 4, !tbaa !14 %11 = call i32 @svn_fs_base__str_to_dbt(ptr noundef nonnull %5, ptr noundef %1) #3 %12 = call i32 %9(ptr noundef nonnull %8, i32 noundef %10, i32 noundef %11, i32 noundef 0) #3 %13 = load i32, ptr @DB_NOTFOUND, align 4, !tbaa !17 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %4 %16 = load i32, ptr @SVN_ERR_FS_NO_SUCH_STRING, align 4, !tbaa !17 %17 = call ptr @svn_error_createf(i32 noundef %16, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef %1) #3 br label %21 18: ; preds = %4 %19 = call i32 @N_(ptr noundef nonnull @.str.3) #3 %20 = call ptr @BDB_WRAP(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %12) #3 br label %21 21: ; preds = %18, %15 %22 = phi ptr [ %17, %15 ], [ %20, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_fs_base__trail_debug(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_base__str_to_dbt(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @BDB_WRAP(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @N_(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_10__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_11__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_12__", !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_strings-table.c_svn_fs_bdb__string_delete.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_strings-table.c_svn_fs_bdb__string_delete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"strings\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"del\00", align 1 @DB_NOTFOUND = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_FS_NO_SUCH_STRING = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"No such string '%s'\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"deleting string\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_bdb__string_delete(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %7 = tail call i32 @svn_fs_base__trail_debug(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %8 = load ptr, ptr %6, align 8, !tbaa !11 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load i32, ptr %2, align 4, !tbaa !15 %11 = call i32 @svn_fs_base__str_to_dbt(ptr noundef nonnull %5, ptr noundef %1) #3 %12 = call i32 %9(ptr noundef nonnull %8, i32 noundef %10, i32 noundef %11, i32 noundef 0) #3 %13 = load i32, ptr @DB_NOTFOUND, align 4, !tbaa !18 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %4 %16 = load i32, ptr @SVN_ERR_FS_NO_SUCH_STRING, align 4, !tbaa !18 %17 = call ptr @svn_error_createf(i32 noundef %16, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef %1) #3 br label %21 18: ; preds = %4 %19 = call i32 @N_(ptr noundef nonnull @.str.3) #3 %20 = call ptr @BDB_WRAP(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %12) #3 br label %21 21: ; preds = %18, %15 %22 = phi ptr [ %17, %15 ], [ %20, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_fs_base__trail_debug(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_base__str_to_dbt(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @BDB_WRAP(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @N_(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_10__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_11__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_12__", !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_9__", !17, i64 0} !17 = !{!"int", !9, i64 0} !18 = !{!17, !17, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_base_bdb_extr_strings-table.c_svn_fs_bdb__string_delete
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_get_rr_interval_fair.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_get_rr_interval_fair.c" target datalayout = "e-m:e-p270:32:32-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 @get_rr_interval_fair], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_rr_interval_fair(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = tail call i32 @cfs_rq_of(ptr noundef %1) #2 %7 = tail call i32 @sched_slice(i32 noundef %6, ptr noundef %1) #2 %8 = tail call i32 @NS_TO_JIFFIES(i32 noundef %7) #2 br label %9 9: ; preds = %5, %2 %10 = phi i32 [ %8, %5 ], [ 0, %2 ] ret i32 %10 } declare i32 @NS_TO_JIFFIES(i32 noundef) local_unnamed_addr #1 declare i32 @sched_slice(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfs_rq_of(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, !9, i64 0} !6 = !{!"rq", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_get_rr_interval_fair.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_get_rr_interval_fair.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 @get_rr_interval_fair], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_rr_interval_fair(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = tail call i32 @cfs_rq_of(ptr noundef %1) #2 %7 = tail call i32 @sched_slice(i32 noundef %6, ptr noundef %1) #2 %8 = tail call i32 @NS_TO_JIFFIES(i32 noundef %7) #2 br label %9 9: ; preds = %5, %2 %10 = phi i32 [ %8, %5 ], [ 0, %2 ] ret i32 %10 } declare i32 @NS_TO_JIFFIES(i32 noundef) local_unnamed_addr #1 declare i32 @sched_slice(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfs_rq_of(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, !10, i64 0} !7 = !{!"rq", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"long", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"}
linux_kernel_sched_extr_fair.c_get_rr_interval_fair
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mlp.c_ff_mlp_checksum16.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mlp.c_ff_mlp_checksum16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crc_2D = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ff_mlp_checksum16(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @crc_2D, align 4, !tbaa !5 %4 = add i32 %1, -2 %5 = tail call i32 @av_crc(i32 noundef %3, i32 noundef 0, ptr noundef %0, i32 noundef %4) #2 %6 = zext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %0, i64 %6 %8 = getelementptr inbounds i32, ptr %7, i64 -2 %9 = tail call i32 @AV_RL16(ptr noundef nonnull %8) #2 %10 = xor i32 %9, %5 ret i32 %10 } declare i32 @av_crc(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AV_RL16(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/FFmpeg/libavcodec/extr_mlp.c_ff_mlp_checksum16.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mlp.c_ff_mlp_checksum16.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crc_2D = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ff_mlp_checksum16(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @crc_2D, align 4, !tbaa !6 %4 = add i32 %1, -2 %5 = tail call i32 @av_crc(i32 noundef %3, i32 noundef 0, ptr noundef %0, i32 noundef %4) #2 %6 = zext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %0, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 -8 %9 = tail call i32 @AV_RL16(ptr noundef nonnull %8) #2 %10 = xor i32 %9, %5 ret i32 %10 } declare i32 @av_crc(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AV_RL16(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"}
FFmpeg_libavcodec_extr_mlp.c_ff_mlp_checksum16
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_file_read_line_ex.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_file_read_line_ex.c" target datalayout = "e-m:e-p270:32:32-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_13__ = type { %struct.TYPE_12__, i32, i32 } %struct.TYPE_12__ = type { %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32, i32, i64, i32, ptr, i32, i32, i32, i32 } @SPL_FILE_OBJECT_READ_CSV = dso_local local_unnamed_addr global i32 0, align 4 @spl_ce_SplFileObject = dso_local local_unnamed_addr global i64 0, align 8 @spl_ce_RuntimeException = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Cannot read from file %s\00", align 1 @FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @current_execute_data = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_THIS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"getCurrentLine\00", align 1 @IS_STRING = dso_local local_unnamed_addr global i64 0, align 8 @SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @spl_filesystem_file_read_line_ex], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @spl_filesystem_file_read_line_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr @SPL_FILE_OBJECT_READ_CSV, align 4, !tbaa !14 %8 = tail call i64 @SPL_HAS_FLAG(i32 noundef %6, i32 noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = load i64, ptr @spl_ce_SplFileObject, align 8, !tbaa !19 %15 = icmp eq i64 %13, %14 br i1 %15, label %88, label %16 16: ; preds = %10, %3 %17 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 8 %18 = load i32, ptr %17, align 4, !tbaa !20 %19 = tail call i64 @php_stream_eof(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %30, label %21 21: ; preds = %16 %22 = icmp eq i32 %2, 0 br i1 %22, label %23, label %28 23: ; preds = %21 %24 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !14 %25 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 2 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = tail call i32 @zend_throw_exception_ex(i32 noundef %24, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %26) #3 br label %28 28: ; preds = %23, %21 %29 = load i32, ptr @FAILURE, align 4, !tbaa !14 br label %90 30: ; preds = %16 %31 = load i32, ptr %5, align 8, !tbaa !5 %32 = load i32, ptr @SPL_FILE_OBJECT_READ_CSV, align 4, !tbaa !14 %33 = tail call i64 @SPL_HAS_FLAG(i32 noundef %31, i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %43, label %35 35: ; preds = %30 %36 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 7 %37 = load i32, ptr %36, align 8, !tbaa !22 %38 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 6 %39 = load i32, ptr %38, align 4, !tbaa !23 %40 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 5 %41 = load i32, ptr %40, align 8, !tbaa !24 %42 = tail call i32 @spl_filesystem_file_read_csv(ptr noundef nonnull %1, i32 noundef %37, i32 noundef %39, i32 noundef %41, ptr noundef null) #3 br label %90 43: ; preds = %30 %44 = load i32, ptr @current_execute_data, align 4, !tbaa !14 %45 = tail call ptr @EG(i32 noundef %44) #3 %46 = tail call i32 @Z_OBJ_P(ptr noundef %0) #3 %47 = load i32, ptr @ZEND_THIS, align 4, !tbaa !14 %48 = tail call i32 @Z_OBJCE_P(i32 noundef %47) #3 %49 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4 %50 = call i32 @zend_call_method_with_0_params(i32 noundef %46, i32 noundef %48, ptr noundef nonnull %49, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %51 = load i32, ptr %4, align 4, !tbaa !14 %52 = call i32 @Z_ISUNDEF(i32 noundef %51) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %86 54: ; preds = %43 %55 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2 %56 = load i64, ptr %55, align 8, !tbaa !25 %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = load i32, ptr %1, align 8, !tbaa !26 %60 = call i32 @Z_ISUNDEF(i32 noundef %59) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %58, %54 %63 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 3 %64 = load i32, ptr %63, align 8, !tbaa !27 %65 = add nsw i32 %64, 1 store i32 %65, ptr %63, align 8, !tbaa !27 br label %66 66: ; preds = %62, %58 %67 = call i32 @spl_filesystem_file_free_line(ptr noundef nonnull %1) #3 %68 = load i32, ptr %4, align 4, !tbaa !14 %69 = call i64 @Z_TYPE(i32 noundef %68) #3 %70 = load i64, ptr @IS_STRING, align 8, !tbaa !19 %71 = icmp eq i64 %69, %70 br i1 %71, label %72, label %81 72: ; preds = %66 %73 = load i32, ptr %4, align 4, !tbaa !14 %74 = call i32 @Z_STRVAL(i32 noundef %73) #3 %75 = load i32, ptr %4, align 4, !tbaa !14 %76 = call i32 @Z_STRLEN(i32 noundef %75) #3 %77 = call i64 @estrndup(i32 noundef %74, i32 noundef %76) #3 store i64 %77, ptr %55, align 8, !tbaa !25 %78 = load i32, ptr %4, align 4, !tbaa !14 %79 = call i32 @Z_STRLEN(i32 noundef %78) #3 %80 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 store i32 %79, ptr %80, align 4, !tbaa !28 br label %83 81: ; preds = %66 %82 = call i32 @ZVAL_COPY_DEREF(ptr noundef nonnull %1, ptr noundef nonnull %4) #3 br label %83 83: ; preds = %81, %72 %84 = call i32 @zval_ptr_dtor(ptr noundef nonnull %4) #3 %85 = load i32, ptr @SUCCESS, align 4, !tbaa !14 br label %90 86: ; preds = %43 %87 = load i32, ptr @FAILURE, align 4, !tbaa !14 br label %90 88: ; preds = %10 %89 = tail call i32 @spl_filesystem_file_read(ptr noundef nonnull %1, i32 noundef %2) #3 br label %90 90: ; preds = %88, %86, %83, %35, %28 %91 = phi i32 [ %29, %28 ], [ %42, %35 ], [ %87, %86 ], [ %85, %83 ], [ %89, %88 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %91 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @SPL_HAS_FLAG(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @php_stream_eof(i32 noundef) local_unnamed_addr #2 declare i32 @zend_throw_exception_ex(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_read_csv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @EG(i32 noundef) local_unnamed_addr #2 declare i32 @zend_call_method_with_0_params(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Z_OBJ_P(ptr noundef) local_unnamed_addr #2 declare i32 @Z_OBJCE_P(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @Z_ISUNDEF(i32 noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_free_line(ptr noundef) local_unnamed_addr #2 declare i64 @Z_TYPE(i32 noundef) local_unnamed_addr #2 declare i64 @estrndup(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Z_STRVAL(i32 noundef) local_unnamed_addr #2 declare i32 @Z_STRLEN(i32 noundef) local_unnamed_addr #2 declare i32 @ZVAL_COPY_DEREF(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_read(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 48} !6 = !{!"TYPE_13__", !7, i64 0, !9, i64 48, !9, i64 52} !7 = !{!"TYPE_12__", !8, i64 0} !8 = !{!"TYPE_11__", !9, i64 0, !9, i64 4, !12, i64 8, !9, i64 16, !13, i64 24, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!6, !13, i64 24} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_14__", !18, i64 0} !18 = !{!"TYPE_10__", !12, i64 0} !19 = !{!12, !12, i64 0} !20 = !{!6, !9, i64 44} !21 = !{!6, !9, i64 52} !22 = !{!6, !9, i64 40} !23 = !{!6, !9, i64 36} !24 = !{!6, !9, i64 32} !25 = !{!6, !12, i64 8} !26 = !{!6, !9, i64 0} !27 = !{!6, !9, i64 16} !28 = !{!6, !9, i64 4}
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_file_read_line_ex.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_file_read_line_ex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SPL_FILE_OBJECT_READ_CSV = common local_unnamed_addr global i32 0, align 4 @spl_ce_SplFileObject = common local_unnamed_addr global i64 0, align 8 @spl_ce_RuntimeException = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Cannot read from file %s\00", align 1 @FAILURE = common local_unnamed_addr global i32 0, align 4 @current_execute_data = common local_unnamed_addr global i32 0, align 4 @ZEND_THIS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"getCurrentLine\00", align 1 @IS_STRING = common local_unnamed_addr global i64 0, align 8 @SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @spl_filesystem_file_read_line_ex], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @spl_filesystem_file_read_line_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %1, i64 48 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr @SPL_FILE_OBJECT_READ_CSV, align 4, !tbaa !15 %8 = tail call i64 @SPL_HAS_FLAG(i32 noundef %6, i32 noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %1, i64 24 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = load i64, ptr %12, align 8, !tbaa !17 %14 = load i64, ptr @spl_ce_SplFileObject, align 8, !tbaa !20 %15 = icmp eq i64 %13, %14 br i1 %15, label %88, label %16 16: ; preds = %10, %3 %17 = getelementptr inbounds i8, ptr %1, i64 44 %18 = load i32, ptr %17, align 4, !tbaa !21 %19 = tail call i64 @php_stream_eof(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %30, label %21 21: ; preds = %16 %22 = icmp eq i32 %2, 0 br i1 %22, label %23, label %28 23: ; preds = %21 %24 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !15 %25 = getelementptr inbounds i8, ptr %1, i64 52 %26 = load i32, ptr %25, align 4, !tbaa !22 %27 = tail call i32 @zend_throw_exception_ex(i32 noundef %24, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %26) #3 br label %28 28: ; preds = %23, %21 %29 = load i32, ptr @FAILURE, align 4, !tbaa !15 br label %90 30: ; preds = %16 %31 = load i32, ptr %5, align 8, !tbaa !6 %32 = load i32, ptr @SPL_FILE_OBJECT_READ_CSV, align 4, !tbaa !15 %33 = tail call i64 @SPL_HAS_FLAG(i32 noundef %31, i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %43, label %35 35: ; preds = %30 %36 = getelementptr inbounds i8, ptr %1, i64 40 %37 = load i32, ptr %36, align 8, !tbaa !23 %38 = getelementptr inbounds i8, ptr %1, i64 36 %39 = load i32, ptr %38, align 4, !tbaa !24 %40 = getelementptr inbounds i8, ptr %1, i64 32 %41 = load i32, ptr %40, align 8, !tbaa !25 %42 = tail call i32 @spl_filesystem_file_read_csv(ptr noundef nonnull %1, i32 noundef %37, i32 noundef %39, i32 noundef %41, ptr noundef null) #3 br label %90 43: ; preds = %30 %44 = load i32, ptr @current_execute_data, align 4, !tbaa !15 %45 = tail call ptr @EG(i32 noundef %44) #3 %46 = tail call i32 @Z_OBJ_P(ptr noundef %0) #3 %47 = load i32, ptr @ZEND_THIS, align 4, !tbaa !15 %48 = tail call i32 @Z_OBJCE_P(i32 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %1, i64 24 %50 = call i32 @zend_call_method_with_0_params(i32 noundef %46, i32 noundef %48, ptr noundef nonnull %49, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %51 = load i32, ptr %4, align 4, !tbaa !15 %52 = call i32 @Z_ISUNDEF(i32 noundef %51) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %86 54: ; preds = %43 %55 = getelementptr inbounds i8, ptr %1, i64 8 %56 = load i64, ptr %55, align 8, !tbaa !26 %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = load i32, ptr %1, align 8, !tbaa !27 %60 = call i32 @Z_ISUNDEF(i32 noundef %59) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %58, %54 %63 = getelementptr inbounds i8, ptr %1, i64 16 %64 = load i32, ptr %63, align 8, !tbaa !28 %65 = add nsw i32 %64, 1 store i32 %65, ptr %63, align 8, !tbaa !28 br label %66 66: ; preds = %62, %58 %67 = call i32 @spl_filesystem_file_free_line(ptr noundef nonnull %1) #3 %68 = load i32, ptr %4, align 4, !tbaa !15 %69 = call i64 @Z_TYPE(i32 noundef %68) #3 %70 = load i64, ptr @IS_STRING, align 8, !tbaa !20 %71 = icmp eq i64 %69, %70 br i1 %71, label %72, label %81 72: ; preds = %66 %73 = load i32, ptr %4, align 4, !tbaa !15 %74 = call i32 @Z_STRVAL(i32 noundef %73) #3 %75 = load i32, ptr %4, align 4, !tbaa !15 %76 = call i32 @Z_STRLEN(i32 noundef %75) #3 %77 = call i64 @estrndup(i32 noundef %74, i32 noundef %76) #3 store i64 %77, ptr %55, align 8, !tbaa !26 %78 = load i32, ptr %4, align 4, !tbaa !15 %79 = call i32 @Z_STRLEN(i32 noundef %78) #3 %80 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %79, ptr %80, align 4, !tbaa !29 br label %83 81: ; preds = %66 %82 = call i32 @ZVAL_COPY_DEREF(ptr noundef nonnull %1, ptr noundef nonnull %4) #3 br label %83 83: ; preds = %81, %72 %84 = call i32 @zval_ptr_dtor(ptr noundef nonnull %4) #3 %85 = load i32, ptr @SUCCESS, align 4, !tbaa !15 br label %90 86: ; preds = %43 %87 = load i32, ptr @FAILURE, align 4, !tbaa !15 br label %90 88: ; preds = %10 %89 = tail call i32 @spl_filesystem_file_read(ptr noundef nonnull %1, i32 noundef %2) #3 br label %90 90: ; preds = %88, %86, %83, %35, %28 %91 = phi i32 [ %29, %28 ], [ %42, %35 ], [ %87, %86 ], [ %85, %83 ], [ %89, %88 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %91 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @SPL_HAS_FLAG(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @php_stream_eof(i32 noundef) local_unnamed_addr #2 declare i32 @zend_throw_exception_ex(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_read_csv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @EG(i32 noundef) local_unnamed_addr #2 declare i32 @zend_call_method_with_0_params(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Z_OBJ_P(ptr noundef) local_unnamed_addr #2 declare i32 @Z_OBJCE_P(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @Z_ISUNDEF(i32 noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_free_line(ptr noundef) local_unnamed_addr #2 declare i64 @Z_TYPE(i32 noundef) local_unnamed_addr #2 declare i64 @estrndup(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Z_STRVAL(i32 noundef) local_unnamed_addr #2 declare i32 @Z_STRLEN(i32 noundef) local_unnamed_addr #2 declare i32 @ZVAL_COPY_DEREF(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #2 declare i32 @spl_filesystem_file_read(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 48} !7 = !{!"TYPE_13__", !8, i64 0, !10, i64 48, !10, i64 52} !8 = !{!"TYPE_12__", !9, i64 0} !9 = !{!"TYPE_11__", !10, i64 0, !10, i64 4, !13, i64 8, !10, i64 16, !14, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"long", !11, i64 0} !14 = !{!"any pointer", !11, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!7, !14, i64 24} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_14__", !19, i64 0} !19 = !{!"TYPE_10__", !13, i64 0} !20 = !{!13, !13, i64 0} !21 = !{!7, !10, i64 44} !22 = !{!7, !10, i64 52} !23 = !{!7, !10, i64 40} !24 = !{!7, !10, i64 36} !25 = !{!7, !10, i64 32} !26 = !{!7, !13, i64 8} !27 = !{!7, !10, i64 0} !28 = !{!7, !10, i64 16} !29 = !{!7, !10, i64 4}
php-src_ext_spl_extr_spl_directory.c_spl_filesystem_file_read_line_ex
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_evsel.h_perf_evsel__is_group_member.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_evsel.h_perf_evsel__is_group_member.c" target datalayout = "e-m:e-p270:32:32-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 @perf_evsel__is_group_member], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @perf_evsel__is_group_member(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp ne ptr %2, null %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"perf_evsel", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_evsel.h_perf_evsel__is_group_member.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_evsel.h_perf_evsel__is_group_member.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 @perf_evsel__is_group_member], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @perf_evsel__is_group_member(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp ne ptr %2, null %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"perf_evsel", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_tools_perf_util_extr_evsel.h_perf_evsel__is_group_member
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_sysfs.c_usb_create_sysfs_intf_files.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_sysfs.c_usb_create_sysfs_intf_files.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_interface = type { i32, i32, i64, ptr } %struct.usb_host_interface = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @USB_QUIRK_CONFIG_INTF_STRINGS = dso_local local_unnamed_addr global i32 0, align 4 @dev_attr_interface = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @usb_create_sysfs_intf_files(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @interface_to_usbdev(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %1 %8 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = load i64, ptr %4, align 8, !tbaa !14 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load i32, ptr %2, align 4, !tbaa !17 %16 = load i32, ptr @USB_QUIRK_CONFIG_INTF_STRINGS, align 4, !tbaa !19 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = getelementptr inbounds %struct.usb_host_interface, ptr %4, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !20 %22 = tail call i64 @usb_cache_string(ptr noundef nonnull %2, i32 noundef %21) #2 store i64 %22, ptr %4, align 8, !tbaa !14 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %11, %19 %25 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %26 = tail call i64 @device_create_file(ptr noundef nonnull %25, ptr noundef nonnull @dev_attr_interface) #2 br label %27 27: ; preds = %14, %24, %19 store i32 1, ptr %0, align 8, !tbaa !12 br label %28 28: ; preds = %1, %7, %27 ret void } declare ptr @interface_to_usbdev(ptr noundef) local_unnamed_addr #1 declare i64 @usb_cache_string(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @device_create_file(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 16} !6 = !{!"usb_interface", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!15, !10, i64 0} !15 = !{!"usb_host_interface", !10, i64 0, !16, i64 8} !16 = !{!"TYPE_2__", !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"usb_device", !7, i64 0} !19 = !{!7, !7, i64 0} !20 = !{!15, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_sysfs.c_usb_create_sysfs_intf_files.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_sysfs.c_usb_create_sysfs_intf_files.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_QUIRK_CONFIG_INTF_STRINGS = common local_unnamed_addr global i32 0, align 4 @dev_attr_interface = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @usb_create_sysfs_intf_files(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @interface_to_usbdev(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = load i64, ptr %4, align 8, !tbaa !15 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load i32, ptr %2, align 4, !tbaa !18 %16 = load i32, ptr @USB_QUIRK_CONFIG_INTF_STRINGS, align 4, !tbaa !20 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %4, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !21 %22 = tail call i64 @usb_cache_string(ptr noundef nonnull %2, i32 noundef %21) #2 store i64 %22, ptr %4, align 8, !tbaa !15 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %11, %19 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = tail call i64 @device_create_file(ptr noundef nonnull %25, ptr noundef nonnull @dev_attr_interface) #2 br label %27 27: ; preds = %14, %24, %19 store i32 1, ptr %0, align 8, !tbaa !13 br label %28 28: ; preds = %1, %7, %27 ret void } declare ptr @interface_to_usbdev(ptr noundef) local_unnamed_addr #1 declare i64 @usb_cache_string(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @device_create_file(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 16} !7 = !{!"usb_interface", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!16, !11, i64 0} !16 = !{!"usb_host_interface", !11, i64 0, !17, i64 8} !17 = !{!"TYPE_2__", !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"usb_device", !8, i64 0} !20 = !{!8, !8, i64 0} !21 = !{!16, !8, i64 8}
linux_drivers_usb_core_extr_sysfs.c_usb_create_sysfs_intf_files
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/extr_dz60rgb_wkl.c_rgb_matrix_indicators_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/extr_dz60rgb_wkl.c_rgb_matrix_indicators_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @USB_LED_CAPS_LOCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define weak dso_local void @rgb_matrix_indicators_user() local_unnamed_addr #0 { %1 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !5 %2 = tail call i64 @IS_HOST_LED_ON(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @rgb_matrix_set_color(i32 noundef 41, i32 noundef 255, i32 noundef 255, i32 noundef 255) #2 br label %6 6: ; preds = %4, %0 ret void } declare i64 @IS_HOST_LED_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rgb_matrix_set_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/extr_dz60rgb_wkl.c_rgb_matrix_indicators_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/extr_dz60rgb_wkl.c_rgb_matrix_indicators_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_LED_CAPS_LOCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define weak void @rgb_matrix_indicators_user() local_unnamed_addr #0 { %1 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !6 %2 = tail call i64 @IS_HOST_LED_ON(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @rgb_matrix_set_color(i32 noundef 41, i32 noundef 255, i32 noundef 255, i32 noundef 255) #2 br label %6 6: ; preds = %4, %0 ret void } declare i64 @IS_HOST_LED_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rgb_matrix_set_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
qmk_firmware_keyboards_dztech_dz60rgb_wkl_extr_dz60rgb_wkl.c_rgb_matrix_indicators_user
; ModuleID = 'AnghaBench/curl/docs/examples/extr_imap-noop.c_main.c' source_filename = "AnghaBench/curl/docs/examples/extr_imap-noop.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CURLE_OK = dso_local local_unnamed_addr global i64 0, align 8 @CURLOPT_USERNAME = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"user\00", align 1 @CURLOPT_PASSWORD = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"secret\00", align 1 @CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"imap://imap.example.com\00", align 1 @CURLOPT_CUSTOMREQUEST = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"NOOP\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [32 x i8] c"curl_easy_perform() failed: %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @main() local_unnamed_addr #0 { %1 = load i64, ptr @CURLE_OK, align 8, !tbaa !5 %2 = tail call ptr (...) @curl_easy_init() #2 %3 = icmp eq ptr %2, null br i1 %3, label %22, label %4 4: ; preds = %0 %5 = load i32, ptr @CURLOPT_USERNAME, align 4, !tbaa !9 %6 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @CURLOPT_PASSWORD, align 4, !tbaa !9 %8 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %7, ptr noundef nonnull @.str.1) #2 %9 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !9 %10 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %9, ptr noundef nonnull @.str.2) #2 %11 = load i32, ptr @CURLOPT_CUSTOMREQUEST, align 4, !tbaa !9 %12 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull @.str.3) #2 %13 = tail call i64 @curl_easy_perform(ptr noundef nonnull %2) #2 %14 = load i64, ptr @CURLE_OK, align 8, !tbaa !5 %15 = icmp eq i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %4 %17 = load i32, ptr @stderr, align 4, !tbaa !9 %18 = tail call ptr @curl_easy_strerror(i64 noundef %13) #2 %19 = tail call i32 @fprintf(i32 noundef %17, ptr noundef nonnull @.str.4, ptr noundef %18) #2 br label %20 20: ; preds = %16, %4 %21 = tail call i32 @curl_easy_cleanup(ptr noundef nonnull %2) #2 br label %22 22: ; preds = %20, %0 %23 = phi i64 [ %13, %20 ], [ %1, %0 ] %24 = trunc i64 %23 to i32 ret i32 %24 } declare ptr @curl_easy_init(...) local_unnamed_addr #1 declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @curl_easy_perform(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @curl_easy_strerror(i64 noundef) local_unnamed_addr #1 declare i32 @curl_easy_cleanup(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 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/curl/docs/examples/extr_imap-noop.c_main.c' source_filename = "AnghaBench/curl/docs/examples/extr_imap-noop.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CURLE_OK = common local_unnamed_addr global i64 0, align 8 @CURLOPT_USERNAME = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"user\00", align 1 @CURLOPT_PASSWORD = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"secret\00", align 1 @CURLOPT_URL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"imap://imap.example.com\00", align 1 @CURLOPT_CUSTOMREQUEST = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"NOOP\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [32 x i8] c"curl_easy_perform() failed: %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @main() local_unnamed_addr #0 { %1 = load i64, ptr @CURLE_OK, align 8, !tbaa !6 %2 = tail call ptr @curl_easy_init() #2 %3 = icmp eq ptr %2, null br i1 %3, label %22, label %4 4: ; preds = %0 %5 = load i32, ptr @CURLOPT_USERNAME, align 4, !tbaa !10 %6 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @CURLOPT_PASSWORD, align 4, !tbaa !10 %8 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %7, ptr noundef nonnull @.str.1) #2 %9 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !10 %10 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %9, ptr noundef nonnull @.str.2) #2 %11 = load i32, ptr @CURLOPT_CUSTOMREQUEST, align 4, !tbaa !10 %12 = tail call i32 @curl_easy_setopt(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull @.str.3) #2 %13 = tail call i64 @curl_easy_perform(ptr noundef nonnull %2) #2 %14 = load i64, ptr @CURLE_OK, align 8, !tbaa !6 %15 = icmp eq i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %4 %17 = load i32, ptr @stderr, align 4, !tbaa !10 %18 = tail call ptr @curl_easy_strerror(i64 noundef %13) #2 %19 = tail call i32 @fprintf(i32 noundef %17, ptr noundef nonnull @.str.4, ptr noundef %18) #2 br label %20 20: ; preds = %16, %4 %21 = tail call i32 @curl_easy_cleanup(ptr noundef nonnull %2) #2 br label %22 22: ; preds = %20, %0 %23 = phi i64 [ %13, %20 ], [ %1, %0 ] %24 = trunc i64 %23 to i32 ret i32 %24 } declare ptr @curl_easy_init(...) local_unnamed_addr #1 declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @curl_easy_perform(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @curl_easy_strerror(i64 noundef) local_unnamed_addr #1 declare i32 @curl_easy_cleanup(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 = !{!"int", !8, i64 0}
curl_docs_examples_extr_imap-noop.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_checkpoint.c___buffer_unlink.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_checkpoint.c___buffer_unlink.c" target datalayout = "e-m:e-p270:32:32-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.journal_head = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @__buffer_unlink], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__buffer_unlink(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.journal_head, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @__buffer_unlink_first(ptr noundef %0) #2 %5 = load ptr, ptr %3, align 8, !tbaa !10 %6 = icmp eq ptr %5, %0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = icmp eq ptr %8, %0 %10 = select i1 %9, ptr null, ptr %8 store ptr %10, ptr %3, align 8 br label %11 11: ; preds = %7, %1 ret void } declare i32 @__buffer_unlink_first(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"journal_head", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_checkpoint.c___buffer_unlink.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_checkpoint.c___buffer_unlink.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 @__buffer_unlink], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__buffer_unlink(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @__buffer_unlink_first(ptr noundef %0) #2 %5 = load ptr, ptr %3, align 8, !tbaa !11 %6 = icmp eq ptr %5, %0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load ptr, ptr %0, align 8, !tbaa !13 %9 = icmp eq ptr %8, %0 %10 = select i1 %9, ptr null, ptr %8 store ptr %10, ptr %3, align 8 br label %11 11: ; preds = %7, %1 ret void } declare i32 @__buffer_unlink_first(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"journal_head", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!7, !8, i64 0}
fastsocket_kernel_fs_jbd_extr_checkpoint.c___buffer_unlink
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_difference_byte.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_difference_byte.c" target datalayout = "e-m:e-p270:32:32-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 @fz_difference_byte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @fz_difference_byte(i32 noundef %0, i32 noundef %1) #0 { %3 = sub nsw i32 %0, %1 %4 = tail call i32 @fz_absi(i32 noundef %3) #2 ret i32 %4 } declare i32 @fz_absi(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)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_difference_byte.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_difference_byte.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 @fz_difference_byte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @fz_difference_byte(i32 noundef %0, i32 noundef %1) #0 { %3 = sub nsw i32 %0, %1 %4 = tail call i32 @fz_absi(i32 noundef %3) #2 ret i32 %4 } declare i32 @fz_absi(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)"}
sumatrapdf_mupdf_source_fitz_extr_draw-blend.c_fz_difference_byte
; ModuleID = 'AnghaBench/linux/crypto/extr_chacha20poly1305.c_chacha_iv.c' source_filename = "AnghaBench/linux/crypto/extr_chacha20poly1305.c_chacha_iv.c" target datalayout = "e-m:e-p270:32:32-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.chachapoly_ctx = type { i32, ptr } @CHACHA_IV_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @chacha_iv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @chacha_iv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call i32 @crypto_aead_reqtfm(ptr noundef %1) #3 %6 = tail call ptr @crypto_aead_ctx(i32 noundef %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call i32 @cpu_to_le32(i32 noundef %2) #3 store i32 %7, ptr %4, align 4, !tbaa !5 %8 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4) #3 %9 = getelementptr inbounds i32, ptr %0, i64 4 %10 = getelementptr inbounds %struct.chachapoly_ctx, ptr %6, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = load i32, ptr %6, align 8, !tbaa !12 %13 = call i32 @memcpy(ptr noundef nonnull %9, ptr noundef %11, i32 noundef %12) #3 %14 = load i32, ptr %6, align 8, !tbaa !12 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %9, i64 %15 %17 = load ptr, ptr %1, align 8, !tbaa !13 %18 = load i32, ptr @CHACHA_IV_SIZE, align 4, !tbaa !5 %19 = sub i32 %18, %14 %20 = add i32 %19, -4 %21 = call i32 @memcpy(ptr noundef nonnull %16, ptr noundef %17, i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_aead_ctx(i32 noundef) local_unnamed_addr #2 declare i32 @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"chachapoly_ctx", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"aead_request", !11, i64 0}
; ModuleID = 'AnghaBench/linux/crypto/extr_chacha20poly1305.c_chacha_iv.c' source_filename = "AnghaBench/linux/crypto/extr_chacha20poly1305.c_chacha_iv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CHACHA_IV_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @chacha_iv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @chacha_iv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call i32 @crypto_aead_reqtfm(ptr noundef %1) #3 %6 = tail call ptr @crypto_aead_ctx(i32 noundef %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call i32 @cpu_to_le32(i32 noundef %2) #3 store i32 %7, ptr %4, align 4, !tbaa !6 %8 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4) #3 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = getelementptr inbounds i8, ptr %6, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = load i32, ptr %6, align 8, !tbaa !13 %13 = call i32 @memcpy(ptr noundef nonnull %9, ptr noundef %11, i32 noundef %12) #3 %14 = load i32, ptr %6, align 8, !tbaa !13 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %9, i64 %15 %17 = load ptr, ptr %1, align 8, !tbaa !14 %18 = load i32, ptr @CHACHA_IV_SIZE, align 4, !tbaa !6 %19 = sub i32 %18, %14 %20 = add i32 %19, -4 %21 = call i32 @memcpy(ptr noundef nonnull %16, ptr noundef %17, i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_aead_ctx(i32 noundef) local_unnamed_addr #2 declare i32 @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"chachapoly_ctx", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"aead_request", !12, i64 0}
linux_crypto_extr_chacha20poly1305.c_chacha_iv
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_drop_packet.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_drop_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.bna_rcb = type { i32, ptr } %struct.bnad_rx_unmap_q = type { i32, ptr } %struct.bnad_rx_unmap = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bnad_cq_drop_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnad_cq_drop_packet(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds %struct.bna_rcb, ptr %1, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp sgt i64 %3, 0 br i1 %7, label %8, label %26 8: ; preds = %4 %9 = getelementptr inbounds %struct.bnad_rx_unmap_q, ptr %6, i64 0, i32 1 br label %10 10: ; preds = %8, %23 %11 = phi i64 [ 0, %8 ], [ %24, %23 ] %12 = load ptr, ptr %9, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.bnad_rx_unmap, ptr %12, i64 %2 %14 = load i32, ptr %1, align 8, !tbaa !13 %15 = tail call i32 @BNA_QE_INDX_INC(i64 noundef %2, i32 noundef %14) #2 %16 = load i32, ptr %6, align 8, !tbaa !14 %17 = tail call i64 @BNAD_RXBUF_IS_SK_BUFF(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %10 %20 = tail call i32 @bnad_rxq_cleanup_skb(ptr noundef %0, ptr noundef %13) #2 br label %23 21: ; preds = %10 %22 = tail call i32 @bnad_rxq_cleanup_page(ptr noundef %0, ptr noundef %13) #2 br label %23 23: ; preds = %19, %21 %24 = add nuw nsw i64 %11, 1 %25 = icmp eq i64 %24, %3 br i1 %25, label %26, label %10, !llvm.loop !15 26: ; preds = %23, %4 ret void } declare i32 @BNA_QE_INDX_INC(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @BNAD_RXBUF_IS_SK_BUFF(i32 noundef) local_unnamed_addr #1 declare i32 @bnad_rxq_cleanup_skb(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnad_rxq_cleanup_page(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"bna_rcb", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"bnad_rx_unmap_q", !7, i64 0, !10, i64 8} !13 = !{!6, !7, i64 0} !14 = !{!12, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_drop_packet.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_drop_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.bnad_rx_unmap = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @bnad_cq_drop_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnad_cq_drop_packet(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp sgt i64 %3, 0 br i1 %7, label %8, label %26 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %6, i64 8 br label %10 10: ; preds = %8, %23 %11 = phi i64 [ 0, %8 ], [ %24, %23 ] %12 = load ptr, ptr %9, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.bnad_rx_unmap, ptr %12, i64 %2 %14 = load i32, ptr %1, align 8, !tbaa !14 %15 = tail call i32 @BNA_QE_INDX_INC(i64 noundef %2, i32 noundef %14) #2 %16 = load i32, ptr %6, align 8, !tbaa !15 %17 = tail call i64 @BNAD_RXBUF_IS_SK_BUFF(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %10 %20 = tail call i32 @bnad_rxq_cleanup_skb(ptr noundef %0, ptr noundef %13) #2 br label %23 21: ; preds = %10 %22 = tail call i32 @bnad_rxq_cleanup_page(ptr noundef %0, ptr noundef %13) #2 br label %23 23: ; preds = %19, %21 %24 = add nuw nsw i64 %11, 1 %25 = icmp eq i64 %24, %3 br i1 %25, label %26, label %10, !llvm.loop !16 26: ; preds = %23, %4 ret void } declare i32 @BNA_QE_INDX_INC(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @BNAD_RXBUF_IS_SK_BUFF(i32 noundef) local_unnamed_addr #1 declare i32 @bnad_rxq_cleanup_skb(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnad_rxq_cleanup_page(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"bna_rcb", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"bnad_rx_unmap_q", !8, i64 0, !11, i64 8} !14 = !{!7, !8, i64 0} !15 = !{!13, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_brocade_bna_extr_bnad.c_bnad_cq_drop_packet
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/bios/extr_bios_parser.c_signal_to_ss_id.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/bios/extr_bios_parser.c_signal_to_ss_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ASIC_INTERNAL_SS_ON_TMDS = dso_local local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_HDMI = dso_local local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_LVDS = dso_local local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_DP = dso_local local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_GPUPLL_SS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @signal_to_ss_id], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @signal_to_ss_id(i32 noundef %0) #0 { switch i32 %0, label %12 [ i32 131, label %2 i32 129, label %4 i32 128, label %6 i32 132, label %8 i32 130, label %10 ] 2: ; preds = %1 %3 = load i32, ptr @ASIC_INTERNAL_SS_ON_TMDS, align 4, !tbaa !5 br label %12 4: ; preds = %1 %5 = load i32, ptr @ASIC_INTERNAL_SS_ON_HDMI, align 4, !tbaa !5 br label %12 6: ; preds = %1 %7 = load i32, ptr @ASIC_INTERNAL_SS_ON_LVDS, align 4, !tbaa !5 br label %12 8: ; preds = %1 %9 = load i32, ptr @ASIC_INTERNAL_SS_ON_DP, align 4, !tbaa !5 br label %12 10: ; preds = %1 %11 = load i32, ptr @ASIC_INTERNAL_GPUPLL_SS, align 4, !tbaa !5 br label %12 12: ; preds = %1, %10, %8, %6, %4, %2 %13 = phi i32 [ 0, %1 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/bios/extr_bios_parser.c_signal_to_ss_id.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/bios/extr_bios_parser.c_signal_to_ss_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ASIC_INTERNAL_SS_ON_TMDS = common local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_HDMI = common local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_LVDS = common local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_SS_ON_DP = common local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_GPUPLL_SS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @signal_to_ss_id], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @signal_to_ss_id(i32 noundef %0) #0 { switch i32 %0, label %12 [ i32 131, label %2 i32 129, label %4 i32 128, label %6 i32 132, label %8 i32 130, label %10 ] 2: ; preds = %1 %3 = load i32, ptr @ASIC_INTERNAL_SS_ON_TMDS, align 4, !tbaa !6 br label %12 4: ; preds = %1 %5 = load i32, ptr @ASIC_INTERNAL_SS_ON_HDMI, align 4, !tbaa !6 br label %12 6: ; preds = %1 %7 = load i32, ptr @ASIC_INTERNAL_SS_ON_LVDS, align 4, !tbaa !6 br label %12 8: ; preds = %1 %9 = load i32, ptr @ASIC_INTERNAL_SS_ON_DP, align 4, !tbaa !6 br label %12 10: ; preds = %1 %11 = load i32, ptr @ASIC_INTERNAL_GPUPLL_SS, align 4, !tbaa !6 br label %12 12: ; preds = %1, %10, %8, %6, %4, %2 %13 = phi i32 [ 0, %1 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_display_dc_bios_extr_bios_parser.c_signal_to_ss_id
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_nsp32.c_nsp32_sack_assert.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_nsp32.c_nsp32_sack_assert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCSI_BUS_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @BUSCTL_ACK = dso_local local_unnamed_addr global i8 0, align 1 @AUTODIRECTION = dso_local local_unnamed_addr global i8 0, align 1 @ACKENB = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nsp32_sack_assert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nsp32_sack_assert(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @SCSI_BUS_CONTROL, align 4, !tbaa !10 %4 = tail call zeroext i8 @nsp32_read1(i32 noundef %2, i32 noundef %3) #2 %5 = load i8, ptr @BUSCTL_ACK, align 1, !tbaa !11 %6 = load i8, ptr @AUTODIRECTION, align 1, !tbaa !11 %7 = load i8, ptr @ACKENB, align 1, !tbaa !11 %8 = or i8 %5, %4 %9 = or i8 %8, %6 %10 = or i8 %9, %7 %11 = load i32, ptr @SCSI_BUS_CONTROL, align 4, !tbaa !10 %12 = tail call i32 @nsp32_write1(i32 noundef %2, i32 noundef %11, i8 noundef zeroext %10) #2 ret void } declare zeroext i8 @nsp32_read1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nsp32_write1(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_nsp32.c_nsp32_sack_assert.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_nsp32.c_nsp32_sack_assert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCSI_BUS_CONTROL = common local_unnamed_addr global i32 0, align 4 @BUSCTL_ACK = common local_unnamed_addr global i8 0, align 1 @AUTODIRECTION = common local_unnamed_addr global i8 0, align 1 @ACKENB = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @nsp32_sack_assert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nsp32_sack_assert(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @SCSI_BUS_CONTROL, align 4, !tbaa !11 %4 = tail call zeroext i8 @nsp32_read1(i32 noundef %2, i32 noundef %3) #2 %5 = load i8, ptr @BUSCTL_ACK, align 1, !tbaa !12 %6 = load i8, ptr @AUTODIRECTION, align 1, !tbaa !12 %7 = load i8, ptr @ACKENB, align 1, !tbaa !12 %8 = or i8 %5, %4 %9 = or i8 %8, %6 %10 = or i8 %9, %7 %11 = load i32, ptr @SCSI_BUS_CONTROL, align 4, !tbaa !11 %12 = tail call i32 @nsp32_write1(i32 noundef %2, i32 noundef %11, i8 noundef zeroext %10) #2 ret void } declare zeroext i8 @nsp32_read1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nsp32_write1(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0}
linux_drivers_scsi_extr_nsp32.c_nsp32_sack_assert
; ModuleID = 'AnghaBench/openssl/providers/common/ciphers/extr_block.c_unpadblock.c' source_filename = "AnghaBench/openssl/providers/common/ciphers/extr_block.c_unpadblock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERR_LIB_PROV = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @PROV_R_BAD_DECRYPT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @unpadblock(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = icmp eq i64 %4, %2 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !9 %8 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !9 %9 = tail call i32 @ERR_raise(i32 noundef %7, i32 noundef %8) #2 br label %39 10: ; preds = %3 %11 = getelementptr i8, ptr %0, i64 %2 %12 = getelementptr i8, ptr %11, i64 -1 %13 = load i8, ptr %12, align 1, !tbaa !11 %14 = zext i8 %13 to i64 %15 = icmp eq i8 %13, 0 %16 = icmp ugt i64 %14, %2 %17 = or i1 %15, %16 br i1 %17, label %20, label %18 18: ; preds = %10 %19 = sub i64 %2, %14 br label %27 20: ; preds = %10 %21 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !9 %22 = load i32, ptr @PROV_R_BAD_DECRYPT, align 4, !tbaa !9 %23 = tail call i32 @ERR_raise(i32 noundef %21, i32 noundef %22) #2 br label %39 24: ; preds = %27 %25 = add nuw nsw i64 %29, 1 %26 = icmp eq i64 %25, %14 br i1 %26, label %38, label %27, !llvm.loop !12 27: ; preds = %18, %24 %28 = phi i64 [ %30, %24 ], [ %2, %18 ] %29 = phi i64 [ %25, %24 ], [ 0, %18 ] %30 = add i64 %28, -1 %31 = getelementptr inbounds i8, ptr %0, i64 %30 %32 = load i8, ptr %31, align 1, !tbaa !11 %33 = icmp eq i8 %32, %13 br i1 %33, label %24, label %34 34: ; preds = %27 %35 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !9 %36 = load i32, ptr @PROV_R_BAD_DECRYPT, align 4, !tbaa !9 %37 = tail call i32 @ERR_raise(i32 noundef %35, i32 noundef %36) #2 br label %39 38: ; preds = %24 store i64 %19, ptr %1, align 8, !tbaa !5 br label %39 39: ; preds = %38, %34, %20, %6 %40 = phi i32 [ 0, %6 ], [ 0, %20 ], [ 0, %34 ], [ 1, %38 ] ret i32 %40 } declare i32 @ERR_raise(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} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openssl/providers/common/ciphers/extr_block.c_unpadblock.c' source_filename = "AnghaBench/openssl/providers/common/ciphers/extr_block.c_unpadblock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERR_LIB_PROV = common local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @PROV_R_BAD_DECRYPT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @unpadblock(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = icmp eq i64 %4, %2 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !10 %8 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !10 %9 = tail call i32 @ERR_raise(i32 noundef %7, i32 noundef %8) #2 br label %39 10: ; preds = %3 %11 = getelementptr i8, ptr %0, i64 %2 %12 = getelementptr i8, ptr %11, i64 -1 %13 = load i8, ptr %12, align 1, !tbaa !12 %14 = zext i8 %13 to i64 %15 = icmp eq i8 %13, 0 %16 = icmp ugt i64 %14, %2 %17 = or i1 %15, %16 br i1 %17, label %20, label %18 18: ; preds = %10 %19 = sub i64 %2, %14 br label %27 20: ; preds = %10 %21 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !10 %22 = load i32, ptr @PROV_R_BAD_DECRYPT, align 4, !tbaa !10 %23 = tail call i32 @ERR_raise(i32 noundef %21, i32 noundef %22) #2 br label %39 24: ; preds = %27 %25 = add nuw nsw i64 %29, 1 %26 = icmp eq i64 %25, %14 br i1 %26, label %38, label %27, !llvm.loop !13 27: ; preds = %18, %24 %28 = phi i64 [ %30, %24 ], [ %2, %18 ] %29 = phi i64 [ %25, %24 ], [ 0, %18 ] %30 = add i64 %28, -1 %31 = getelementptr inbounds i8, ptr %0, i64 %30 %32 = load i8, ptr %31, align 1, !tbaa !12 %33 = icmp eq i8 %32, %13 br i1 %33, label %24, label %34 34: ; preds = %27 %35 = load i32, ptr @ERR_LIB_PROV, align 4, !tbaa !10 %36 = load i32, ptr @PROV_R_BAD_DECRYPT, align 4, !tbaa !10 %37 = tail call i32 @ERR_raise(i32 noundef %35, i32 noundef %36) #2 br label %39 38: ; preds = %24 store i64 %19, ptr %1, align 8, !tbaa !6 br label %39 39: ; preds = %38, %34, %20, %6 %40 = phi i32 [ 0, %6 ], [ 0, %20 ], [ 0, %34 ], [ 1, %38 ] ret i32 %40 } declare i32 @ERR_raise(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} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
openssl_providers_common_ciphers_extr_block.c_unpadblock
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_config_lna_gain.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_config_lna_gain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EEPROM_LNA = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_LNA_BG = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_LNA_A0 = dso_local local_unnamed_addr global i32 0, align 4 @RT3593 = dso_local local_unnamed_addr global i32 0, align 4 @RT3883 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2_A1 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_BG2 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_BG2_LNA_A1 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2_A2 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_A2 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_A2_LNA_A2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2800_config_lna_gain], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rt2800_config_lna_gain(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp slt i32 %3, 15 br i1 %4, label %26, label %5 5: ; preds = %2 %6 = icmp ult i32 %3, 65 br i1 %6, label %26, label %7 7: ; preds = %5 %8 = icmp ult i32 %3, 129 %9 = load i32, ptr @RT3593, align 4, !tbaa !11 %10 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %8, label %12, label %19 12: ; preds = %7 br i1 %11, label %13, label %26 13: ; preds = %12 %14 = load i32, ptr @RT3883, align 4, !tbaa !11 %15 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, ptr @EEPROM_RSSI_BG2, ptr @EEPROM_EXT_LNA2 %18 = select i1 %16, ptr @EEPROM_RSSI_BG2_LNA_A1, ptr @EEPROM_EXT_LNA2_A1 br label %26 19: ; preds = %7 br i1 %11, label %20, label %26 20: ; preds = %19 %21 = load i32, ptr @RT3883, align 4, !tbaa !11 %22 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 %24 = select i1 %23, ptr @EEPROM_RSSI_A2, ptr @EEPROM_EXT_LNA2 %25 = select i1 %23, ptr @EEPROM_RSSI_A2_LNA_A2, ptr @EEPROM_EXT_LNA2_A2 br label %26 26: ; preds = %20, %13, %19, %12, %5, %2 %27 = phi ptr [ @EEPROM_LNA, %2 ], [ @EEPROM_LNA, %5 ], [ @EEPROM_EXT_LNA2, %12 ], [ @EEPROM_EXT_LNA2, %19 ], [ %17, %13 ], [ %24, %20 ] %28 = phi ptr [ @EEPROM_LNA_BG, %2 ], [ @EEPROM_LNA_A0, %5 ], [ @EEPROM_EXT_LNA2_A1, %12 ], [ @EEPROM_EXT_LNA2_A2, %19 ], [ %18, %13 ], [ %25, %20 ] %29 = load i32, ptr %27, align 4, !tbaa !11 %30 = tail call i32 @rt2800_eeprom_read(ptr noundef %0, i32 noundef %29) #2 %31 = load i32, ptr %28, align 4, !tbaa !11 %32 = tail call signext i16 @rt2x00_get_field16(i32 noundef %30, i32 noundef %31) #2 store i16 %32, ptr %0, align 2, !tbaa !12 ret void } declare i32 @rt2800_eeprom_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare signext i16 @rt2x00_get_field16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @rt2x00_rt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"rt2x00lib_conf", !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"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"rt2x00_dev", !14, i64 0} !14 = !{!"short", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_config_lna_gain.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_config_lna_gain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EEPROM_LNA = common local_unnamed_addr global i32 0, align 4 @EEPROM_LNA_BG = common local_unnamed_addr global i32 0, align 4 @EEPROM_LNA_A0 = common local_unnamed_addr global i32 0, align 4 @RT3593 = common local_unnamed_addr global i32 0, align 4 @RT3883 = common local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2 = common local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2_A1 = common local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_BG2 = common local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_BG2_LNA_A1 = common local_unnamed_addr global i32 0, align 4 @EEPROM_EXT_LNA2_A2 = common local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_A2 = common local_unnamed_addr global i32 0, align 4 @EEPROM_RSSI_A2_LNA_A2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2800_config_lna_gain], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rt2800_config_lna_gain(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp slt i32 %3, 15 br i1 %4, label %26, label %5 5: ; preds = %2 %6 = icmp ult i32 %3, 65 br i1 %6, label %26, label %7 7: ; preds = %5 %8 = icmp ult i32 %3, 129 %9 = load i32, ptr @RT3593, align 4, !tbaa !12 %10 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %8, label %12, label %19 12: ; preds = %7 br i1 %11, label %13, label %26 13: ; preds = %12 %14 = load i32, ptr @RT3883, align 4, !tbaa !12 %15 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, ptr @EEPROM_RSSI_BG2, ptr @EEPROM_EXT_LNA2 %18 = select i1 %16, ptr @EEPROM_RSSI_BG2_LNA_A1, ptr @EEPROM_EXT_LNA2_A1 br label %26 19: ; preds = %7 br i1 %11, label %20, label %26 20: ; preds = %19 %21 = load i32, ptr @RT3883, align 4, !tbaa !12 %22 = tail call i64 @rt2x00_rt(ptr noundef %0, i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 %24 = select i1 %23, ptr @EEPROM_RSSI_A2, ptr @EEPROM_EXT_LNA2 %25 = select i1 %23, ptr @EEPROM_RSSI_A2_LNA_A2, ptr @EEPROM_EXT_LNA2_A2 br label %26 26: ; preds = %20, %13, %19, %12, %5, %2 %27 = phi ptr [ @EEPROM_LNA, %2 ], [ @EEPROM_LNA, %5 ], [ @EEPROM_EXT_LNA2, %12 ], [ @EEPROM_EXT_LNA2, %19 ], [ %17, %13 ], [ %24, %20 ] %28 = phi ptr [ @EEPROM_LNA_BG, %2 ], [ @EEPROM_LNA_A0, %5 ], [ @EEPROM_EXT_LNA2_A1, %12 ], [ @EEPROM_EXT_LNA2_A2, %19 ], [ %18, %13 ], [ %25, %20 ] %29 = load i32, ptr %27, align 4, !tbaa !12 %30 = tail call i32 @rt2800_eeprom_read(ptr noundef %0, i32 noundef %29) #2 %31 = load i32, ptr %28, align 4, !tbaa !12 %32 = tail call signext i16 @rt2x00_get_field16(i32 noundef %30, i32 noundef %31) #2 store i16 %32, ptr %0, align 2, !tbaa !13 ret void } declare i32 @rt2800_eeprom_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare signext i16 @rt2x00_get_field16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @rt2x00_rt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"rt2x00lib_conf", !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"} !12 = !{!9, !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"rt2x00_dev", !15, i64 0} !15 = !{!"short", !10, i64 0}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2800lib.c_rt2800_config_lna_gain
; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-lite-reg.c_flite_hw_set_dma_window.c' source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-lite-reg.c_flite_hw_set_dma_window.c" target datalayout = "e-m:e-p270:32:32-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.flite_frame = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @FLITE_REG_CIOCAN = dso_local local_unnamed_addr global i64 0, align 8 @FLITE_REG_CIOCAN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @FLITE_REG_CIOOFF = dso_local local_unnamed_addr global i64 0, align 8 @FLITE_REG_CIOOFF_MASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @flite_hw_set_dma_window(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @FLITE_REG_CIOCAN, align 8, !tbaa !10 %5 = add nsw i64 %4, %3 %6 = tail call i32 @readl(i64 noundef %5) #2 %7 = load i32, ptr @FLITE_REG_CIOCAN_MASK, align 4, !tbaa !11 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = load i32, ptr %1, align 4, !tbaa !13 %11 = shl i32 %10, 16 %12 = getelementptr inbounds %struct.flite_frame, ptr %1, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = or i32 %13, %9 %15 = or i32 %14, %11 %16 = load i64, ptr %0, align 8, !tbaa !5 %17 = load i64, ptr @FLITE_REG_CIOCAN, align 8, !tbaa !10 %18 = add nsw i64 %17, %16 %19 = tail call i32 @writel(i32 noundef %15, i64 noundef %18) #2 %20 = load i64, ptr %0, align 8, !tbaa !5 %21 = load i64, ptr @FLITE_REG_CIOOFF, align 8, !tbaa !10 %22 = add nsw i64 %21, %20 %23 = tail call i32 @readl(i64 noundef %22) #2 %24 = load i32, ptr @FLITE_REG_CIOOFF_MASK, align 4, !tbaa !11 %25 = xor i32 %24, -1 %26 = and i32 %23, %25 %27 = getelementptr inbounds %struct.flite_frame, ptr %1, i64 0, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = shl i32 %28, 16 %30 = getelementptr inbounds %struct.flite_frame, ptr %1, i64 0, i32 2, i32 1 %31 = load i32, ptr %30, align 4, !tbaa !18 %32 = or i32 %31, %26 %33 = or i32 %32, %29 %34 = load i64, ptr %0, align 8, !tbaa !5 %35 = load i64, ptr @FLITE_REG_CIOOFF, align 8, !tbaa !10 %36 = add nsw i64 %35, %34 %37 = tail call i32 @writel(i32 noundef %33, i64 noundef %36) #2 ret void } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fimc_lite", !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} !13 = !{!14, !12, i64 0} !14 = !{!"flite_frame", !12, i64 0, !12, i64 4, !15, i64 8} !15 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !16 = !{!14, !12, i64 4} !17 = !{!14, !12, i64 8} !18 = !{!14, !12, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-lite-reg.c_flite_hw_set_dma_window.c' source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_fimc-lite-reg.c_flite_hw_set_dma_window.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLITE_REG_CIOCAN = common local_unnamed_addr global i64 0, align 8 @FLITE_REG_CIOCAN_MASK = common local_unnamed_addr global i32 0, align 4 @FLITE_REG_CIOOFF = common local_unnamed_addr global i64 0, align 8 @FLITE_REG_CIOOFF_MASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @flite_hw_set_dma_window(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @FLITE_REG_CIOCAN, align 8, !tbaa !11 %5 = add nsw i64 %4, %3 %6 = tail call i32 @readl(i64 noundef %5) #2 %7 = load i32, ptr @FLITE_REG_CIOCAN_MASK, align 4, !tbaa !12 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = load i32, ptr %1, align 4, !tbaa !14 %11 = shl i32 %10, 16 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !17 %14 = or i32 %13, %9 %15 = or i32 %14, %11 %16 = load i64, ptr %0, align 8, !tbaa !6 %17 = load i64, ptr @FLITE_REG_CIOCAN, align 8, !tbaa !11 %18 = add nsw i64 %17, %16 %19 = tail call i32 @writel(i32 noundef %15, i64 noundef %18) #2 %20 = load i64, ptr %0, align 8, !tbaa !6 %21 = load i64, ptr @FLITE_REG_CIOOFF, align 8, !tbaa !11 %22 = add nsw i64 %21, %20 %23 = tail call i32 @readl(i64 noundef %22) #2 %24 = load i32, ptr @FLITE_REG_CIOOFF_MASK, align 4, !tbaa !12 %25 = xor i32 %24, -1 %26 = and i32 %23, %25 %27 = getelementptr inbounds i8, ptr %1, i64 8 %28 = load i32, ptr %27, align 4, !tbaa !18 %29 = shl i32 %28, 16 %30 = getelementptr inbounds i8, ptr %1, i64 12 %31 = load i32, ptr %30, align 4, !tbaa !19 %32 = or i32 %31, %26 %33 = or i32 %32, %29 %34 = load i64, ptr %0, align 8, !tbaa !6 %35 = load i64, ptr @FLITE_REG_CIOOFF, align 8, !tbaa !11 %36 = add nsw i64 %35, %34 %37 = tail call i32 @writel(i32 noundef %33, i64 noundef %36) #2 ret void } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fimc_lite", !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} !14 = !{!15, !13, i64 0} !15 = !{!"flite_frame", !13, i64 0, !13, i64 4, !16, i64 8} !16 = !{!"TYPE_2__", !13, i64 0, !13, i64 4} !17 = !{!15, !13, i64 4} !18 = !{!15, !13, i64 8} !19 = !{!15, !13, i64 12}
linux_drivers_media_platform_exynos4-is_extr_fimc-lite-reg.c_flite_hw_set_dma_window
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_ibmvscsis_trans_event.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_ibmvscsis_trans_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.scsi_info = type { i32, i64, i64, i32, i32, i32, i32, i32 } %struct.viosrp_crq = type { i32, i64 } @ADAPT_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [49 x i8] c"trans_event: format %d, flags 0x%x, state 0x%hx\0A\00", align 1 @PREP_FOR_SUSPEND_OVERWRITE = dso_local local_unnamed_addr global i32 0, align 4 @RESPONSE_Q_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @TRANS_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"debit %d, sched %d, wait %d, active %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"connection lost with outstanding work\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"trans_event: SRP Processing, but no outstanding work\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Prep for Suspend, crq status = 0x%x\0A\00", align 1 @PREP_FOR_SUSPEND_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @CRQ_ENTRY_OVERWRITTEN = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [57 x i8] c"Invalid state for Prepare for Suspend Trans Event: 0x%x\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"Resume from Suspend, crq status = 0x%x\0A\00", align 1 @PREP_FOR_SUSPEND_ABORTED = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [32 x i8] c"trans_event: invalid format %d\0A\00", align 1 @SCHEDULE_DISCONNECT = dso_local local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [54 x i8] c"Leaving trans_event: flags 0x%x, state 0x%hx, rc %ld\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibmvscsis_trans_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i64 @ibmvscsis_trans_event(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 3 %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5, i64 noundef %7) #2 %9 = load i32, ptr %1, align 8, !tbaa !5 switch i32 %9, label %123 [ i32 139, label %10 i32 136, label %10 i32 137, label %10 i32 135, label %74 i32 134, label %97 ] 10: ; preds = %2, %2, %2 %11 = tail call i32 @ibmvscsis_delete_client_info(ptr noundef nonnull %0, i32 noundef 1) #2 %12 = load i32, ptr %1, align 8, !tbaa !5 %13 = icmp eq i32 %12, 139 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !14 %16 = xor i32 %15, -1 %17 = load i32, ptr %0, align 8, !tbaa !11 %18 = and i32 %17, %16 store i32 %18, ptr %0, align 8, !tbaa !11 br label %19 19: ; preds = %14, %10 %20 = load i64, ptr %6, align 8, !tbaa !13 switch i64 %20, label %128 [ i64 142, label %68 i64 133, label %32 i64 143, label %27 i64 132, label %21 i64 128, label %68 i64 140, label %68 ] 21: ; preds = %19 %22 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !14 %23 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !14 %24 = or i32 %23, %22 %25 = load i32, ptr %0, align 8, !tbaa !11 %26 = or i32 %24, %25 store i32 %26, ptr %0, align 8, !tbaa !11 br label %128 27: ; preds = %19 %28 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !14 %29 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !14 %30 = or i32 %29, %28 %31 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %30) #2 br label %128 32: ; preds = %19 %33 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 7 %34 = load i32, ptr %33, align 8, !tbaa !15 %35 = icmp sgt i32 %34, 0 br i1 %35, label %48, label %36 36: ; preds = %32 %37 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 6 %38 = tail call i64 @list_empty(ptr noundef nonnull %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %36 %41 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 5 %42 = tail call i64 @list_empty(ptr noundef nonnull %41) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 4 %46 = tail call i64 @list_empty(ptr noundef nonnull %45) #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %61 48: ; preds = %44, %40, %36, %32 %49 = load i32, ptr %33, align 8, !tbaa !15 %50 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 6 %51 = tail call i64 @list_empty(ptr noundef nonnull %50) #2 %52 = trunc i64 %51 to i32 %53 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 5 %54 = tail call i64 @list_empty(ptr noundef nonnull %53) #2 %55 = trunc i64 %54 to i32 %56 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 4 %57 = tail call i64 @list_empty(ptr noundef nonnull %56) #2 %58 = trunc i64 %57 to i32 %59 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58) #2 %60 = tail call i32 @dev_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #2 br label %63 61: ; preds = %44 %62 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #2 br label %63 63: ; preds = %61, %48 %64 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !14 %65 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !14 %66 = or i32 %65, %64 %67 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %66) #2 br label %128 68: ; preds = %19, %19, %19 %69 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !14 %70 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !14 %71 = or i32 %70, %69 %72 = load i32, ptr %0, align 8, !tbaa !11 %73 = or i32 %71, %72 store i32 %73, ptr %0, align 8, !tbaa !11 br label %128 74: ; preds = %2 %75 = getelementptr inbounds %struct.viosrp_crq, ptr %1, i64 0, i32 1 %76 = load i64, ptr %75, align 8, !tbaa !16 %77 = trunc i64 %76 to i32 %78 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %77) #2 %79 = load i64, ptr %6, align 8, !tbaa !13 switch i64 %79, label %128 [ i64 141, label %80 i64 130, label %80 i64 143, label %80 i64 133, label %82 i64 138, label %95 i64 131, label %95 i64 132, label %95 i64 129, label %95 i64 142, label %95 i64 140, label %95 i64 128, label %95 ] 80: ; preds = %74, %74, %74 %81 = tail call i32 @ibmvscsis_ready_for_suspend(ptr noundef nonnull %0, i32 noundef 0) #2 br label %128 82: ; preds = %74 %83 = getelementptr inbounds %struct.scsi_info, ptr %0, i64 0, i32 2 store i64 133, ptr %83, align 8, !tbaa !17 %84 = load i32, ptr @PREP_FOR_SUSPEND_PENDING, align 4, !tbaa !14 %85 = load i32, ptr %0, align 8, !tbaa !11 %86 = or i32 %85, %84 store i32 %86, ptr %0, align 8, !tbaa !11 %87 = load i64, ptr %75, align 8, !tbaa !16 %88 = load i64, ptr @CRQ_ENTRY_OVERWRITTEN, align 8, !tbaa !18 %89 = icmp eq i64 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !14 %92 = or i32 %91, %86 store i32 %92, ptr %0, align 8, !tbaa !11 br label %93 93: ; preds = %90, %82 %94 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 0) #2 br label %128 95: ; preds = %74, %74, %74, %74, %74, %74, %74 %96 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, i64 noundef %79) #2 br label %128 97: ; preds = %2 %98 = getelementptr inbounds %struct.viosrp_crq, ptr %1, i64 0, i32 1 %99 = load i64, ptr %98, align 8, !tbaa !16 %100 = trunc i64 %99 to i32 %101 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %100) #2 %102 = load i32, ptr %0, align 8, !tbaa !11 %103 = load i32, ptr @PREP_FOR_SUSPEND_PENDING, align 4, !tbaa !14 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 br i1 %105, label %109, label %106 106: ; preds = %97 %107 = load i32, ptr @PREP_FOR_SUSPEND_ABORTED, align 4, !tbaa !14 %108 = or i32 %107, %102 store i32 %108, ptr %0, align 8, !tbaa !11 br label %128 109: ; preds = %97 %110 = load i64, ptr %98, align 8, !tbaa !16 %111 = load i64, ptr @CRQ_ENTRY_OVERWRITTEN, align 8, !tbaa !18 %112 = icmp eq i64 %110, %111 br i1 %112, label %117, label %113 113: ; preds = %109 %114 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !14 %115 = and i32 %114, %102 %116 = icmp eq i32 %115, 0 br i1 %116, label %128, label %117 117: ; preds = %113, %109 %118 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 140, i32 noundef 0) #2 %119 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !14 %120 = xor i32 %119, -1 %121 = load i32, ptr %0, align 8, !tbaa !11 %122 = and i32 %121, %120 store i32 %122, ptr %0, align 8, !tbaa !11 br label %128 123: ; preds = %2 %124 = sext i32 %9 to i64 %125 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, i64 noundef %124) #2 %126 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !14 %127 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 142, i32 noundef %126) #2 br label %128 128: ; preds = %106, %117, %113, %80, %93, %95, %74, %21, %27, %63, %68, %19, %123 %129 = load i32, ptr %0, align 8, !tbaa !11 %130 = sext i32 %129 to i64 %131 = load i64, ptr @SCHEDULE_DISCONNECT, align 8, !tbaa !18 %132 = and i64 %131, %130 %133 = load i64, ptr %6, align 8, !tbaa !13 %134 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.8, i32 noundef %129, i64 noundef %133, i64 noundef %132) #2 ret i64 %132 } declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @ibmvscsis_delete_client_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ibmvscsis_post_disconnect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ibmvscsis_ready_for_suspend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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, !7, i64 0} !6 = !{!"viosrp_crq", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"scsi_info", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40} !13 = !{!12, !10, i64 8} !14 = !{!7, !7, i64 0} !15 = !{!12, !7, i64 40} !16 = !{!6, !10, i64 8} !17 = !{!12, !10, i64 16} !18 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_ibmvscsis_trans_event.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_ibmvscsis_trans_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADAPT_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [49 x i8] c"trans_event: format %d, flags 0x%x, state 0x%hx\0A\00", align 1 @PREP_FOR_SUSPEND_OVERWRITE = common local_unnamed_addr global i32 0, align 4 @RESPONSE_Q_DOWN = common local_unnamed_addr global i32 0, align 4 @TRANS_EVENT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"debit %d, sched %d, wait %d, active %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"connection lost with outstanding work\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"trans_event: SRP Processing, but no outstanding work\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Prep for Suspend, crq status = 0x%x\0A\00", align 1 @PREP_FOR_SUSPEND_PENDING = common local_unnamed_addr global i32 0, align 4 @CRQ_ENTRY_OVERWRITTEN = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [57 x i8] c"Invalid state for Prepare for Suspend Trans Event: 0x%x\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"Resume from Suspend, crq status = 0x%x\0A\00", align 1 @PREP_FOR_SUSPEND_ABORTED = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [32 x i8] c"trans_event: invalid format %d\0A\00", align 1 @SCHEDULE_DISCONNECT = common local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [54 x i8] c"Leaving trans_event: flags 0x%x, state 0x%hx, rc %ld\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ibmvscsis_trans_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i64 @ibmvscsis_trans_event(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !14 %8 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5, i64 noundef %7) #2 %9 = load i32, ptr %1, align 8, !tbaa !6 switch i32 %9, label %123 [ i32 139, label %10 i32 136, label %10 i32 137, label %10 i32 135, label %74 i32 134, label %97 ] 10: ; preds = %2, %2, %2 %11 = tail call i32 @ibmvscsis_delete_client_info(ptr noundef nonnull %0, i32 noundef 1) #2 %12 = load i32, ptr %1, align 8, !tbaa !6 %13 = icmp eq i32 %12, 139 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !15 %16 = xor i32 %15, -1 %17 = load i32, ptr %0, align 8, !tbaa !12 %18 = and i32 %17, %16 store i32 %18, ptr %0, align 8, !tbaa !12 br label %19 19: ; preds = %14, %10 %20 = load i64, ptr %6, align 8, !tbaa !14 switch i64 %20, label %128 [ i64 142, label %68 i64 133, label %32 i64 143, label %27 i64 132, label %21 i64 128, label %68 i64 140, label %68 ] 21: ; preds = %19 %22 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !15 %23 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !15 %24 = or i32 %23, %22 %25 = load i32, ptr %0, align 8, !tbaa !12 %26 = or i32 %24, %25 store i32 %26, ptr %0, align 8, !tbaa !12 br label %128 27: ; preds = %19 %28 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !15 %29 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !15 %30 = or i32 %29, %28 %31 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %30) #2 br label %128 32: ; preds = %19 %33 = getelementptr inbounds i8, ptr %0, i64 40 %34 = load i32, ptr %33, align 8, !tbaa !16 %35 = icmp sgt i32 %34, 0 br i1 %35, label %48, label %36 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %0, i64 36 %38 = tail call i64 @list_empty(ptr noundef nonnull %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %36 %41 = getelementptr inbounds i8, ptr %0, i64 32 %42 = tail call i64 @list_empty(ptr noundef nonnull %41) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %0, i64 28 %46 = tail call i64 @list_empty(ptr noundef nonnull %45) #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %61 48: ; preds = %44, %40, %36, %32 %49 = load i32, ptr %33, align 8, !tbaa !16 %50 = getelementptr inbounds i8, ptr %0, i64 36 %51 = tail call i64 @list_empty(ptr noundef nonnull %50) #2 %52 = trunc i64 %51 to i32 %53 = getelementptr inbounds i8, ptr %0, i64 32 %54 = tail call i64 @list_empty(ptr noundef nonnull %53) #2 %55 = trunc i64 %54 to i32 %56 = getelementptr inbounds i8, ptr %0, i64 28 %57 = tail call i64 @list_empty(ptr noundef nonnull %56) #2 %58 = trunc i64 %57 to i32 %59 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58) #2 %60 = tail call i32 @dev_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #2 br label %63 61: ; preds = %44 %62 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #2 br label %63 63: ; preds = %61, %48 %64 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !15 %65 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !15 %66 = or i32 %65, %64 %67 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %66) #2 br label %128 68: ; preds = %19, %19, %19 %69 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !15 %70 = load i32, ptr @TRANS_EVENT, align 4, !tbaa !15 %71 = or i32 %70, %69 %72 = load i32, ptr %0, align 8, !tbaa !12 %73 = or i32 %71, %72 store i32 %73, ptr %0, align 8, !tbaa !12 br label %128 74: ; preds = %2 %75 = getelementptr inbounds i8, ptr %1, i64 8 %76 = load i64, ptr %75, align 8, !tbaa !17 %77 = trunc i64 %76 to i32 %78 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %77) #2 %79 = load i64, ptr %6, align 8, !tbaa !14 switch i64 %79, label %128 [ i64 141, label %80 i64 130, label %80 i64 143, label %80 i64 133, label %82 i64 138, label %95 i64 131, label %95 i64 132, label %95 i64 129, label %95 i64 142, label %95 i64 140, label %95 i64 128, label %95 ] 80: ; preds = %74, %74, %74 %81 = tail call i32 @ibmvscsis_ready_for_suspend(ptr noundef nonnull %0, i32 noundef 0) #2 br label %128 82: ; preds = %74 %83 = getelementptr inbounds i8, ptr %0, i64 16 store i64 133, ptr %83, align 8, !tbaa !18 %84 = load i32, ptr @PREP_FOR_SUSPEND_PENDING, align 4, !tbaa !15 %85 = load i32, ptr %0, align 8, !tbaa !12 %86 = or i32 %85, %84 store i32 %86, ptr %0, align 8, !tbaa !12 %87 = load i64, ptr %75, align 8, !tbaa !17 %88 = load i64, ptr @CRQ_ENTRY_OVERWRITTEN, align 8, !tbaa !19 %89 = icmp eq i64 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !15 %92 = or i32 %91, %86 store i32 %92, ptr %0, align 8, !tbaa !12 br label %93 93: ; preds = %90, %82 %94 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 0) #2 br label %128 95: ; preds = %74, %74, %74, %74, %74, %74, %74 %96 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, i64 noundef %79) #2 br label %128 97: ; preds = %2 %98 = getelementptr inbounds i8, ptr %1, i64 8 %99 = load i64, ptr %98, align 8, !tbaa !17 %100 = trunc i64 %99 to i32 %101 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %100) #2 %102 = load i32, ptr %0, align 8, !tbaa !12 %103 = load i32, ptr @PREP_FOR_SUSPEND_PENDING, align 4, !tbaa !15 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 br i1 %105, label %109, label %106 106: ; preds = %97 %107 = load i32, ptr @PREP_FOR_SUSPEND_ABORTED, align 4, !tbaa !15 %108 = or i32 %107, %102 store i32 %108, ptr %0, align 8, !tbaa !12 br label %128 109: ; preds = %97 %110 = load i64, ptr %98, align 8, !tbaa !17 %111 = load i64, ptr @CRQ_ENTRY_OVERWRITTEN, align 8, !tbaa !19 %112 = icmp eq i64 %110, %111 br i1 %112, label %117, label %113 113: ; preds = %109 %114 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !15 %115 = and i32 %114, %102 %116 = icmp eq i32 %115, 0 br i1 %116, label %128, label %117 117: ; preds = %113, %109 %118 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 140, i32 noundef 0) #2 %119 = load i32, ptr @PREP_FOR_SUSPEND_OVERWRITE, align 4, !tbaa !15 %120 = xor i32 %119, -1 %121 = load i32, ptr %0, align 8, !tbaa !12 %122 = and i32 %121, %120 store i32 %122, ptr %0, align 8, !tbaa !12 br label %128 123: ; preds = %2 %124 = sext i32 %9 to i64 %125 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, i64 noundef %124) #2 %126 = load i32, ptr @RESPONSE_Q_DOWN, align 4, !tbaa !15 %127 = tail call i32 @ibmvscsis_post_disconnect(ptr noundef nonnull %0, i32 noundef 142, i32 noundef %126) #2 br label %128 128: ; preds = %106, %117, %113, %80, %93, %95, %74, %21, %27, %63, %68, %19, %123 %129 = load i32, ptr %0, align 8, !tbaa !12 %130 = sext i32 %129 to i64 %131 = load i64, ptr @SCHEDULE_DISCONNECT, align 8, !tbaa !19 %132 = and i64 %131, %130 %133 = load i64, ptr %6, align 8, !tbaa !14 %134 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str.8, i32 noundef %129, i64 noundef %133, i64 noundef %132) #2 ret i64 %132 } declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @ibmvscsis_delete_client_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ibmvscsis_post_disconnect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ibmvscsis_ready_for_suspend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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, !8, i64 0} !7 = !{!"viosrp_crq", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"scsi_info", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40} !14 = !{!13, !11, i64 8} !15 = !{!8, !8, i64 0} !16 = !{!13, !8, i64 40} !17 = !{!7, !11, i64 8} !18 = !{!13, !11, i64 16} !19 = !{!11, !11, i64 0}
linux_drivers_scsi_ibmvscsi_tgt_extr_ibmvscsi_tgt.c_ibmvscsis_trans_event
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-as3722.c_as3722_rtc_read_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-as3722.c_as3722_rtc_read_time.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AS3722_RTC_SECOND_REG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"RTC_SECOND reg block read failed %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @as3722_rtc_read_time], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @as3722_rtc_read_time(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [6 x i32], align 16 %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %6 = load i32, ptr @AS3722_RTC_SECOND_REG, align 4, !tbaa !10 %7 = call i32 @as3722_block_read(ptr noundef %5, i32 noundef %6, i32 noundef 6, ptr noundef nonnull %3) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #3 br label %13 11: ; preds = %2 %12 = call i32 @as3722_reg_to_time(ptr noundef nonnull %3, ptr noundef %1) #3 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %7, %9 ], [ 0, %11 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @as3722_block_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @as3722_reg_to_time(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"as3722_rtc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-as3722.c_as3722_rtc_read_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-as3722.c_as3722_rtc_read_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AS3722_RTC_SECOND_REG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"RTC_SECOND reg block read failed %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @as3722_rtc_read_time], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @as3722_rtc_read_time(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [6 x i32], align 4 %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %6 = load i32, ptr @AS3722_RTC_SECOND_REG, align 4, !tbaa !11 %7 = call i32 @as3722_block_read(ptr noundef %5, i32 noundef %6, i32 noundef 6, ptr noundef nonnull %3) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #3 br label %13 11: ; preds = %2 %12 = call i32 @as3722_reg_to_time(ptr noundef nonnull %3, ptr noundef %1) #3 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %7, %9 ], [ 0, %11 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @as3722_block_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @as3722_reg_to_time(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"as3722_rtc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_rtc_extr_rtc-as3722.c_as3722_rtc_read_time
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream_pipe.c_pipe_set_in.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream_pipe.c_pipe_set_in.c" target datalayout = "e-m:e-p270:32:32-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.pipe_trans_stream = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @pipe_set_in], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @pipe_set_in(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.pipe_trans_stream, ptr %0, i64 0, i32 1 store ptr %1, ptr %4, align 8, !tbaa !5 store i32 %2, ptr %0, align 8, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"pipe_trans_stream", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream_pipe.c_pipe_set_in.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream_pipe.c_pipe_set_in.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 @pipe_set_in], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @pipe_set_in(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %1, ptr %4, align 8, !tbaa !6 store i32 %2, ptr %0, align 8, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"pipe_trans_stream", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
RetroArch_griffin_extr_..libretro-commonstreamstrans_stream_pipe.c_pipe_set_in
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_synclinkmp.c_ldisc_receive_buf.c' source_filename = "AnghaBench/linux/drivers/tty/extr_synclinkmp.c_ldisc_receive_buf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ldisc_receive_buf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ldisc_receive_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp eq ptr %0, null br i1 %5, label %17, label %6 6: ; preds = %4 %7 = tail call ptr @tty_ldisc_ref(ptr noundef nonnull %0) #2 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %9 9: ; preds = %6 %10 = load ptr, ptr %7, align 8, !tbaa !5 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %15 15: ; preds = %13, %9 %16 = tail call i32 @tty_ldisc_deref(ptr noundef nonnull %7) #2 br label %17 17: ; preds = %6, %15, %4 ret void } declare ptr @tty_ldisc_ref(ptr noundef) local_unnamed_addr #1 declare i32 @tty_ldisc_deref(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 = !{!"tty_ldisc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_synclinkmp.c_ldisc_receive_buf.c' source_filename = "AnghaBench/linux/drivers/tty/extr_synclinkmp.c_ldisc_receive_buf.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 @ldisc_receive_buf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ldisc_receive_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp eq ptr %0, null br i1 %5, label %17, label %6 6: ; preds = %4 %7 = tail call ptr @tty_ldisc_ref(ptr noundef nonnull %0) #2 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %9 9: ; preds = %6 %10 = load ptr, ptr %7, align 8, !tbaa !6 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %15 15: ; preds = %13, %9 %16 = tail call i32 @tty_ldisc_deref(ptr noundef nonnull %7) #2 br label %17 17: ; preds = %6, %15, %4 ret void } declare ptr @tty_ldisc_ref(ptr noundef) local_unnamed_addr #1 declare i32 @tty_ldisc_deref(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 = !{!"tty_ldisc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
linux_drivers_tty_extr_synclinkmp.c_ldisc_receive_buf
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv40.c_nv40_fifo_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv40.c_nv40_fifo_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.nv04_fifo_priv = type { %struct.TYPE_14__, ptr, ptr, ptr } %struct.TYPE_14__ = type { i32 } %struct.TYPE_9__ = type { i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } @NV03_PFIFO_RAMHT = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_RAMRO = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH1 = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_INTR_0 = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_INTR_EN_0 = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH0 = dso_local local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_PULL0 = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nv40_fifo_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nv40_fifo_init(ptr noundef %0) #0 { %2 = tail call ptr @nouveau_fb(ptr noundef %0) #2 %3 = tail call i32 @nouveau_fifo_init(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %57 5: ; preds = %1 %6 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8256, i32 noundef 255) #2 %7 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8260, i32 noundef 553779199) #2 %8 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8280, i32 noundef 1) #2 %9 = load i32, ptr @NV03_PFIFO_RAMHT, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.nv04_fifo_priv, ptr %0, i64 0, i32 3 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = shl i32 %12, 16 %14 = add i32 %13, -589824 %15 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = ashr i32 %16, 8 %18 = or i32 %17, %14 %19 = or i32 %18, 50331648 %20 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %9, i32 noundef %19) #2 %21 = load i32, ptr @NV03_PFIFO_RAMRO, align 4, !tbaa !5 %22 = getelementptr inbounds %struct.nv04_fifo_priv, ptr %0, i64 0, i32 2 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = ashr i32 %24, 8 %26 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %21, i32 noundef %25) #2 %27 = tail call ptr @nv_device(ptr noundef %0) #2 %28 = load i32, ptr %27, align 4, !tbaa !20 switch i32 %28, label %31 [ i32 71, label %29 i32 73, label %29 i32 75, label %29 i32 64, label %41 i32 65, label %41 i32 66, label %41 i32 67, label %41 i32 69, label %41 i32 72, label %41 ] 29: ; preds = %5, %5, %5 %30 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8752, i32 noundef 1) #2 br label %41 31: ; preds = %5 %32 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8752, i32 noundef 0) #2 %33 = load i32, ptr %2, align 4, !tbaa !22 %34 = add nsw i32 %33, -524288 %35 = getelementptr inbounds %struct.nv04_fifo_priv, ptr %0, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !25 %37 = load i32, ptr %36, align 4, !tbaa !26 %38 = add nsw i32 %34, %37 %39 = ashr i32 %38, 16 %40 = or i32 %39, 196608 br label %41 41: ; preds = %29, %5, %5, %5, %5, %5, %5, %31 %42 = phi i32 [ %40, %31 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %29 ] %43 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8736, i32 noundef %42) #2 %44 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !5 %45 = load i32, ptr %0, align 8, !tbaa !28 %46 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr @NV03_PFIFO_INTR_0, align 4, !tbaa !5 %48 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %47, i32 noundef -1) #2 %49 = load i32, ptr @NV03_PFIFO_INTR_EN_0, align 4, !tbaa !5 %50 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %49, i32 noundef -1) #2 %51 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !5 %52 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %51, i32 noundef 1) #2 %53 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !5 %54 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %53, i32 noundef 1) #2 %55 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !5 %56 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %55, i32 noundef 1) #2 br label %57 57: ; preds = %1, %41 ret i32 %3 } declare ptr @nouveau_fb(ptr noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_init(ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nv_device(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 24} !10 = !{!"nv04_fifo_priv", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !11 = !{!"TYPE_14__", !6, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_9__", !6, i64 0, !15, i64 4} !15 = !{!"TYPE_8__", !6, i64 0} !16 = !{!14, !6, i64 4} !17 = !{!10, !12, i64 16} !18 = !{!19, !6, i64 0} !19 = !{!"TYPE_10__", !6, i64 0} !20 = !{!21, !6, i64 0} !21 = !{!"TYPE_13__", !6, i64 0} !22 = !{!23, !6, i64 0} !23 = !{!"nouveau_fb", !24, i64 0} !24 = !{!"TYPE_11__", !6, i64 0} !25 = !{!10, !12, i64 8} !26 = !{!27, !6, i64 0} !27 = !{!"TYPE_12__", !6, i64 0} !28 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv40.c_nv40_fifo_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv40.c_nv40_fifo_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV03_PFIFO_RAMHT = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_RAMRO = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH1 = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_INTR_0 = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_INTR_EN_0 = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH0 = common local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_PULL0 = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nv40_fifo_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nv40_fifo_init(ptr noundef %0) #0 { %2 = tail call ptr @nouveau_fb(ptr noundef %0) #2 %3 = tail call i32 @nouveau_fifo_init(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %57 5: ; preds = %1 %6 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8256, i32 noundef 255) #2 %7 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8260, i32 noundef 553779199) #2 %8 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef 8280, i32 noundef 1) #2 %9 = load i32, ptr @NV03_PFIFO_RAMHT, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = shl i32 %12, 16 %14 = add i32 %13, -589824 %15 = getelementptr inbounds i8, ptr %11, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = ashr i32 %16, 8 %18 = or i32 %17, %14 %19 = or i32 %18, 50331648 %20 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %9, i32 noundef %19) #2 %21 = load i32, ptr @NV03_PFIFO_RAMRO, align 4, !tbaa !6 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load ptr, ptr %22, align 8, !tbaa !18 %24 = load i32, ptr %23, align 4, !tbaa !19 %25 = ashr i32 %24, 8 %26 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %21, i32 noundef %25) #2 %27 = tail call ptr @nv_device(ptr noundef %0) #2 %28 = load i32, ptr %27, align 4, !tbaa !21 switch i32 %28, label %31 [ i32 71, label %29 i32 73, label %29 i32 75, label %29 i32 64, label %41 i32 65, label %41 i32 66, label %41 i32 67, label %41 i32 69, label %41 i32 72, label %41 ] 29: ; preds = %5, %5, %5 %30 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8752, i32 noundef 1) #2 br label %41 31: ; preds = %5 %32 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8752, i32 noundef 0) #2 %33 = load i32, ptr %2, align 4, !tbaa !23 %34 = add nsw i32 %33, -524288 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = load ptr, ptr %35, align 8, !tbaa !26 %37 = load i32, ptr %36, align 4, !tbaa !27 %38 = add nsw i32 %34, %37 %39 = ashr i32 %38, 16 %40 = or i32 %39, 196608 br label %41 41: ; preds = %29, %5, %5, %5, %5, %5, %5, %31 %42 = phi i32 [ %40, %31 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %5 ], [ 196610, %29 ] %43 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef 8736, i32 noundef %42) #2 %44 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !6 %45 = load i32, ptr %0, align 8, !tbaa !29 %46 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr @NV03_PFIFO_INTR_0, align 4, !tbaa !6 %48 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %47, i32 noundef -1) #2 %49 = load i32, ptr @NV03_PFIFO_INTR_EN_0, align 4, !tbaa !6 %50 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %49, i32 noundef -1) #2 %51 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !6 %52 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %51, i32 noundef 1) #2 %53 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !6 %54 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %53, i32 noundef 1) #2 %55 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !6 %56 = tail call i32 @nv_wr32(ptr noundef nonnull %0, i32 noundef %55, i32 noundef 1) #2 br label %57 57: ; preds = %1, %41 ret i32 %3 } declare ptr @nouveau_fb(ptr noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_init(ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nv_device(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 24} !11 = !{!"nv04_fifo_priv", !12, i64 0, !13, i64 8, !13, i64 16, !13, i64 24} !12 = !{!"TYPE_14__", !7, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_9__", !7, i64 0, !16, i64 4} !16 = !{!"TYPE_8__", !7, i64 0} !17 = !{!15, !7, i64 4} !18 = !{!11, !13, i64 16} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_10__", !7, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_13__", !7, i64 0} !23 = !{!24, !7, i64 0} !24 = !{!"nouveau_fb", !25, i64 0} !25 = !{!"TYPE_11__", !7, i64 0} !26 = !{!11, !13, i64 8} !27 = !{!28, !7, i64 0} !28 = !{!"TYPE_12__", !7, i64 0} !29 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_fifo_extr_nv40.c_nv40_fifo_init
; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/stdlib/extr_obsol.c__beep.c' source_filename = "AnghaBench/reactos/sdk/lib/crt/stdlib/extr_obsol.c__beep.c" target datalayout = "e-m:e-p270:32:32-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 @_beep(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @Beep(i32 noundef %0, i32 noundef %1) #2 ret void } declare i32 @Beep(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/reactos/sdk/lib/crt/stdlib/extr_obsol.c__beep.c' source_filename = "AnghaBench/reactos/sdk/lib/crt/stdlib/extr_obsol.c__beep.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 @_beep(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @Beep(i32 noundef %0, i32 noundef %1) #2 ret void } declare i32 @Beep(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)"}
reactos_sdk_lib_crt_stdlib_extr_obsol.c__beep
; ModuleID = 'AnghaBench/sumatrapdf/ext/freetype/src/gxvalid/extr_gxvjust.c_gxv_just_justData_lookuptable_validate.c' source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/gxvalid/extr_gxvjust.c_gxv_just_justData_lookuptable_validate.c" target datalayout = "e-m:e-p270:32:32-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 } @GXV_LOOKUPVALUE_UNSIGNED = dso_local local_unnamed_addr global i32 0, align 4 @gxv_just_wdcTable_LookupValue_validate = dso_local local_unnamed_addr global i32 0, align 4 @GXV_EXIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gxv_just_justData_lookuptable_validate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gxv_just_justData_lookuptable_validate(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @GXV_LOOKUPVALUE_UNSIGNED, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 store i32 %4, ptr %5, align 4, !tbaa !9 %6 = load i32, ptr @gxv_just_wdcTable_LookupValue_validate, align 4, !tbaa !5 store i32 %6, ptr %2, align 4, !tbaa !11 %7 = tail call i32 @gxv_LookupTable_validate(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2 ret void } declare i32 @gxv_LookupTable_validate(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/freetype/src/gxvalid/extr_gxvjust.c_gxv_just_justData_lookuptable_validate.c' source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/gxvalid/extr_gxvjust.c_gxv_just_justData_lookuptable_validate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GXV_LOOKUPVALUE_UNSIGNED = common local_unnamed_addr global i32 0, align 4 @gxv_just_wdcTable_LookupValue_validate = common local_unnamed_addr global i32 0, align 4 @GXV_EXIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gxv_just_justData_lookuptable_validate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gxv_just_justData_lookuptable_validate(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @GXV_LOOKUPVALUE_UNSIGNED, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %4, ptr %5, align 4, !tbaa !10 %6 = load i32, ptr @gxv_just_wdcTable_LookupValue_validate, align 4, !tbaa !6 store i32 %6, ptr %2, align 4, !tbaa !12 %7 = tail call i32 @gxv_LookupTable_validate(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2 ret void } declare i32 @gxv_LookupTable_validate(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
sumatrapdf_ext_freetype_src_gxvalid_extr_gxvjust.c_gxv_just_justData_lookuptable_validate
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/iwmbtfw/extr_main.c_usage.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/iwmbtfw/extr_main.c_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"Usage: iwmbtfw (-D) -d ugenX.Y (-f firmware path) (-I)\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c" -D: enable debugging\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c" -d: device to operate upon\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" -f: firmware path, if not default\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c" -I: enable informational output\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @usage() #0 { %1 = load i32, ptr @stderr, align 4, !tbaa !5 %2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3 %3 = load i32, ptr @stderr, align 4, !tbaa !5 %4 = tail call i32 @fprintf(i32 noundef %3, ptr noundef nonnull @.str.1) #3 %5 = load i32, ptr @stderr, align 4, !tbaa !5 %6 = tail call i32 @fprintf(i32 noundef %5, ptr noundef nonnull @.str.2) #3 %7 = load i32, ptr @stderr, align 4, !tbaa !5 %8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str.3) #3 %9 = load i32, ptr @stderr, align 4, !tbaa !5 %10 = tail call i32 @fprintf(i32 noundef %9, ptr noundef nonnull @.str.4) #3 %11 = tail call i32 @exit(i32 noundef 127) #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/iwmbtfw/extr_main.c_usage.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/iwmbtfw/extr_main.c_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"Usage: iwmbtfw (-D) -d ugenX.Y (-f firmware path) (-I)\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c" -D: enable debugging\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c" -d: device to operate upon\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" -f: firmware path, if not default\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c" -I: enable informational output\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @usage() #0 { %1 = load i32, ptr @stderr, align 4, !tbaa !6 %2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3 %3 = load i32, ptr @stderr, align 4, !tbaa !6 %4 = tail call i32 @fprintf(i32 noundef %3, ptr noundef nonnull @.str.1) #3 %5 = load i32, ptr @stderr, align 4, !tbaa !6 %6 = tail call i32 @fprintf(i32 noundef %5, ptr noundef nonnull @.str.2) #3 %7 = load i32, ptr @stderr, align 4, !tbaa !6 %8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str.3) #3 %9 = load i32, ptr @stderr, align 4, !tbaa !6 %10 = tail call i32 @fprintf(i32 noundef %9, ptr noundef nonnull @.str.4) #3 %11 = tail call i32 @exit(i32 noundef 127) #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_usr.sbin_bluetooth_iwmbtfw_extr_main.c_usage
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_connectors.c_radeon_dp_connector_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_connectors.c_radeon_dp_connector_destroy.c" target datalayout = "e-m:e-p270:32:32-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_connector = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @radeon_dp_connector_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @radeon_dp_connector_destroy(ptr noundef %0) #0 { %2 = tail call ptr @to_radeon_connector(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.radeon_connector, ptr %2, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %9 9: ; preds = %7, %1 %10 = load i64, ptr %3, align 8, !tbaa !11 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = tail call i32 @radeon_i2c_destroy(i64 noundef %10) #2 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8, !tbaa !5 %16 = tail call i32 @kfree(ptr noundef %15) #2 %17 = tail call i32 @drm_sysfs_connector_remove(ptr noundef %0) #2 %18 = tail call i32 @drm_connector_cleanup(ptr noundef %0) #2 %19 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare ptr @to_radeon_connector(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_i2c_destroy(i64 noundef) local_unnamed_addr #1 declare i32 @drm_sysfs_connector_remove(ptr noundef) local_unnamed_addr #1 declare i32 @drm_connector_cleanup(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 = !{!"radeon_connector", !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 8} !11 = !{!12, !13, i64 0} !12 = !{!"radeon_connector_atom_dig", !13, i64 0} !13 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_connectors.c_radeon_dp_connector_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_connectors.c_radeon_dp_connector_destroy.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 @radeon_dp_connector_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @radeon_dp_connector_destroy(ptr noundef %0) #0 { %2 = tail call ptr @to_radeon_connector(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %9 9: ; preds = %7, %1 %10 = load i64, ptr %3, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = tail call i32 @radeon_i2c_destroy(i64 noundef %10) #2 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8, !tbaa !6 %16 = tail call i32 @kfree(ptr noundef %15) #2 %17 = tail call i32 @drm_sysfs_connector_remove(ptr noundef %0) #2 %18 = tail call i32 @drm_connector_cleanup(ptr noundef %0) #2 %19 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare ptr @to_radeon_connector(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_i2c_destroy(i64 noundef) local_unnamed_addr #1 declare i32 @drm_sysfs_connector_remove(ptr noundef) local_unnamed_addr #1 declare i32 @drm_connector_cleanup(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 = !{!"radeon_connector", !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 8} !12 = !{!13, !14, i64 0} !13 = !{!"radeon_connector_atom_dig", !14, i64 0} !14 = !{!"long", !9, i64 0}
fastsocket_kernel_drivers_gpu_drm_radeon_extr_radeon_connectors.c_radeon_dp_connector_destroy
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_event.c_hci_cmd_complete_evt.c' source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_event.c_hci_cmd_complete_evt.c" target datalayout = "e-m:e-p270:32:32-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.hci_ev_cmd_complete = type { i64, i32 } %struct.hci_dev = type { i32, i32, i32 } @.str = private unnamed_addr constant [15 x i8] c"%s opcode 0x%x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hci_cmd_complete_evt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @hci_cmd_complete_evt(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 16) #2 %6 = getelementptr inbounds %struct.hci_ev_cmd_complete, ptr %4, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !10 %8 = tail call i32 @__le16_to_cpu(i32 noundef %7) #2 switch i32 %8, label %61 [ i32 151, label %9 i32 153, label %11 i32 139, label %13 i32 137, label %15 i32 146, label %17 i32 132, label %19 i32 147, label %21 i32 134, label %23 i32 138, label %25 i32 131, label %27 i32 143, label %29 i32 136, label %31 i32 133, label %33 i32 130, label %35 i32 148, label %37 i32 135, label %39 i32 140, label %41 i32 128, label %43 i32 152, label %45 i32 141, label %47 i32 129, label %49 i32 142, label %51 i32 145, label %53 i32 144, label %55 i32 149, label %57 i32 150, label %59 ] 9: ; preds = %2 %10 = tail call i32 @hci_cc_inquiry_cancel(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 11: ; preds = %2 %12 = tail call i32 @hci_cc_exit_periodic_inq(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 13: ; preds = %2 %14 = tail call i32 @hci_cc_remote_name_req_cancel(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 15: ; preds = %2 %16 = tail call i32 @hci_cc_role_discovery(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 17: ; preds = %2 %18 = tail call i32 @hci_cc_read_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 19: ; preds = %2 %20 = tail call i32 @hci_cc_write_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 21: ; preds = %2 %22 = tail call i32 @hci_cc_read_def_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 23: ; preds = %2 %24 = tail call i32 @hci_cc_write_def_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 25: ; preds = %2 %26 = tail call i32 @hci_cc_reset(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 27: ; preds = %2 %28 = tail call i32 @hci_cc_write_local_name(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 29: ; preds = %2 %30 = tail call i32 @hci_cc_read_local_name(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 31: ; preds = %2 %32 = tail call i32 @hci_cc_write_auth_enable(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 33: ; preds = %2 %34 = tail call i32 @hci_cc_write_encrypt_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 35: ; preds = %2 %36 = tail call i32 @hci_cc_write_scan_enable(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 37: ; preds = %2 %38 = tail call i32 @hci_cc_read_class_of_dev(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 39: ; preds = %2 %40 = tail call i32 @hci_cc_write_class_of_dev(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 41: ; preds = %2 %42 = tail call i32 @hci_cc_read_voice_setting(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 43: ; preds = %2 %44 = tail call i32 @hci_cc_write_voice_setting(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 45: ; preds = %2 %46 = tail call i32 @hci_cc_host_buffer_size(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 47: ; preds = %2 %48 = tail call i32 @hci_cc_read_ssp_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 49: ; preds = %2 %50 = tail call i32 @hci_cc_write_ssp_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 51: ; preds = %2 %52 = tail call i32 @hci_cc_read_local_version(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 53: ; preds = %2 %54 = tail call i32 @hci_cc_read_local_commands(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 55: ; preds = %2 %56 = tail call i32 @hci_cc_read_local_features(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 57: ; preds = %2 %58 = tail call i32 @hci_cc_read_buffer_size(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 59: ; preds = %2 %60 = tail call i32 @hci_cc_read_bd_addr(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 61: ; preds = %2 %62 = getelementptr inbounds %struct.hci_dev, ptr %0, i64 0, i32 2 %63 = load i32, ptr %62, align 4, !tbaa !13 %64 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %63, i32 noundef %8) #2 br label %65 65: ; preds = %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9 %66 = load i64, ptr %4, align 8, !tbaa !15 %67 = icmp eq i64 %66, 0 br i1 %67, label %75, label %68 68: ; preds = %65 %69 = getelementptr inbounds %struct.hci_dev, ptr %0, i64 0, i32 1 %70 = tail call i32 @atomic_set(ptr noundef nonnull %69, i32 noundef 1) #2 %71 = tail call i32 @skb_queue_empty(ptr noundef %0) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %68 %74 = tail call i32 @hci_sched_cmd(ptr noundef %0) #2 br label %75 75: ; preds = %68, %73, %65 ret void } declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @hci_cc_inquiry_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_exit_periodic_inq(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_remote_name_req_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_role_discovery(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_def_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_def_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_local_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_auth_enable(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_encrypt_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_scan_enable(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_class_of_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_class_of_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_voice_setting(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_voice_setting(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_host_buffer_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_ssp_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_ssp_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_version(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_commands(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_features(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_buffer_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_bd_addr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BT_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @hci_sched_cmd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sk_buff", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"hci_ev_cmd_complete", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"hci_dev", !12, i64 0, !12, i64 4, !12, i64 8} !15 = !{!11, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_event.c_hci_cmd_complete_evt.c' source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_event.c_hci_cmd_complete_evt.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 [15 x i8] c"%s opcode 0x%x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hci_cmd_complete_evt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @hci_cmd_complete_evt(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 16) #2 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @__le16_to_cpu(i32 noundef %7) #2 switch i32 %8, label %61 [ i32 151, label %9 i32 153, label %11 i32 139, label %13 i32 137, label %15 i32 146, label %17 i32 132, label %19 i32 147, label %21 i32 134, label %23 i32 138, label %25 i32 131, label %27 i32 143, label %29 i32 136, label %31 i32 133, label %33 i32 130, label %35 i32 148, label %37 i32 135, label %39 i32 140, label %41 i32 128, label %43 i32 152, label %45 i32 141, label %47 i32 129, label %49 i32 142, label %51 i32 145, label %53 i32 144, label %55 i32 149, label %57 i32 150, label %59 ] 9: ; preds = %2 %10 = tail call i32 @hci_cc_inquiry_cancel(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 11: ; preds = %2 %12 = tail call i32 @hci_cc_exit_periodic_inq(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 13: ; preds = %2 %14 = tail call i32 @hci_cc_remote_name_req_cancel(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 15: ; preds = %2 %16 = tail call i32 @hci_cc_role_discovery(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 17: ; preds = %2 %18 = tail call i32 @hci_cc_read_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 19: ; preds = %2 %20 = tail call i32 @hci_cc_write_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 21: ; preds = %2 %22 = tail call i32 @hci_cc_read_def_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 23: ; preds = %2 %24 = tail call i32 @hci_cc_write_def_link_policy(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 25: ; preds = %2 %26 = tail call i32 @hci_cc_reset(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 27: ; preds = %2 %28 = tail call i32 @hci_cc_write_local_name(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 29: ; preds = %2 %30 = tail call i32 @hci_cc_read_local_name(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 31: ; preds = %2 %32 = tail call i32 @hci_cc_write_auth_enable(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 33: ; preds = %2 %34 = tail call i32 @hci_cc_write_encrypt_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 35: ; preds = %2 %36 = tail call i32 @hci_cc_write_scan_enable(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 37: ; preds = %2 %38 = tail call i32 @hci_cc_read_class_of_dev(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 39: ; preds = %2 %40 = tail call i32 @hci_cc_write_class_of_dev(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 41: ; preds = %2 %42 = tail call i32 @hci_cc_read_voice_setting(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 43: ; preds = %2 %44 = tail call i32 @hci_cc_write_voice_setting(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 45: ; preds = %2 %46 = tail call i32 @hci_cc_host_buffer_size(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 47: ; preds = %2 %48 = tail call i32 @hci_cc_read_ssp_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 49: ; preds = %2 %50 = tail call i32 @hci_cc_write_ssp_mode(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 51: ; preds = %2 %52 = tail call i32 @hci_cc_read_local_version(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 53: ; preds = %2 %54 = tail call i32 @hci_cc_read_local_commands(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 55: ; preds = %2 %56 = tail call i32 @hci_cc_read_local_features(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 57: ; preds = %2 %58 = tail call i32 @hci_cc_read_buffer_size(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 59: ; preds = %2 %60 = tail call i32 @hci_cc_read_bd_addr(ptr noundef %0, ptr noundef nonnull %1) #2 br label %65 61: ; preds = %2 %62 = getelementptr inbounds i8, ptr %0, i64 8 %63 = load i32, ptr %62, align 4, !tbaa !14 %64 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %63, i32 noundef %8) #2 br label %65 65: ; preds = %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9 %66 = load i64, ptr %4, align 8, !tbaa !16 %67 = icmp eq i64 %66, 0 br i1 %67, label %75, label %68 68: ; preds = %65 %69 = getelementptr inbounds i8, ptr %0, i64 4 %70 = tail call i32 @atomic_set(ptr noundef nonnull %69, i32 noundef 1) #2 %71 = tail call i32 @skb_queue_empty(ptr noundef %0) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %68 %74 = tail call i32 @hci_sched_cmd(ptr noundef %0) #2 br label %75 75: ; preds = %68, %73, %65 ret void } declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @hci_cc_inquiry_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_exit_periodic_inq(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_remote_name_req_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_role_discovery(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_def_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_def_link_policy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_local_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_auth_enable(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_encrypt_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_scan_enable(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_class_of_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_class_of_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_voice_setting(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_voice_setting(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_host_buffer_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_ssp_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_write_ssp_mode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_version(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_commands(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_local_features(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_buffer_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hci_cc_read_bd_addr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BT_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @hci_sched_cmd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sk_buff", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 8} !12 = !{!"hci_ev_cmd_complete", !8, i64 0, !13, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"hci_dev", !13, i64 0, !13, i64 4, !13, i64 8} !16 = !{!12, !8, i64 0}
fastsocket_kernel_net_bluetooth_extr_hci_event.c_hci_cmd_complete_evt
; ModuleID = 'AnghaBench/sway/swaybar/tray/extr_tray.c_cmp_output.c' source_filename = "AnghaBench/sway/swaybar/tray/extr_tray.c_cmp_output.c" target datalayout = "e-m:e-p270:32:32-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.swaybar_output = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cmp_output], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cmp_output(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.swaybar_output, ptr %1, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @strcmp(ptr noundef %0, i64 noundef %4) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6, %2 %10 = load i64, ptr %1, align 8, !tbaa !10 %11 = tail call i32 @strcmp(ptr noundef %0, i64 noundef %10) #2 br label %12 12: ; preds = %6, %9 %13 = phi i32 [ %11, %9 ], [ 0, %6 ] ret i32 %13 } declare i32 @strcmp(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 8} !6 = !{!"swaybar_output", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/sway/swaybar/tray/extr_tray.c_cmp_output.c' source_filename = "AnghaBench/sway/swaybar/tray/extr_tray.c_cmp_output.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @cmp_output], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cmp_output(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @strcmp(ptr noundef %0, i64 noundef %4) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6, %2 %10 = load i64, ptr %1, align 8, !tbaa !11 %11 = tail call i32 @strcmp(ptr noundef %0, i64 noundef %10) #2 br label %12 12: ; preds = %6, %9 %13 = phi i32 [ %11, %9 ], [ 0, %6 ] ret i32 %13 } declare i32 @strcmp(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 8} !7 = !{!"swaybar_output", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
sway_swaybar_tray_extr_tray.c_cmp_output
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_cancel_all_.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_cancel_all_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.bufferevent_ctrl_data = type { i32 } @BEV_CTRL_CANCEL_ALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bufferevent_cancel_all_], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bufferevent_cancel_all_(ptr noundef %0) #0 { %2 = alloca %union.bufferevent_ctrl_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 %4 = call i32 @BEV_LOCK(ptr noundef %0) #3 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr @BEV_CTRL_CANCEL_ALL, align 4, !tbaa !12 %10 = call i32 %6(ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull %2) #3 br label %11 11: ; preds = %8, %1 %12 = call i32 @BEV_UNLOCK(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BEV_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @BEV_UNLOCK(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bufferevent", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_cancel_all_.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_cancel_all_.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.bufferevent_ctrl_data = type { i32 } @BEV_CTRL_CANCEL_ALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bufferevent_cancel_all_], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bufferevent_cancel_all_(ptr noundef %0) #0 { %2 = alloca %union.bufferevent_ctrl_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 %4 = call i32 @BEV_LOCK(ptr noundef %0) #3 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr @BEV_CTRL_CANCEL_ALL, align 4, !tbaa !13 %10 = call i32 %6(ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull %2) #3 br label %11 11: ; preds = %8, %1 %12 = call i32 @BEV_UNLOCK(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BEV_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @BEV_UNLOCK(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bufferevent", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
freebsd_contrib_libevent_extr_bufferevent.c_bufferevent_cancel_all_
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_serial_core.c_uart_install.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_serial_core.c_uart_install.c" target datalayout = "e-m:e-p270:32:32-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.uart_state = type { i32 } %struct.tty_struct = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @uart_install], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @uart_install(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr %1, align 8, !tbaa !12 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds %struct.uart_state, ptr %4, i64 %6 %8 = getelementptr inbounds %struct.tty_struct, ptr %1, i64 0, i32 1 store ptr %7, ptr %8, align 8, !tbaa !15 %9 = tail call i32 @tty_standard_install(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @tty_standard_install(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 = !{!"tty_driver", !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 = !{!"uart_driver", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"tty_struct", !14, i64 0, !7, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!13, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_serial_core.c_uart_install.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_serial_core.c_uart_install.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uart_state = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @uart_install], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @uart_install(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr %1, align 8, !tbaa !13 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds %struct.uart_state, ptr %4, i64 %6 %8 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %7, ptr %8, align 8, !tbaa !16 %9 = tail call i32 @tty_standard_install(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @tty_standard_install(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 = !{!"tty_driver", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"uart_driver", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"tty_struct", !15, i64 0, !8, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!14, !8, i64 8}
linux_drivers_tty_serial_extr_serial_core.c_uart_install
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_user_mad.c_send_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_user_mad.c_send_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.ib_mad_send_wc = type { i64, ptr } %struct.ib_umad_packet = type { %struct.TYPE_6__, i32, ptr } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @IB_WC_RESP_TIMEOUT_ERR = dso_local local_unnamed_addr global i64 0, align 8 @IB_MGMT_MAD_HDR = dso_local local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @send_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @send_handler(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.ib_mad_send_wc, ptr %1, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = tail call i32 @dequeue_send(ptr noundef %3, ptr noundef %7) #2 %9 = getelementptr inbounds %struct.ib_umad_packet, ptr %7, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = load i32, ptr %10, align 4, !tbaa !21 %12 = tail call i32 @ib_destroy_ah(i32 noundef %11) #2 %13 = load ptr, ptr %9, align 8, !tbaa !16 %14 = tail call i32 @ib_free_send_mad(ptr noundef %13) #2 %15 = load i64, ptr %1, align 8, !tbaa !23 %16 = load i64, ptr @IB_WC_RESP_TIMEOUT_ERR, align 8, !tbaa !24 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr @IB_MGMT_MAD_HDR, align 4, !tbaa !25 %20 = getelementptr inbounds %struct.ib_umad_packet, ptr %7, i64 0, i32 1 store i32 %19, ptr %20, align 4, !tbaa !26 %21 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !25 store i32 %21, ptr %7, align 8, !tbaa !27 %22 = tail call i32 @queue_packet(ptr noundef %3, ptr noundef nonnull %0, ptr noundef nonnull %7) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18, %2 %25 = tail call i32 @kfree(ptr noundef nonnull %7) #2 br label %26 26: ; preds = %18, %24 ret void } declare i32 @dequeue_send(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ib_destroy_ah(i32 noundef) local_unnamed_addr #1 declare i32 @ib_free_send_mad(ptr noundef) local_unnamed_addr #1 declare i32 @queue_packet(ptr noundef, ptr noundef, 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)"} !5 = !{!6, !7, i64 0} !6 = !{!"ib_mad_agent", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"ib_mad_send_wc", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_7__", !7, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!17, !7, i64 8} !17 = !{!"ib_umad_packet", !18, i64 0, !20, i64 4, !7, i64 8} !18 = !{!"TYPE_6__", !19, i64 0} !19 = !{!"TYPE_5__", !20, i64 0} !20 = !{!"int", !8, i64 0} !21 = !{!22, !20, i64 0} !22 = !{!"TYPE_8__", !20, i64 0} !23 = !{!11, !12, i64 0} !24 = !{!12, !12, i64 0} !25 = !{!20, !20, i64 0} !26 = !{!17, !20, i64 4} !27 = !{!17, !20, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_user_mad.c_send_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_user_mad.c_send_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IB_WC_RESP_TIMEOUT_ERR = common local_unnamed_addr global i64 0, align 8 @IB_MGMT_MAD_HDR = common local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @send_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @send_handler(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load ptr, ptr %6, align 8, !tbaa !16 %8 = tail call i32 @dequeue_send(ptr noundef %3, ptr noundef %7) #2 %9 = getelementptr inbounds i8, ptr %7, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = load i32, ptr %10, align 4, !tbaa !22 %12 = tail call i32 @ib_destroy_ah(i32 noundef %11) #2 %13 = load ptr, ptr %9, align 8, !tbaa !17 %14 = tail call i32 @ib_free_send_mad(ptr noundef %13) #2 %15 = load i64, ptr %1, align 8, !tbaa !24 %16 = load i64, ptr @IB_WC_RESP_TIMEOUT_ERR, align 8, !tbaa !25 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr @IB_MGMT_MAD_HDR, align 4, !tbaa !26 %20 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %19, ptr %20, align 4, !tbaa !27 %21 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !26 store i32 %21, ptr %7, align 8, !tbaa !28 %22 = tail call i32 @queue_packet(ptr noundef %3, ptr noundef nonnull %0, ptr noundef nonnull %7) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18, %2 %25 = tail call i32 @kfree(ptr noundef nonnull %7) #2 br label %26 26: ; preds = %18, %24 ret void } declare i32 @dequeue_send(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ib_destroy_ah(i32 noundef) local_unnamed_addr #1 declare i32 @ib_free_send_mad(ptr noundef) local_unnamed_addr #1 declare i32 @queue_packet(ptr noundef, ptr noundef, 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)"} !6 = !{!7, !8, i64 0} !7 = !{!"ib_mad_agent", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"ib_mad_send_wc", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_7__", !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"ib_umad_packet", !19, i64 0, !21, i64 4, !8, i64 8} !19 = !{!"TYPE_6__", !20, i64 0} !20 = !{!"TYPE_5__", !21, i64 0} !21 = !{!"int", !9, i64 0} !22 = !{!23, !21, i64 0} !23 = !{!"TYPE_8__", !21, i64 0} !24 = !{!12, !13, i64 0} !25 = !{!13, !13, i64 0} !26 = !{!21, !21, i64 0} !27 = !{!18, !21, i64 4} !28 = !{!18, !21, i64 0}
fastsocket_kernel_drivers_infiniband_core_extr_user_mad.c_send_handler
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_check-integrity.c_btrfsic_block_link_alloc.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_check-integrity.c_btrfsic_block_link_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" @GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @btrfsic_block_link_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @btrfsic_block_link_alloc() #0 { %1 = load i32, ptr @GFP_NOFS, align 4, !tbaa !5 %2 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @btrfsic_block_link_init(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %4, %0 ret ptr %2 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfsic_block_link_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"}
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_check-integrity.c_btrfsic_block_link_alloc.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_check-integrity.c_btrfsic_block_link_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_NOFS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @btrfsic_block_link_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @btrfsic_block_link_alloc() #0 { %1 = load i32, ptr @GFP_NOFS, align 4, !tbaa !6 %2 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @btrfsic_block_link_init(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %4, %0 ret ptr %2 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfsic_block_link_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"}
linux_fs_btrfs_extr_check-integrity.c_btrfsic_block_link_alloc
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_maxsize.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_maxsize.c" target datalayout = "e-m:e-p270:32:32-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.session_state = type { i32, i32 } @.str = private unnamed_addr constant [48 x i8] c"packet_set_maxsize: called twice: old %d new %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"packet_set_maxsize: bad size %d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"packet_set_maxsize: setting to %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ssh_packet_set_maxsize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.session_state, ptr %3, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = tail call i32 (ptr, i32, ...) @logit(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1) #2 br label %18 10: ; preds = %2 %11 = add i32 %1, -1048577 %12 = icmp ult i32 %11, -1044481 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 (ptr, i32, ...) @logit(ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %18 15: ; preds = %10 store i32 1, ptr %3, align 4, !tbaa !10 %16 = tail call i32 @debug(ptr noundef nonnull @.str.2, i32 noundef %1) #2 %17 = getelementptr inbounds %struct.session_state, ptr %3, i64 0, i32 1 store i32 %1, ptr %17, align 4, !tbaa !13 br label %18 18: ; preds = %15, %13, %6 %19 = phi i32 [ -1, %6 ], [ -1, %13 ], [ %1, %15 ] ret i32 %19 } declare i32 @logit(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @debug(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ssh", !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 = !{!"session_state", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_maxsize.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_maxsize.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 [48 x i8] c"packet_set_maxsize: called twice: old %d new %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"packet_set_maxsize: bad size %d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"packet_set_maxsize: setting to %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1048577) i32 @ssh_packet_set_maxsize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = tail call i32 (ptr, i32, ...) @logit(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1) #2 br label %18 10: ; preds = %2 %11 = add i32 %1, -1048577 %12 = icmp ult i32 %11, -1044481 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 (ptr, i32, ...) @logit(ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %18 15: ; preds = %10 store i32 1, ptr %3, align 4, !tbaa !11 %16 = tail call i32 @debug(ptr noundef nonnull @.str.2, i32 noundef %1) #2 %17 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %1, ptr %17, align 4, !tbaa !14 br label %18 18: ; preds = %15, %13, %6 %19 = phi i32 [ -1, %6 ], [ -1, %13 ], [ %1, %15 ] ret i32 %19 } declare i32 @logit(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @debug(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ssh", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"session_state", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 4}
freebsd_crypto_openssh_extr_packet.c_ssh_packet_set_maxsize
; ModuleID = 'AnghaBench/h2o/lib/extr_http1.c_on_continue_sent.c' source_filename = "AnghaBench/h2o/lib/extr_http1.c_on_continue_sent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @reqread_on_read = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @on_continue_sent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @on_continue_sent(ptr noundef %0, ptr noundef readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %1, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @close_connection(ptr noundef %3, i32 noundef 1) #2 br label %13 7: ; preds = %2 %8 = load i32, ptr @reqread_on_read, align 4, !tbaa !10 %9 = tail call i32 @h2o_socket_read_start(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %3, align 8, !tbaa !12 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = tail call i32 %11(ptr noundef nonnull %3) #2 br label %13 13: ; preds = %7, %5 ret void } declare i32 @close_connection(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h2o_socket_read_start(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"st_h2o_http1_conn_t", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/h2o/lib/extr_http1.c_on_continue_sent.c' source_filename = "AnghaBench/h2o/lib/extr_http1.c_on_continue_sent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @reqread_on_read = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @on_continue_sent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @on_continue_sent(ptr noundef %0, ptr noundef readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %1, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @close_connection(ptr noundef %3, i32 noundef 1) #2 br label %13 7: ; preds = %2 %8 = load i32, ptr @reqread_on_read, align 4, !tbaa !11 %9 = tail call i32 @h2o_socket_read_start(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %3, align 8, !tbaa !13 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = tail call i32 %11(ptr noundef nonnull %3) #2 br label %13 13: ; preds = %7, %5 ret void } declare i32 @close_connection(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h2o_socket_read_start(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"st_h2o_http1_conn_t", !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_5__", !8, i64 0}
h2o_lib_extr_http1.c_on_continue_sent
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-ppc.c_ppc64_elf_action_discarded.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-ppc.c_ppc64_elf_action_discarded.c" target datalayout = "e-m:e-p270:32:32-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 } @.str = private unnamed_addr constant [5 x i8] c".opd\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".toc\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c".toc1\00", align 1 @SEC_RELOC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ppc64_elf_action_discarded], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ppc64_elf_action_discarded(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i64 @strcmp(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %21, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4, !tbaa !5 %8 = tail call i64 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %21, label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = tail call i64 @strcmp(ptr noundef nonnull @.str.2, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %21, label %14 14: ; preds = %10 %15 = load i32, ptr %0, align 4, !tbaa !10 %16 = load i32, ptr @SEC_RELOC, align 4, !tbaa !11 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = tail call i32 @_bfd_elf_default_action_discarded(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %14, %10, %6, %1, %19 %22 = phi i32 [ %20, %19 ], [ 0, %1 ], [ 0, %6 ], [ 0, %10 ], [ 0, %14 ] ret i32 %22 } declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_bfd_elf_default_action_discarded(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_4__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-ppc.c_ppc64_elf_action_discarded.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-ppc.c_ppc64_elf_action_discarded.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c".opd\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".toc\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c".toc1\00", align 1 @SEC_RELOC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ppc64_elf_action_discarded], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ppc64_elf_action_discarded(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i64 @strcmp(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %21, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4, !tbaa !6 %8 = tail call i64 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %21, label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = tail call i64 @strcmp(ptr noundef nonnull @.str.2, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %21, label %14 14: ; preds = %10 %15 = load i32, ptr %0, align 4, !tbaa !11 %16 = load i32, ptr @SEC_RELOC, align 4, !tbaa !12 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = tail call i32 @_bfd_elf_default_action_discarded(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %14, %10, %6, %1, %19 %22 = phi i32 [ %20, %19 ], [ 0, %1 ], [ 0, %6 ], [ 0, %10 ], [ 0, %14 ] ret i32 %22 } declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_bfd_elf_default_action_discarded(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_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0}
freebsd_contrib_binutils_bfd_extr_elf64-ppc.c_ppc64_elf_action_discarded
; ModuleID = 'AnghaBench/linux/drivers/staging/fbtft/extr_fbtft-sysfs.c_fbtft_expand_debug_value.c' source_filename = "AnghaBench/linux/drivers/staging/fbtft/extr_fbtft-sysfs.c_fbtft_expand_debug_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" @DEBUG_LEVEL_1 = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_2 = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_3 = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_4 = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_5 = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_6 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @fbtft_expand_debug_value(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = and i64 %2, 7 switch i64 %3, label %24 [ i64 1, label %4 i64 2, label %7 i64 3, label %10 i64 4, label %13 i64 5, label %16 i64 6, label %19 i64 7, label %22 ] 4: ; preds = %1 %5 = load i64, ptr @DEBUG_LEVEL_1, align 8, !tbaa !5 %6 = or i64 %5, %2 br label %22 7: ; preds = %1 %8 = load i64, ptr @DEBUG_LEVEL_2, align 8, !tbaa !5 %9 = or i64 %8, %2 br label %22 10: ; preds = %1 %11 = load i64, ptr @DEBUG_LEVEL_3, align 8, !tbaa !5 %12 = or i64 %11, %2 br label %22 13: ; preds = %1 %14 = load i64, ptr @DEBUG_LEVEL_4, align 8, !tbaa !5 %15 = or i64 %14, %2 br label %22 16: ; preds = %1 %17 = load i64, ptr @DEBUG_LEVEL_5, align 8, !tbaa !5 %18 = or i64 %17, %2 br label %22 19: ; preds = %1 %20 = load i64, ptr @DEBUG_LEVEL_6, align 8, !tbaa !5 %21 = or i64 %20, %2 br label %22 22: ; preds = %1, %4, %7, %10, %13, %16, %19 %23 = phi i64 [ %21, %19 ], [ %18, %16 ], [ %15, %13 ], [ %12, %10 ], [ %9, %7 ], [ %6, %4 ], [ 4294967295, %1 ] store i64 %23, ptr %0, align 8, !tbaa !5 br label %24 24: ; preds = %22, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/fbtft/extr_fbtft-sysfs.c_fbtft_expand_debug_value.c' source_filename = "AnghaBench/linux/drivers/staging/fbtft/extr_fbtft-sysfs.c_fbtft_expand_debug_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEBUG_LEVEL_1 = common local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_2 = common local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_3 = common local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_4 = common local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_5 = common local_unnamed_addr global i64 0, align 8 @DEBUG_LEVEL_6 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @fbtft_expand_debug_value(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = and i64 %2, 7 switch i64 %3, label %22 [ i64 1, label %4 i64 2, label %7 i64 3, label %10 i64 4, label %13 i64 5, label %16 i64 6, label %19 i64 7, label %23 i64 0, label %25 ] 4: ; preds = %1 %5 = load i64, ptr @DEBUG_LEVEL_1, align 8, !tbaa !6 %6 = or i64 %5, %2 br label %23 7: ; preds = %1 %8 = load i64, ptr @DEBUG_LEVEL_2, align 8, !tbaa !6 %9 = or i64 %8, %2 br label %23 10: ; preds = %1 %11 = load i64, ptr @DEBUG_LEVEL_3, align 8, !tbaa !6 %12 = or i64 %11, %2 br label %23 13: ; preds = %1 %14 = load i64, ptr @DEBUG_LEVEL_4, align 8, !tbaa !6 %15 = or i64 %14, %2 br label %23 16: ; preds = %1 %17 = load i64, ptr @DEBUG_LEVEL_5, align 8, !tbaa !6 %18 = or i64 %17, %2 br label %23 19: ; preds = %1 %20 = load i64, ptr @DEBUG_LEVEL_6, align 8, !tbaa !6 %21 = or i64 %20, %2 br label %23 22: ; preds = %1 unreachable 23: ; preds = %1, %4, %7, %10, %13, %16, %19 %24 = phi i64 [ %21, %19 ], [ %18, %16 ], [ %15, %13 ], [ %12, %10 ], [ %9, %7 ], [ %6, %4 ], [ 4294967295, %1 ] store i64 %24, ptr %0, align 8, !tbaa !6 br label %25 25: ; preds = %23, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_fbtft_extr_fbtft-sysfs.c_fbtft_expand_debug_value
; ModuleID = 'AnghaBench/linux/drivers/target/loopback/extr_tcm_loop.c_tcm_loop_check_prod_mode_write_protect.c' source_filename = "AnghaBench/linux/drivers/target/loopback/extr_tcm_loop.c_tcm_loop_check_prod_mode_write_protect.c" target datalayout = "e-m:e-p270:32:32-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 @tcm_loop_check_prod_mode_write_protect], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @tcm_loop_check_prod_mode_write_protect(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/linux/drivers/target/loopback/extr_tcm_loop.c_tcm_loop_check_prod_mode_write_protect.c' source_filename = "AnghaBench/linux/drivers/target/loopback/extr_tcm_loop.c_tcm_loop_check_prod_mode_write_protect.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 @tcm_loop_check_prod_mode_write_protect], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @tcm_loop_check_prod_mode_write_protect(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)"}
linux_drivers_target_loopback_extr_tcm_loop.c_tcm_loop_check_prod_mode_write_protect
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_stts.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_stts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @MP4_FreeBox_stts], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @MP4_FreeBox_stts(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = tail call i32 @free(i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = tail call i32 @free(i32 noundef %7) #2 ret void } declare i32 @free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_stts.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_stts.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 @MP4_FreeBox_stts], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @MP4_FreeBox_stts(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @free(i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr %6, align 4, !tbaa !15 %8 = tail call i32 @free(i32 noundef %7) #2 ret void } declare i32 @free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 4} !13 = !{!"TYPE_5__", !14, i64 0, !14, i64 4} !14 = !{!"int", !10, i64 0} !15 = !{!13, !14, i64 0}
vlc_modules_demux_mp4_extr_libmp4.c_MP4_FreeBox_stts
; ModuleID = 'AnghaBench/git/extr_read-cache.c_write_locked_index.c' source_filename = "AnghaBench/git/extr_read-cache.c_write_locked_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.index_state = type { i32, i64, ptr } @.str = private unnamed_addr constant [26 x i8] c"GIT_TEST_CHECK_CACHE_TREE\00", align 1 @the_repository = dso_local local_unnamed_addr global i32 0, align 4 @SKIP_IF_UNCHANGED = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @alternate_index_output = dso_local local_unnamed_addr global i64 0, align 8 @EXTMASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"GIT_TEST_SPLIT_INDEX\00", align 1 @SPLIT_INDEX_ORDERED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"sharedindex_XXXXXX\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"sharedindex.%s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @write_locked_index(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds %struct.index_state, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = tail call i64 @git_env_bool(ptr noundef nonnull @.str, i32 noundef 0) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @the_repository, align 4, !tbaa !12 %11 = tail call i32 @cache_tree_verify(i32 noundef %10, ptr noundef nonnull %0) #3 br label %12 12: ; preds = %9, %3 %13 = load i32, ptr @SKIP_IF_UNCHANGED, align 4, !tbaa !12 %14 = and i32 %13, %2 %15 = icmp eq i32 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 8, !tbaa !13 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %16 %20 = load i32, ptr @COMMIT_LOCK, align 4, !tbaa !12 %21 = and i32 %20, %2 %22 = icmp eq i32 %21, 0 br i1 %22, label %109, label %23 23: ; preds = %19 %24 = tail call i32 @rollback_lock_file(ptr noundef %1) #3 br label %109 25: ; preds = %16, %12 %26 = getelementptr inbounds %struct.index_state, ptr %0, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @fill_fsmonitor_bitmap(ptr noundef nonnull %0) #3 br label %31 31: ; preds = %29, %25 %32 = icmp eq ptr %6, null %33 = load i64, ptr @alternate_index_output, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 true, i1 %34 br i1 %35, label %42, label %36 36: ; preds = %31 %37 = load i32, ptr %0, align 8, !tbaa !13 %38 = load i32, ptr @EXTMASK, align 4, !tbaa !12 %39 = xor i32 %38, -1 %40 = and i32 %37, %39 %41 = icmp eq i32 %40, 0 br i1 %41, label %47, label %43 42: ; preds = %31 br i1 %32, label %45, label %43 43: ; preds = %36, %42 %44 = tail call i32 @oidclr(ptr noundef nonnull %6) #3 br label %45 45: ; preds = %43, %42 %46 = tail call i32 @do_write_locked_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 br label %102 47: ; preds = %36 %48 = tail call i64 @git_env_bool(ptr noundef nonnull @.str.1, i32 noundef 0) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %59, label %50 50: ; preds = %47 %51 = load ptr, ptr %6, align 8, !tbaa !15 %52 = load i32, ptr %51, align 4, !tbaa !12 %53 = and i32 %52, 14 %54 = icmp ult i32 %53, 6 br i1 %54, label %55, label %59 55: ; preds = %50 %56 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !12 %57 = load i32, ptr %0, align 8, !tbaa !13 %58 = or i32 %57, %56 store i32 %58, ptr %0, align 8, !tbaa !13 br label %59 59: ; preds = %50, %55, %47 %60 = tail call i64 @too_many_not_shared_entries(ptr noundef nonnull %0) #3 %61 = icmp eq i64 %60, 0 %62 = load i32, ptr %0, align 8, !tbaa !13 br i1 %61, label %66, label %63 63: ; preds = %59 %64 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !12 %65 = or i32 %62, %64 store i32 %65, ptr %0, align 8, !tbaa !13 br label %66 66: ; preds = %63, %59 %67 = phi i32 [ %65, %63 ], [ %62, %59 ] %68 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !12 %69 = and i32 %68, %67 %70 = icmp eq i32 %69, 0 br i1 %70, label %91, label %71 71: ; preds = %66 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %72 = tail call ptr (ptr, ...) @git_path(ptr noundef nonnull @.str.2) #3 %73 = tail call ptr @mks_tempfile_sm(ptr noundef %72, i32 noundef 0, i32 noundef 438) #3 store ptr %73, ptr %4, align 8, !tbaa !18 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %71 %76 = tail call i32 @oidclr(ptr noundef nonnull %6) #3 %77 = tail call i32 @do_write_locked_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 br label %88 78: ; preds = %71 %79 = call i32 @write_shared_index(ptr noundef nonnull %0, ptr noundef nonnull %4) #3 %80 = load i32, ptr @errno, align 4, !tbaa !12 %81 = load ptr, ptr %4, align 8, !tbaa !18 %82 = call i64 @is_tempfile_active(ptr noundef %81) #3 %83 = icmp eq i64 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %78 %85 = call i32 @delete_tempfile(ptr noundef nonnull %4) #3 br label %86 86: ; preds = %84, %78 store i32 %80, ptr @errno, align 4, !tbaa !12 %87 = icmp eq i32 %79, 0 br i1 %87, label %90, label %88 88: ; preds = %75, %86 %89 = phi i32 [ %79, %86 ], [ %77, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %102 90: ; preds = %86 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %91 91: ; preds = %90, %66 %92 = call i32 @write_split_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 %93 = or i32 %92, %69 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %91 %96 = call i32 @is_null_oid(ptr noundef nonnull %6) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %95 %99 = call i32 @oid_to_hex(ptr noundef nonnull %6) #3 %100 = call ptr (ptr, ...) @git_path(ptr noundef nonnull @.str.3, i32 noundef %99) #3 %101 = call i32 @freshen_shared_index(ptr noundef %100, i32 noundef 1) #3 br label %102 102: ; preds = %88, %91, %95, %98, %45 %103 = phi i32 [ %46, %45 ], [ %92, %91 ], [ 0, %95 ], [ 0, %98 ], [ %89, %88 ] %104 = load i32, ptr @COMMIT_LOCK, align 4, !tbaa !12 %105 = and i32 %104, %2 %106 = icmp eq i32 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %102 %108 = call i32 @rollback_lock_file(ptr noundef %1) #3 br label %109 109: ; preds = %102, %107, %19, %23 %110 = phi i32 [ 0, %23 ], [ 0, %19 ], [ %103, %107 ], [ %103, %102 ] ret i32 %110 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @git_env_bool(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cache_tree_verify(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rollback_lock_file(ptr noundef) local_unnamed_addr #2 declare i32 @fill_fsmonitor_bitmap(ptr noundef) local_unnamed_addr #2 declare i32 @oidclr(ptr noundef) local_unnamed_addr #2 declare i32 @do_write_locked_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @too_many_not_shared_entries(ptr noundef) local_unnamed_addr #2 declare ptr @mks_tempfile_sm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @git_path(ptr noundef, ...) local_unnamed_addr #2 declare i32 @write_shared_index(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @is_tempfile_active(ptr noundef) local_unnamed_addr #2 declare i32 @delete_tempfile(ptr noundef) local_unnamed_addr #2 declare i32 @write_split_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @is_null_oid(ptr noundef) local_unnamed_addr #2 declare i32 @oid_to_hex(ptr noundef) local_unnamed_addr #2 declare i32 @freshen_shared_index(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"index_state", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !11, i64 0} !16 = !{!"split_index", !17, i64 0} !17 = !{!"TYPE_4__", !11, i64 0} !18 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/git/extr_read-cache.c_write_locked_index.c' source_filename = "AnghaBench/git/extr_read-cache.c_write_locked_index.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 [26 x i8] c"GIT_TEST_CHECK_CACHE_TREE\00", align 1 @the_repository = common local_unnamed_addr global i32 0, align 4 @SKIP_IF_UNCHANGED = common local_unnamed_addr global i32 0, align 4 @COMMIT_LOCK = common local_unnamed_addr global i32 0, align 4 @alternate_index_output = common local_unnamed_addr global i64 0, align 8 @EXTMASK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"GIT_TEST_SPLIT_INDEX\00", align 1 @SPLIT_INDEX_ORDERED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"sharedindex_XXXXXX\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"sharedindex.%s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @write_locked_index(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = tail call i64 @git_env_bool(ptr noundef nonnull @.str, i32 noundef 0) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @the_repository, align 4, !tbaa !13 %11 = tail call i32 @cache_tree_verify(i32 noundef %10, ptr noundef nonnull %0) #3 br label %12 12: ; preds = %9, %3 %13 = load i32, ptr @SKIP_IF_UNCHANGED, align 4, !tbaa !13 %14 = and i32 %13, %2 %15 = icmp eq i32 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 8, !tbaa !14 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %16 %20 = load i32, ptr @COMMIT_LOCK, align 4, !tbaa !13 %21 = and i32 %20, %2 %22 = icmp eq i32 %21, 0 br i1 %22, label %109, label %23 23: ; preds = %19 %24 = tail call i32 @rollback_lock_file(ptr noundef %1) #3 br label %109 25: ; preds = %16, %12 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @fill_fsmonitor_bitmap(ptr noundef nonnull %0) #3 br label %31 31: ; preds = %29, %25 %32 = icmp eq ptr %6, null %33 = load i64, ptr @alternate_index_output, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 true, i1 %34 br i1 %35, label %42, label %36 36: ; preds = %31 %37 = load i32, ptr %0, align 8, !tbaa !14 %38 = load i32, ptr @EXTMASK, align 4, !tbaa !13 %39 = xor i32 %38, -1 %40 = and i32 %37, %39 %41 = icmp eq i32 %40, 0 br i1 %41, label %47, label %43 42: ; preds = %31 br i1 %32, label %45, label %43 43: ; preds = %36, %42 %44 = tail call i32 @oidclr(ptr noundef nonnull %6) #3 br label %45 45: ; preds = %43, %42 %46 = tail call i32 @do_write_locked_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 br label %102 47: ; preds = %36 %48 = tail call i64 @git_env_bool(ptr noundef nonnull @.str.1, i32 noundef 0) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %59, label %50 50: ; preds = %47 %51 = load ptr, ptr %6, align 8, !tbaa !16 %52 = load i32, ptr %51, align 4, !tbaa !13 %53 = and i32 %52, 14 %54 = icmp ult i32 %53, 6 br i1 %54, label %55, label %59 55: ; preds = %50 %56 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !13 %57 = load i32, ptr %0, align 8, !tbaa !14 %58 = or i32 %57, %56 store i32 %58, ptr %0, align 8, !tbaa !14 br label %59 59: ; preds = %50, %55, %47 %60 = tail call i64 @too_many_not_shared_entries(ptr noundef nonnull %0) #3 %61 = icmp eq i64 %60, 0 %62 = load i32, ptr %0, align 8, !tbaa !14 br i1 %61, label %66, label %63 63: ; preds = %59 %64 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !13 %65 = or i32 %62, %64 store i32 %65, ptr %0, align 8, !tbaa !14 br label %66 66: ; preds = %63, %59 %67 = phi i32 [ %65, %63 ], [ %62, %59 ] %68 = load i32, ptr @SPLIT_INDEX_ORDERED, align 4, !tbaa !13 %69 = and i32 %68, %67 %70 = icmp eq i32 %69, 0 br i1 %70, label %91, label %71 71: ; preds = %66 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %72 = tail call ptr (ptr, ...) @git_path(ptr noundef nonnull @.str.2) #3 %73 = tail call ptr @mks_tempfile_sm(ptr noundef %72, i32 noundef 0, i32 noundef 438) #3 store ptr %73, ptr %4, align 8, !tbaa !19 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %71 %76 = tail call i32 @oidclr(ptr noundef nonnull %6) #3 %77 = tail call i32 @do_write_locked_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 br label %88 78: ; preds = %71 %79 = call i32 @write_shared_index(ptr noundef nonnull %0, ptr noundef nonnull %4) #3 %80 = load i32, ptr @errno, align 4, !tbaa !13 %81 = load ptr, ptr %4, align 8, !tbaa !19 %82 = call i64 @is_tempfile_active(ptr noundef %81) #3 %83 = icmp eq i64 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %78 %85 = call i32 @delete_tempfile(ptr noundef nonnull %4) #3 br label %86 86: ; preds = %84, %78 store i32 %80, ptr @errno, align 4, !tbaa !13 %87 = icmp eq i32 %79, 0 br i1 %87, label %90, label %88 88: ; preds = %75, %86 %89 = phi i32 [ %79, %86 ], [ %77, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %102 90: ; preds = %86 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %91 91: ; preds = %90, %66 %92 = call i32 @write_split_index(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #3 %93 = or i32 %92, %69 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %91 %96 = call i32 @is_null_oid(ptr noundef nonnull %6) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %95 %99 = call i32 @oid_to_hex(ptr noundef nonnull %6) #3 %100 = call ptr (ptr, ...) @git_path(ptr noundef nonnull @.str.3, i32 noundef %99) #3 %101 = call i32 @freshen_shared_index(ptr noundef %100, i32 noundef 1) #3 br label %102 102: ; preds = %88, %91, %95, %98, %45 %103 = phi i32 [ %46, %45 ], [ %92, %91 ], [ 0, %95 ], [ 0, %98 ], [ %89, %88 ] %104 = load i32, ptr @COMMIT_LOCK, align 4, !tbaa !13 %105 = and i32 %104, %2 %106 = icmp eq i32 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %102 %108 = call i32 @rollback_lock_file(ptr noundef %1) #3 br label %109 109: ; preds = %102, %107, %19, %23 %110 = phi i32 [ 0, %23 ], [ 0, %19 ], [ %103, %107 ], [ %103, %102 ] ret i32 %110 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @git_env_bool(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cache_tree_verify(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rollback_lock_file(ptr noundef) local_unnamed_addr #2 declare i32 @fill_fsmonitor_bitmap(ptr noundef) local_unnamed_addr #2 declare i32 @oidclr(ptr noundef) local_unnamed_addr #2 declare i32 @do_write_locked_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @too_many_not_shared_entries(ptr noundef) local_unnamed_addr #2 declare ptr @mks_tempfile_sm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @git_path(ptr noundef, ...) local_unnamed_addr #2 declare i32 @write_shared_index(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @is_tempfile_active(ptr noundef) local_unnamed_addr #2 declare i32 @delete_tempfile(ptr noundef) local_unnamed_addr #2 declare i32 @write_split_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @is_null_oid(ptr noundef) local_unnamed_addr #2 declare i32 @oid_to_hex(ptr noundef) local_unnamed_addr #2 declare i32 @freshen_shared_index(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"index_state", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !12, i64 0} !17 = !{!"split_index", !18, i64 0} !18 = !{!"TYPE_4__", !12, i64 0} !19 = !{!12, !12, i64 0}
git_extr_read-cache.c_write_locked_index
; ModuleID = 'AnghaBench/kphp-kdb/cache/extr_cache-data.c_cache_convert.c' source_filename = "AnghaBench/kphp-kdb/cache/extr_cache-data.c_cache_convert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.cache_packed_local_copy_location = type { i32 } %struct.TYPE_5__ = type { i32, i32 } @LC = dso_local local_unnamed_addr global ptr null, align 8 @CACHE_MAX_LOCAL_COPIES = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"cache_convert: cache_local_copy_unpack failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"cache_local_copy_get_flags returns %d.\0A\00", align 1 @CACHE_LOCAL_COPY_FLAG_INT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [55 x i8] c"cache_convert: output buffer is too small (%d bytes).\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cache_convert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cache_convert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %union.cache_packed_local_copy_location, align 4 %5 = load ptr, ptr @LC, align 8, !tbaa !5 %6 = load i32, ptr @CACHE_MAX_LOCAL_COPIES, align 4, !tbaa !9 %7 = tail call i32 @cache_local_copy_unpack(ptr noundef %0, ptr noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef null) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = icmp eq i32 %7, 0 br i1 %10, label %66, label %11 11: ; preds = %9 %12 = zext nneg i32 %7 to i64 br label %15 13: ; preds = %3 %14 = tail call i32 (i32, ptr, ...) @vkprintf(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %66 15: ; preds = %11, %34 %16 = phi i64 [ 0, %11 ], [ %36, %34 ] %17 = phi i32 [ 0, %11 ], [ %35, %34 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %18 = load ptr, ptr @LC, align 8, !tbaa !5 %19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i64 %16 %20 = call i32 @cache_local_copy_get_flags(ptr noundef %19, ptr noundef nonnull %4) #3 %21 = call i32 (i32, ptr, ...) @vkprintf(i32 noundef 4, ptr noundef nonnull @.str.1, i32 noundef %20) #3 %22 = icmp eq i32 %20, 1 br i1 %22, label %23, label %34 23: ; preds = %15 %24 = zext i32 %17 to i64 %25 = icmp eq i64 %16, %24 br i1 %25, label %32, label %26 26: ; preds = %23 %27 = load ptr, ptr @LC, align 8, !tbaa !5 %28 = sext i32 %17 to i64 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %28 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %16 %31 = load i64, ptr %30, align 4 store i64 %31, ptr %29, align 4 br label %32 32: ; preds = %26, %23 %33 = add nsw i32 %17, 1 br label %34 34: ; preds = %15, %32 %35 = phi i32 [ %33, %32 ], [ %17, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %36 = add nuw nsw i64 %16, 1 %37 = icmp eq i64 %36, %12 br i1 %37, label %38, label %15, !llvm.loop !11 38: ; preds = %34 %39 = icmp eq i32 %35, 0 br i1 %39, label %66, label %40 40: ; preds = %38 %41 = call i32 (...) @lrand48() #3 %42 = srem i32 %41, %35 %43 = load ptr, ptr @LC, align 8, !tbaa !5 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds %struct.TYPE_5__, ptr %43, i64 %44 %46 = load i32, ptr %45, align 4, !tbaa !13 %47 = load i32, ptr @CACHE_LOCAL_COPY_FLAG_INT, align 4, !tbaa !9 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %40 %51 = call i32 @cache_local_copy_unpack_location(ptr noundef %0, ptr noundef nonnull %45) #3 %52 = load ptr, ptr @LC, align 8, !tbaa !5 br label %53 53: ; preds = %50, %40 %54 = phi ptr [ %52, %50 ], [ %43, %40 ] %55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i64 %44, i32 1 %56 = load i32, ptr %55, align 4, !tbaa !15 %57 = call i32 @strlen(i32 noundef %56) #3 %58 = icmp slt i32 %57, %2 br i1 %58, label %61, label %59 59: ; preds = %53 %60 = call i32 (i32, ptr, ...) @vkprintf(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %2) #3 br label %66 61: ; preds = %53 %62 = load ptr, ptr @LC, align 8, !tbaa !5 %63 = getelementptr inbounds %struct.TYPE_5__, ptr %62, i64 %44, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !15 %65 = call i32 @strcpy(ptr noundef %1, i32 noundef %64) #3 br label %66 66: ; preds = %9, %38, %61, %59, %13 %67 = phi i32 [ -1, %13 ], [ 0, %38 ], [ -1, %59 ], [ 1, %61 ], [ 0, %9 ] ret i32 %67 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cache_local_copy_unpack(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vkprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @cache_local_copy_get_flags(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @lrand48(...) local_unnamed_addr #2 declare i32 @cache_local_copy_unpack_location(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare i32 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_5__", !10, i64 0, !10, i64 4} !15 = !{!14, !10, i64 4}
; ModuleID = 'AnghaBench/kphp-kdb/cache/extr_cache-data.c_cache_convert.c' source_filename = "AnghaBench/kphp-kdb/cache/extr_cache-data.c_cache_convert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.cache_packed_local_copy_location = type { i32 } %struct.TYPE_5__ = type { i32, i32 } @LC = common local_unnamed_addr global ptr null, align 8 @CACHE_MAX_LOCAL_COPIES = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"cache_convert: cache_local_copy_unpack failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"cache_local_copy_get_flags returns %d.\0A\00", align 1 @CACHE_LOCAL_COPY_FLAG_INT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [55 x i8] c"cache_convert: output buffer is too small (%d bytes).\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cache_convert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 2) i32 @cache_convert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %union.cache_packed_local_copy_location, align 4 %5 = load ptr, ptr @LC, align 8, !tbaa !6 %6 = load i32, ptr @CACHE_MAX_LOCAL_COPIES, align 4, !tbaa !10 %7 = tail call i32 @cache_local_copy_unpack(ptr noundef %0, ptr noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef null) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = icmp eq i32 %7, 0 br i1 %10, label %66, label %11 11: ; preds = %9 %12 = zext nneg i32 %7 to i64 br label %15 13: ; preds = %3 %14 = tail call i32 (i32, ptr, ...) @vkprintf(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %66 15: ; preds = %11, %34 %16 = phi i64 [ 0, %11 ], [ %36, %34 ] %17 = phi i32 [ 0, %11 ], [ %35, %34 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %18 = load ptr, ptr @LC, align 8, !tbaa !6 %19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i64 %16 %20 = call i32 @cache_local_copy_get_flags(ptr noundef %19, ptr noundef nonnull %4) #3 %21 = call i32 (i32, ptr, ...) @vkprintf(i32 noundef 4, ptr noundef nonnull @.str.1, i32 noundef %20) #3 %22 = icmp eq i32 %20, 1 br i1 %22, label %23, label %34 23: ; preds = %15 %24 = zext i32 %17 to i64 %25 = icmp eq i64 %16, %24 br i1 %25, label %32, label %26 26: ; preds = %23 %27 = load ptr, ptr @LC, align 8, !tbaa !6 %28 = sext i32 %17 to i64 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %28 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %16 %31 = load i64, ptr %30, align 4 store i64 %31, ptr %29, align 4 br label %32 32: ; preds = %26, %23 %33 = add nsw i32 %17, 1 br label %34 34: ; preds = %15, %32 %35 = phi i32 [ %33, %32 ], [ %17, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %36 = add nuw nsw i64 %16, 1 %37 = icmp eq i64 %36, %12 br i1 %37, label %38, label %15, !llvm.loop !12 38: ; preds = %34 %39 = icmp eq i32 %35, 0 br i1 %39, label %66, label %40 40: ; preds = %38 %41 = call i32 @lrand48() #3 %42 = srem i32 %41, %35 %43 = load ptr, ptr @LC, align 8, !tbaa !6 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds %struct.TYPE_5__, ptr %43, i64 %44 %46 = load i32, ptr %45, align 4, !tbaa !14 %47 = load i32, ptr @CACHE_LOCAL_COPY_FLAG_INT, align 4, !tbaa !10 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %40 %51 = call i32 @cache_local_copy_unpack_location(ptr noundef %0, ptr noundef nonnull %45) #3 %52 = load ptr, ptr @LC, align 8, !tbaa !6 br label %53 53: ; preds = %50, %40 %54 = phi ptr [ %52, %50 ], [ %43, %40 ] %55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i64 %44, i32 1 %56 = load i32, ptr %55, align 4, !tbaa !16 %57 = call i32 @strlen(i32 noundef %56) #3 %58 = icmp slt i32 %57, %2 br i1 %58, label %61, label %59 59: ; preds = %53 %60 = call i32 (i32, ptr, ...) @vkprintf(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %2) #3 br label %66 61: ; preds = %53 %62 = load ptr, ptr @LC, align 8, !tbaa !6 %63 = getelementptr inbounds %struct.TYPE_5__, ptr %62, i64 %44, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !16 %65 = call i32 @strcpy(ptr noundef %1, i32 noundef %64) #3 br label %66 66: ; preds = %9, %38, %61, %59, %13 %67 = phi i32 [ -1, %13 ], [ 0, %38 ], [ -1, %59 ], [ 1, %61 ], [ 0, %9 ] ret i32 %67 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cache_local_copy_unpack(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vkprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @cache_local_copy_get_flags(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @lrand48(...) local_unnamed_addr #2 declare i32 @cache_local_copy_unpack_location(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare i32 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_5__", !11, i64 0, !11, i64 4} !16 = !{!15, !11, i64 4}
kphp-kdb_cache_extr_cache-data.c_cache_convert
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_core.c___tape_wake_up.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_core.c___tape_wake_up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @__tape_wake_up], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__tape_wake_up(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { store ptr null, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @wake_up(ptr noundef %1) #2 ret void } declare i32 @wake_up(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 = !{!"tape_request", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_core.c___tape_wake_up.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_core.c___tape_wake_up.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 @__tape_wake_up], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__tape_wake_up(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { store ptr null, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @wake_up(ptr noundef %1) #2 ret void } declare i32 @wake_up(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 = !{!"tape_request", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_s390_char_extr_tape_core.c___tape_wake_up
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cbin.c_bin_no_resources.c' source_filename = "AnghaBench/radare2/libr/core/extr_cbin.c_bin_no_resources.c" target datalayout = "e-m:e-p270:32:32-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"[]\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bin_no_resources], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bin_no_resources(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i64 @IS_MODE_JSON(i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @r_cons_printf(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %2 ret void } declare i64 @IS_MODE_JSON(i32 noundef) local_unnamed_addr #1 declare i32 @r_cons_printf(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cbin.c_bin_no_resources.c' source_filename = "AnghaBench/radare2/libr/core/extr_cbin.c_bin_no_resources.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"[]\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bin_no_resources], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bin_no_resources(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i64 @IS_MODE_JSON(i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @r_cons_printf(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %2 ret void } declare i64 @IS_MODE_JSON(i32 noundef) local_unnamed_addr #1 declare i32 @r_cons_printf(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
radare2_libr_core_extr_cbin.c_bin_no_resources
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00leds.c_rt2x00leds_register_led.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00leds.c_rt2x00leds_register_led.c" target datalayout = "e-m:e-p270:32:32-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.rt2x00_led = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i32 } @LED_OFF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Failed to register led handler\0A\00", align 1 @LED_REGISTERED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2x00leds_register_led], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt2x00leds_register_led(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call ptr @wiphy_dev(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.rt2x00_led, ptr %1, i64 0, i32 1 store ptr %2, ptr %7, align 8, !tbaa !13 %8 = load i32, ptr @LED_OFF, align 4, !tbaa !16 %9 = getelementptr inbounds %struct.rt2x00_led, ptr %1, i64 0, i32 1, i32 1 store i32 %8, ptr %9, align 8, !tbaa !17 %10 = tail call i32 @led_classdev_register(ptr noundef %6, ptr noundef nonnull %7) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = tail call i32 @rt2x00_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %18 14: ; preds = %3 %15 = load i32, ptr @LED_REGISTERED, align 4, !tbaa !16 %16 = load i32, ptr %1, align 8, !tbaa !18 %17 = or i32 %16, %15 store i32 %17, ptr %1, align 8, !tbaa !18 br label %18 18: ; preds = %14, %12 ret i32 %10 } declare ptr @wiphy_dev(i32 noundef) local_unnamed_addr #1 declare i32 @led_classdev_register(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt2x00_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rt2x00_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"rt2x00_led", !12, i64 0, !15, i64 8} !15 = !{!"TYPE_4__", !7, i64 0, !12, i64 8} !16 = !{!12, !12, i64 0} !17 = !{!14, !12, i64 16} !18 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00leds.c_rt2x00leds_register_led.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00leds.c_rt2x00leds_register_led.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LED_OFF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Failed to register led handler\0A\00", align 1 @LED_REGISTERED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2x00leds_register_led], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rt2x00leds_register_led(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = tail call ptr @wiphy_dev(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %2, ptr %7, align 8, !tbaa !14 %8 = load i32, ptr @LED_OFF, align 4, !tbaa !17 %9 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %8, ptr %9, align 8, !tbaa !18 %10 = tail call i32 @led_classdev_register(ptr noundef %6, ptr noundef nonnull %7) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = tail call i32 @rt2x00_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %18 14: ; preds = %3 %15 = load i32, ptr @LED_REGISTERED, align 4, !tbaa !17 %16 = load i32, ptr %1, align 8, !tbaa !19 %17 = or i32 %16, %15 store i32 %17, ptr %1, align 8, !tbaa !19 br label %18 18: ; preds = %14, %12 ret i32 %10 } declare ptr @wiphy_dev(i32 noundef) local_unnamed_addr #1 declare i32 @led_classdev_register(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt2x00_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rt2x00_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"rt2x00_led", !13, i64 0, !16, i64 8} !16 = !{!"TYPE_4__", !8, i64 0, !13, i64 8} !17 = !{!13, !13, i64 0} !18 = !{!15, !13, i64 16} !19 = !{!15, !13, i64 0}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2x00leds.c_rt2x00leds_register_led
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_2_BCOLOR_OFFSET.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_2_BCOLOR_OFFSET.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A5XX_TEX_SAMP_2_BCOLOR_OFFSET(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_2_BCOLOR_OFFSET.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_2_BCOLOR_OFFSET.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT = common local_unnamed_addr global i32 0, align 4 @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A5XX_TEX_SAMP_2_BCOLOR_OFFSET(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_TEX_SAMP_2_BCOLOR_OFFSET
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_mirred.c_tcf_mirred_search.c' source_filename = "AnghaBench/linux/net/sched/extr_act_mirred.c_tcf_mirred_search.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mirred_net_id = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcf_mirred_search], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcf_mirred_search(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @mirred_net_id, align 4, !tbaa !5 %5 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %4) #2 %6 = tail call i32 @tcf_idr_search(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tcf_idr_search(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_mirred.c_tcf_mirred_search.c' source_filename = "AnghaBench/linux/net/sched/extr_act_mirred.c_tcf_mirred_search.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mirred_net_id = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tcf_mirred_search], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcf_mirred_search(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @mirred_net_id, align 4, !tbaa !6 %5 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %4) #2 %6 = tail call i32 @tcf_idr_search(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tcf_idr_search(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_sched_extr_act_mirred.c_tcf_mirred_search
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_pfunc_core.c___pmf_put_function.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_pfunc_core.c___pmf_put_function.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pmf_release_function = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__pmf_put_function], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__pmf_put_function(ptr noundef %0) #0 { %2 = load i32, ptr @pmf_release_function, align 4, !tbaa !5 %3 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_pfunc_core.c___pmf_put_function.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_pfunc_core.c___pmf_put_function.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pmf_release_function = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__pmf_put_function], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__pmf_put_function(ptr noundef %0) #0 { %2 = load i32, ptr @pmf_release_function, align 4, !tbaa !6 %3 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_powerpc_platforms_powermac_extr_pfunc_core.c___pmf_put_function
; ModuleID = 'AnghaBench/Cinder/src/freetype/autofit/extr_afshaper.c_af_shaper_buf_create.c' source_filename = "AnghaBench/Cinder/src/freetype/autofit/extr_afshaper.c_af_shaper_buf_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noalias ptr @af_shaper_buf_create(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 @FT_MEM_ALLOC(ptr noundef undef, i32 noundef 4) #2 ret ptr undef } declare i32 @FT_MEM_ALLOC(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/Cinder/src/freetype/autofit/extr_afshaper.c_af_shaper_buf_create.c' source_filename = "AnghaBench/Cinder/src/freetype/autofit/extr_afshaper.c_af_shaper_buf_create.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 noalias ptr @af_shaper_buf_create(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 @FT_MEM_ALLOC(ptr noundef undef, i32 noundef 4) #2 ret ptr undef } declare i32 @FT_MEM_ALLOC(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)"}
Cinder_src_freetype_autofit_extr_afshaper.c_af_shaper_buf_create
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_route.c_find_match.c' source_filename = "AnghaBench/linux/net/ipv6/extr_route.c_find_match.c" target datalayout = "e-m:e-p270:32:32-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.fib6_nh = type { i32, i32 } @RTNH_F_DEAD = dso_local local_unnamed_addr global i32 0, align 4 @RTNH_F_LINKDOWN = dso_local local_unnamed_addr global i32 0, align 4 @RT6_LOOKUP_F_IGNORE_LINKSTATE = dso_local local_unnamed_addr global i32 0, align 4 @RT6_NUD_FAIL_DO_RR = dso_local local_unnamed_addr global i32 0, align 4 @RT6_NUD_FAIL_HARD = dso_local local_unnamed_addr global i32 0, align 4 @RT6_LOOKUP_F_REACHABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_match], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @find_match(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) #0 { %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = load i32, ptr @RTNH_F_DEAD, align 4, !tbaa !10 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %44 11: ; preds = %6 %12 = getelementptr inbounds %struct.fib6_nh, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = tail call i64 @ip6_ignore_linkdown(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %11 %17 = load i32, ptr %0, align 4, !tbaa !5 %18 = load i32, ptr @RTNH_F_LINKDOWN, align 4, !tbaa !10 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load i32, ptr @RT6_LOOKUP_F_IGNORE_LINKSTATE, align 4, !tbaa !10 %23 = and i32 %22, %3 %24 = icmp eq i32 %23, 0 br i1 %24, label %44, label %25 25: ; preds = %21, %16, %11 %26 = tail call i32 @rt6_score_route(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 %27 = load i32, ptr @RT6_NUD_FAIL_DO_RR, align 4, !tbaa !10 %28 = icmp eq i32 %26, %27 br i1 %28, label %32, label %29 29: ; preds = %25 %30 = load i32, ptr @RT6_NUD_FAIL_HARD, align 4, !tbaa !10 %31 = icmp eq i32 %26, %30 br i1 %31, label %44, label %32 32: ; preds = %25, %29 %33 = phi i32 [ 0, %29 ], [ 1, %25 ] %34 = phi i32 [ %26, %29 ], [ 0, %25 ] %35 = load i32, ptr @RT6_LOOKUP_F_REACHABLE, align 4, !tbaa !10 %36 = and i32 %35, %3 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %32 %39 = tail call i32 @rt6_probe(ptr noundef nonnull %0) #2 br label %40 40: ; preds = %38, %32 %41 = load i32, ptr %4, align 4, !tbaa !10 %42 = icmp sgt i32 %34, %41 br i1 %42, label %43, label %44 43: ; preds = %40 store i32 %33, ptr %5, align 4, !tbaa !10 store i32 %34, ptr %4, align 4, !tbaa !10 br label %44 44: ; preds = %40, %43, %29, %21, %6 %45 = phi i32 [ 0, %6 ], [ 1, %43 ], [ 0, %40 ], [ 0, %29 ], [ 0, %21 ] ret i32 %45 } declare i64 @ip6_ignore_linkdown(i32 noundef) local_unnamed_addr #1 declare i32 @rt6_score_route(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt6_probe(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 = !{!"fib6_nh", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_route.c_find_match.c' source_filename = "AnghaBench/linux/net/ipv6/extr_route.c_find_match.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTNH_F_DEAD = common local_unnamed_addr global i32 0, align 4 @RTNH_F_LINKDOWN = common local_unnamed_addr global i32 0, align 4 @RT6_LOOKUP_F_IGNORE_LINKSTATE = common local_unnamed_addr global i32 0, align 4 @RT6_NUD_FAIL_DO_RR = common local_unnamed_addr global i32 0, align 4 @RT6_NUD_FAIL_HARD = common local_unnamed_addr global i32 0, align 4 @RT6_LOOKUP_F_REACHABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @find_match], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @find_match(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) #0 { %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = load i32, ptr @RTNH_F_DEAD, align 4, !tbaa !11 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %44 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = tail call i64 @ip6_ignore_linkdown(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %11 %17 = load i32, ptr %0, align 4, !tbaa !6 %18 = load i32, ptr @RTNH_F_LINKDOWN, align 4, !tbaa !11 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load i32, ptr @RT6_LOOKUP_F_IGNORE_LINKSTATE, align 4, !tbaa !11 %23 = and i32 %22, %3 %24 = icmp eq i32 %23, 0 br i1 %24, label %44, label %25 25: ; preds = %21, %16, %11 %26 = tail call i32 @rt6_score_route(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 %27 = load i32, ptr @RT6_NUD_FAIL_DO_RR, align 4, !tbaa !11 %28 = icmp eq i32 %26, %27 br i1 %28, label %32, label %29 29: ; preds = %25 %30 = load i32, ptr @RT6_NUD_FAIL_HARD, align 4, !tbaa !11 %31 = icmp eq i32 %26, %30 br i1 %31, label %44, label %32 32: ; preds = %25, %29 %33 = phi i32 [ 0, %29 ], [ 1, %25 ] %34 = phi i32 [ %26, %29 ], [ 0, %25 ] %35 = load i32, ptr @RT6_LOOKUP_F_REACHABLE, align 4, !tbaa !11 %36 = and i32 %35, %3 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %32 %39 = tail call i32 @rt6_probe(ptr noundef nonnull %0) #2 br label %40 40: ; preds = %38, %32 %41 = load i32, ptr %4, align 4, !tbaa !11 %42 = icmp sgt i32 %34, %41 br i1 %42, label %43, label %44 43: ; preds = %40 store i32 %33, ptr %5, align 4, !tbaa !11 store i32 %34, ptr %4, align 4, !tbaa !11 br label %44 44: ; preds = %40, %43, %29, %21, %6 %45 = phi i32 [ 0, %6 ], [ 1, %43 ], [ 0, %40 ], [ 0, %29 ], [ 0, %21 ] ret i32 %45 } declare i64 @ip6_ignore_linkdown(i32 noundef) local_unnamed_addr #1 declare i32 @rt6_score_route(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt6_probe(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 = !{!"fib6_nh", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
linux_net_ipv6_extr_route.c_find_match
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_8139cp.c_cp_rx_csum_ok.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_8139cp.c_cp_rx_csum_ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RxProtoTCP = dso_local local_unnamed_addr global i32 0, align 4 @TCPFail = dso_local local_unnamed_addr global i32 0, align 4 @RxProtoUDP = dso_local local_unnamed_addr global i32 0, align 4 @UDPFail = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cp_rx_csum_ok], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal noundef i32 @cp_rx_csum_ok(i32 noundef %0) #0 { %2 = lshr i32 %0, 16 %3 = and i32 %2, 3 %4 = load i32, ptr @RxProtoTCP, align 4, !tbaa !5 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr @TCPFail, align 4, !tbaa !5 %8 = and i32 %7, %0 %9 = icmp eq i32 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %6, %1 %11 = load i32, ptr @RxProtoUDP, align 4, !tbaa !5 %12 = icmp eq i32 %3, %11 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @UDPFail, align 4, !tbaa !5 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13, %10 br label %18 18: ; preds = %6, %13, %17 %19 = phi i32 [ 0, %17 ], [ 1, %13 ], [ 1, %6 ] ret i32 %19 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_8139cp.c_cp_rx_csum_ok.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_8139cp.c_cp_rx_csum_ok.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RxProtoTCP = common local_unnamed_addr global i32 0, align 4 @TCPFail = common local_unnamed_addr global i32 0, align 4 @RxProtoUDP = common local_unnamed_addr global i32 0, align 4 @UDPFail = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cp_rx_csum_ok], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @cp_rx_csum_ok(i32 noundef %0) #0 { %2 = lshr i32 %0, 16 %3 = and i32 %2, 3 %4 = load i32, ptr @RxProtoTCP, align 4, !tbaa !6 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr @TCPFail, align 4, !tbaa !6 %8 = and i32 %7, %0 %9 = icmp eq i32 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %6, %1 %11 = load i32, ptr @RxProtoUDP, align 4, !tbaa !6 %12 = icmp eq i32 %3, %11 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @UDPFail, align 4, !tbaa !6 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13, %10 br label %18 18: ; preds = %6, %13, %17 %19 = phi i32 [ 0, %17 ], [ 1, %13 ], [ 1, %6 ] ret i32 %19 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_realtek_extr_8139cp.c_cp_rx_csum_ok
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_24856.c_random_array.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_24856.c_random_array.c" target datalayout = "e-m:e-p270:32:32-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 @random_array(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = zext i32 %0 to i64 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %11, %6 ] %8 = tail call i32 (...) @rand() #2 %9 = trunc i32 %8 to i8 %10 = getelementptr inbounds i8, ptr %1, i64 %7 store i8 %9, ptr %10, align 1, !tbaa !5 %11 = add nuw nsw i64 %7, 1 %12 = icmp eq i64 %11, %5 br i1 %12, label %13, label %6, !llvm.loop !8 13: ; preds = %6, %2 ret void } declare i32 @rand(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/exploitdb/exploits/linux/remote/extr_24856.c_random_array.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_24856.c_random_array.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 @random_array(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = zext i32 %0 to i64 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %11, %6 ] %8 = tail call i32 @rand() #2 %9 = trunc i32 %8 to i8 %10 = getelementptr inbounds i8, ptr %1, i64 %7 store i8 %9, ptr %10, align 1, !tbaa !6 %11 = add nuw nsw i64 %7, 1 %12 = icmp eq i64 %11, %5 br i1 %12, label %13, label %6, !llvm.loop !9 13: ; preds = %6, %2 ret void } declare i32 @rand(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
exploitdb_exploits_linux_remote_extr_24856.c_random_array
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_stop_p2p_device.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_stop_p2p_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cfg80211_registered_device = type { i64, i32, i32, ptr } @NL80211_IFTYPE_P2P_DEVICE = dso_local local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nl80211_stop_p2p_device], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nl80211_stop_p2p_device(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds ptr, ptr %3, i64 1 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = load i64, ptr @NL80211_IFTYPE_P2P_DEVICE, align 8, !tbaa !15 %9 = icmp eq i64 %7, %8 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %12 = sub nsw i32 0, %11 br label %29 13: ; preds = %2 %14 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %4, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %20 = sub nsw i32 0, %19 br label %29 21: ; preds = %13 %22 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %4, i64 0, i32 1 %23 = tail call i32 @mutex_lock(ptr noundef nonnull %22) #2 %24 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %4, i64 0, i32 2 %25 = tail call i32 @mutex_lock(ptr noundef nonnull %24) #2 %26 = tail call i32 @cfg80211_stop_p2p_device(ptr noundef nonnull %4, ptr noundef nonnull %6) #2 %27 = tail call i32 @mutex_unlock(ptr noundef nonnull %24) #2 %28 = tail call i32 @mutex_unlock(ptr noundef nonnull %22) #2 br label %29 29: ; preds = %21, %18, %10 %30 = phi i32 [ %12, %10 ], [ 0, %21 ], [ %20, %18 ] ret i32 %30 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @cfg80211_stop_p2p_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"genl_info", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"wireless_dev", !13, i64 0, !14, i64 8, !14, i64 12, !7, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!18, !7, i64 16} !18 = !{!"cfg80211_registered_device", !13, i64 0, !14, i64 8, !14, i64 12, !7, i64 16} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_2__", !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_stop_p2p_device.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_stop_p2p_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NL80211_IFTYPE_P2P_DEVICE = common local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nl80211_stop_p2p_device], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nl80211_stop_p2p_device(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = load i64, ptr @NL80211_IFTYPE_P2P_DEVICE, align 8, !tbaa !16 %9 = icmp eq i64 %7, %8 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17 %12 = sub nsw i32 0, %11 br label %29 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %4, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = load i32, ptr %15, align 4, !tbaa !20 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17 %20 = sub nsw i32 0, %19 br label %29 21: ; preds = %13 %22 = getelementptr inbounds i8, ptr %4, i64 8 %23 = tail call i32 @mutex_lock(ptr noundef nonnull %22) #2 %24 = getelementptr inbounds i8, ptr %4, i64 12 %25 = tail call i32 @mutex_lock(ptr noundef nonnull %24) #2 %26 = tail call i32 @cfg80211_stop_p2p_device(ptr noundef nonnull %4, ptr noundef nonnull %6) #2 %27 = tail call i32 @mutex_unlock(ptr noundef nonnull %24) #2 %28 = tail call i32 @mutex_unlock(ptr noundef nonnull %22) #2 br label %29 29: ; preds = %21, %18, %10 %30 = phi i32 [ %12, %10 ], [ 0, %21 ], [ %20, %18 ] ret i32 %30 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @cfg80211_stop_p2p_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"genl_info", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"wireless_dev", !14, i64 0, !15, i64 8, !15, i64 12, !8, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!19, !8, i64 16} !19 = !{!"cfg80211_registered_device", !14, i64 0, !15, i64 8, !15, i64 12, !8, i64 16} !20 = !{!21, !15, i64 0} !21 = !{!"TYPE_2__", !15, i64 0}
fastsocket_kernel_net_wireless_extr_nl80211.c_nl80211_stop_p2p_device
; ModuleID = 'AnghaBench/linux/fs/orangefs/extr_super.c_orangefs_fh_to_dentry.c' source_filename = "AnghaBench/linux/fs/orangefs/extr_super.c_orangefs_fh_to_dentry.c" target datalayout = "e-m:e-p270:32:32-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.orangefs_object_kref = type { i64, i32 } @GOSSIP_SUPER_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"fh_to_dentry: handle %pU, fs_id %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @orangefs_fh_to_dentry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @orangefs_fh_to_dentry(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.orangefs_object_kref, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %6 = icmp slt i32 %2, 5 %7 = icmp sgt i32 %3, 2 %8 = or i1 %6, %7 br i1 %8, label %20, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.orangefs_object_kref, ptr %5, i64 0, i32 1 %11 = load ptr, ptr %1, align 8, !tbaa !5 %12 = call i32 @ORANGEFS_khandle_from(ptr noundef nonnull %10, ptr noundef %11, i32 noundef 16) #3 %13 = load ptr, ptr %1, align 8, !tbaa !5 %14 = getelementptr inbounds i64, ptr %13, i64 4 %15 = load i64, ptr %14, align 8, !tbaa !10 store i64 %15, ptr %5, align 8, !tbaa !12 %16 = load i32, ptr @GOSSIP_SUPER_DEBUG, align 4, !tbaa !15 %17 = call i32 @gossip_debug(i32 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull %10, i64 noundef %15) #3 %18 = call i32 @orangefs_iget(ptr noundef %0, ptr noundef nonnull %5) #3 %19 = call ptr @d_obtain_alias(i32 noundef %18) #3 br label %20 20: ; preds = %4, %9 %21 = phi ptr [ %19, %9 ], [ null, %4 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret ptr %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ORANGEFS_khandle_from(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gossip_debug(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @d_obtain_alias(i32 noundef) local_unnamed_addr #2 declare i32 @orangefs_iget(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fid", !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, !11, i64 0} !13 = !{!"orangefs_object_kref", !11, i64 0, !14, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/fs/orangefs/extr_super.c_orangefs_fh_to_dentry.c' source_filename = "AnghaBench/linux/fs/orangefs/extr_super.c_orangefs_fh_to_dentry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.orangefs_object_kref = type { i64, i32 } @GOSSIP_SUPER_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"fh_to_dentry: handle %pU, fs_id %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @orangefs_fh_to_dentry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @orangefs_fh_to_dentry(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.orangefs_object_kref, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %6 = icmp slt i32 %2, 5 %7 = icmp sgt i32 %3, 2 %8 = or i1 %6, %7 br i1 %8, label %20, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load ptr, ptr %1, align 8, !tbaa !6 %12 = call i32 @ORANGEFS_khandle_from(ptr noundef nonnull %10, ptr noundef %11, i32 noundef 16) #3 %13 = load ptr, ptr %1, align 8, !tbaa !6 %14 = getelementptr inbounds i8, ptr %13, i64 32 %15 = load i64, ptr %14, align 8, !tbaa !11 store i64 %15, ptr %5, align 8, !tbaa !13 %16 = load i32, ptr @GOSSIP_SUPER_DEBUG, align 4, !tbaa !16 %17 = call i32 @gossip_debug(i32 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull %10, i64 noundef %15) #3 %18 = call i32 @orangefs_iget(ptr noundef %0, ptr noundef nonnull %5) #3 %19 = call ptr @d_obtain_alias(i32 noundef %18) #3 br label %20 20: ; preds = %4, %9 %21 = phi ptr [ %19, %9 ], [ null, %4 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret ptr %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ORANGEFS_khandle_from(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gossip_debug(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @d_obtain_alias(i32 noundef) local_unnamed_addr #2 declare i32 @orangefs_iget(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fid", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"orangefs_object_kref", !12, i64 0, !15, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0}
linux_fs_orangefs_extr_super.c_orangefs_fh_to_dentry
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/gui/extr_filesel.c_ClearSelector.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/gui/extr_filesel.c_ClearSelector.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @maxfiles = dso_local local_unnamed_addr global i32 0, align 4 @offset = dso_local local_unnamed_addr global i64 0, align 8 @selection = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @ClearSelector(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @maxfiles, align 4, !tbaa !5 store i64 0, ptr @offset, align 8, !tbaa !9 store i64 0, ptr @selection, align 8, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/gui/extr_filesel.c_ClearSelector.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/gui/extr_filesel.c_ClearSelector.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @maxfiles = common local_unnamed_addr global i32 0, align 4 @offset = common local_unnamed_addr global i64 0, align 8 @selection = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @ClearSelector(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @maxfiles, align 4, !tbaa !6 store i64 0, ptr @offset, align 8, !tbaa !10 store i64 0, ptr @selection, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_gx_gui_extr_filesel.c_ClearSelector
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_main.c_ixgbe_watchdog_flush_tx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_main.c_ixgbe_watchdog_flush_tx.c" target datalayout = "e-m:e-p270:32:32-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.ixgbe_adapter = type { i32, i32 } @drv = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"initiating reset to clear Tx work after link loss\0A\00", align 1 @__IXGBE_RESET_REQUESTED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_watchdog_flush_tx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ixgbe_watchdog_flush_tx(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ixgbe_adapter, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @netif_carrier_ok(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %17 6: ; preds = %1 %7 = tail call i64 @ixgbe_ring_tx_pending(ptr noundef nonnull %0) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = tail call i64 @ixgbe_vf_tx_pending(ptr noundef nonnull %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9, %6 %13 = load i32, ptr @drv, align 4, !tbaa !10 %14 = tail call i32 @e_warn(i32 noundef %13, ptr noundef nonnull @.str) #2 %15 = load i32, ptr @__IXGBE_RESET_REQUESTED, align 4, !tbaa !10 %16 = tail call i32 @set_bit(i32 noundef %15, ptr noundef nonnull %0) #2 br label %17 17: ; preds = %9, %12, %1 ret void } declare i32 @netif_carrier_ok(i32 noundef) local_unnamed_addr #1 declare i64 @ixgbe_ring_tx_pending(ptr noundef) local_unnamed_addr #1 declare i64 @ixgbe_vf_tx_pending(ptr noundef) local_unnamed_addr #1 declare i32 @e_warn(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(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 = !{!"ixgbe_adapter", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_main.c_ixgbe_watchdog_flush_tx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_main.c_ixgbe_watchdog_flush_tx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @drv = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"initiating reset to clear Tx work after link loss\0A\00", align 1 @__IXGBE_RESET_REQUESTED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ixgbe_watchdog_flush_tx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ixgbe_watchdog_flush_tx(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @netif_carrier_ok(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %17 6: ; preds = %1 %7 = tail call i64 @ixgbe_ring_tx_pending(ptr noundef nonnull %0) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = tail call i64 @ixgbe_vf_tx_pending(ptr noundef nonnull %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9, %6 %13 = load i32, ptr @drv, align 4, !tbaa !11 %14 = tail call i32 @e_warn(i32 noundef %13, ptr noundef nonnull @.str) #2 %15 = load i32, ptr @__IXGBE_RESET_REQUESTED, align 4, !tbaa !11 %16 = tail call i32 @set_bit(i32 noundef %15, ptr noundef nonnull %0) #2 br label %17 17: ; preds = %9, %12, %1 ret void } declare i32 @netif_carrier_ok(i32 noundef) local_unnamed_addr #1 declare i64 @ixgbe_ring_tx_pending(ptr noundef) local_unnamed_addr #1 declare i64 @ixgbe_vf_tx_pending(ptr noundef) local_unnamed_addr #1 declare i32 @e_warn(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(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 = !{!"ixgbe_adapter", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_intel_ixgbe_extr_ixgbe_main.c_ixgbe_watchdog_flush_tx
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/lwip/extr_network.c_net_bind.c' source_filename = "AnghaBench/RetroArch/wii/libogc/lwip/extr_network.c_net_bind.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ip_addr = type { i32 } %struct.sockaddr_in = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @ENOTSOCK = dso_local local_unnamed_addr global i32 0, align 4 @ERR_OK = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @net_bind(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.ip_addr, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @get_socket(i32 noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOTSOCK, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %20 10: ; preds = %3 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !9 store i32 %12, ptr %4, align 4, !tbaa !12 %13 = load i32, ptr %1, align 4, !tbaa !14 %14 = load i32, ptr %5, align 4, !tbaa !15 %15 = tail call i32 @ntohs(i32 noundef %13) #3 %16 = call i64 @netconn_bind(i32 noundef %14, ptr noundef nonnull %4, i32 noundef %15) #3 %17 = load i64, ptr @ERR_OK, align 8, !tbaa !17 %18 = icmp ne i64 %16, %17 %19 = sext i1 %18 to i32 br label %20 20: ; preds = %10, %7 %21 = phi i32 [ %9, %7 ], [ %19, %10 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_socket(i32 noundef) local_unnamed_addr #2 declare i64 @netconn_bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ntohs(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 = !{!"sockaddr_in", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"ip_addr", !6, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"netsocket", !6, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/lwip/extr_network.c_net_bind.c' source_filename = "AnghaBench/RetroArch/wii/libogc/lwip/extr_network.c_net_bind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ip_addr = type { i32 } @ENOTSOCK = common local_unnamed_addr global i32 0, align 4 @ERR_OK = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @net_bind(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.ip_addr, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @get_socket(i32 noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOTSOCK, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %20 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !10 store i32 %12, ptr %4, align 4, !tbaa !13 %13 = load i32, ptr %1, align 4, !tbaa !15 %14 = load i32, ptr %5, align 4, !tbaa !16 %15 = tail call i32 @ntohs(i32 noundef %13) #3 %16 = call i64 @netconn_bind(i32 noundef %14, ptr noundef nonnull %4, i32 noundef %15) #3 %17 = load i64, ptr @ERR_OK, align 8, !tbaa !18 %18 = icmp ne i64 %16, %17 %19 = sext i1 %18 to i32 br label %20 20: ; preds = %10, %7 %21 = phi i32 [ %9, %7 ], [ %19, %10 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_socket(i32 noundef) local_unnamed_addr #2 declare i64 @netconn_bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ntohs(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 = !{!"sockaddr_in", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"ip_addr", !7, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"netsocket", !7, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !8, i64 0}
RetroArch_wii_libogc_lwip_extr_network.c_net_bind
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic94xx/extr_aic94xx_tmf.c_asd_abort_task_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic94xx/extr_aic94xx_tmf.c_asd_abort_task_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TMF_ABORT_TASK_SET = dso_local local_unnamed_addr global i32 0, align 4 @TMF_RESP_FUNC_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @asd_abort_task_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @TMF_ABORT_TASK_SET, align 4, !tbaa !5 %4 = tail call i32 @asd_initiate_ssp_tmf(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @TMF_RESP_FUNC_COMPLETE, align 4, !tbaa !5 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @asd_clear_nexus_I_T_L(ptr noundef %0, ptr noundef %1) #2 br label %9 9: ; preds = %7, %2 ret i32 %4 } declare i32 @asd_initiate_ssp_tmf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @asd_clear_nexus_I_T_L(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic94xx/extr_aic94xx_tmf.c_asd_abort_task_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic94xx/extr_aic94xx_tmf.c_asd_abort_task_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TMF_ABORT_TASK_SET = common local_unnamed_addr global i32 0, align 4 @TMF_RESP_FUNC_COMPLETE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @asd_abort_task_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @TMF_ABORT_TASK_SET, align 4, !tbaa !6 %4 = tail call i32 @asd_initiate_ssp_tmf(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @TMF_RESP_FUNC_COMPLETE, align 4, !tbaa !6 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @asd_clear_nexus_I_T_L(ptr noundef %0, ptr noundef %1) #2 br label %9 9: ; preds = %7, %2 ret i32 %4 } declare i32 @asd_initiate_ssp_tmf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @asd_clear_nexus_I_T_L(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_scsi_aic94xx_extr_aic94xx_tmf.c_asd_abort_task_set
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_delete_invalid_filter.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_delete_invalid_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" %struct.i40e_pf = type { i32, i32, i32, i32, i64, i32 } %struct.i40e_fdir_filter = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @i40e_delete_invalid_filter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @i40e_delete_invalid_filter(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 5 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = add nsw i32 %4, -1 store i32 %5, ptr %3, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 4 store i64 0, ptr %6, align 8, !tbaa !11 %7 = load i32, ptr %1, align 4, !tbaa !12 switch i32 %7, label %38 [ i32 129, label %8 i32 128, label %12 i32 130, label %16 i32 131, label %20 ] 8: ; preds = %2 %9 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 3 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = add nsw i32 %10, -1 store i32 %11, ptr %9, align 4, !tbaa !14 br label %38 12: ; preds = %2 %13 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = add nsw i32 %14, -1 store i32 %15, ptr %13, align 8, !tbaa !15 br label %38 16: ; preds = %2 %17 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = add nsw i32 %18, -1 store i32 %19, ptr %17, align 4, !tbaa !16 br label %38 20: ; preds = %2 %21 = getelementptr inbounds %struct.i40e_fdir_filter, ptr %1, i64 0, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !17 switch i32 %22, label %38 [ i32 133, label %23 i32 132, label %27 i32 134, label %31 i32 135, label %35 ] 23: ; preds = %20 %24 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 3 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = add nsw i32 %25, -1 store i32 %26, ptr %24, align 4, !tbaa !14 br label %38 27: ; preds = %20 %28 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 2 %29 = load i32, ptr %28, align 8, !tbaa !15 %30 = add nsw i32 %29, -1 store i32 %30, ptr %28, align 8, !tbaa !15 br label %38 31: ; preds = %20 %32 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = add nsw i32 %33, -1 store i32 %34, ptr %32, align 4, !tbaa !16 br label %38 35: ; preds = %20 %36 = load i32, ptr %0, align 8, !tbaa !18 %37 = add nsw i32 %36, -1 store i32 %37, ptr %0, align 8, !tbaa !18 br label %38 38: ; preds = %23, %27, %31, %35, %20, %2, %16, %12, %8 %39 = getelementptr inbounds %struct.i40e_fdir_filter, ptr %1, i64 0, i32 1 %40 = tail call i32 @hlist_del(ptr noundef nonnull %39) #2 %41 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret void } declare i32 @hlist_del(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)"} !5 = !{!6, !7, i64 24} !6 = !{!"i40e_pf", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!13, !7, i64 0} !13 = !{!"i40e_fdir_filter", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!6, !7, i64 12} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 4} !17 = !{!13, !7, i64 8} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_delete_invalid_filter.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_delete_invalid_filter.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 @i40e_delete_invalid_filter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @i40e_delete_invalid_filter(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = add nsw i32 %4, -1 store i32 %5, ptr %3, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %6, align 8, !tbaa !12 %7 = load i32, ptr %1, align 4, !tbaa !13 switch i32 %7, label %38 [ i32 129, label %8 i32 128, label %12 i32 130, label %16 i32 131, label %20 ] 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = add nsw i32 %10, -1 store i32 %11, ptr %9, align 4, !tbaa !15 br label %38 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = add nsw i32 %14, -1 store i32 %15, ptr %13, align 8, !tbaa !16 br label %38 16: ; preds = %2 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = add nsw i32 %18, -1 store i32 %19, ptr %17, align 4, !tbaa !17 br label %38 20: ; preds = %2 %21 = getelementptr inbounds i8, ptr %1, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !18 switch i32 %22, label %38 [ i32 133, label %23 i32 132, label %27 i32 134, label %31 i32 135, label %35 ] 23: ; preds = %20 %24 = getelementptr inbounds i8, ptr %0, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = add nsw i32 %25, -1 store i32 %26, ptr %24, align 4, !tbaa !15 br label %38 27: ; preds = %20 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !16 %30 = add nsw i32 %29, -1 store i32 %30, ptr %28, align 8, !tbaa !16 br label %38 31: ; preds = %20 %32 = getelementptr inbounds i8, ptr %0, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !17 %34 = add nsw i32 %33, -1 store i32 %34, ptr %32, align 4, !tbaa !17 br label %38 35: ; preds = %20 %36 = load i32, ptr %0, align 8, !tbaa !19 %37 = add nsw i32 %36, -1 store i32 %37, ptr %0, align 8, !tbaa !19 br label %38 38: ; preds = %23, %27, %31, %35, %20, %2, %16, %12, %8 %39 = getelementptr inbounds i8, ptr %1, i64 4 %40 = tail call i32 @hlist_del(ptr noundef nonnull %39) #2 %41 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret void } declare i32 @hlist_del(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)"} !6 = !{!7, !8, i64 24} !7 = !{!"i40e_pf", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!14, !8, i64 0} !14 = !{!"i40e_fdir_filter", !8, i64 0, !8, i64 4, !8, i64 8} !15 = !{!7, !8, i64 12} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 4} !18 = !{!14, !8, i64 8} !19 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_intel_i40e_extr_i40e_main.c_i40e_delete_invalid_filter
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_ldo.c_luaD_callnoyield.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_ldo.c_luaD_callnoyield.c" target datalayout = "e-m:e-p270:32:32-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 @luaD_callnoyield(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = add nsw i32 %4, 1 store i32 %5, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @luaD_call(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = add nsw i32 %7, -1 store i32 %8, ptr %0, align 4, !tbaa !5 ret void } declare i32 @luaD_call(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_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_ldo.c_luaD_callnoyield.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_ldo.c_luaD_callnoyield.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 @luaD_callnoyield(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = add nsw i32 %4, 1 store i32 %5, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @luaD_call(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = add nsw i32 %7, -1 store i32 %8, ptr %0, align 4, !tbaa !6 ret void } declare i32 @luaD_call(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_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xLua_build_lua-5.3.5_src_extr_ldo.c_luaD_callnoyield
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_smsc.c_smsc_phy_reset.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_smsc.c_smsc_phy_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MII_LAN83C185_SPECIAL_MODES = dso_local local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_POWERDOWN = dso_local local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_ALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @smsc_phy_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smsc_phy_reset(ptr noundef %0) #0 { %2 = load i32, ptr @MII_LAN83C185_SPECIAL_MODES, align 4, !tbaa !5 %3 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %2) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = load i32, ptr @MII_LAN83C185_MODE_MASK, align 4, !tbaa !5 %7 = and i32 %6, %3 %8 = load i32, ptr @MII_LAN83C185_MODE_POWERDOWN, align 4, !tbaa !5 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load i32, ptr @MII_LAN83C185_MODE_ALL, align 4, !tbaa !5 %12 = or i32 %11, %3 %13 = load i32, ptr @MII_LAN83C185_SPECIAL_MODES, align 4, !tbaa !5 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %13, i32 noundef %12) #2 br label %15 15: ; preds = %10, %5 %16 = tail call i32 @genphy_soft_reset(ptr noundef %0) #2 br label %17 17: ; preds = %1, %15 %18 = phi i32 [ %16, %15 ], [ %3, %1 ] ret i32 %18 } declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @genphy_soft_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_smsc.c_smsc_phy_reset.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_smsc.c_smsc_phy_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MII_LAN83C185_SPECIAL_MODES = common local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_MASK = common local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_POWERDOWN = common local_unnamed_addr global i32 0, align 4 @MII_LAN83C185_MODE_ALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @smsc_phy_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @smsc_phy_reset(ptr noundef %0) #0 { %2 = load i32, ptr @MII_LAN83C185_SPECIAL_MODES, align 4, !tbaa !6 %3 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %2) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = load i32, ptr @MII_LAN83C185_MODE_MASK, align 4, !tbaa !6 %7 = and i32 %6, %3 %8 = load i32, ptr @MII_LAN83C185_MODE_POWERDOWN, align 4, !tbaa !6 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load i32, ptr @MII_LAN83C185_MODE_ALL, align 4, !tbaa !6 %12 = or i32 %11, %3 %13 = load i32, ptr @MII_LAN83C185_SPECIAL_MODES, align 4, !tbaa !6 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %13, i32 noundef %12) #2 br label %15 15: ; preds = %10, %5 %16 = tail call i32 @genphy_soft_reset(ptr noundef %0) #2 br label %17 17: ; preds = %1, %15 %18 = phi i32 [ %16, %15 ], [ %3, %1 ] ret i32 %18 } declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @genphy_soft_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_phy_extr_smsc.c_smsc_phy_reset
; ModuleID = 'AnghaBench/freebsd/sys/dev/mwl/extr_mwlhal.c_mwl_hal_getregdump.c' source_filename = "AnghaBench/freebsd/sys/dev/mwl/extr_mwlhal.c_mwl_hal_getregdump.c" target datalayout = "e-m:e-p270:32:32-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 } @HostCmd_ACT_GEN_READ = dso_local local_unnamed_addr global i32 0, align 4 @MWL_DIAG_BASE_BB = dso_local local_unnamed_addr global i64 0, align 8 @MWL_DIAG_BASE_RF = dso_local local_unnamed_addr global i64 0, align 8 @MACREG_REG_FW_PRESENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mwl_hal_getregdump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mwl_hal_getregdump(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp ugt i32 %3, 7 br i1 %5, label %6, label %62 6: ; preds = %4, %59 %7 = phi i64 [ %60, %59 ], [ 0, %4 ] %8 = phi i32 [ %55, %59 ], [ %3, %4 ] %9 = phi ptr [ %53, %59 ], [ %2, %4 ] %10 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %7 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %7, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !10 %14 = shl i32 %11, 16 %15 = or i32 %14, %13 %16 = getelementptr inbounds i32, ptr %9, i64 1 store i32 %15, ptr %9, align 4, !tbaa !11 %17 = add i32 %8, -4 br label %18 18: ; preds = %52, %6 %19 = phi ptr [ %16, %6 ], [ %53, %52 ] %20 = phi i32 [ %11, %6 ], [ %54, %52 ] %21 = phi i32 [ %17, %6 ], [ %55, %52 ] %22 = tail call i64 @MWL_DIAG_ISMAC(i32 noundef %20) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18 %25 = tail call i32 @RD4(ptr noundef %0, i32 noundef %20) #2 store i32 %25, ptr %19, align 4, !tbaa !11 br label %52 26: ; preds = %18 %27 = tail call i64 @MWL_DIAG_ISBB(i32 noundef %20) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %35, label %29 29: ; preds = %26 %30 = load i32, ptr @HostCmd_ACT_GEN_READ, align 4, !tbaa !11 %31 = sext i32 %20 to i64 %32 = load i64, ptr @MWL_DIAG_BASE_BB, align 8, !tbaa !12 %33 = sub nsw i64 %31, %32 %34 = tail call i32 @getBBReg(ptr noundef %0, i32 noundef %30, i64 noundef %33, ptr noundef nonnull %19) #2 br label %52 35: ; preds = %26 %36 = tail call i64 @MWL_DIAG_ISRF(i32 noundef %20) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %44, label %38 38: ; preds = %35 %39 = load i32, ptr @HostCmd_ACT_GEN_READ, align 4, !tbaa !11 %40 = sext i32 %20 to i64 %41 = load i64, ptr @MWL_DIAG_BASE_RF, align 8, !tbaa !12 %42 = sub nsw i64 %40, %41 %43 = tail call i32 @getRFReg(ptr noundef %0, i32 noundef %39, i64 noundef %42, ptr noundef nonnull %19) #2 br label %52 44: ; preds = %35 %45 = icmp slt i32 %20, 4096 %46 = load i32, ptr @MACREG_REG_FW_PRESENT, align 4 %47 = icmp eq i32 %20, %46 %48 = select i1 %45, i1 true, i1 %47 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = tail call i32 @RD4(ptr noundef %0, i32 noundef %20) #2 store i32 %50, ptr %19, align 4, !tbaa !11 br label %52 51: ; preds = %44 store i32 -1, ptr %19, align 4, !tbaa !11 br label %52 52: ; preds = %29, %49, %51, %38, %24 %53 = getelementptr inbounds i32, ptr %19, i64 1 %54 = add i32 %20, 4 %55 = add i32 %21, -4 %56 = icmp sle i32 %54, %13 %57 = icmp ugt i32 %55, 3 %58 = select i1 %56, i1 %57, i1 false br i1 %58, label %18, label %59, !llvm.loop !14 59: ; preds = %52 %60 = add nuw i64 %7, 1 %61 = icmp ugt i32 %55, 7 br i1 %61, label %6, label %62, !llvm.loop !16 62: ; preds = %59, %4 %63 = phi ptr [ %2, %4 ], [ %53, %59 ] %64 = ptrtoint ptr %63 to i64 %65 = ptrtoint ptr %2 to i64 %66 = sub i64 %64, %65 %67 = trunc i64 %66 to i32 ret i32 %67 } declare i64 @MWL_DIAG_ISMAC(i32 noundef) local_unnamed_addr #1 declare i32 @RD4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @MWL_DIAG_ISBB(i32 noundef) local_unnamed_addr #1 declare i32 @getBBReg(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @MWL_DIAG_ISRF(i32 noundef) local_unnamed_addr #1 declare i32 @getRFReg(ptr noundef, 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, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mwl/extr_mwlhal.c_mwl_hal_getregdump.c' source_filename = "AnghaBench/freebsd/sys/dev/mwl/extr_mwlhal.c_mwl_hal_getregdump.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 } @HostCmd_ACT_GEN_READ = common local_unnamed_addr global i32 0, align 4 @MWL_DIAG_BASE_BB = common local_unnamed_addr global i64 0, align 8 @MWL_DIAG_BASE_RF = common local_unnamed_addr global i64 0, align 8 @MACREG_REG_FW_PRESENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mwl_hal_getregdump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mwl_hal_getregdump(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp ugt i32 %3, 7 br i1 %5, label %6, label %62 6: ; preds = %4, %59 %7 = phi i64 [ %60, %59 ], [ 0, %4 ] %8 = phi i32 [ %55, %59 ], [ %3, %4 ] %9 = phi ptr [ %53, %59 ], [ %2, %4 ] %10 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %7 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %10, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = shl i32 %11, 16 %15 = or i32 %14, %13 %16 = getelementptr inbounds i8, ptr %9, i64 4 store i32 %15, ptr %9, align 4, !tbaa !12 %17 = add i32 %8, -4 br label %18 18: ; preds = %52, %6 %19 = phi ptr [ %16, %6 ], [ %53, %52 ] %20 = phi i32 [ %11, %6 ], [ %54, %52 ] %21 = phi i32 [ %17, %6 ], [ %55, %52 ] %22 = tail call i64 @MWL_DIAG_ISMAC(i32 noundef %20) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %18 %25 = tail call i32 @RD4(ptr noundef %0, i32 noundef %20) #2 store i32 %25, ptr %19, align 4, !tbaa !12 br label %52 26: ; preds = %18 %27 = tail call i64 @MWL_DIAG_ISBB(i32 noundef %20) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %35, label %29 29: ; preds = %26 %30 = load i32, ptr @HostCmd_ACT_GEN_READ, align 4, !tbaa !12 %31 = sext i32 %20 to i64 %32 = load i64, ptr @MWL_DIAG_BASE_BB, align 8, !tbaa !13 %33 = sub nsw i64 %31, %32 %34 = tail call i32 @getBBReg(ptr noundef %0, i32 noundef %30, i64 noundef %33, ptr noundef nonnull %19) #2 br label %52 35: ; preds = %26 %36 = tail call i64 @MWL_DIAG_ISRF(i32 noundef %20) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %44, label %38 38: ; preds = %35 %39 = load i32, ptr @HostCmd_ACT_GEN_READ, align 4, !tbaa !12 %40 = sext i32 %20 to i64 %41 = load i64, ptr @MWL_DIAG_BASE_RF, align 8, !tbaa !13 %42 = sub nsw i64 %40, %41 %43 = tail call i32 @getRFReg(ptr noundef %0, i32 noundef %39, i64 noundef %42, ptr noundef nonnull %19) #2 br label %52 44: ; preds = %35 %45 = icmp slt i32 %20, 4096 %46 = load i32, ptr @MACREG_REG_FW_PRESENT, align 4 %47 = icmp eq i32 %20, %46 %48 = select i1 %45, i1 true, i1 %47 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = tail call i32 @RD4(ptr noundef %0, i32 noundef %20) #2 store i32 %50, ptr %19, align 4, !tbaa !12 br label %52 51: ; preds = %44 store i32 -1, ptr %19, align 4, !tbaa !12 br label %52 52: ; preds = %29, %49, %51, %38, %24 %53 = getelementptr inbounds i8, ptr %19, i64 4 %54 = add i32 %20, 4 %55 = add i32 %21, -4 %56 = icmp sle i32 %54, %13 %57 = icmp ugt i32 %55, 3 %58 = select i1 %56, i1 %57, i1 false br i1 %58, label %18, label %59, !llvm.loop !15 59: ; preds = %52 %60 = add nuw nsw i64 %7, 1 %61 = icmp ugt i32 %55, 7 br i1 %61, label %6, label %62, !llvm.loop !17 62: ; preds = %59, %4 %63 = phi ptr [ %2, %4 ], [ %53, %59 ] %64 = ptrtoint ptr %63 to i64 %65 = ptrtoint ptr %2 to i64 %66 = sub i64 %64, %65 %67 = trunc i64 %66 to i32 ret i32 %67 } declare i64 @MWL_DIAG_ISMAC(i32 noundef) local_unnamed_addr #1 declare i32 @RD4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @MWL_DIAG_ISBB(i32 noundef) local_unnamed_addr #1 declare i32 @getBBReg(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @MWL_DIAG_ISRF(i32 noundef) local_unnamed_addr #1 declare i32 @getRFReg(ptr noundef, 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, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
freebsd_sys_dev_mwl_extr_mwlhal.c_mwl_hal_getregdump
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_ahash_dma_init.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_ahash_dma_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" @SSS_FCINTENCLR_HRDMAINTENCLR = dso_local local_unnamed_addr global i32 0, align 4 @SSS_FCINTENCLR_HDONEINTENCLR = dso_local local_unnamed_addr global i32 0, align 4 @SSS_FCINTENCLR_HPARTINTENCLR = dso_local local_unnamed_addr global i32 0, align 4 @SSS_HASHIN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HRDMAINTENSET = dso_local local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HDONEINTENSET = dso_local local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HPARTINTENSET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s5p_ahash_dma_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s5p_ahash_dma_init(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @SSS_FCINTENCLR_HRDMAINTENCLR, align 4, !tbaa !5 %4 = load i32, ptr @SSS_FCINTENCLR_HDONEINTENCLR, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @SSS_FCINTENCLR_HPARTINTENCLR, align 4, !tbaa !5 %7 = or i32 %5, %6 %8 = tail call i32 @s5p_hash_irq_disable(ptr noundef %0, i32 noundef %7) #2 %9 = tail call i32 @s5p_hash_dma_flush(ptr noundef %0) #2 %10 = tail call i32 @s5p_hash_dma_enable(ptr noundef %0) #2 %11 = load i32, ptr @SSS_HASHIN_MASK, align 4, !tbaa !5 %12 = and i32 %11, %1 %13 = tail call i32 @s5p_hash_set_flow(ptr noundef %0, i32 noundef %12) #2 %14 = load i32, ptr @SSS_FCINTENSET_HRDMAINTENSET, align 4, !tbaa !5 %15 = load i32, ptr @SSS_FCINTENSET_HDONEINTENSET, align 4, !tbaa !5 %16 = or i32 %15, %14 %17 = load i32, ptr @SSS_FCINTENSET_HPARTINTENSET, align 4, !tbaa !5 %18 = or i32 %16, %17 %19 = tail call i32 @s5p_hash_irq_enable(ptr noundef %0, i32 noundef %18) #2 ret void } declare i32 @s5p_hash_irq_disable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @s5p_hash_dma_flush(ptr noundef) local_unnamed_addr #1 declare i32 @s5p_hash_dma_enable(ptr noundef) local_unnamed_addr #1 declare i32 @s5p_hash_set_flow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @s5p_hash_irq_enable(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/crypto/extr_s5p-sss.c_s5p_ahash_dma_init.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_ahash_dma_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSS_FCINTENCLR_HRDMAINTENCLR = common local_unnamed_addr global i32 0, align 4 @SSS_FCINTENCLR_HDONEINTENCLR = common local_unnamed_addr global i32 0, align 4 @SSS_FCINTENCLR_HPARTINTENCLR = common local_unnamed_addr global i32 0, align 4 @SSS_HASHIN_MASK = common local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HRDMAINTENSET = common local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HDONEINTENSET = common local_unnamed_addr global i32 0, align 4 @SSS_FCINTENSET_HPARTINTENSET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s5p_ahash_dma_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s5p_ahash_dma_init(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @SSS_FCINTENCLR_HRDMAINTENCLR, align 4, !tbaa !6 %4 = load i32, ptr @SSS_FCINTENCLR_HDONEINTENCLR, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @SSS_FCINTENCLR_HPARTINTENCLR, align 4, !tbaa !6 %7 = or i32 %5, %6 %8 = tail call i32 @s5p_hash_irq_disable(ptr noundef %0, i32 noundef %7) #2 %9 = tail call i32 @s5p_hash_dma_flush(ptr noundef %0) #2 %10 = tail call i32 @s5p_hash_dma_enable(ptr noundef %0) #2 %11 = load i32, ptr @SSS_HASHIN_MASK, align 4, !tbaa !6 %12 = and i32 %11, %1 %13 = tail call i32 @s5p_hash_set_flow(ptr noundef %0, i32 noundef %12) #2 %14 = load i32, ptr @SSS_FCINTENSET_HRDMAINTENSET, align 4, !tbaa !6 %15 = load i32, ptr @SSS_FCINTENSET_HDONEINTENSET, align 4, !tbaa !6 %16 = or i32 %15, %14 %17 = load i32, ptr @SSS_FCINTENSET_HPARTINTENSET, align 4, !tbaa !6 %18 = or i32 %16, %17 %19 = tail call i32 @s5p_hash_irq_enable(ptr noundef %0, i32 noundef %18) #2 ret void } declare i32 @s5p_hash_irq_disable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @s5p_hash_dma_flush(ptr noundef) local_unnamed_addr #1 declare i32 @s5p_hash_dma_enable(ptr noundef) local_unnamed_addr #1 declare i32 @s5p_hash_set_flow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @s5p_hash_irq_enable(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_crypto_extr_s5p-sss.c_s5p_ahash_dma_init
; ModuleID = 'AnghaBench/linux/fs/extr_exec.c___get_task_comm.c' source_filename = "AnghaBench/linux/fs/extr_exec.c___get_task_comm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef ptr @__get_task_comm(ptr noundef returned %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @task_lock(ptr noundef %2) #2 %5 = load i32, ptr %2, align 4, !tbaa !5 %6 = tail call i32 @strncpy(ptr noundef %0, i32 noundef %5, i64 noundef %1) #2 %7 = tail call i32 @task_unlock(ptr noundef nonnull %2) #2 ret ptr %0 } declare i32 @task_lock(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"task_struct", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/extr_exec.c___get_task_comm.c' source_filename = "AnghaBench/linux/fs/extr_exec.c___get_task_comm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @__get_task_comm(ptr noundef returned %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @task_lock(ptr noundef %2) #2 %5 = load i32, ptr %2, align 4, !tbaa !6 %6 = tail call i32 @strncpy(ptr noundef %0, i32 noundef %5, i64 noundef %1) #2 %7 = tail call i32 @task_unlock(ptr noundef nonnull %2) #2 ret ptr %0 } declare i32 @task_lock(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"task_struct", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_extr_exec.c___get_task_comm
; ModuleID = 'AnghaBench/libuv/src/win/extr_fs.c_uv_fs_write.c' source_filename = "AnghaBench/libuv/src/win/extr_fs.c_uv_fs_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.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32, ptr, ptr } %struct.TYPE_6__ = type { i32 } @UV_FS_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @UV_EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @UV_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @POST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @uv_fs_write(ptr nocapture noundef readnone %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 { %8 = load i32, ptr @UV_FS_WRITE, align 4, !tbaa !5 %9 = tail call i32 @INIT(i32 noundef %8) #2 %10 = icmp eq ptr %3, null %11 = icmp eq i32 %4, 0 %12 = or i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = load i32, ptr @UV_EINVAL, align 4, !tbaa !5 br label %36 15: ; preds = %7 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1 store i32 %2, ptr %16, align 8, !tbaa !9 store i32 %4, ptr %1, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 3 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2 store ptr %18, ptr %19, align 8, !tbaa !17 %20 = tail call i32 @ARRAY_SIZE(ptr noundef %18) #2 %21 = icmp ult i32 %20, %4 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = shl i32 %4, 2 %24 = tail call ptr @uv__malloc(i32 noundef %23) #2 store ptr %24, ptr %19, align 8, !tbaa !17 br label %27 25: ; preds = %15 %26 = load ptr, ptr %19, align 8, !tbaa !17 br label %27 27: ; preds = %25, %22 %28 = phi ptr [ %26, %25 ], [ %24, %22 ] %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27 %31 = load i32, ptr @UV_ENOMEM, align 4, !tbaa !5 br label %36 32: ; preds = %27 %33 = shl i32 %4, 2 %34 = tail call i32 @memcpy(ptr noundef nonnull %28, ptr noundef nonnull %3, i32 noundef %33) #2 %35 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 store i32 %5, ptr %35, align 4, !tbaa !18 br label %36 36: ; preds = %32, %30, %13 %37 = phi i32 [ %14, %13 ], [ %31, %30 ], [ undef, %32 ] ret i32 %37 } declare i32 @INIT(i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @uv__malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"TYPE_9__", !11, i64 0, !14, i64 24} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !13, i64 8, !13, i64 16} !13 = !{!"any pointer", !7, i64 0} !14 = !{!"TYPE_6__", !6, i64 0} !15 = !{!10, !6, i64 0} !16 = !{!10, !13, i64 16} !17 = !{!10, !13, i64 8} !18 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/libuv/src/win/extr_fs.c_uv_fs_write.c' source_filename = "AnghaBench/libuv/src/win/extr_fs.c_uv_fs_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UV_FS_WRITE = common local_unnamed_addr global i32 0, align 4 @UV_EINVAL = common local_unnamed_addr global i32 0, align 4 @UV_ENOMEM = common local_unnamed_addr global i32 0, align 4 @POST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @uv_fs_write(ptr nocapture noundef readnone %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 { %8 = load i32, ptr @UV_FS_WRITE, align 4, !tbaa !6 %9 = tail call i32 @INIT(i32 noundef %8) #2 %10 = icmp eq ptr %3, null %11 = icmp eq i32 %4, 0 %12 = or i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = load i32, ptr @UV_EINVAL, align 4, !tbaa !6 br label %36 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %2, ptr %16, align 8, !tbaa !10 store i32 %4, ptr %1, align 8, !tbaa !16 %17 = getelementptr inbounds i8, ptr %1, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %18, ptr %19, align 8, !tbaa !18 %20 = tail call i32 @ARRAY_SIZE(ptr noundef %18) #2 %21 = icmp ult i32 %20, %4 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = shl i32 %4, 2 %24 = tail call ptr @uv__malloc(i32 noundef %23) #2 store ptr %24, ptr %19, align 8, !tbaa !18 br label %27 25: ; preds = %15 %26 = load ptr, ptr %19, align 8, !tbaa !18 br label %27 27: ; preds = %25, %22 %28 = phi ptr [ %26, %25 ], [ %24, %22 ] %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27 %31 = load i32, ptr @UV_ENOMEM, align 4, !tbaa !6 br label %36 32: ; preds = %27 %33 = shl i32 %4, 2 %34 = tail call i32 @memcpy(ptr noundef nonnull %28, ptr noundef nonnull %3, i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %5, ptr %35, align 4, !tbaa !19 br label %36 36: ; preds = %32, %30, %13 %37 = phi i32 [ %14, %13 ], [ %31, %30 ], [ undef, %32 ] ret i32 %37 } declare i32 @INIT(i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @uv__malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_9__", !12, i64 0, !15, i64 24} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !14, i64 8, !14, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_6__", !7, i64 0} !16 = !{!11, !7, i64 0} !17 = !{!11, !14, i64 16} !18 = !{!11, !14, i64 8} !19 = !{!11, !7, i64 4}
libuv_src_win_extr_fs.c_uv_fs_write
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_list.c_xmlListCopy.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_list.c_xmlListCopy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @xmlListCopy(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null %4 = icmp eq ptr %0, null %5 = or i1 %4, %3 br i1 %5, label %20, label %6 6: ; preds = %2 %7 = load ptr, ptr %1, align 8, !tbaa !5 br label %8 8: ; preds = %14, %6 %9 = phi ptr [ %7, %6 ], [ %11, %14 ] %10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = load ptr, ptr %1, align 8, !tbaa !5 %13 = icmp eq ptr %11, %12 br i1 %13, label %20, label %14 14: ; preds = %8 %15 = load i32, ptr %11, align 8, !tbaa !13 %16 = tail call i64 @xmlListInsert(ptr noundef %0, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %8, label %18, !llvm.loop !14 18: ; preds = %14 %19 = tail call i32 @xmlListDelete(ptr noundef %0) #2 br label %20 20: ; preds = %8, %2, %18 %21 = phi i32 [ 1, %18 ], [ 1, %2 ], [ 0, %8 ] ret i32 %21 } declare i64 @xmlListInsert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xmlListDelete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_8__", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_list.c_xmlListCopy.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_list.c_xmlListCopy.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 @xmlListCopy(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null %4 = icmp eq ptr %0, null %5 = or i1 %4, %3 br i1 %5, label %20, label %6 6: ; preds = %2 %7 = load ptr, ptr %1, align 8, !tbaa !6 br label %8 8: ; preds = %14, %6 %9 = phi ptr [ %7, %6 ], [ %11, %14 ] %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = load ptr, ptr %1, align 8, !tbaa !6 %13 = icmp eq ptr %11, %12 br i1 %13, label %20, label %14 14: ; preds = %8 %15 = load i32, ptr %11, align 8, !tbaa !14 %16 = tail call i64 @xmlListInsert(ptr noundef %0, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %8, label %18, !llvm.loop !15 18: ; preds = %14 %19 = tail call i32 @xmlListDelete(ptr noundef %0) #2 br label %20 20: ; preds = %8, %2, %18 %21 = phi i32 [ 1, %18 ], [ 1, %2 ], [ 0, %8 ] ret i32 %21 } declare i64 @xmlListInsert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xmlListDelete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_8__", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
reactos_sdk_lib_3rdparty_libxml2_extr_list.c_xmlListCopy
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_patch.c_ups_source_read.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_patch.c_ups_source_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ups_data = type { i64, i64, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ups_source_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ups_source_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = icmp eq ptr %0, null br i1 %3, label %21, label %4 4: ; preds = %1 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.ups_data, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %21 9: ; preds = %4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %10 = getelementptr inbounds %struct.ups_data, ptr %0, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = add nsw i64 %5, 1 store i64 %12, ptr %0, align 8, !tbaa !5 %13 = getelementptr inbounds i32, ptr %11, i64 %5 %14 = load i32, ptr %13, align 4, !tbaa !14 store i32 %14, ptr %2, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.ups_data, ptr %0, i64 0, i32 3 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = xor i32 %16, -1 %18 = call i32 @encoding_crc32(i32 noundef %17, ptr noundef nonnull %2, i32 noundef 1) #3 %19 = xor i32 %18, -1 store i32 %19, ptr %15, align 8, !tbaa !15 %20 = load i32, ptr %2, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %21 21: ; preds = %1, %4, %9 %22 = phi i32 [ %20, %9 ], [ 0, %4 ], [ 0, %1 ] ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @encoding_crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ups_data", !7, i64 0, !7, i64 8, !10, i64 16, !11, 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, !7, i64 8} !13 = !{!6, !10, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!6, !11, i64 24}
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_patch.c_ups_source_read.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_patch.c_ups_source_read.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 @ups_source_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ups_source_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = icmp eq ptr %0, null br i1 %3, label %21, label %4 4: ; preds = %1 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %21 9: ; preds = %4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = add nsw i64 %5, 1 store i64 %12, ptr %0, align 8, !tbaa !6 %13 = getelementptr inbounds i32, ptr %11, i64 %5 %14 = load i32, ptr %13, align 4, !tbaa !15 store i32 %14, ptr %2, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %0, i64 24 %16 = load i32, ptr %15, align 8, !tbaa !16 %17 = xor i32 %16, -1 %18 = call i32 @encoding_crc32(i32 noundef %17, ptr noundef nonnull %2, i32 noundef 1) #3 %19 = xor i32 %18, -1 store i32 %19, ptr %15, align 8, !tbaa !16 %20 = load i32, ptr %2, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %21 21: ; preds = %1, %4, %9 %22 = phi i32 [ %20, %9 ], [ 0, %4 ], [ 0, %1 ] ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @encoding_crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ups_data", !8, i64 0, !8, i64 8, !11, i64 16, !12, 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, !8, i64 8} !14 = !{!7, !11, i64 16} !15 = !{!12, !12, i64 0} !16 = !{!7, !12, i64 24}
RetroArch_griffin_extr_..taskstask_patch.c_ups_source_read
; ModuleID = 'AnghaBench/git/builtin/extr_help.c_add_man_viewer_info.c' source_filename = "AnghaBench/git/builtin/extr_help.c_add_man_viewer_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" @.str = private unnamed_addr constant [4 x i8] c"man\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"path\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_man_viewer_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @add_man_viewer_info(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = call i64 @parse_config_key(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %4) #4 %7 = icmp sgt i64 %6, -1 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null %10 = select i1 %7, i1 %9, i1 false br i1 %10, label %11, label %32 11: ; preds = %2 %12 = load ptr, ptr %4, align 8, !tbaa !5 %13 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(5) @.str.1) %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %19 17: ; preds = %15 %18 = call i32 @config_error_nonbool(ptr noundef %0) #4 br label %32 19: ; preds = %15 %20 = load i32, ptr %5, align 4, !tbaa !9 %21 = call i32 @add_man_viewer_path(ptr noundef nonnull %8, i32 noundef %20, ptr noundef nonnull %1) #4 br label %32 22: ; preds = %11 %23 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(4) @.str.2) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = icmp eq ptr %1, null br i1 %26, label %27, label %29 27: ; preds = %25 %28 = call i32 @config_error_nonbool(ptr noundef %0) #4 br label %32 29: ; preds = %25 %30 = load i32, ptr %5, align 4, !tbaa !9 %31 = call i32 @add_man_viewer_cmd(ptr noundef nonnull %8, i32 noundef %30, ptr noundef nonnull %1) #4 br label %32 32: ; preds = %22, %2, %29, %27, %19, %17 %33 = phi i32 [ %31, %29 ], [ %28, %27 ], [ %21, %19 ], [ %18, %17 ], [ 0, %2 ], [ 0, %22 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @parse_config_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @config_error_nonbool(ptr noundef) local_unnamed_addr #2 declare i32 @add_man_viewer_path(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @add_man_viewer_cmd(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/git/builtin/extr_help.c_add_man_viewer_info.c' source_filename = "AnghaBench/git/builtin/extr_help.c_add_man_viewer_info.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"man\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"path\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_man_viewer_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @add_man_viewer_info(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = call i64 @parse_config_key(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %4) #4 %7 = icmp sgt i64 %6, -1 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null %10 = select i1 %7, i1 %9, i1 false br i1 %10, label %11, label %32 11: ; preds = %2 %12 = load ptr, ptr %4, align 8, !tbaa !6 %13 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(5) @.str.1) %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %19 17: ; preds = %15 %18 = call i32 @config_error_nonbool(ptr noundef %0) #4 br label %32 19: ; preds = %15 %20 = load i32, ptr %5, align 4, !tbaa !10 %21 = call i32 @add_man_viewer_path(ptr noundef nonnull %8, i32 noundef %20, ptr noundef nonnull %1) #4 br label %32 22: ; preds = %11 %23 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(4) @.str.2) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = icmp eq ptr %1, null br i1 %26, label %27, label %29 27: ; preds = %25 %28 = call i32 @config_error_nonbool(ptr noundef %0) #4 br label %32 29: ; preds = %25 %30 = load i32, ptr %5, align 4, !tbaa !10 %31 = call i32 @add_man_viewer_cmd(ptr noundef nonnull %8, i32 noundef %30, ptr noundef nonnull %1) #4 br label %32 32: ; preds = %22, %2, %29, %27, %19, %17 %33 = phi i32 [ %31, %29 ], [ %28, %27 ], [ %21, %19 ], [ %18, %17 ], [ 0, %2 ], [ 0, %22 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @parse_config_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @config_error_nonbool(ptr noundef) local_unnamed_addr #2 declare i32 @add_man_viewer_path(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @add_man_viewer_cmd(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
git_builtin_extr_help.c_add_man_viewer_info
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output-pnm.c_pam_write_band.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output-pnm.c_pam_write_band.c" target datalayout = "e-m:e-p270:32:32-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, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @pam_write_band], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pam_write_band(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca [720 x i8], align 16 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 4 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load i32, ptr %1, align 8, !tbaa !11 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = icmp eq ptr %9, null br i1 %13, label %322, label %14 14: ; preds = %6 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = add i32 %4, %3 %20 = tail call i32 @llvm.smin.i32(i32 %19, i32 %18) %21 = sub i32 %20, %3 %22 = icmp eq i32 %16, 0 br i1 %22, label %23, label %28 23: ; preds = %14 %24 = icmp sgt i32 %21, 0 br i1 %24, label %25, label %322 25: ; preds = %23 %26 = mul nsw i32 %12, %10 %27 = sext i32 %2 to i64 br label %315 28: ; preds = %14 call void @llvm.lifetime.start.p0(i64 720, ptr nonnull %7) #4 %29 = mul nsw i32 %12, %10 %30 = sub nsw i32 %2, %29 %31 = icmp sgt i32 %21, 0 switch i32 %12, label %44 [ i32 2, label %40 i32 4, label %36 i32 5, label %32 ] 32: ; preds = %28 br i1 %31, label %33, label %314 33: ; preds = %32 %34 = icmp sgt i32 %10, 0 %35 = sext i32 %30 to i64 br label %162 36: ; preds = %28 br i1 %31, label %37, label %314 37: ; preds = %36 %38 = icmp sgt i32 %10, 0 %39 = sext i32 %30 to i64 br label %104 40: ; preds = %28 br i1 %31, label %41, label %314 41: ; preds = %40 %42 = icmp sgt i32 %10, 0 %43 = sext i32 %30 to i64 br label %62 44: ; preds = %28 br i1 %31, label %45, label %314 45: ; preds = %44 %46 = icmp sgt i32 %10, 0 %47 = add nsw i32 %12, -1 %48 = sext i32 %47 to i64 %49 = icmp sgt i32 %12, 1 %50 = getelementptr inbounds [720 x i8], ptr %7, i64 0, i64 720 %51 = sext i32 %12 to i64 %52 = sub nsw i64 0, %51 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = ptrtoint ptr %7 to i64 %55 = sext i32 %30 to i64 %56 = add i32 %12, -2 %57 = zext i32 %56 to i64 %58 = add nuw nsw i64 %57, 1 %59 = icmp ult i32 %56, 15 %60 = and i64 %58, 8589934576 %61 = icmp eq i64 %58, %60 br label %228 62: ; preds = %41, %96 %63 = phi ptr [ %5, %41 ], [ %99, %96 ] %64 = phi i32 [ 0, %41 ], [ %100, %96 ] %65 = phi i64 [ 0, %41 ], [ %97, %96 ] br i1 %42, label %66, label %96 66: ; preds = %62, %92 %67 = phi ptr [ %88, %92 ], [ %63, %62 ] %68 = phi i32 [ %94, %92 ], [ 0, %62 ] %69 = phi i64 [ %93, %92 ], [ %65, %62 ] %70 = getelementptr inbounds i8, ptr %7, i64 %69 %71 = getelementptr inbounds i8, ptr %67, i64 1 %72 = load i8, ptr %71, align 1, !tbaa !15 %73 = icmp eq i8 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %66 %75 = load i8, ptr %67, align 1, !tbaa !15 %76 = zext i8 %75 to i16 %77 = mul nuw i16 %76, 255 %78 = lshr i8 %72, 1 %79 = zext nneg i8 %78 to i16 %80 = add nuw i16 %77, %79 %81 = zext i8 %72 to i16 %82 = udiv i16 %80, %81 %83 = trunc i16 %82 to i8 br label %84 84: ; preds = %66, %74 %85 = phi i8 [ %83, %74 ], [ 0, %66 ] %86 = getelementptr inbounds i8, ptr %70, i64 1 store i8 %85, ptr %70, align 1, !tbaa !15 %87 = add nsw i64 %69, 2 store i8 %72, ptr %86, align 1, !tbaa !15 %88 = getelementptr inbounds i8, ptr %67, i64 2 %89 = icmp eq i64 %87, 720 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %92 92: ; preds = %90, %84 %93 = phi i64 [ 0, %90 ], [ %87, %84 ] %94 = add nuw nsw i32 %68, 1 %95 = icmp eq i32 %94, %10 br i1 %95, label %96, label %66, !llvm.loop !16 96: ; preds = %92, %62 %97 = phi i64 [ %65, %62 ], [ %93, %92 ] %98 = phi ptr [ %63, %62 ], [ %88, %92 ] %99 = getelementptr inbounds i8, ptr %98, i64 %43 %100 = add nuw nsw i32 %64, 1 %101 = icmp eq i32 %100, %21 br i1 %101, label %102, label %62, !llvm.loop !18 102: ; preds = %96 %103 = icmp eq i64 %97, 0 br i1 %103, label %314, label %311 104: ; preds = %37, %154 %105 = phi ptr [ %5, %37 ], [ %157, %154 ] %106 = phi i32 [ 0, %37 ], [ %158, %154 ] %107 = phi i64 [ 0, %37 ], [ %155, %154 ] br i1 %38, label %108, label %154 108: ; preds = %104, %150 %109 = phi ptr [ %146, %150 ], [ %105, %104 ] %110 = phi i32 [ %152, %150 ], [ 0, %104 ] %111 = phi i64 [ %151, %150 ], [ %107, %104 ] %112 = getelementptr inbounds i8, ptr %7, i64 %111 %113 = getelementptr inbounds i8, ptr %109, i64 3 %114 = load i8, ptr %113, align 1, !tbaa !15 %115 = icmp eq i8 %114, 0 br i1 %115, label %120, label %116 116: ; preds = %108 %117 = zext i8 %114 to i16 %118 = udiv i16 -256, %117 %119 = zext i16 %118 to i32 br label %120 120: ; preds = %108, %116 %121 = phi i32 [ %119, %116 ], [ 0, %108 ] %122 = load i8, ptr %109, align 1, !tbaa !15 %123 = zext i8 %122 to i32 %124 = mul nuw nsw i32 %121, %123 %125 = add nuw nsw i32 %124, 128 %126 = lshr i32 %125, 8 %127 = trunc i32 %126 to i8 %128 = getelementptr inbounds i8, ptr %112, i64 1 store i8 %127, ptr %112, align 1, !tbaa !15 %129 = getelementptr inbounds i8, ptr %109, i64 1 %130 = load i8, ptr %129, align 1, !tbaa !15 %131 = zext i8 %130 to i32 %132 = mul nuw nsw i32 %121, %131 %133 = add nuw nsw i32 %132, 128 %134 = lshr i32 %133, 8 %135 = trunc i32 %134 to i8 %136 = getelementptr inbounds i8, ptr %112, i64 2 store i8 %135, ptr %128, align 1, !tbaa !15 %137 = getelementptr inbounds i8, ptr %109, i64 2 %138 = load i8, ptr %137, align 1, !tbaa !15 %139 = zext i8 %138 to i32 %140 = mul nuw nsw i32 %121, %139 %141 = add nuw nsw i32 %140, 128 %142 = lshr i32 %141, 8 %143 = trunc i32 %142 to i8 %144 = getelementptr inbounds i8, ptr %112, i64 3 store i8 %143, ptr %136, align 1, !tbaa !15 %145 = add nsw i64 %111, 4 store i8 %114, ptr %144, align 1, !tbaa !15 %146 = getelementptr inbounds i8, ptr %109, i64 4 %147 = icmp eq i64 %145, 720 br i1 %147, label %148, label %150 148: ; preds = %120 %149 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %150 150: ; preds = %148, %120 %151 = phi i64 [ 0, %148 ], [ %145, %120 ] %152 = add nuw nsw i32 %110, 1 %153 = icmp eq i32 %152, %10 br i1 %153, label %154, label %108, !llvm.loop !19 154: ; preds = %150, %104 %155 = phi i64 [ %107, %104 ], [ %151, %150 ] %156 = phi ptr [ %105, %104 ], [ %146, %150 ] %157 = getelementptr inbounds i8, ptr %156, i64 %39 %158 = add nuw nsw i32 %106, 1 %159 = icmp eq i32 %158, %21 br i1 %159, label %160, label %104, !llvm.loop !20 160: ; preds = %154 %161 = icmp eq i64 %155, 0 br i1 %161, label %314, label %311 162: ; preds = %33, %220 %163 = phi ptr [ %5, %33 ], [ %223, %220 ] %164 = phi i32 [ 0, %33 ], [ %224, %220 ] %165 = phi i64 [ 0, %33 ], [ %221, %220 ] br i1 %34, label %166, label %220 166: ; preds = %162, %216 %167 = phi ptr [ %212, %216 ], [ %163, %162 ] %168 = phi i32 [ %218, %216 ], [ 0, %162 ] %169 = phi i64 [ %217, %216 ], [ %165, %162 ] %170 = getelementptr inbounds i8, ptr %7, i64 %169 %171 = getelementptr inbounds i8, ptr %167, i64 4 %172 = load i8, ptr %171, align 1, !tbaa !15 %173 = icmp eq i8 %172, 0 br i1 %173, label %178, label %174 174: ; preds = %166 %175 = zext i8 %172 to i16 %176 = udiv i16 -256, %175 %177 = zext i16 %176 to i32 br label %178 178: ; preds = %166, %174 %179 = phi i32 [ %177, %174 ], [ 0, %166 ] %180 = load i8, ptr %167, align 1, !tbaa !15 %181 = zext i8 %180 to i32 %182 = mul nuw nsw i32 %179, %181 %183 = add nuw nsw i32 %182, 128 %184 = lshr i32 %183, 8 %185 = trunc i32 %184 to i8 %186 = getelementptr inbounds i8, ptr %170, i64 1 store i8 %185, ptr %170, align 1, !tbaa !15 %187 = getelementptr inbounds i8, ptr %167, i64 1 %188 = load i8, ptr %187, align 1, !tbaa !15 %189 = zext i8 %188 to i32 %190 = mul nuw nsw i32 %179, %189 %191 = add nuw nsw i32 %190, 128 %192 = lshr i32 %191, 8 %193 = trunc i32 %192 to i8 %194 = getelementptr inbounds i8, ptr %170, i64 2 store i8 %193, ptr %186, align 1, !tbaa !15 %195 = getelementptr inbounds i8, ptr %167, i64 2 %196 = load i8, ptr %195, align 1, !tbaa !15 %197 = zext i8 %196 to i32 %198 = mul nuw nsw i32 %179, %197 %199 = add nuw nsw i32 %198, 128 %200 = lshr i32 %199, 8 %201 = trunc i32 %200 to i8 %202 = getelementptr inbounds i8, ptr %170, i64 3 store i8 %201, ptr %194, align 1, !tbaa !15 %203 = getelementptr inbounds i8, ptr %167, i64 3 %204 = load i8, ptr %203, align 1, !tbaa !15 %205 = zext i8 %204 to i32 %206 = mul nuw nsw i32 %179, %205 %207 = add nuw nsw i32 %206, 128 %208 = lshr i32 %207, 8 %209 = trunc i32 %208 to i8 %210 = getelementptr inbounds i8, ptr %170, i64 4 store i8 %209, ptr %202, align 1, !tbaa !15 %211 = add nsw i64 %169, 5 store i8 %172, ptr %210, align 1, !tbaa !15 %212 = getelementptr inbounds i8, ptr %167, i64 5 %213 = icmp eq i64 %211, 720 br i1 %213, label %214, label %216 214: ; preds = %178 %215 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %216 216: ; preds = %214, %178 %217 = phi i64 [ 0, %214 ], [ %211, %178 ] %218 = add nuw nsw i32 %168, 1 %219 = icmp eq i32 %218, %10 br i1 %219, label %220, label %166, !llvm.loop !21 220: ; preds = %216, %162 %221 = phi i64 [ %165, %162 ], [ %217, %216 ] %222 = phi ptr [ %163, %162 ], [ %212, %216 ] %223 = getelementptr inbounds i8, ptr %222, i64 %35 %224 = add nuw nsw i32 %164, 1 %225 = icmp eq i32 %224, %21 br i1 %225, label %226, label %162, !llvm.loop !22 226: ; preds = %220 %227 = icmp eq i64 %221, 0 br i1 %227, label %314, label %311 228: ; preds = %45, %299 %229 = phi ptr [ %5, %45 ], [ %302, %299 ] %230 = phi i32 [ 0, %45 ], [ %303, %299 ] %231 = phi ptr [ %7, %45 ], [ %300, %299 ] br i1 %46, label %232, label %299 232: ; preds = %228, %295 %233 = phi ptr [ %289, %295 ], [ %229, %228 ] %234 = phi i32 [ %297, %295 ], [ 0, %228 ] %235 = phi ptr [ %296, %295 ], [ %231, %228 ] %236 = ptrtoint ptr %235 to i64 %237 = ptrtoint ptr %233 to i64 %238 = getelementptr inbounds i8, ptr %233, i64 %48 %239 = load i8, ptr %238, align 1, !tbaa !15 %240 = icmp eq i8 %239, 0 br i1 %240, label %245, label %241 241: ; preds = %232 %242 = zext i8 %239 to i16 %243 = udiv i16 -256, %242 %244 = zext i16 %243 to i32 br label %245 245: ; preds = %232, %241 %246 = phi i32 [ %244, %241 ], [ 0, %232 ] br i1 %49, label %247, label %285 247: ; preds = %245 %248 = getelementptr i8, ptr %235, i64 %57 %249 = sub i64 %236, %237 %250 = icmp ult i64 %249, 16 %251 = select i1 %59, i1 true, i1 %250 br i1 %251, label %270, label %252 252: ; preds = %247 %253 = getelementptr i8, ptr %233, i64 %60 %254 = getelementptr i8, ptr %235, i64 %60 %255 = insertelement <16 x i32> poison, i32 %246, i64 0 %256 = shufflevector <16 x i32> %255, <16 x i32> poison, <16 x i32> zeroinitializer br label %257 257: ; preds = %257, %252 %258 = phi i64 [ 0, %252 ], [ %267, %257 ] %259 = getelementptr i8, ptr %233, i64 %258 %260 = getelementptr i8, ptr %235, i64 %258 %261 = load <16 x i8>, ptr %259, align 1, !tbaa !15 %262 = zext <16 x i8> %261 to <16 x i32> %263 = mul nuw nsw <16 x i32> %256, %262 %264 = add nuw nsw <16 x i32> %263, <i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128> %265 = lshr <16 x i32> %264, <i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8> %266 = trunc <16 x i32> %265 to <16 x i8> store <16 x i8> %266, ptr %260, align 1, !tbaa !15 %267 = add nuw i64 %258, 16 %268 = icmp eq i64 %267, %60 br i1 %268, label %269, label %257, !llvm.loop !23 269: ; preds = %257 br i1 %61, label %285, label %270 270: ; preds = %247, %269 %271 = phi ptr [ %233, %247 ], [ %253, %269 ] %272 = phi ptr [ %235, %247 ], [ %254, %269 ] br label %273 273: ; preds = %270, %273 %274 = phi ptr [ %276, %273 ], [ %271, %270 ] %275 = phi ptr [ %283, %273 ], [ %272, %270 ] %276 = getelementptr inbounds i8, ptr %274, i64 1 %277 = load i8, ptr %274, align 1, !tbaa !15 %278 = zext i8 %277 to i32 %279 = mul nuw nsw i32 %246, %278 %280 = add nuw nsw i32 %279, 128 %281 = lshr i32 %280, 8 %282 = trunc i32 %281 to i8 %283 = getelementptr inbounds i8, ptr %275, i64 1 store i8 %282, ptr %275, align 1, !tbaa !15 %284 = icmp eq ptr %275, %248 br i1 %284, label %285, label %273, !llvm.loop !26 285: ; preds = %273, %269, %245 %286 = phi ptr [ %235, %245 ], [ %254, %269 ], [ %283, %273 ] %287 = phi ptr [ %233, %245 ], [ %253, %269 ], [ %276, %273 ] %288 = getelementptr inbounds i8, ptr %286, i64 1 store i8 %239, ptr %286, align 1, !tbaa !15 %289 = getelementptr inbounds i8, ptr %287, i64 1 %290 = icmp ult ptr %288, %53 br i1 %290, label %295, label %291 291: ; preds = %285 %292 = ptrtoint ptr %288 to i64 %293 = sub i64 %292, %54 %294 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef %293) #4 br label %295 295: ; preds = %291, %285 %296 = phi ptr [ %7, %291 ], [ %288, %285 ] %297 = add nuw nsw i32 %234, 1 %298 = icmp eq i32 %297, %10 br i1 %298, label %299, label %232, !llvm.loop !27 299: ; preds = %295, %228 %300 = phi ptr [ %231, %228 ], [ %296, %295 ] %301 = phi ptr [ %229, %228 ], [ %289, %295 ] %302 = getelementptr inbounds i8, ptr %301, i64 %55 %303 = add nuw nsw i32 %230, 1 %304 = icmp eq i32 %303, %21 br i1 %304, label %305, label %228, !llvm.loop !28 305: ; preds = %299 %306 = icmp eq ptr %300, %7 br i1 %306, label %314, label %307 307: ; preds = %305 %308 = ptrtoint ptr %300 to i64 %309 = ptrtoint ptr %7 to i64 %310 = sub i64 %308, %309 br label %311 311: ; preds = %226, %160, %102, %307 %312 = phi i64 [ %310, %307 ], [ %97, %102 ], [ %155, %160 ], [ %221, %226 ] %313 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef %312) #4 br label %314 314: ; preds = %311, %44, %40, %36, %32, %305, %226, %160, %102 call void @llvm.lifetime.end.p0(i64 720, ptr nonnull %7) #4 br label %322 315: ; preds = %25, %315 %316 = phi ptr [ %5, %25 ], [ %319, %315 ] %317 = phi i32 [ 0, %25 ], [ %320, %315 ] %318 = tail call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef %316, i32 noundef %26) #4 %319 = getelementptr inbounds i8, ptr %316, i64 %27 %320 = add nuw nsw i32 %317, 1 %321 = icmp eq i32 %320, %21 br i1 %321, label %322, label %315, !llvm.loop !29 322: ; preds = %315, %23, %314, %6 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 @fz_write_data(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 4} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17} !19 = distinct !{!19, !17} !20 = distinct !{!20, !17} !21 = distinct !{!21, !17} !22 = distinct !{!22, !17} !23 = distinct !{!23, !17, !24, !25} !24 = !{!"llvm.loop.isvectorized", i32 1} !25 = !{!"llvm.loop.unroll.runtime.disable"} !26 = distinct !{!26, !17, !24} !27 = distinct !{!27, !17} !28 = distinct !{!28, !17} !29 = distinct !{!29, !17}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output-pnm.c_pam_write_band.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output-pnm.c_pam_write_band.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 @pam_write_band], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pam_write_band(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca [720 x i8], align 1 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load i32, ptr %1, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = icmp eq ptr %9, null br i1 %13, label %321, label %14 14: ; preds = %6 %15 = getelementptr inbounds i8, ptr %1, i64 12 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = getelementptr inbounds i8, ptr %1, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = add i32 %4, %3 %20 = tail call i32 @llvm.smin.i32(i32 %19, i32 %18) %21 = sub i32 %20, %3 %22 = icmp eq i32 %16, 0 br i1 %22, label %23, label %28 23: ; preds = %14 %24 = icmp sgt i32 %21, 0 br i1 %24, label %25, label %321 25: ; preds = %23 %26 = mul nsw i32 %12, %10 %27 = sext i32 %2 to i64 br label %314 28: ; preds = %14 call void @llvm.lifetime.start.p0(i64 720, ptr nonnull %7) #4 %29 = mul nsw i32 %12, %10 %30 = sub nsw i32 %2, %29 %31 = icmp sgt i32 %21, 0 switch i32 %12, label %44 [ i32 2, label %40 i32 4, label %36 i32 5, label %32 ] 32: ; preds = %28 br i1 %31, label %33, label %313 33: ; preds = %32 %34 = icmp sgt i32 %10, 0 %35 = sext i32 %30 to i64 br label %162 36: ; preds = %28 br i1 %31, label %37, label %313 37: ; preds = %36 %38 = icmp sgt i32 %10, 0 %39 = sext i32 %30 to i64 br label %104 40: ; preds = %28 br i1 %31, label %41, label %313 41: ; preds = %40 %42 = icmp sgt i32 %10, 0 %43 = sext i32 %30 to i64 br label %62 44: ; preds = %28 br i1 %31, label %45, label %313 45: ; preds = %44 %46 = icmp sgt i32 %10, 0 %47 = add nsw i32 %12, -1 %48 = sext i32 %47 to i64 %49 = icmp sgt i32 %12, 1 %50 = getelementptr inbounds i8, ptr %7, i64 720 %51 = sext i32 %12 to i64 %52 = sub nsw i64 0, %51 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = ptrtoint ptr %7 to i64 %55 = sext i32 %30 to i64 %56 = add i32 %12, -2 %57 = zext i32 %56 to i64 %58 = add nuw nsw i64 %57, 1 %59 = icmp ult i32 %56, 15 %60 = and i64 %58, 8589934576 %61 = icmp eq i64 %58, %60 br label %228 62: ; preds = %41, %96 %63 = phi ptr [ %5, %41 ], [ %99, %96 ] %64 = phi i32 [ 0, %41 ], [ %100, %96 ] %65 = phi i64 [ 0, %41 ], [ %97, %96 ] br i1 %42, label %66, label %96 66: ; preds = %62, %92 %67 = phi ptr [ %88, %92 ], [ %63, %62 ] %68 = phi i32 [ %94, %92 ], [ 0, %62 ] %69 = phi i64 [ %93, %92 ], [ %65, %62 ] %70 = getelementptr inbounds i8, ptr %7, i64 %69 %71 = getelementptr inbounds i8, ptr %67, i64 1 %72 = load i8, ptr %71, align 1, !tbaa !16 %73 = icmp eq i8 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %66 %75 = load i8, ptr %67, align 1, !tbaa !16 %76 = zext i8 %75 to i16 %77 = mul nuw i16 %76, 255 %78 = lshr i8 %72, 1 %79 = zext nneg i8 %78 to i16 %80 = add nuw i16 %77, %79 %81 = zext i8 %72 to i16 %82 = udiv i16 %80, %81 %83 = trunc i16 %82 to i8 br label %84 84: ; preds = %66, %74 %85 = phi i8 [ %83, %74 ], [ 0, %66 ] %86 = getelementptr inbounds i8, ptr %70, i64 1 store i8 %85, ptr %70, align 1, !tbaa !16 %87 = add nsw i64 %69, 2 store i8 %72, ptr %86, align 1, !tbaa !16 %88 = getelementptr inbounds i8, ptr %67, i64 2 %89 = icmp eq i64 %87, 720 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %92 92: ; preds = %90, %84 %93 = phi i64 [ 0, %90 ], [ %87, %84 ] %94 = add nuw nsw i32 %68, 1 %95 = icmp eq i32 %94, %10 br i1 %95, label %96, label %66, !llvm.loop !17 96: ; preds = %92, %62 %97 = phi i64 [ %65, %62 ], [ %93, %92 ] %98 = phi ptr [ %63, %62 ], [ %88, %92 ] %99 = getelementptr inbounds i8, ptr %98, i64 %43 %100 = add nuw nsw i32 %64, 1 %101 = icmp eq i32 %100, %21 br i1 %101, label %102, label %62, !llvm.loop !19 102: ; preds = %96 %103 = icmp eq i64 %97, 0 br i1 %103, label %313, label %310 104: ; preds = %37, %154 %105 = phi ptr [ %5, %37 ], [ %157, %154 ] %106 = phi i32 [ 0, %37 ], [ %158, %154 ] %107 = phi i64 [ 0, %37 ], [ %155, %154 ] br i1 %38, label %108, label %154 108: ; preds = %104, %150 %109 = phi ptr [ %146, %150 ], [ %105, %104 ] %110 = phi i32 [ %152, %150 ], [ 0, %104 ] %111 = phi i64 [ %151, %150 ], [ %107, %104 ] %112 = getelementptr inbounds i8, ptr %7, i64 %111 %113 = getelementptr inbounds i8, ptr %109, i64 3 %114 = load i8, ptr %113, align 1, !tbaa !16 %115 = icmp eq i8 %114, 0 br i1 %115, label %120, label %116 116: ; preds = %108 %117 = zext i8 %114 to i16 %118 = udiv i16 -256, %117 %119 = zext i16 %118 to i32 br label %120 120: ; preds = %108, %116 %121 = phi i32 [ %119, %116 ], [ 0, %108 ] %122 = load i8, ptr %109, align 1, !tbaa !16 %123 = zext i8 %122 to i32 %124 = mul nuw nsw i32 %121, %123 %125 = add nuw nsw i32 %124, 128 %126 = lshr i32 %125, 8 %127 = trunc i32 %126 to i8 %128 = getelementptr inbounds i8, ptr %112, i64 1 store i8 %127, ptr %112, align 1, !tbaa !16 %129 = getelementptr inbounds i8, ptr %109, i64 1 %130 = load i8, ptr %129, align 1, !tbaa !16 %131 = zext i8 %130 to i32 %132 = mul nuw nsw i32 %121, %131 %133 = add nuw nsw i32 %132, 128 %134 = lshr i32 %133, 8 %135 = trunc i32 %134 to i8 %136 = getelementptr inbounds i8, ptr %112, i64 2 store i8 %135, ptr %128, align 1, !tbaa !16 %137 = getelementptr inbounds i8, ptr %109, i64 2 %138 = load i8, ptr %137, align 1, !tbaa !16 %139 = zext i8 %138 to i32 %140 = mul nuw nsw i32 %121, %139 %141 = add nuw nsw i32 %140, 128 %142 = lshr i32 %141, 8 %143 = trunc i32 %142 to i8 %144 = getelementptr inbounds i8, ptr %112, i64 3 store i8 %143, ptr %136, align 1, !tbaa !16 %145 = add nsw i64 %111, 4 store i8 %114, ptr %144, align 1, !tbaa !16 %146 = getelementptr inbounds i8, ptr %109, i64 4 %147 = icmp eq i64 %145, 720 br i1 %147, label %148, label %150 148: ; preds = %120 %149 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %150 150: ; preds = %148, %120 %151 = phi i64 [ 0, %148 ], [ %145, %120 ] %152 = add nuw nsw i32 %110, 1 %153 = icmp eq i32 %152, %10 br i1 %153, label %154, label %108, !llvm.loop !20 154: ; preds = %150, %104 %155 = phi i64 [ %107, %104 ], [ %151, %150 ] %156 = phi ptr [ %105, %104 ], [ %146, %150 ] %157 = getelementptr inbounds i8, ptr %156, i64 %39 %158 = add nuw nsw i32 %106, 1 %159 = icmp eq i32 %158, %21 br i1 %159, label %160, label %104, !llvm.loop !21 160: ; preds = %154 %161 = icmp eq i64 %155, 0 br i1 %161, label %313, label %310 162: ; preds = %33, %220 %163 = phi ptr [ %5, %33 ], [ %223, %220 ] %164 = phi i32 [ 0, %33 ], [ %224, %220 ] %165 = phi i64 [ 0, %33 ], [ %221, %220 ] br i1 %34, label %166, label %220 166: ; preds = %162, %216 %167 = phi ptr [ %212, %216 ], [ %163, %162 ] %168 = phi i32 [ %218, %216 ], [ 0, %162 ] %169 = phi i64 [ %217, %216 ], [ %165, %162 ] %170 = getelementptr inbounds i8, ptr %7, i64 %169 %171 = getelementptr inbounds i8, ptr %167, i64 4 %172 = load i8, ptr %171, align 1, !tbaa !16 %173 = icmp eq i8 %172, 0 br i1 %173, label %178, label %174 174: ; preds = %166 %175 = zext i8 %172 to i16 %176 = udiv i16 -256, %175 %177 = zext i16 %176 to i32 br label %178 178: ; preds = %166, %174 %179 = phi i32 [ %177, %174 ], [ 0, %166 ] %180 = load i8, ptr %167, align 1, !tbaa !16 %181 = zext i8 %180 to i32 %182 = mul nuw nsw i32 %179, %181 %183 = add nuw nsw i32 %182, 128 %184 = lshr i32 %183, 8 %185 = trunc i32 %184 to i8 %186 = getelementptr inbounds i8, ptr %170, i64 1 store i8 %185, ptr %170, align 1, !tbaa !16 %187 = getelementptr inbounds i8, ptr %167, i64 1 %188 = load i8, ptr %187, align 1, !tbaa !16 %189 = zext i8 %188 to i32 %190 = mul nuw nsw i32 %179, %189 %191 = add nuw nsw i32 %190, 128 %192 = lshr i32 %191, 8 %193 = trunc i32 %192 to i8 %194 = getelementptr inbounds i8, ptr %170, i64 2 store i8 %193, ptr %186, align 1, !tbaa !16 %195 = getelementptr inbounds i8, ptr %167, i64 2 %196 = load i8, ptr %195, align 1, !tbaa !16 %197 = zext i8 %196 to i32 %198 = mul nuw nsw i32 %179, %197 %199 = add nuw nsw i32 %198, 128 %200 = lshr i32 %199, 8 %201 = trunc i32 %200 to i8 %202 = getelementptr inbounds i8, ptr %170, i64 3 store i8 %201, ptr %194, align 1, !tbaa !16 %203 = getelementptr inbounds i8, ptr %167, i64 3 %204 = load i8, ptr %203, align 1, !tbaa !16 %205 = zext i8 %204 to i32 %206 = mul nuw nsw i32 %179, %205 %207 = add nuw nsw i32 %206, 128 %208 = lshr i32 %207, 8 %209 = trunc i32 %208 to i8 %210 = getelementptr inbounds i8, ptr %170, i64 4 store i8 %209, ptr %202, align 1, !tbaa !16 %211 = add nsw i64 %169, 5 store i8 %172, ptr %210, align 1, !tbaa !16 %212 = getelementptr inbounds i8, ptr %167, i64 5 %213 = icmp eq i64 %211, 720 br i1 %213, label %214, label %216 214: ; preds = %178 %215 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef 720) #4 br label %216 216: ; preds = %214, %178 %217 = phi i64 [ 0, %214 ], [ %211, %178 ] %218 = add nuw nsw i32 %168, 1 %219 = icmp eq i32 %218, %10 br i1 %219, label %220, label %166, !llvm.loop !22 220: ; preds = %216, %162 %221 = phi i64 [ %165, %162 ], [ %217, %216 ] %222 = phi ptr [ %163, %162 ], [ %212, %216 ] %223 = getelementptr inbounds i8, ptr %222, i64 %35 %224 = add nuw nsw i32 %164, 1 %225 = icmp eq i32 %224, %21 br i1 %225, label %226, label %162, !llvm.loop !23 226: ; preds = %220 %227 = icmp eq i64 %221, 0 br i1 %227, label %313, label %310 228: ; preds = %45, %299 %229 = phi ptr [ %5, %45 ], [ %302, %299 ] %230 = phi i32 [ 0, %45 ], [ %303, %299 ] %231 = phi ptr [ %7, %45 ], [ %300, %299 ] br i1 %46, label %232, label %299 232: ; preds = %228, %295 %233 = phi ptr [ %289, %295 ], [ %229, %228 ] %234 = phi i32 [ %297, %295 ], [ 0, %228 ] %235 = phi ptr [ %296, %295 ], [ %231, %228 ] %236 = ptrtoint ptr %235 to i64 %237 = ptrtoint ptr %233 to i64 %238 = getelementptr inbounds i8, ptr %233, i64 %48 %239 = load i8, ptr %238, align 1, !tbaa !16 %240 = icmp eq i8 %239, 0 br i1 %240, label %245, label %241 241: ; preds = %232 %242 = zext i8 %239 to i16 %243 = udiv i16 -256, %242 %244 = zext i16 %243 to i32 br label %245 245: ; preds = %232, %241 %246 = phi i32 [ %244, %241 ], [ 0, %232 ] br i1 %49, label %247, label %285 247: ; preds = %245 %248 = getelementptr i8, ptr %235, i64 %57 %249 = sub i64 %236, %237 %250 = icmp ult i64 %249, 16 %251 = select i1 %59, i1 true, i1 %250 br i1 %251, label %270, label %252 252: ; preds = %247 %253 = getelementptr i8, ptr %233, i64 %60 %254 = getelementptr i8, ptr %235, i64 %60 %255 = insertelement <16 x i32> poison, i32 %246, i64 0 %256 = shufflevector <16 x i32> %255, <16 x i32> poison, <16 x i32> zeroinitializer br label %257 257: ; preds = %257, %252 %258 = phi i64 [ 0, %252 ], [ %267, %257 ] %259 = getelementptr i8, ptr %233, i64 %258 %260 = getelementptr i8, ptr %235, i64 %258 %261 = load <16 x i8>, ptr %259, align 1, !tbaa !16 %262 = zext <16 x i8> %261 to <16 x i32> %263 = mul nuw nsw <16 x i32> %256, %262 %264 = add nuw nsw <16 x i32> %263, <i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128> %265 = lshr <16 x i32> %264, <i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8> %266 = trunc <16 x i32> %265 to <16 x i8> store <16 x i8> %266, ptr %260, align 1, !tbaa !16 %267 = add nuw i64 %258, 16 %268 = icmp eq i64 %267, %60 br i1 %268, label %269, label %257, !llvm.loop !24 269: ; preds = %257 br i1 %61, label %285, label %270 270: ; preds = %269, %247 %271 = phi ptr [ %233, %247 ], [ %253, %269 ] %272 = phi ptr [ %235, %247 ], [ %254, %269 ] br label %273 273: ; preds = %270, %273 %274 = phi ptr [ %276, %273 ], [ %271, %270 ] %275 = phi ptr [ %283, %273 ], [ %272, %270 ] %276 = getelementptr inbounds i8, ptr %274, i64 1 %277 = load i8, ptr %274, align 1, !tbaa !16 %278 = zext i8 %277 to i32 %279 = mul nuw nsw i32 %246, %278 %280 = add nuw nsw i32 %279, 128 %281 = lshr i32 %280, 8 %282 = trunc i32 %281 to i8 %283 = getelementptr inbounds i8, ptr %275, i64 1 store i8 %282, ptr %275, align 1, !tbaa !16 %284 = icmp eq ptr %275, %248 br i1 %284, label %285, label %273, !llvm.loop !27 285: ; preds = %273, %269, %245 %286 = phi ptr [ %235, %245 ], [ %254, %269 ], [ %283, %273 ] %287 = phi ptr [ %233, %245 ], [ %253, %269 ], [ %276, %273 ] %288 = getelementptr inbounds i8, ptr %286, i64 1 store i8 %239, ptr %286, align 1, !tbaa !16 %289 = getelementptr inbounds i8, ptr %287, i64 1 %290 = icmp ult ptr %288, %53 br i1 %290, label %295, label %291 291: ; preds = %285 %292 = ptrtoint ptr %288 to i64 %293 = sub i64 %292, %54 %294 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef %293) #4 br label %295 295: ; preds = %291, %285 %296 = phi ptr [ %7, %291 ], [ %288, %285 ] %297 = add nuw nsw i32 %234, 1 %298 = icmp eq i32 %297, %10 br i1 %298, label %299, label %232, !llvm.loop !28 299: ; preds = %295, %228 %300 = phi ptr [ %231, %228 ], [ %296, %295 ] %301 = phi ptr [ %229, %228 ], [ %289, %295 ] %302 = getelementptr inbounds i8, ptr %301, i64 %55 %303 = add nuw nsw i32 %230, 1 %304 = icmp eq i32 %303, %21 br i1 %304, label %305, label %228, !llvm.loop !29 305: ; preds = %299 %306 = icmp eq ptr %300, %7 br i1 %306, label %313, label %307 307: ; preds = %305 %308 = ptrtoint ptr %300 to i64 %309 = sub i64 %308, %54 br label %310 310: ; preds = %226, %160, %102, %307 %311 = phi i64 [ %309, %307 ], [ %97, %102 ], [ %155, %160 ], [ %221, %226 ] %312 = call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %7, i64 noundef %311) #4 br label %313 313: ; preds = %310, %44, %40, %36, %32, %305, %226, %160, %102 call void @llvm.lifetime.end.p0(i64 720, ptr nonnull %7) #4 br label %321 314: ; preds = %25, %314 %315 = phi ptr [ %5, %25 ], [ %318, %314 ] %316 = phi i32 [ 0, %25 ], [ %319, %314 ] %317 = tail call i32 (ptr, ptr, ...) @fz_write_data(ptr noundef %0, ptr noundef nonnull %9, ptr noundef %315, i32 noundef %26) #4 %318 = getelementptr inbounds i8, ptr %315, i64 %27 %319 = add nuw nsw i32 %316, 1 %320 = icmp eq i32 %319, %21 br i1 %320, label %321, label %314, !llvm.loop !30 321: ; preds = %314, %23, %313, %6 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 @fz_write_data(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 4} !16 = !{!9, !9, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18} !21 = distinct !{!21, !18} !22 = distinct !{!22, !18} !23 = distinct !{!23, !18} !24 = distinct !{!24, !18, !25, !26} !25 = !{!"llvm.loop.isvectorized", i32 1} !26 = !{!"llvm.loop.unroll.runtime.disable"} !27 = distinct !{!27, !18, !25} !28 = distinct !{!28, !18} !29 = distinct !{!29, !18} !30 = distinct !{!30, !18}
sumatrapdf_mupdf_source_fitz_extr_output-pnm.c_pam_write_band
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__SHIFT = common local_unnamed_addr global i32 0, align 4 @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_GRAS_SC_VIEWPORT_SCISSOR_BR_0_Y
; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_relcache.c_RelationCacheInitializePhase2.c' source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_relcache.c_RelationCacheInitializePhase2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CacheMemoryContext = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"pg_database\00", align 1 @DatabaseRelation_Rowtype_Id = dso_local local_unnamed_addr global i32 0, align 4 @Natts_pg_database = dso_local local_unnamed_addr global i32 0, align 4 @Desc_pg_database = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"pg_authid\00", align 1 @AuthIdRelation_Rowtype_Id = dso_local local_unnamed_addr global i32 0, align 4 @Natts_pg_authid = dso_local local_unnamed_addr global i32 0, align 4 @Desc_pg_authid = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"pg_auth_members\00", align 1 @AuthMemRelation_Rowtype_Id = dso_local local_unnamed_addr global i32 0, align 4 @Natts_pg_auth_members = dso_local local_unnamed_addr global i32 0, align 4 @Desc_pg_auth_members = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"pg_shseclabel\00", align 1 @SharedSecLabelRelation_Rowtype_Id = dso_local local_unnamed_addr global i32 0, align 4 @Natts_pg_shseclabel = dso_local local_unnamed_addr global i32 0, align 4 @Desc_pg_shseclabel = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"pg_subscription\00", align 1 @SubscriptionRelation_Rowtype_Id = dso_local local_unnamed_addr global i32 0, align 4 @Natts_pg_subscription = dso_local local_unnamed_addr global i32 0, align 4 @Desc_pg_subscription = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @RelationCacheInitializePhase2() local_unnamed_addr #0 { %1 = tail call i32 (...) @RelationMapInitializePhase2() #2 %2 = tail call i64 (...) @IsBootstrapProcessingMode() #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %32 4: ; preds = %0 %5 = load i32, ptr @CacheMemoryContext, align 4, !tbaa !5 %6 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2 %7 = tail call i32 @load_relcache_init_file(i32 noundef 1) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %30 9: ; preds = %4 %10 = load i32, ptr @DatabaseRelation_Rowtype_Id, align 4, !tbaa !5 %11 = load i32, ptr @Natts_pg_database, align 4, !tbaa !5 %12 = load i32, ptr @Desc_pg_database, align 4, !tbaa !5 %13 = tail call i32 @formrdesc(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef 1, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @AuthIdRelation_Rowtype_Id, align 4, !tbaa !5 %15 = load i32, ptr @Natts_pg_authid, align 4, !tbaa !5 %16 = load i32, ptr @Desc_pg_authid, align 4, !tbaa !5 %17 = tail call i32 @formrdesc(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef 1, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @AuthMemRelation_Rowtype_Id, align 4, !tbaa !5 %19 = load i32, ptr @Natts_pg_auth_members, align 4, !tbaa !5 %20 = load i32, ptr @Desc_pg_auth_members, align 4, !tbaa !5 %21 = tail call i32 @formrdesc(ptr noundef nonnull @.str.2, i32 noundef %18, i32 noundef 1, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @SharedSecLabelRelation_Rowtype_Id, align 4, !tbaa !5 %23 = load i32, ptr @Natts_pg_shseclabel, align 4, !tbaa !5 %24 = load i32, ptr @Desc_pg_shseclabel, align 4, !tbaa !5 %25 = tail call i32 @formrdesc(ptr noundef nonnull @.str.3, i32 noundef %22, i32 noundef 1, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @SubscriptionRelation_Rowtype_Id, align 4, !tbaa !5 %27 = load i32, ptr @Natts_pg_subscription, align 4, !tbaa !5 %28 = load i32, ptr @Desc_pg_subscription, align 4, !tbaa !5 %29 = tail call i32 @formrdesc(ptr noundef nonnull @.str.4, i32 noundef %26, i32 noundef 1, i32 noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %9, %4 %31 = tail call i32 @MemoryContextSwitchTo(i32 noundef %6) #2 br label %32 32: ; preds = %0, %30 ret void } declare i32 @RelationMapInitializePhase2(...) local_unnamed_addr #1 declare i64 @IsBootstrapProcessingMode(...) local_unnamed_addr #1 declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1 declare i32 @load_relcache_init_file(i32 noundef) local_unnamed_addr #1 declare i32 @formrdesc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_relcache.c_RelationCacheInitializePhase2.c' source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_relcache.c_RelationCacheInitializePhase2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CacheMemoryContext = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"pg_database\00", align 1 @DatabaseRelation_Rowtype_Id = common local_unnamed_addr global i32 0, align 4 @Natts_pg_database = common local_unnamed_addr global i32 0, align 4 @Desc_pg_database = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"pg_authid\00", align 1 @AuthIdRelation_Rowtype_Id = common local_unnamed_addr global i32 0, align 4 @Natts_pg_authid = common local_unnamed_addr global i32 0, align 4 @Desc_pg_authid = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"pg_auth_members\00", align 1 @AuthMemRelation_Rowtype_Id = common local_unnamed_addr global i32 0, align 4 @Natts_pg_auth_members = common local_unnamed_addr global i32 0, align 4 @Desc_pg_auth_members = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"pg_shseclabel\00", align 1 @SharedSecLabelRelation_Rowtype_Id = common local_unnamed_addr global i32 0, align 4 @Natts_pg_shseclabel = common local_unnamed_addr global i32 0, align 4 @Desc_pg_shseclabel = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"pg_subscription\00", align 1 @SubscriptionRelation_Rowtype_Id = common local_unnamed_addr global i32 0, align 4 @Natts_pg_subscription = common local_unnamed_addr global i32 0, align 4 @Desc_pg_subscription = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @RelationCacheInitializePhase2() local_unnamed_addr #0 { %1 = tail call i32 @RelationMapInitializePhase2() #2 %2 = tail call i64 @IsBootstrapProcessingMode() #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %32 4: ; preds = %0 %5 = load i32, ptr @CacheMemoryContext, align 4, !tbaa !6 %6 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2 %7 = tail call i32 @load_relcache_init_file(i32 noundef 1) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %30 9: ; preds = %4 %10 = load i32, ptr @DatabaseRelation_Rowtype_Id, align 4, !tbaa !6 %11 = load i32, ptr @Natts_pg_database, align 4, !tbaa !6 %12 = load i32, ptr @Desc_pg_database, align 4, !tbaa !6 %13 = tail call i32 @formrdesc(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef 1, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @AuthIdRelation_Rowtype_Id, align 4, !tbaa !6 %15 = load i32, ptr @Natts_pg_authid, align 4, !tbaa !6 %16 = load i32, ptr @Desc_pg_authid, align 4, !tbaa !6 %17 = tail call i32 @formrdesc(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef 1, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @AuthMemRelation_Rowtype_Id, align 4, !tbaa !6 %19 = load i32, ptr @Natts_pg_auth_members, align 4, !tbaa !6 %20 = load i32, ptr @Desc_pg_auth_members, align 4, !tbaa !6 %21 = tail call i32 @formrdesc(ptr noundef nonnull @.str.2, i32 noundef %18, i32 noundef 1, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @SharedSecLabelRelation_Rowtype_Id, align 4, !tbaa !6 %23 = load i32, ptr @Natts_pg_shseclabel, align 4, !tbaa !6 %24 = load i32, ptr @Desc_pg_shseclabel, align 4, !tbaa !6 %25 = tail call i32 @formrdesc(ptr noundef nonnull @.str.3, i32 noundef %22, i32 noundef 1, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @SubscriptionRelation_Rowtype_Id, align 4, !tbaa !6 %27 = load i32, ptr @Natts_pg_subscription, align 4, !tbaa !6 %28 = load i32, ptr @Desc_pg_subscription, align 4, !tbaa !6 %29 = tail call i32 @formrdesc(ptr noundef nonnull @.str.4, i32 noundef %26, i32 noundef 1, i32 noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %9, %4 %31 = tail call i32 @MemoryContextSwitchTo(i32 noundef %6) #2 br label %32 32: ; preds = %0, %30 ret void } declare i32 @RelationMapInitializePhase2(...) local_unnamed_addr #1 declare i64 @IsBootstrapProcessingMode(...) local_unnamed_addr #1 declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1 declare i32 @load_relcache_init_file(i32 noundef) local_unnamed_addr #1 declare i32 @formrdesc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_backend_utils_cache_extr_relcache.c_RelationCacheInitializePhase2
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreeSetPagerFlags.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreeSetPagerFlags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, ptr } @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sqlite3BtreeSetPagerFlags(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @sqlite3_mutex_held(i32 noundef %6) #2 %8 = tail call i32 @assert(i32 noundef %7) #2 %9 = tail call i32 @sqlite3BtreeEnter(ptr noundef nonnull %0) #2 %10 = load i32, ptr %4, align 4, !tbaa !14 %11 = tail call i32 @sqlite3PagerSetFlags(i32 noundef %10, i32 noundef %1) #2 %12 = tail call i32 @sqlite3BtreeLeave(ptr noundef nonnull %0) #2 %13 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 ret i32 %13 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeEnter(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3PagerSetFlags(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeLeave(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_8__", !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_7__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_9__", !13, i64 0} !16 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreeSetPagerFlags.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreeSetPagerFlags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sqlite3BtreeSetPagerFlags(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @sqlite3_mutex_held(i32 noundef %6) #2 %8 = tail call i32 @assert(i32 noundef %7) #2 %9 = tail call i32 @sqlite3BtreeEnter(ptr noundef nonnull %0) #2 %10 = load i32, ptr %4, align 4, !tbaa !15 %11 = tail call i32 @sqlite3PagerSetFlags(i32 noundef %10, i32 noundef %1) #2 %12 = tail call i32 @sqlite3BtreeLeave(ptr noundef nonnull %0) #2 %13 = load i32, ptr @SQLITE_OK, align 4, !tbaa !17 ret i32 %13 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeEnter(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3PagerSetFlags(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeLeave(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_8__", !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_7__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_9__", !14, i64 0} !17 = !{!14, !14, i64 0}
sqlcipher_src_extr_btree.c_sqlite3BtreeSetPagerFlags
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_fpu.c_fpusetxstate.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_fpu.c_fpusetxstate.c" target datalayout = "e-m:e-p270:32:32-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.xstate_hdr = type { i32 } @use_xsave = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @cpu_max_ext_state_size = dso_local local_unnamed_addr global i32 0, align 4 @xsave_mask = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fpusetxstate(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null br i1 %4, label %37, label %5 5: ; preds = %3 %6 = load i32, ptr @use_xsave, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 br label %37 10: ; preds = %5 %11 = icmp ult i64 %2, 4 br i1 %11, label %12, label %14 12: ; preds = %10 %13 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %37 14: ; preds = %10 %15 = load i32, ptr @cpu_max_ext_state_size, align 4, !tbaa !5 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, -4 %18 = icmp ult i64 %17, %2 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %37 21: ; preds = %14 %22 = load i32, ptr %1, align 4, !tbaa !9 %23 = load i32, ptr @xsave_mask, align 4, !tbaa !5 %24 = xor i32 %23, -1 %25 = and i32 %22, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %21 %28 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %37 29: ; preds = %21 %30 = tail call i64 @get_pcb_user_save_td(ptr noundef %0) #2 %31 = add nsw i64 %30, 1 %32 = inttoptr i64 %31 to ptr store i32 %22, ptr %32, align 4, !tbaa !9 %33 = getelementptr inbounds i8, ptr %1, i64 4 %34 = getelementptr inbounds %struct.xstate_hdr, ptr %32, i64 1 %35 = add i64 %2, -4 %36 = tail call i32 @bcopy(ptr noundef nonnull %33, ptr noundef nonnull %34, i64 noundef %35) #2 br label %37 37: ; preds = %3, %29, %27, %19, %12, %8 %38 = phi i32 [ %13, %12 ], [ %20, %19 ], [ %28, %27 ], [ 0, %29 ], [ %9, %8 ], [ 0, %3 ] ret i32 %38 } declare i64 @get_pcb_user_save_td(ptr noundef) local_unnamed_addr #1 declare i32 @bcopy(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 0} !10 = !{!"xstate_hdr", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_fpu.c_fpusetxstate.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_fpu.c_fpusetxstate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @use_xsave = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @cpu_max_ext_state_size = common local_unnamed_addr global i32 0, align 4 @xsave_mask = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fpusetxstate(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null br i1 %4, label %37, label %5 5: ; preds = %3 %6 = load i32, ptr @use_xsave, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 br label %37 10: ; preds = %5 %11 = icmp ult i64 %2, 4 br i1 %11, label %12, label %14 12: ; preds = %10 %13 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %37 14: ; preds = %10 %15 = load i32, ptr @cpu_max_ext_state_size, align 4, !tbaa !6 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, -4 %18 = icmp ult i64 %17, %2 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %37 21: ; preds = %14 %22 = load i32, ptr %1, align 4, !tbaa !10 %23 = load i32, ptr @xsave_mask, align 4, !tbaa !6 %24 = xor i32 %23, -1 %25 = and i32 %22, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %21 %28 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %37 29: ; preds = %21 %30 = tail call i64 @get_pcb_user_save_td(ptr noundef %0) #2 %31 = add nsw i64 %30, 1 %32 = inttoptr i64 %31 to ptr store i32 %22, ptr %32, align 4, !tbaa !10 %33 = getelementptr inbounds i8, ptr %1, i64 4 %34 = getelementptr inbounds i8, ptr %32, i64 4 %35 = add i64 %2, -4 %36 = tail call i32 @bcopy(ptr noundef nonnull %33, ptr noundef nonnull %34, i64 noundef %35) #2 br label %37 37: ; preds = %3, %29, %27, %19, %12, %8 %38 = phi i32 [ %13, %12 ], [ %20, %19 ], [ %28, %27 ], [ 0, %29 ], [ %9, %8 ], [ 0, %3 ] ret i32 %38 } declare i64 @get_pcb_user_save_td(ptr noundef) local_unnamed_addr #1 declare i32 @bcopy(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 0} !11 = !{!"xstate_hdr", !7, i64 0}
freebsd_sys_amd64_amd64_extr_fpu.c_fpusetxstate
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/oss/extr_mulaw.c_ulaw2linear.c' source_filename = "AnghaBench/fastsocket/kernel/sound/core/oss/extr_mulaw.c_ulaw2linear.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @QUANT_MASK = dso_local local_unnamed_addr global i8 0, align 1 @BIAS = dso_local local_unnamed_addr global i8 0, align 1 @SEG_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SEG_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SIGN_BIT = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ulaw2linear], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @ulaw2linear(i8 noundef zeroext %0) #0 { %2 = xor i8 %0, -1 %3 = zext i8 %2 to i32 %4 = load i8, ptr @QUANT_MASK, align 1, !tbaa !5 %5 = and i8 %4, %2 %6 = zext i8 %5 to i32 %7 = shl nuw nsw i32 %6, 3 %8 = load i8, ptr @BIAS, align 1, !tbaa !5 %9 = zext i8 %8 to i32 %10 = add nuw nsw i32 %7, %9 %11 = load i32, ptr @SEG_MASK, align 4, !tbaa !8 %12 = and i32 %11, %3 %13 = load i32, ptr @SEG_SHIFT, align 4, !tbaa !8 %14 = lshr i32 %12, %13 %15 = shl i32 %10, %14 %16 = load i8, ptr @SIGN_BIT, align 1, !tbaa !5 %17 = and i8 %16, %2 %18 = icmp eq i8 %17, 0 %19 = sub nsw i32 %9, %15 %20 = sub nsw i32 %15, %9 %21 = select i1 %18, i32 %20, i32 %19 ret i32 %21 } 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/oss/extr_mulaw.c_ulaw2linear.c' source_filename = "AnghaBench/fastsocket/kernel/sound/core/oss/extr_mulaw.c_ulaw2linear.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QUANT_MASK = common local_unnamed_addr global i8 0, align 1 @BIAS = common local_unnamed_addr global i8 0, align 1 @SEG_MASK = common local_unnamed_addr global i32 0, align 4 @SEG_SHIFT = common local_unnamed_addr global i32 0, align 4 @SIGN_BIT = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @ulaw2linear], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @ulaw2linear(i8 noundef zeroext %0) #0 { %2 = xor i8 %0, -1 %3 = zext i8 %2 to i32 %4 = load i8, ptr @QUANT_MASK, align 1, !tbaa !6 %5 = and i8 %4, %2 %6 = zext i8 %5 to i32 %7 = shl nuw nsw i32 %6, 3 %8 = load i8, ptr @BIAS, align 1, !tbaa !6 %9 = zext i8 %8 to i32 %10 = add nuw nsw i32 %7, %9 %11 = load i32, ptr @SEG_MASK, align 4, !tbaa !9 %12 = and i32 %11, %3 %13 = load i32, ptr @SEG_SHIFT, align 4, !tbaa !9 %14 = lshr i32 %12, %13 %15 = shl i32 %10, %14 %16 = load i8, ptr @SIGN_BIT, align 1, !tbaa !6 %17 = and i8 %16, %2 %18 = icmp eq i8 %17, 0 %19 = sub nsw i32 %9, %15 %20 = sub nsw i32 %15, %9 %21 = select i1 %18, i32 %20, i32 %19 ret i32 %21 } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
fastsocket_kernel_sound_core_oss_extr_mulaw.c_ulaw2linear
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_loadfile.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_loadfile.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr } @.str = private unnamed_addr constant [7 x i8] c"=stdin\00", align 1 @stdin = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"@%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @EOF = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"reopen\00", align 1 @getF = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @luaL_loadfile], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @luaL_loadfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 %4 = tail call i32 @lua_gettop(ptr noundef %0) #5 %5 = add nsw i32 %4, 1 store i32 0, ptr %3, align 8, !tbaa !5 %6 = icmp eq ptr %1, null %7 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 br i1 %6, label %8, label %11 8: ; preds = %2 %9 = tail call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str) #5 %10 = load ptr, ptr @stdin, align 8, !tbaa !11 store ptr %10, ptr %7, align 8, !tbaa !12 br label %17 11: ; preds = %2 %12 = tail call i32 @lua_pushfstring(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #5 %13 = tail call ptr @fopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) store ptr %13, ptr %7, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %5) #5 br label %68 17: ; preds = %11, %8 %18 = phi ptr [ %13, %11 ], [ %10, %8 ] %19 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %20 = tail call i32 @getc(ptr noundef %18) %21 = icmp eq i32 %20, 35 br i1 %21, label %22, label %33 22: ; preds = %17 store i32 1, ptr %3, align 8, !tbaa !5 br label %23 23: ; preds = %23, %22 %24 = tail call i32 @getc(ptr noundef %18) %25 = load i32, ptr @EOF, align 4, !tbaa !13 %26 = icmp ne i32 %24, %25 %27 = icmp ne i32 %24, 10 %28 = and i1 %27, %26 br i1 %28, label %23, label %29, !llvm.loop !14 29: ; preds = %23 %30 = icmp eq i32 %24, 10 br i1 %30, label %31, label %33 31: ; preds = %29 %32 = tail call i32 @getc(ptr noundef %18) br label %33 33: ; preds = %29, %31, %17 %34 = phi i32 [ %32, %31 ], [ %24, %29 ], [ %20, %17 ] %35 = icmp eq i32 %34, 27 %36 = icmp ne ptr %1, null %37 = and i1 %36, %35 br i1 %37, label %38, label %50 38: ; preds = %33 %39 = tail call ptr @freopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef %18) #5 store ptr %39, ptr %19, align 8, !tbaa !12 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %38 %42 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %5) #5 br label %68 43: ; preds = %38, %43 %44 = tail call i32 @getc(ptr noundef nonnull %39) %45 = load i32, ptr @EOF, align 4, !tbaa !13 %46 = icmp ne i32 %44, %45 %47 = icmp ne i32 %44, 27 %48 = and i1 %47, %46 br i1 %48, label %43, label %49, !llvm.loop !16 49: ; preds = %43 store i32 0, ptr %3, align 8, !tbaa !5 br label %50 50: ; preds = %49, %33 %51 = phi ptr [ %39, %49 ], [ %18, %33 ] %52 = phi i32 [ %44, %49 ], [ %34, %33 ] %53 = tail call i32 @ungetc(i32 noundef %52, ptr noundef %51) %54 = load i32, ptr @getF, align 4, !tbaa !13 %55 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #5 %56 = call i32 @lua_load(ptr noundef %0, i32 noundef %54, ptr noundef nonnull %3, i32 noundef %55) #5 %57 = load ptr, ptr %19, align 8, !tbaa !12 %58 = call i32 @ferror(ptr noundef %57) br i1 %36, label %59, label %61 59: ; preds = %50 %60 = call i32 @fclose(ptr noundef %57) br label %61 61: ; preds = %59, %50 %62 = icmp eq i32 %58, 0 br i1 %62, label %66, label %63 63: ; preds = %61 %64 = call i32 @lua_settop(ptr noundef %0, i32 noundef %5) #5 %65 = call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %5) #5 br label %68 66: ; preds = %61 %67 = call i32 @lua_remove(ptr noundef %0, i32 noundef %5) #5 br label %68 68: ; preds = %66, %63, %41, %15 %69 = phi i32 [ %42, %41 ], [ %65, %63 ], [ %56, %66 ], [ %16, %15 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret i32 %69 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushfstring(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @errfile(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @getc(ptr nocapture noundef) local_unnamed_addr #3 declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @lua_load(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind memory(read) declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #4 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_remove(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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_3__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_loadfile.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_loadfile.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, ptr } @.str = private unnamed_addr constant [7 x i8] c"=stdin\00", align 1 @stdin = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"@%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @EOF = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"reopen\00", align 1 @getF = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @luaL_loadfile], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @luaL_loadfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 %4 = tail call i32 @lua_gettop(ptr noundef %0) #5 %5 = add nsw i32 %4, 1 store i32 0, ptr %3, align 8, !tbaa !6 %6 = icmp eq ptr %1, null %7 = getelementptr inbounds i8, ptr %3, i64 8 br i1 %6, label %8, label %11 8: ; preds = %2 %9 = tail call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str) #5 %10 = load ptr, ptr @stdin, align 8, !tbaa !12 store ptr %10, ptr %7, align 8, !tbaa !13 br label %17 11: ; preds = %2 %12 = tail call i32 @lua_pushfstring(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #5 %13 = tail call ptr @fopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) store ptr %13, ptr %7, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %5) #5 br label %67 17: ; preds = %11, %8 %18 = phi ptr [ %13, %11 ], [ %10, %8 ] %19 = tail call i32 @getc(ptr noundef %18) %20 = icmp eq i32 %19, 35 br i1 %20, label %21, label %32 21: ; preds = %17 store i32 1, ptr %3, align 8, !tbaa !6 br label %22 22: ; preds = %22, %21 %23 = tail call i32 @getc(ptr noundef %18) %24 = load i32, ptr @EOF, align 4, !tbaa !14 %25 = icmp ne i32 %23, %24 %26 = icmp ne i32 %23, 10 %27 = and i1 %26, %25 br i1 %27, label %22, label %28, !llvm.loop !15 28: ; preds = %22 %29 = icmp eq i32 %23, 10 br i1 %29, label %30, label %32 30: ; preds = %28 %31 = tail call i32 @getc(ptr noundef %18) br label %32 32: ; preds = %28, %30, %17 %33 = phi i32 [ %31, %30 ], [ %23, %28 ], [ %19, %17 ] %34 = icmp eq i32 %33, 27 %35 = icmp ne ptr %1, null %36 = and i1 %35, %34 br i1 %36, label %37, label %49 37: ; preds = %32 %38 = tail call ptr @freopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef %18) #5 store ptr %38, ptr %7, align 8, !tbaa !13 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %42 40: ; preds = %37 %41 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %5) #5 br label %67 42: ; preds = %37, %42 %43 = tail call i32 @getc(ptr noundef nonnull %38) %44 = load i32, ptr @EOF, align 4, !tbaa !14 %45 = icmp ne i32 %43, %44 %46 = icmp ne i32 %43, 27 %47 = and i1 %46, %45 br i1 %47, label %42, label %48, !llvm.loop !17 48: ; preds = %42 store i32 0, ptr %3, align 8, !tbaa !6 br label %49 49: ; preds = %48, %32 %50 = phi ptr [ %38, %48 ], [ %18, %32 ] %51 = phi i32 [ %43, %48 ], [ %33, %32 ] %52 = tail call i32 @ungetc(i32 noundef %51, ptr noundef %50) %53 = load i32, ptr @getF, align 4, !tbaa !14 %54 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #5 %55 = call i32 @lua_load(ptr noundef %0, i32 noundef %53, ptr noundef nonnull %3, i32 noundef %54) #5 %56 = load ptr, ptr %7, align 8, !tbaa !13 %57 = call i32 @ferror(ptr noundef %56) br i1 %35, label %58, label %60 58: ; preds = %49 %59 = call i32 @fclose(ptr noundef %56) br label %60 60: ; preds = %58, %49 %61 = icmp eq i32 %57, 0 br i1 %61, label %65, label %62 62: ; preds = %60 %63 = call i32 @lua_settop(ptr noundef %0, i32 noundef %5) #5 %64 = call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %5) #5 br label %67 65: ; preds = %60 %66 = call i32 @lua_remove(ptr noundef %0, i32 noundef %5) #5 br label %67 67: ; preds = %65, %62, %40, %15 %68 = phi i32 [ %41, %40 ], [ %64, %62 ], [ %55, %65 ], [ %16, %15 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret i32 %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushfstring(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @errfile(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @getc(ptr nocapture noundef) local_unnamed_addr #3 declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @lua_load(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind memory(read) declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #4 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_remove(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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_3__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
xLua_build_luajit-2.1.0b2_src_host_extr_minilua.c_luaL_loadfile
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_attach.c" target datalayout = "e-m:e-p270:32:32-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.uart_softc = type { i32, %struct.uart_bas, i32 } %struct.uart_bas = type { i32 } @UART_DRAIN_TRANSMITTER = dso_local local_unnamed_addr global i32 0, align 4 @REG_MCR = dso_local local_unnamed_addr global i32 0, align 4 @FCR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @FCR_RX_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @REG_FCR = dso_local local_unnamed_addr global i32 0, align 4 @UART_FLUSH_RECEIVER = dso_local local_unnamed_addr global i32 0, align 4 @UART_FLUSH_TRANSMITTER = dso_local local_unnamed_addr global i32 0, align 4 @MCR_DTR = dso_local local_unnamed_addr global i32 0, align 4 @SER_DTR = dso_local local_unnamed_addr global i32 0, align 4 @MCR_RTS = dso_local local_unnamed_addr global i32 0, align 4 @SER_RTS = dso_local local_unnamed_addr global i32 0, align 4 @REG_IER = dso_local local_unnamed_addr global i32 0, align 4 @IER_EMSC = dso_local local_unnamed_addr global i32 0, align 4 @IER_ERLS = dso_local local_unnamed_addr global i32 0, align 4 @IER_ERXRDY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @oct16550_bus_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @oct16550_bus_attach(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.uart_softc, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @device_get_unit(i32 noundef %3) #2 %5 = getelementptr inbounds %struct.uart_softc, ptr %0, i64 0, i32 1 %6 = load i32, ptr @UART_DRAIN_TRANSMITTER, align 4, !tbaa !11 %7 = tail call i32 @oct16550_drain(ptr noundef nonnull %5, i32 noundef %6) #2 %8 = load i32, ptr @REG_MCR, align 4, !tbaa !11 %9 = tail call i32 @uart_getreg(ptr noundef nonnull %5, i32 noundef %8) #2 store i32 %9, ptr %0, align 4, !tbaa !12 %10 = load i32, ptr @FCR_ENABLE, align 4, !tbaa !11 %11 = load i32, ptr @FCR_RX_HIGH, align 4, !tbaa !11 %12 = or i32 %11, %10 store i32 %12, ptr %5, align 4, !tbaa !14 %13 = load i32, ptr @REG_FCR, align 4, !tbaa !11 %14 = tail call i32 @uart_setreg(ptr noundef nonnull %5, i32 noundef %13, i32 noundef %12) #2 %15 = tail call i32 @uart_barrier(ptr noundef nonnull %5) #2 %16 = load i32, ptr @UART_FLUSH_RECEIVER, align 4, !tbaa !11 %17 = load i32, ptr @UART_FLUSH_TRANSMITTER, align 4, !tbaa !11 %18 = or i32 %17, %16 %19 = tail call i32 @oct16550_bus_flush(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = load i32, ptr %0, align 4, !tbaa !11 %21 = load i32, ptr @MCR_DTR, align 4, !tbaa !11 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %1 %25 = load i32, ptr @SER_DTR, align 4, !tbaa !11 %26 = or i32 %25, %20 store i32 %26, ptr %0, align 4, !tbaa !15 br label %27 27: ; preds = %24, %1 %28 = phi i32 [ %26, %24 ], [ %20, %1 ] %29 = load i32, ptr @MCR_RTS, align 4, !tbaa !11 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = load i32, ptr @SER_RTS, align 4, !tbaa !11 %34 = or i32 %33, %28 store i32 %34, ptr %0, align 4, !tbaa !15 br label %35 35: ; preds = %32, %27 %36 = tail call i32 @oct16550_bus_getsig(ptr noundef nonnull %0) #2 %37 = tail call i32 @oct16550_clrint(ptr noundef nonnull %5) #2 %38 = load i32, ptr @REG_IER, align 4, !tbaa !11 %39 = tail call i32 @uart_getreg(ptr noundef nonnull %5, i32 noundef %38) #2 %40 = and i32 %39, 240 %41 = load i32, ptr @IER_EMSC, align 4, !tbaa !11 %42 = load i32, ptr @IER_ERLS, align 4, !tbaa !11 %43 = load i32, ptr @IER_ERXRDY, align 4, !tbaa !11 %44 = or i32 %41, %42 %45 = or i32 %44, %43 %46 = or i32 %45, %40 store i32 %46, ptr %2, align 4, !tbaa !16 %47 = load i32, ptr @REG_IER, align 4, !tbaa !11 %48 = tail call i32 @uart_setreg(ptr noundef nonnull %5, i32 noundef %47, i32 noundef %46) #2 %49 = tail call i32 @uart_barrier(ptr noundef nonnull %5) #2 ret i32 0 } declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @oct16550_drain(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_getreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_setreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_barrier(ptr noundef) local_unnamed_addr #1 declare i32 @oct16550_bus_flush(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @oct16550_bus_getsig(ptr noundef) local_unnamed_addr #1 declare i32 @oct16550_clrint(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 = !{!"uart_softc", !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 = !{!"uart_bas", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"oct16550_softc", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!13, !7, i64 4} !15 = !{!6, !7, i64 0} !16 = !{!13, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UART_DRAIN_TRANSMITTER = common local_unnamed_addr global i32 0, align 4 @REG_MCR = common local_unnamed_addr global i32 0, align 4 @FCR_ENABLE = common local_unnamed_addr global i32 0, align 4 @FCR_RX_HIGH = common local_unnamed_addr global i32 0, align 4 @REG_FCR = common local_unnamed_addr global i32 0, align 4 @UART_FLUSH_RECEIVER = common local_unnamed_addr global i32 0, align 4 @UART_FLUSH_TRANSMITTER = common local_unnamed_addr global i32 0, align 4 @MCR_DTR = common local_unnamed_addr global i32 0, align 4 @SER_DTR = common local_unnamed_addr global i32 0, align 4 @MCR_RTS = common local_unnamed_addr global i32 0, align 4 @SER_RTS = common local_unnamed_addr global i32 0, align 4 @REG_IER = common local_unnamed_addr global i32 0, align 4 @IER_EMSC = common local_unnamed_addr global i32 0, align 4 @IER_ERLS = common local_unnamed_addr global i32 0, align 4 @IER_ERXRDY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @oct16550_bus_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @oct16550_bus_attach(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @device_get_unit(i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr @UART_DRAIN_TRANSMITTER, align 4, !tbaa !12 %7 = tail call i32 @oct16550_drain(ptr noundef nonnull %5, i32 noundef %6) #2 %8 = load i32, ptr @REG_MCR, align 4, !tbaa !12 %9 = tail call i32 @uart_getreg(ptr noundef nonnull %5, i32 noundef %8) #2 store i32 %9, ptr %0, align 4, !tbaa !13 %10 = load i32, ptr @FCR_ENABLE, align 4, !tbaa !12 %11 = load i32, ptr @FCR_RX_HIGH, align 4, !tbaa !12 %12 = or i32 %11, %10 store i32 %12, ptr %5, align 4, !tbaa !15 %13 = load i32, ptr @REG_FCR, align 4, !tbaa !12 %14 = tail call i32 @uart_setreg(ptr noundef nonnull %5, i32 noundef %13, i32 noundef %12) #2 %15 = tail call i32 @uart_barrier(ptr noundef nonnull %5) #2 %16 = load i32, ptr @UART_FLUSH_RECEIVER, align 4, !tbaa !12 %17 = load i32, ptr @UART_FLUSH_TRANSMITTER, align 4, !tbaa !12 %18 = or i32 %17, %16 %19 = tail call i32 @oct16550_bus_flush(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = load i32, ptr %0, align 4, !tbaa !12 %21 = load i32, ptr @MCR_DTR, align 4, !tbaa !12 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %1 %25 = load i32, ptr @SER_DTR, align 4, !tbaa !12 %26 = or i32 %25, %20 store i32 %26, ptr %0, align 4, !tbaa !16 br label %27 27: ; preds = %24, %1 %28 = phi i32 [ %26, %24 ], [ %20, %1 ] %29 = load i32, ptr @MCR_RTS, align 4, !tbaa !12 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = load i32, ptr @SER_RTS, align 4, !tbaa !12 %34 = or i32 %33, %28 store i32 %34, ptr %0, align 4, !tbaa !16 br label %35 35: ; preds = %32, %27 %36 = tail call i32 @oct16550_bus_getsig(ptr noundef nonnull %0) #2 %37 = tail call i32 @oct16550_clrint(ptr noundef nonnull %5) #2 %38 = load i32, ptr @REG_IER, align 4, !tbaa !12 %39 = tail call i32 @uart_getreg(ptr noundef nonnull %5, i32 noundef %38) #2 %40 = and i32 %39, 240 %41 = load i32, ptr @IER_EMSC, align 4, !tbaa !12 %42 = load i32, ptr @IER_ERLS, align 4, !tbaa !12 %43 = load i32, ptr @IER_ERXRDY, align 4, !tbaa !12 %44 = or i32 %41, %42 %45 = or i32 %44, %43 %46 = or i32 %45, %40 store i32 %46, ptr %2, align 4, !tbaa !17 %47 = load i32, ptr @REG_IER, align 4, !tbaa !12 %48 = tail call i32 @uart_setreg(ptr noundef nonnull %5, i32 noundef %47, i32 noundef %46) #2 %49 = tail call i32 @uart_barrier(ptr noundef nonnull %5) #2 ret i32 0 } declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @oct16550_drain(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_getreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_setreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_barrier(ptr noundef) local_unnamed_addr #1 declare i32 @oct16550_bus_flush(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @oct16550_bus_getsig(ptr noundef) local_unnamed_addr #1 declare i32 @oct16550_clrint(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 = !{!"uart_softc", !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 = !{!"uart_bas", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"oct16550_softc", !8, i64 0, !8, i64 4, !8, i64 8} !15 = !{!14, !8, i64 4} !16 = !{!7, !8, i64 0} !17 = !{!14, !8, i64 8}
freebsd_sys_mips_cavium_extr_uart_dev_oct16550.c_oct16550_bus_attach
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_main.c___mlx4_counter_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_main.c___mlx4_counter_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" @MLX4_DEV_CAP_FLAG_COUNTERS = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @__mlx4_counter_alloc(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = tail call ptr @mlx4_priv(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @MLX4_DEV_CAP_FLAG_COUNTERS, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @ENOENT, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %17 11: ; preds = %2 %12 = tail call i32 @mlx4_bitmap_alloc(ptr noundef %3) #2 store i32 %12, ptr %1, align 4, !tbaa !11 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %16 = sub nsw i32 0, %15 br label %17 17: ; preds = %11, %14, %8 %18 = phi i32 [ %16, %14 ], [ %10, %8 ], [ 0, %11 ] ret i32 %18 } declare ptr @mlx4_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mlx4_bitmap_alloc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"mlx4_dev", !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"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_main.c___mlx4_counter_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_main.c___mlx4_counter_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX4_DEV_CAP_FLAG_COUNTERS = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @__mlx4_counter_alloc(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = tail call ptr @mlx4_priv(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @MLX4_DEV_CAP_FLAG_COUNTERS, align 4, !tbaa !12 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @ENOENT, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 br label %17 11: ; preds = %2 %12 = tail call i32 @mlx4_bitmap_alloc(ptr noundef %3) #2 store i32 %12, ptr %1, align 4, !tbaa !12 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %16 = sub nsw i32 0, %15 br label %17 17: ; preds = %11, %14, %8 %18 = phi i32 [ %16, %14 ], [ %10, %8 ], [ 0, %11 ] ret i32 %18 } declare ptr @mlx4_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mlx4_bitmap_alloc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"mlx4_dev", !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"} !12 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_net_mlx4_extr_main.c___mlx4_counter_alloc
; ModuleID = 'AnghaBench/ccv/lib/nnc/extr_ccv_nnc_graph.c__ccv_nnc_graph_dot_case_of_label.c' source_filename = "AnghaBench/ccv/lib/nnc/extr_ccv_nnc_graph.c__ccv_nnc_graph_dot_case_of_label.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { ptr, ptr, ptr, ptr } %struct.TYPE_11__ = type { i32, i32, ptr, ptr, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_9__ = type { i64, i64 } @.str = private unnamed_addr constant [33 x i8] c"label=<<b>caseof%d </b>Command: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c">;\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"label%d [shape=record,label=\22{\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"{Input|{\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}}\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"{Output|{\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"}\22];\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_ccv_nnc_graph_dot_case_of_label], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_ccv_nnc_graph_dot_case_of_label(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef byval(%struct.TYPE_10__) align 8 %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr nocapture noundef %6) #0 { %8 = alloca i32, align 4 %9 = tail call i32 @fprintf(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #5 %10 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4 %11 = load i32, ptr %10, align 8, !tbaa !5 %12 = tail call ptr @ccv_nnc_cmd_name(i32 noundef %11) #5 %13 = tail call i32 @fputs(ptr noundef %12, ptr noundef %5) %14 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 3, i64 1, ptr %5) %15 = tail call i32 @fprintf(ptr noundef %5, ptr noundef nonnull @.str.2, i32 noundef %1) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5 %16 = load i32, ptr %6, align 4, !tbaa !12 store i32 %16, ptr %8, align 4, !tbaa !12 %17 = load i32, ptr %0, align 8, !tbaa !13 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %116 19: ; preds = %7 %20 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 8, i64 1, ptr %5) %21 = load i32, ptr %0, align 8, !tbaa !13 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %114 23: ; preds = %19 %24 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 %25 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 3 %26 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1 %28 = load ptr, ptr %24, align 8, !tbaa !14 %29 = load i64, ptr %28, align 8, !tbaa !15 %30 = icmp eq i64 %29, 0 br i1 %30, label %62, label %31 31: ; preds = %23 %32 = tail call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %29) #5 %33 = icmp eq i64 %32, 0 br i1 %33, label %39, label %34 34: ; preds = %31 %35 = load ptr, ptr %24, align 8, !tbaa !14 %36 = load i64, ptr %35, align 8, !tbaa !15 %37 = inttoptr i64 %36 to ptr %38 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %37, ptr noundef nonnull byval(%struct.TYPE_10__) align 8 %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #5 br label %64 39: ; preds = %31 %40 = load ptr, ptr %25, align 8, !tbaa !17 %41 = load ptr, ptr %2, align 8, !tbaa !19 %42 = load i32, ptr %8, align 4, !tbaa !12 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4, !tbaa !12 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds %struct.TYPE_9__, ptr %40, i64 %46 %48 = load ptr, ptr %26, align 8, !tbaa !20 %49 = load i64, ptr %47, align 8, !tbaa !21 %50 = getelementptr inbounds i32, ptr %48, i64 %49 %51 = load i32, ptr %50, align 4, !tbaa !12 %52 = load ptr, ptr %24, align 8, !tbaa !14 %53 = load i64, ptr %52, align 8, !tbaa !15 %54 = load ptr, ptr %27, align 8, !tbaa !23 %55 = getelementptr inbounds %struct.TYPE_9__, ptr %40, i64 %46, i32 1 %56 = load i64, ptr %55, align 8, !tbaa !24 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4, !tbaa !12 %59 = tail call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %51, i64 noundef %53, i32 noundef %58, i32 noundef %3, i32 noundef %4, ptr noundef %5) #5 %60 = load i32, ptr %8, align 4, !tbaa !12 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4, !tbaa !12 br label %64 62: ; preds = %23 %63 = tail call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #5 br label %64 64: ; preds = %62, %39, %34 %65 = load i32, ptr %0, align 8, !tbaa !13 %66 = icmp sgt i32 %65, 1 br i1 %66, label %67, label %114 67: ; preds = %64, %109 %68 = phi i64 [ %110, %109 ], [ 1, %64 ] %69 = call i32 @fputc(i8 noundef signext 124, ptr noundef %5) #5 %70 = load ptr, ptr %24, align 8, !tbaa !14 %71 = getelementptr inbounds i64, ptr %70, i64 %68 %72 = load i64, ptr %71, align 8, !tbaa !15 %73 = icmp eq i64 %72, 0 br i1 %73, label %107, label %74 74: ; preds = %67 %75 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %72) #5 %76 = icmp eq i64 %75, 0 br i1 %76, label %83, label %77 77: ; preds = %74 %78 = load ptr, ptr %24, align 8, !tbaa !14 %79 = getelementptr inbounds i64, ptr %78, i64 %68 %80 = load i64, ptr %79, align 8, !tbaa !15 %81 = inttoptr i64 %80 to ptr %82 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %81, ptr noundef nonnull byval(%struct.TYPE_10__) align 8 %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #5 br label %109 83: ; preds = %74 %84 = load ptr, ptr %25, align 8, !tbaa !17 %85 = load ptr, ptr %2, align 8, !tbaa !19 %86 = load i32, ptr %8, align 4, !tbaa !12 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4, !tbaa !12 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds %struct.TYPE_9__, ptr %84, i64 %90 %92 = load ptr, ptr %26, align 8, !tbaa !20 %93 = load i64, ptr %91, align 8, !tbaa !21 %94 = getelementptr inbounds i32, ptr %92, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !12 %96 = load ptr, ptr %24, align 8, !tbaa !14 %97 = getelementptr inbounds i64, ptr %96, i64 %68 %98 = load i64, ptr %97, align 8, !tbaa !15 %99 = load ptr, ptr %27, align 8, !tbaa !23 %100 = getelementptr inbounds %struct.TYPE_9__, ptr %84, i64 %90, i32 1 %101 = load i64, ptr %100, align 8, !tbaa !24 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4, !tbaa !12 %104 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %95, i64 noundef %98, i32 noundef %103, i32 noundef %3, i32 noundef %4, ptr noundef %5) #5 %105 = load i32, ptr %8, align 4, !tbaa !12 %106 = add nsw i32 %105, 1 store i32 %106, ptr %8, align 4, !tbaa !12 br label %109 107: ; preds = %67 %108 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #5 br label %109 109: ; preds = %107, %83, %77 %110 = add nuw nsw i64 %68, 1 %111 = load i32, ptr %0, align 8, !tbaa !13 %112 = sext i32 %111 to i64 %113 = icmp slt i64 %110, %112 br i1 %113, label %67, label %114, !llvm.loop !25 114: ; preds = %109, %64, %19 %115 = call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %5) br label %116 116: ; preds = %114, %7 %117 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %118 = load i32, ptr %117, align 4, !tbaa !28 %119 = icmp sgt i32 %118, 0 br i1 %119, label %120, label %222 120: ; preds = %116 %121 = load i32, ptr %0, align 8, !tbaa !13 %122 = icmp sgt i32 %121, 0 br i1 %122, label %123, label %125 123: ; preds = %120 %124 = call i64 @fwrite(ptr nonnull @.str.5, i64 1, i64 1, ptr %5) br label %125 125: ; preds = %123, %120 %126 = call i64 @fwrite(ptr nonnull @.str.6, i64 9, i64 1, ptr %5) %127 = load i32, ptr %117, align 4, !tbaa !28 %128 = icmp sgt i32 %127, 0 br i1 %128, label %129, label %220 129: ; preds = %125 %130 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %131 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 3 %132 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2 %133 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1 %134 = load ptr, ptr %130, align 8, !tbaa !29 %135 = load i64, ptr %134, align 8, !tbaa !15 %136 = icmp eq i64 %135, 0 br i1 %136, label %168, label %137 137: ; preds = %129 %138 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %135) #5 %139 = icmp eq i64 %138, 0 br i1 %139, label %145, label %140 140: ; preds = %137 %141 = load ptr, ptr %130, align 8, !tbaa !29 %142 = load i64, ptr %141, align 8, !tbaa !15 %143 = inttoptr i64 %142 to ptr %144 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %143, ptr noundef nonnull byval(%struct.TYPE_10__) align 8 %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #5 br label %170 145: ; preds = %137 %146 = load ptr, ptr %131, align 8, !tbaa !17 %147 = load ptr, ptr %2, align 8, !tbaa !19 %148 = load i32, ptr %8, align 4, !tbaa !12 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %147, i64 %149 %151 = load i32, ptr %150, align 4, !tbaa !12 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds %struct.TYPE_9__, ptr %146, i64 %152 %154 = load ptr, ptr %132, align 8, !tbaa !20 %155 = load i64, ptr %153, align 8, !tbaa !21 %156 = getelementptr inbounds i32, ptr %154, i64 %155 %157 = load i32, ptr %156, align 4, !tbaa !12 %158 = load ptr, ptr %130, align 8, !tbaa !29 %159 = load i64, ptr %158, align 8, !tbaa !15 %160 = load ptr, ptr %133, align 8, !tbaa !23 %161 = getelementptr inbounds %struct.TYPE_9__, ptr %146, i64 %152, i32 1 %162 = load i64, ptr %161, align 8, !tbaa !24 %163 = getelementptr inbounds i32, ptr %160, i64 %162 %164 = load i32, ptr %163, align 4, !tbaa !12 %165 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %157, i64 noundef %159, i32 noundef %164, i32 noundef %3, i32 noundef %4, ptr noundef %5) #5 %166 = load i32, ptr %8, align 4, !tbaa !12 %167 = add nsw i32 %166, 1 store i32 %167, ptr %8, align 4, !tbaa !12 br label %170 168: ; preds = %129 %169 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #5 br label %170 170: ; preds = %168, %145, %140 %171 = load i32, ptr %117, align 4, !tbaa !28 %172 = icmp sgt i32 %171, 1 br i1 %172, label %173, label %220 173: ; preds = %170, %215 %174 = phi i64 [ %216, %215 ], [ 1, %170 ] %175 = call i32 @fputc(i8 noundef signext 124, ptr noundef %5) #5 %176 = load ptr, ptr %130, align 8, !tbaa !29 %177 = getelementptr inbounds i64, ptr %176, i64 %174 %178 = load i64, ptr %177, align 8, !tbaa !15 %179 = icmp eq i64 %178, 0 br i1 %179, label %213, label %180 180: ; preds = %173 %181 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %178) #5 %182 = icmp eq i64 %181, 0 br i1 %182, label %189, label %183 183: ; preds = %180 %184 = load ptr, ptr %130, align 8, !tbaa !29 %185 = getelementptr inbounds i64, ptr %184, i64 %174 %186 = load i64, ptr %185, align 8, !tbaa !15 %187 = inttoptr i64 %186 to ptr %188 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %187, ptr noundef nonnull byval(%struct.TYPE_10__) align 8 %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #5 br label %215 189: ; preds = %180 %190 = load ptr, ptr %131, align 8, !tbaa !17 %191 = load ptr, ptr %2, align 8, !tbaa !19 %192 = load i32, ptr %8, align 4, !tbaa !12 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %191, i64 %193 %195 = load i32, ptr %194, align 4, !tbaa !12 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds %struct.TYPE_9__, ptr %190, i64 %196 %198 = load ptr, ptr %132, align 8, !tbaa !20 %199 = load i64, ptr %197, align 8, !tbaa !21 %200 = getelementptr inbounds i32, ptr %198, i64 %199 %201 = load i32, ptr %200, align 4, !tbaa !12 %202 = load ptr, ptr %130, align 8, !tbaa !29 %203 = getelementptr inbounds i64, ptr %202, i64 %174 %204 = load i64, ptr %203, align 8, !tbaa !15 %205 = load ptr, ptr %133, align 8, !tbaa !23 %206 = getelementptr inbounds %struct.TYPE_9__, ptr %190, i64 %196, i32 1 %207 = load i64, ptr %206, align 8, !tbaa !24 %208 = getelementptr inbounds i32, ptr %205, i64 %207 %209 = load i32, ptr %208, align 4, !tbaa !12 %210 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %201, i64 noundef %204, i32 noundef %209, i32 noundef %3, i32 noundef %4, ptr noundef %5) #5 %211 = load i32, ptr %8, align 4, !tbaa !12 %212 = add nsw i32 %211, 1 store i32 %212, ptr %8, align 4, !tbaa !12 br label %215 213: ; preds = %173 %214 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #5 br label %215 215: ; preds = %213, %189, %183 %216 = add nuw nsw i64 %174, 1 %217 = load i32, ptr %117, align 4, !tbaa !28 %218 = sext i32 %217 to i64 %219 = icmp slt i64 %216, %218 br i1 %219, label %173, label %220, !llvm.loop !30 220: ; preds = %215, %170, %125 %221 = call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %5) br label %222 222: ; preds = %220, %116 %223 = call i64 @fwrite(ptr nonnull @.str.7, i64 5, i64 1, ptr %5) %224 = load i32, ptr %8, align 4, !tbaa !12 store i32 %224, ptr %6, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5 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 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #3 declare ptr @ccv_nnc_cmd_name(i32 noundef) local_unnamed_addr #2 declare i32 @fputc(i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef) local_unnamed_addr #2 declare i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef, ptr noundef byval(%struct.TYPE_10__) align 8, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @_ccv_nnc_graph_dot_tensor(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind } 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 24} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, 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 = !{!"TYPE_8__", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !10, i64 16} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!18, !10, i64 24} !18 = !{!"TYPE_10__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !19 = !{!18, !10, i64 0} !20 = !{!18, !10, i64 16} !21 = !{!22, !16, i64 0} !22 = !{!"TYPE_9__", !16, i64 0, !16, i64 8} !23 = !{!18, !10, i64 8} !24 = !{!22, !16, i64 8} !25 = distinct !{!25, !26, !27} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!"llvm.loop.peeled.count", i32 1} !28 = !{!6, !7, i64 4} !29 = !{!6, !10, i64 8} !30 = distinct !{!30, !26, !27}
; ModuleID = 'AnghaBench/ccv/lib/nnc/extr_ccv_nnc_graph.c__ccv_nnc_graph_dot_case_of_label.c' source_filename = "AnghaBench/ccv/lib/nnc/extr_ccv_nnc_graph.c__ccv_nnc_graph_dot_case_of_label.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { ptr, ptr, ptr, ptr } %struct.TYPE_9__ = type { i64, i64 } @.str = private unnamed_addr constant [33 x i8] c"label=<<b>caseof%d </b>Command: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c">;\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"label%d [shape=record,label=\22{\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"{Input|{\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}}\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"{Output|{\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"}\22];\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_ccv_nnc_graph_dot_case_of_label], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_ccv_nnc_graph_dot_case_of_label(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr nocapture noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca %struct.TYPE_10__, align 8 %10 = alloca %struct.TYPE_10__, align 8 %11 = tail call i32 @fprintf(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #6 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load i32, ptr %12, align 8, !tbaa !6 %14 = tail call ptr @ccv_nnc_cmd_name(i32 noundef %13) #6 %15 = tail call i32 @fputs(ptr noundef %14, ptr noundef %5) %16 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 3, i64 1, ptr %5) %17 = tail call i32 @fprintf(ptr noundef %5, ptr noundef nonnull @.str.2, i32 noundef %1) #6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6 %18 = load i32, ptr %6, align 4, !tbaa !13 store i32 %18, ptr %8, align 4, !tbaa !13 %19 = load i32, ptr %0, align 8, !tbaa !14 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %118 21: ; preds = %7 %22 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 8, i64 1, ptr %5) %23 = load i32, ptr %0, align 8, !tbaa !14 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %116 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %0, i64 16 %27 = getelementptr inbounds i8, ptr %2, i64 24 %28 = getelementptr inbounds i8, ptr %2, i64 16 %29 = getelementptr inbounds i8, ptr %2, i64 8 %30 = load ptr, ptr %26, align 8, !tbaa !15 %31 = load i64, ptr %30, align 8, !tbaa !16 %32 = icmp eq i64 %31, 0 br i1 %32, label %64, label %33 33: ; preds = %25 %34 = tail call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %31) #6 %35 = icmp eq i64 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %33 %37 = load ptr, ptr %26, align 8, !tbaa !15 %38 = load i64, ptr %37, align 8, !tbaa !16 %39 = inttoptr i64 %38 to ptr call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !18 %40 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %39, ptr noundef nonnull %9, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #6 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6 br label %66 41: ; preds = %33 %42 = load ptr, ptr %27, align 8, !tbaa !20 %43 = load ptr, ptr %2, align 8, !tbaa !22 %44 = load i32, ptr %8, align 4, !tbaa !13 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4, !tbaa !13 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i64 %48 %50 = load ptr, ptr %28, align 8, !tbaa !23 %51 = load i64, ptr %49, align 8, !tbaa !24 %52 = getelementptr inbounds i32, ptr %50, i64 %51 %53 = load i32, ptr %52, align 4, !tbaa !13 %54 = load ptr, ptr %26, align 8, !tbaa !15 %55 = load i64, ptr %54, align 8, !tbaa !16 %56 = load ptr, ptr %29, align 8, !tbaa !26 %57 = getelementptr inbounds i8, ptr %49, i64 8 %58 = load i64, ptr %57, align 8, !tbaa !27 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4, !tbaa !13 %61 = tail call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %53, i64 noundef %55, i32 noundef %60, i32 noundef %3, i32 noundef %4, ptr noundef %5) #6 %62 = load i32, ptr %8, align 4, !tbaa !13 %63 = add nsw i32 %62, 1 store i32 %63, ptr %8, align 4, !tbaa !13 br label %66 64: ; preds = %25 %65 = tail call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #6 br label %66 66: ; preds = %64, %41, %36 %67 = load i32, ptr %0, align 8, !tbaa !14 %68 = icmp sgt i32 %67, 1 br i1 %68, label %69, label %116 69: ; preds = %66, %111 %70 = phi i64 [ %112, %111 ], [ 1, %66 ] %71 = call i32 @fputc(i8 noundef signext 124, ptr noundef %5) #6 %72 = load ptr, ptr %26, align 8, !tbaa !15 %73 = getelementptr inbounds i64, ptr %72, i64 %70 %74 = load i64, ptr %73, align 8, !tbaa !16 %75 = icmp eq i64 %74, 0 br i1 %75, label %109, label %76 76: ; preds = %69 %77 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %74) #6 %78 = icmp eq i64 %77, 0 br i1 %78, label %85, label %79 79: ; preds = %76 %80 = load ptr, ptr %26, align 8, !tbaa !15 %81 = getelementptr inbounds i64, ptr %80, i64 %70 %82 = load i64, ptr %81, align 8, !tbaa !16 %83 = inttoptr i64 %82 to ptr call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !18 %84 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %83, ptr noundef nonnull %9, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #6 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6 br label %111 85: ; preds = %76 %86 = load ptr, ptr %27, align 8, !tbaa !20 %87 = load ptr, ptr %2, align 8, !tbaa !22 %88 = load i32, ptr %8, align 4, !tbaa !13 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4, !tbaa !13 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds %struct.TYPE_9__, ptr %86, i64 %92 %94 = load ptr, ptr %28, align 8, !tbaa !23 %95 = load i64, ptr %93, align 8, !tbaa !24 %96 = getelementptr inbounds i32, ptr %94, i64 %95 %97 = load i32, ptr %96, align 4, !tbaa !13 %98 = load ptr, ptr %26, align 8, !tbaa !15 %99 = getelementptr inbounds i64, ptr %98, i64 %70 %100 = load i64, ptr %99, align 8, !tbaa !16 %101 = load ptr, ptr %29, align 8, !tbaa !26 %102 = getelementptr inbounds i8, ptr %93, i64 8 %103 = load i64, ptr %102, align 8, !tbaa !27 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4, !tbaa !13 %106 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %97, i64 noundef %100, i32 noundef %105, i32 noundef %3, i32 noundef %4, ptr noundef %5) #6 %107 = load i32, ptr %8, align 4, !tbaa !13 %108 = add nsw i32 %107, 1 store i32 %108, ptr %8, align 4, !tbaa !13 br label %111 109: ; preds = %69 %110 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #6 br label %111 111: ; preds = %109, %85, %79 %112 = add nuw nsw i64 %70, 1 %113 = load i32, ptr %0, align 8, !tbaa !14 %114 = sext i32 %113 to i64 %115 = icmp slt i64 %112, %114 br i1 %115, label %69, label %116, !llvm.loop !28 116: ; preds = %111, %66, %21 %117 = call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %5) br label %118 118: ; preds = %116, %7 %119 = getelementptr inbounds i8, ptr %0, i64 4 %120 = load i32, ptr %119, align 4, !tbaa !31 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %224 122: ; preds = %118 %123 = load i32, ptr %0, align 8, !tbaa !14 %124 = icmp sgt i32 %123, 0 br i1 %124, label %125, label %127 125: ; preds = %122 %126 = call i64 @fwrite(ptr nonnull @.str.5, i64 1, i64 1, ptr %5) br label %127 127: ; preds = %125, %122 %128 = call i64 @fwrite(ptr nonnull @.str.6, i64 9, i64 1, ptr %5) %129 = load i32, ptr %119, align 4, !tbaa !31 %130 = icmp sgt i32 %129, 0 br i1 %130, label %131, label %222 131: ; preds = %127 %132 = getelementptr inbounds i8, ptr %0, i64 8 %133 = getelementptr inbounds i8, ptr %2, i64 24 %134 = getelementptr inbounds i8, ptr %2, i64 16 %135 = getelementptr inbounds i8, ptr %2, i64 8 %136 = load ptr, ptr %132, align 8, !tbaa !32 %137 = load i64, ptr %136, align 8, !tbaa !16 %138 = icmp eq i64 %137, 0 br i1 %138, label %170, label %139 139: ; preds = %131 %140 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %137) #6 %141 = icmp eq i64 %140, 0 br i1 %141, label %147, label %142 142: ; preds = %139 %143 = load ptr, ptr %132, align 8, !tbaa !32 %144 = load i64, ptr %143, align 8, !tbaa !16 %145 = inttoptr i64 %144 to ptr call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !18 %146 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %145, ptr noundef nonnull %10, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #6 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6 br label %172 147: ; preds = %139 %148 = load ptr, ptr %133, align 8, !tbaa !20 %149 = load ptr, ptr %2, align 8, !tbaa !22 %150 = load i32, ptr %8, align 4, !tbaa !13 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %149, i64 %151 %153 = load i32, ptr %152, align 4, !tbaa !13 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds %struct.TYPE_9__, ptr %148, i64 %154 %156 = load ptr, ptr %134, align 8, !tbaa !23 %157 = load i64, ptr %155, align 8, !tbaa !24 %158 = getelementptr inbounds i32, ptr %156, i64 %157 %159 = load i32, ptr %158, align 4, !tbaa !13 %160 = load ptr, ptr %132, align 8, !tbaa !32 %161 = load i64, ptr %160, align 8, !tbaa !16 %162 = load ptr, ptr %135, align 8, !tbaa !26 %163 = getelementptr inbounds i8, ptr %155, i64 8 %164 = load i64, ptr %163, align 8, !tbaa !27 %165 = getelementptr inbounds i32, ptr %162, i64 %164 %166 = load i32, ptr %165, align 4, !tbaa !13 %167 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %159, i64 noundef %161, i32 noundef %166, i32 noundef %3, i32 noundef %4, ptr noundef %5) #6 %168 = load i32, ptr %8, align 4, !tbaa !13 %169 = add nsw i32 %168, 1 store i32 %169, ptr %8, align 4, !tbaa !13 br label %172 170: ; preds = %131 %171 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #6 br label %172 172: ; preds = %170, %147, %142 %173 = load i32, ptr %119, align 4, !tbaa !31 %174 = icmp sgt i32 %173, 1 br i1 %174, label %175, label %222 175: ; preds = %172, %217 %176 = phi i64 [ %218, %217 ], [ 1, %172 ] %177 = call i32 @fputc(i8 noundef signext 124, ptr noundef %5) #6 %178 = load ptr, ptr %132, align 8, !tbaa !32 %179 = getelementptr inbounds i64, ptr %178, i64 %176 %180 = load i64, ptr %179, align 8, !tbaa !16 %181 = icmp eq i64 %180, 0 br i1 %181, label %215, label %182 182: ; preds = %175 %183 = call i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef %180) #6 %184 = icmp eq i64 %183, 0 br i1 %184, label %191, label %185 185: ; preds = %182 %186 = load ptr, ptr %132, align 8, !tbaa !32 %187 = getelementptr inbounds i64, ptr %186, i64 %176 %188 = load i64, ptr %187, align 8, !tbaa !16 %189 = inttoptr i64 %188 to ptr call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !18 %190 = call i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef %189, ptr noundef nonnull %10, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef %5) #6 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6 br label %217 191: ; preds = %182 %192 = load ptr, ptr %133, align 8, !tbaa !20 %193 = load ptr, ptr %2, align 8, !tbaa !22 %194 = load i32, ptr %8, align 4, !tbaa !13 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds i32, ptr %193, i64 %195 %197 = load i32, ptr %196, align 4, !tbaa !13 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds %struct.TYPE_9__, ptr %192, i64 %198 %200 = load ptr, ptr %134, align 8, !tbaa !23 %201 = load i64, ptr %199, align 8, !tbaa !24 %202 = getelementptr inbounds i32, ptr %200, i64 %201 %203 = load i32, ptr %202, align 4, !tbaa !13 %204 = load ptr, ptr %132, align 8, !tbaa !32 %205 = getelementptr inbounds i64, ptr %204, i64 %176 %206 = load i64, ptr %205, align 8, !tbaa !16 %207 = load ptr, ptr %135, align 8, !tbaa !26 %208 = getelementptr inbounds i8, ptr %199, i64 8 %209 = load i64, ptr %208, align 8, !tbaa !27 %210 = getelementptr inbounds i32, ptr %207, i64 %209 %211 = load i32, ptr %210, align 4, !tbaa !13 %212 = call i32 @_ccv_nnc_graph_dot_tensor(i32 noundef %203, i64 noundef %206, i32 noundef %211, i32 noundef %3, i32 noundef %4, ptr noundef %5) #6 %213 = load i32, ptr %8, align 4, !tbaa !13 %214 = add nsw i32 %213, 1 store i32 %214, ptr %8, align 4, !tbaa !13 br label %217 215: ; preds = %175 %216 = call i32 @fputc(i8 noundef signext 45, ptr noundef %5) #6 br label %217 217: ; preds = %215, %191, %185 %218 = add nuw nsw i64 %176, 1 %219 = load i32, ptr %119, align 4, !tbaa !31 %220 = sext i32 %219 to i64 %221 = icmp slt i64 %218, %220 br i1 %221, label %175, label %222, !llvm.loop !33 222: ; preds = %217, %172, %127 %223 = call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %5) br label %224 224: ; preds = %222, %118 %225 = call i64 @fwrite(ptr nonnull @.str.7, i64 5, i64 1, ptr %5) %226 = load i32, ptr %8, align 4, !tbaa !13 store i32 %226, ptr %6, align 4, !tbaa !13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6 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 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #3 declare ptr @ccv_nnc_cmd_name(i32 noundef) local_unnamed_addr #2 declare i32 @fputc(i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare i64 @CCV_IS_TENSOR_MULTIVIEW(i64 noundef) local_unnamed_addr #2 declare i32 @_ccv_nnc_graph_dot_tensor_multiview(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @_ccv_nnc_graph_dot_tensor(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #5 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { nofree nounwind } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, 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 = !{!"TYPE_8__", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !11, i64 16} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{i64 0, i64 8, !19, i64 8, i64 8, !19, i64 16, i64 8, !19, i64 24, i64 8, !19} !19 = !{!11, !11, i64 0} !20 = !{!21, !11, i64 24} !21 = !{!"TYPE_10__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !22 = !{!21, !11, i64 0} !23 = !{!21, !11, i64 16} !24 = !{!25, !17, i64 0} !25 = !{!"TYPE_9__", !17, i64 0, !17, i64 8} !26 = !{!21, !11, i64 8} !27 = !{!25, !17, i64 8} !28 = distinct !{!28, !29, !30} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!"llvm.loop.peeled.count", i32 1} !31 = !{!7, !8, i64 4} !32 = !{!7, !11, i64 8} !33 = distinct !{!33, !29, !30}
ccv_lib_nnc_extr_ccv_nnc_graph.c__ccv_nnc_graph_dot_case_of_label
; ModuleID = 'AnghaBench/git/extr_pack-revindex.c_find_pack_revindex.c' source_filename = "AnghaBench/git/extr_pack-revindex.c_find_pack_revindex.c" target datalayout = "e-m:e-p270:32:32-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.revindex_entry = type { i32 } ; Function Attrs: nounwind uwtable define dso_local ptr @find_pack_revindex(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @load_pack_revindex(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %12 5: ; preds = %2 %6 = tail call i32 @find_revindex_position(ptr noundef %0, i32 noundef %1) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %5 %9 = load ptr, ptr %0, align 8, !tbaa !5 %10 = zext nneg i32 %6 to i64 %11 = getelementptr inbounds %struct.revindex_entry, ptr %9, i64 %10 br label %12 12: ; preds = %5, %2, %8 %13 = phi ptr [ %11, %8 ], [ null, %2 ], [ null, %5 ] ret ptr %13 } declare i64 @load_pack_revindex(ptr noundef) local_unnamed_addr #1 declare i32 @find_revindex_position(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 = !{!"packed_git", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/git/extr_pack-revindex.c_find_pack_revindex.c' source_filename = "AnghaBench/git/extr_pack-revindex.c_find_pack_revindex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.revindex_entry = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define ptr @find_pack_revindex(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @load_pack_revindex(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %12 5: ; preds = %2 %6 = tail call i32 @find_revindex_position(ptr noundef %0, i32 noundef %1) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %5 %9 = load ptr, ptr %0, align 8, !tbaa !6 %10 = zext nneg i32 %6 to i64 %11 = getelementptr inbounds %struct.revindex_entry, ptr %9, i64 %10 br label %12 12: ; preds = %5, %2, %8 %13 = phi ptr [ %11, %8 ], [ null, %2 ], [ null, %5 ] ret ptr %13 } declare i64 @load_pack_revindex(ptr noundef) local_unnamed_addr #1 declare i32 @find_revindex_position(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 = !{!"packed_git", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
git_extr_pack-revindex.c_find_pack_revindex