IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ap_drv_ops.c_hostapd_build_ap_extra_ies.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ap_drv_ops.c_hostapd_build_ap_extra_ies.c" target datalayout = "e-m:e-p270:32:32-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.hostapd_data = type { ptr, i64, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_4__ = type { i32, ptr, ptr, i64, i64 } @P2P_MANAGE = dso_local local_unnamed_addr global i32 0, align 4 @P2P_SC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @hostapd_build_ap_extra_ies(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [200 x i32], align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 800, ptr nonnull %8) #3 store ptr null, ptr %3, align 8, !tbaa !5 store ptr null, ptr %2, align 8, !tbaa !5 store ptr null, ptr %1, align 8, !tbaa !5 %9 = call ptr @hostapd_eid_time_adv(ptr noundef %0, ptr noundef nonnull %8) #3 %10 = ptrtoint ptr %9 to i64 %11 = ptrtoint ptr %8 to i64 %12 = sub i64 %10, %11 %13 = lshr exact i64 %12, 2 %14 = trunc i64 %13 to i32 %15 = call i64 @add_buf_data(ptr noundef nonnull %5, ptr noundef nonnull %8, i32 noundef %14) #3 %16 = icmp slt i64 %15, 0 br i1 %16, label %72, label %17 17: ; preds = %4 %18 = call ptr @hostapd_eid_time_zone(ptr noundef %0, ptr noundef %9) #3 %19 = ptrtoint ptr %18 to i64 %20 = sub i64 %19, %11 %21 = lshr exact i64 %20, 2 %22 = trunc i64 %21 to i32 %23 = call i64 @add_buf_data(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef %22) #3 %24 = icmp slt i64 %23, 0 br i1 %24, label %72, label %25 25: ; preds = %17 %26 = call ptr @hostapd_eid_ext_capab(ptr noundef %0, ptr noundef nonnull %8) #3 %27 = ptrtoint ptr %26 to i64 %28 = sub i64 %27, %11 %29 = lshr exact i64 %28, 2 %30 = trunc i64 %29 to i32 %31 = call i64 @add_buf_data(ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %30) #3 %32 = icmp slt i64 %31, 0 br i1 %32, label %72, label %33 33: ; preds = %25 %34 = call ptr @hostapd_eid_interworking(ptr noundef %0, ptr noundef %26) #3 %35 = call ptr @hostapd_eid_adv_proto(ptr noundef %0, ptr noundef %34) #3 %36 = call ptr @hostapd_eid_roaming_consortium(ptr noundef %0, ptr noundef %35) #3 %37 = ptrtoint ptr %36 to i64 %38 = sub i64 %37, %11 %39 = lshr exact i64 %38, 2 %40 = trunc i64 %39 to i32 %41 = call i64 @add_buf_data(ptr noundef nonnull %5, ptr noundef nonnull %8, i32 noundef %40) #3 %42 = icmp slt i64 %41, 0 br i1 %42, label %72, label %43 43: ; preds = %33 %44 = call i64 @add_buf_data(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef %40) #3 %45 = icmp slt i64 %44, 0 br i1 %45, label %72, label %46 46: ; preds = %43 %47 = getelementptr inbounds %struct.hostapd_data, ptr %0, i64 0, i32 5 %48 = load ptr, ptr %47, align 8, !tbaa !9 %49 = call i64 @add_buf(ptr noundef nonnull %5, ptr noundef %48) #3 %50 = icmp slt i64 %49, 0 br i1 %50, label %72, label %51 51: ; preds = %46 %52 = getelementptr inbounds %struct.hostapd_data, ptr %0, i64 0, i32 4 %53 = load ptr, ptr %52, align 8, !tbaa !12 %54 = call i64 @add_buf(ptr noundef nonnull %6, ptr noundef %53) #3 %55 = icmp slt i64 %54, 0 br i1 %55, label %72, label %56 56: ; preds = %51 %57 = load ptr, ptr %0, align 8, !tbaa !13 %58 = getelementptr inbounds %struct.TYPE_4__, ptr %57, i64 0, i32 2 %59 = load ptr, ptr %58, align 8, !tbaa !14 %60 = call i64 @add_buf(ptr noundef nonnull %5, ptr noundef %59) #3 %61 = load ptr, ptr %0, align 8, !tbaa !13 %62 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i64 0, i32 2 %63 = load ptr, ptr %62, align 8, !tbaa !14 %64 = call i64 @add_buf(ptr noundef nonnull %6, ptr noundef %63) #3 %65 = load ptr, ptr %0, align 8, !tbaa !13 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i64 0, i32 1 %67 = load ptr, ptr %66, align 8, !tbaa !17 %68 = call i64 @add_buf(ptr noundef nonnull %7, ptr noundef %67) #3 %69 = load ptr, ptr %5, align 8, !tbaa !5 store ptr %69, ptr %1, align 8, !tbaa !5 %70 = load ptr, ptr %6, align 8, !tbaa !5 store ptr %70, ptr %2, align 8, !tbaa !5 %71 = load ptr, ptr %7, align 8, !tbaa !5 store ptr %71, ptr %3, align 8, !tbaa !5 br label %79 72: ; preds = %46, %51, %33, %43, %25, %17, %4 %73 = load ptr, ptr %5, align 8, !tbaa !5 %74 = call i32 @wpabuf_free(ptr noundef %73) #3 %75 = load ptr, ptr %6, align 8, !tbaa !5 %76 = call i32 @wpabuf_free(ptr noundef %75) #3 %77 = load ptr, ptr %7, align 8, !tbaa !5 %78 = call i32 @wpabuf_free(ptr noundef %77) #3 br label %79 79: ; preds = %72, %56 %80 = phi i32 [ -1, %72 ], [ 0, %56 ] call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @hostapd_eid_time_adv(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @add_buf_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_time_zone(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_ext_capab(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_interworking(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_adv_proto(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_roaming_consortium(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @add_buf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 40} !10 = !{!"hostapd_data", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 32} !13 = !{!10, !6, i64 0} !14 = !{!15, !6, i64 16} !15 = !{!"TYPE_4__", !16, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 32} !16 = !{!"int", !7, i64 0} !17 = !{!15, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ap_drv_ops.c_hostapd_build_ap_extra_ies.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ap_drv_ops.c_hostapd_build_ap_extra_ies.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @P2P_MANAGE = common local_unnamed_addr global i32 0, align 4 @P2P_SC_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @hostapd_build_ap_extra_ies(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [200 x i32], align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 800, ptr nonnull %8) #3 store ptr null, ptr %3, align 8, !tbaa !6 store ptr null, ptr %2, align 8, !tbaa !6 store ptr null, ptr %1, align 8, !tbaa !6 %9 = call ptr @hostapd_eid_time_adv(ptr noundef %0, ptr noundef nonnull %8) #3 %10 = ptrtoint ptr %9 to i64 %11 = ptrtoint ptr %8 to i64 %12 = sub i64 %10, %11 %13 = lshr exact i64 %12, 2 %14 = trunc i64 %13 to i32 %15 = call i64 @add_buf_data(ptr noundef nonnull %5, ptr noundef nonnull %8, i32 noundef %14) #3 %16 = icmp slt i64 %15, 0 br i1 %16, label %72, label %17 17: ; preds = %4 %18 = call ptr @hostapd_eid_time_zone(ptr noundef %0, ptr noundef %9) #3 %19 = ptrtoint ptr %18 to i64 %20 = sub i64 %19, %11 %21 = lshr exact i64 %20, 2 %22 = trunc i64 %21 to i32 %23 = call i64 @add_buf_data(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef %22) #3 %24 = icmp slt i64 %23, 0 br i1 %24, label %72, label %25 25: ; preds = %17 %26 = call ptr @hostapd_eid_ext_capab(ptr noundef %0, ptr noundef nonnull %8) #3 %27 = ptrtoint ptr %26 to i64 %28 = sub i64 %27, %11 %29 = lshr exact i64 %28, 2 %30 = trunc i64 %29 to i32 %31 = call i64 @add_buf_data(ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %30) #3 %32 = icmp slt i64 %31, 0 br i1 %32, label %72, label %33 33: ; preds = %25 %34 = call ptr @hostapd_eid_interworking(ptr noundef %0, ptr noundef %26) #3 %35 = call ptr @hostapd_eid_adv_proto(ptr noundef %0, ptr noundef %34) #3 %36 = call ptr @hostapd_eid_roaming_consortium(ptr noundef %0, ptr noundef %35) #3 %37 = ptrtoint ptr %36 to i64 %38 = sub i64 %37, %11 %39 = lshr exact i64 %38, 2 %40 = trunc i64 %39 to i32 %41 = call i64 @add_buf_data(ptr noundef nonnull %5, ptr noundef nonnull %8, i32 noundef %40) #3 %42 = icmp slt i64 %41, 0 br i1 %42, label %72, label %43 43: ; preds = %33 %44 = call i64 @add_buf_data(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef %40) #3 %45 = icmp slt i64 %44, 0 br i1 %45, label %72, label %46 46: ; preds = %43 %47 = getelementptr inbounds i8, ptr %0, i64 40 %48 = load ptr, ptr %47, align 8, !tbaa !10 %49 = call i64 @add_buf(ptr noundef nonnull %5, ptr noundef %48) #3 %50 = icmp slt i64 %49, 0 br i1 %50, label %72, label %51 51: ; preds = %46 %52 = getelementptr inbounds i8, ptr %0, i64 32 %53 = load ptr, ptr %52, align 8, !tbaa !13 %54 = call i64 @add_buf(ptr noundef nonnull %6, ptr noundef %53) #3 %55 = icmp slt i64 %54, 0 br i1 %55, label %72, label %56 56: ; preds = %51 %57 = load ptr, ptr %0, align 8, !tbaa !14 %58 = getelementptr inbounds i8, ptr %57, i64 16 %59 = load ptr, ptr %58, align 8, !tbaa !15 %60 = call i64 @add_buf(ptr noundef nonnull %5, ptr noundef %59) #3 %61 = load ptr, ptr %0, align 8, !tbaa !14 %62 = getelementptr inbounds i8, ptr %61, i64 16 %63 = load ptr, ptr %62, align 8, !tbaa !15 %64 = call i64 @add_buf(ptr noundef nonnull %6, ptr noundef %63) #3 %65 = load ptr, ptr %0, align 8, !tbaa !14 %66 = getelementptr inbounds i8, ptr %65, i64 8 %67 = load ptr, ptr %66, align 8, !tbaa !18 %68 = call i64 @add_buf(ptr noundef nonnull %7, ptr noundef %67) #3 %69 = load ptr, ptr %5, align 8, !tbaa !6 store ptr %69, ptr %1, align 8, !tbaa !6 %70 = load ptr, ptr %6, align 8, !tbaa !6 store ptr %70, ptr %2, align 8, !tbaa !6 %71 = load ptr, ptr %7, align 8, !tbaa !6 store ptr %71, ptr %3, align 8, !tbaa !6 br label %79 72: ; preds = %46, %51, %33, %43, %25, %17, %4 %73 = load ptr, ptr %5, align 8, !tbaa !6 %74 = call i32 @wpabuf_free(ptr noundef %73) #3 %75 = load ptr, ptr %6, align 8, !tbaa !6 %76 = call i32 @wpabuf_free(ptr noundef %75) #3 %77 = load ptr, ptr %7, align 8, !tbaa !6 %78 = call i32 @wpabuf_free(ptr noundef %77) #3 br label %79 79: ; preds = %72, %56 %80 = phi i32 [ -1, %72 ], [ 0, %56 ] call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @hostapd_eid_time_adv(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @add_buf_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_time_zone(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_ext_capab(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_interworking(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_adv_proto(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @hostapd_eid_roaming_consortium(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @add_buf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 40} !11 = !{!"hostapd_data", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 32} !14 = !{!11, !7, i64 0} !15 = !{!16, !7, i64 16} !16 = !{!"TYPE_4__", !17, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !12, i64 32} !17 = !{!"int", !8, i64 0} !18 = !{!16, !7, i64 8}
freebsd_contrib_wpa_src_ap_extr_ap_drv_ops.c_hostapd_build_ap_extra_ies
; ModuleID = 'AnghaBench/h2o/lib/handler/mruby/extr_http_request.c_on_connect.c' source_filename = "AnghaBench/h2o/lib/handler/mruby/extr_http_request.c_on_connect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.st_h2o_mruby_http_request_context_t = type { ptr, %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @on_connect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @on_connect(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = tail call i64 @try_dispose_context(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %10 %15 = load ptr, ptr %11, align 8, !tbaa !10 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 @mrb_gc_arena_save(i32 noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !10 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = getelementptr inbounds %struct.st_h2o_mruby_http_request_context_t, ptr %11, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = tail call i32 @mrb_gc_protect(i32 noundef %21, i32 noundef %23) #2 %25 = tail call ptr @do_on_connect(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #2 %26 = load ptr, ptr %11, align 8, !tbaa !10 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = tail call i32 @mrb_gc_arena_restore(i32 noundef %28, i32 noundef %18) #2 br label %30 30: ; preds = %10, %14 %31 = phi ptr [ %25, %14 ], [ null, %10 ] ret ptr %31 } declare i64 @try_dispose_context(ptr noundef) local_unnamed_addr #1 declare i32 @mrb_gc_arena_save(i32 noundef) local_unnamed_addr #1 declare i32 @mrb_gc_protect(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @do_on_connect(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mrb_gc_arena_restore(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_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 = !{!"st_h2o_mruby_http_request_context_t", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_9__", !7, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_8__", !13, i64 0} !18 = !{!11, !13, i64 8}
; ModuleID = 'AnghaBench/h2o/lib/handler/mruby/extr_http_request.c_on_connect.c' source_filename = "AnghaBench/h2o/lib/handler/mruby/extr_http_request.c_on_connect.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 @on_connect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @on_connect(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = tail call i64 @try_dispose_context(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %10 %15 = load ptr, ptr %11, align 8, !tbaa !11 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = tail call i32 @mrb_gc_arena_save(i32 noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !11 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = getelementptr inbounds i8, ptr %11, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !19 %24 = tail call i32 @mrb_gc_protect(i32 noundef %21, i32 noundef %23) #2 %25 = tail call ptr @do_on_connect(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #2 %26 = load ptr, ptr %11, align 8, !tbaa !11 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = tail call i32 @mrb_gc_arena_restore(i32 noundef %28, i32 noundef %18) #2 br label %30 30: ; preds = %10, %14 %31 = phi ptr [ %25, %14 ], [ null, %10 ] ret ptr %31 } declare i64 @try_dispose_context(ptr noundef) local_unnamed_addr #1 declare i32 @mrb_gc_arena_save(i32 noundef) local_unnamed_addr #1 declare i32 @mrb_gc_protect(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @do_on_connect(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mrb_gc_arena_restore(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_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 = !{!"st_h2o_mruby_http_request_context_t", !8, i64 0, !13, i64 8} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_9__", !8, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_8__", !14, i64 0} !19 = !{!12, !14, i64 8}
h2o_lib_handler_mruby_extr_http_request.c_on_connect
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_tx.c_carl9170_tx_drop.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_tx.c_carl9170_tx_drop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CARL9170_TX_SUPER_MISC_QUEUE = dso_local local_unnamed_addr global i32 0, align 4 @ar9170_qmap = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @carl9170_tx_drop(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !5 %5 = load i64, ptr %1, align 8, !tbaa !10 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr @CARL9170_TX_SUPER_MISC_QUEUE, align 4, !tbaa !13 %8 = load ptr, ptr @ar9170_qmap, align 8, !tbaa !14 %9 = tail call i64 @carl9170_get_queue(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @SET_VAL(i32 noundef %7, i32 noundef 0, i32 noundef %11) #2 %13 = load i32, ptr %6, align 4, !tbaa !16 %14 = tail call i32 @__carl9170_tx_process_status(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 0) #2 ret void } declare i32 @SET_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @carl9170_get_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__carl9170_tx_process_status(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 = !{!"ar9170", !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 = !{!"sk_buff", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"_carl9170_tx_superframe", !18, i64 0} !18 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_tx.c_carl9170_tx_drop.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_tx.c_carl9170_tx_drop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CARL9170_TX_SUPER_MISC_QUEUE = common local_unnamed_addr global i32 0, align 4 @ar9170_qmap = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @carl9170_tx_drop(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !6 %5 = load i64, ptr %1, align 8, !tbaa !11 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr @CARL9170_TX_SUPER_MISC_QUEUE, align 4, !tbaa !14 %8 = load ptr, ptr @ar9170_qmap, align 8, !tbaa !15 %9 = tail call i64 @carl9170_get_queue(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i32 @SET_VAL(i32 noundef %7, i32 noundef 0, i32 noundef %11) #2 %13 = load i32, ptr %6, align 4, !tbaa !17 %14 = tail call i32 @__carl9170_tx_process_status(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 0) #2 ret void } declare i32 @SET_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @carl9170_get_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__carl9170_tx_process_status(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 = !{!"ar9170", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"sk_buff", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"_carl9170_tx_superframe", !19, i64 0} !19 = !{!"TYPE_2__", !8, i64 0}
linux_drivers_net_wireless_ath_carl9170_extr_tx.c_carl9170_tx_drop
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_set_clk_bypass_mode.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_set_clk_bypass_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_device = type { i32, i64, i64 } @RADEON_IS_IGP = dso_local local_unnamed_addr global i32 0, align 4 @CG_SPLL_FUNC_CNTL_2 = dso_local local_unnamed_addr global i32 0, align 4 @SCLK_MUX_SEL_MASK = dso_local local_unnamed_addr global i64 0, align 8 @SCLK_MUX_UPDATE = dso_local local_unnamed_addr global i64 0, align 8 @CG_SPLL_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @SPLL_CHG_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_CNTL_MODE = dso_local local_unnamed_addr global i32 0, align 4 @CHIP_RV710 = dso_local local_unnamed_addr global i64 0, align 8 @CHIP_RV730 = dso_local local_unnamed_addr global i64 0, align 8 @RV730_MPLL_MCLK_SEL = dso_local local_unnamed_addr global i64 0, align 8 @MPLL_MCLK_SEL = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @rv770_set_clk_bypass_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @RADEON_IS_IGP, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %56 6: ; preds = %1 %7 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !11 %8 = tail call i32 @RREG32(i32 noundef %7) #2 %9 = sext i32 %8 to i64 %10 = load i64, ptr @SCLK_MUX_SEL_MASK, align 8, !tbaa !12 %11 = and i64 %10, %9 %12 = tail call i64 @SCLK_MUX_SEL(i32 noundef 1) #2 %13 = load i64, ptr @SCLK_MUX_UPDATE, align 8, !tbaa !12 %14 = or i64 %11, %12 %15 = or i64 %14, %13 %16 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !11 %17 = tail call i32 @WREG32(i32 noundef %16, i64 noundef %15) #2 %18 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %6, %28 %22 = phi i64 [ %30, %28 ], [ 0, %6 ] %23 = load i32, ptr @CG_SPLL_STATUS, align 4, !tbaa !11 %24 = tail call i32 @RREG32(i32 noundef %23) #2 %25 = load i32, ptr @SPLL_CHG_STATUS, align 4, !tbaa !11 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %21 %29 = tail call i32 @udelay(i32 noundef 1) #2 %30 = add nuw nsw i64 %22, 1 %31 = load i64, ptr %18, align 8, !tbaa !13 %32 = icmp slt i64 %30, %31 br i1 %32, label %21, label %33, !llvm.loop !14 33: ; preds = %28, %21, %6 %34 = load i64, ptr @SCLK_MUX_UPDATE, align 8, !tbaa !12 %35 = xor i64 %34, -1 %36 = and i64 %15, %35 %37 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !11 %38 = tail call i32 @WREG32(i32 noundef %37, i64 noundef %36) #2 %39 = load i32, ptr @MPLL_CNTL_MODE, align 4, !tbaa !11 %40 = tail call i32 @RREG32(i32 noundef %39) #2 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %43 = load i64, ptr %42, align 8, !tbaa !16 %44 = load i64, ptr @CHIP_RV710, align 8, !tbaa !12 %45 = icmp eq i64 %43, %44 %46 = load i64, ptr @CHIP_RV730, align 8 %47 = icmp eq i64 %43, %46 %48 = select i1 %45, i1 true, i1 %47 %49 = load i64, ptr @RV730_MPLL_MCLK_SEL, align 8 %50 = load i64, ptr @MPLL_MCLK_SEL, align 8 %51 = select i1 %48, i64 %49, i64 %50 %52 = xor i64 %51, -1 %53 = and i64 %52, %41 %54 = load i32, ptr @MPLL_CNTL_MODE, align 4, !tbaa !11 %55 = tail call i32 @WREG32(i32 noundef %54, i64 noundef %53) #2 br label %56 56: ; preds = %1, %33 ret void } declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i64 @SCLK_MUX_SEL(i32 noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"radeon_device", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_set_clk_bypass_mode.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_set_clk_bypass_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RADEON_IS_IGP = common local_unnamed_addr global i32 0, align 4 @CG_SPLL_FUNC_CNTL_2 = common local_unnamed_addr global i32 0, align 4 @SCLK_MUX_SEL_MASK = common local_unnamed_addr global i64 0, align 8 @SCLK_MUX_UPDATE = common local_unnamed_addr global i64 0, align 8 @CG_SPLL_STATUS = common local_unnamed_addr global i32 0, align 4 @SPLL_CHG_STATUS = common local_unnamed_addr global i32 0, align 4 @MPLL_CNTL_MODE = common local_unnamed_addr global i32 0, align 4 @CHIP_RV710 = common local_unnamed_addr global i64 0, align 8 @CHIP_RV730 = common local_unnamed_addr global i64 0, align 8 @RV730_MPLL_MCLK_SEL = common local_unnamed_addr global i64 0, align 8 @MPLL_MCLK_SEL = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @rv770_set_clk_bypass_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @RADEON_IS_IGP, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %56 6: ; preds = %1 %7 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !12 %8 = tail call i32 @RREG32(i32 noundef %7) #2 %9 = sext i32 %8 to i64 %10 = load i64, ptr @SCLK_MUX_SEL_MASK, align 8, !tbaa !13 %11 = and i64 %10, %9 %12 = tail call i64 @SCLK_MUX_SEL(i32 noundef 1) #2 %13 = load i64, ptr @SCLK_MUX_UPDATE, align 8, !tbaa !13 %14 = or i64 %11, %12 %15 = or i64 %14, %13 %16 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !12 %17 = tail call i32 @WREG32(i32 noundef %16, i64 noundef %15) #2 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !14 %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %6, %28 %22 = phi i64 [ %30, %28 ], [ 0, %6 ] %23 = load i32, ptr @CG_SPLL_STATUS, align 4, !tbaa !12 %24 = tail call i32 @RREG32(i32 noundef %23) #2 %25 = load i32, ptr @SPLL_CHG_STATUS, align 4, !tbaa !12 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %21 %29 = tail call i32 @udelay(i32 noundef 1) #2 %30 = add nuw nsw i64 %22, 1 %31 = load i64, ptr %18, align 8, !tbaa !14 %32 = icmp slt i64 %30, %31 br i1 %32, label %21, label %33, !llvm.loop !15 33: ; preds = %28, %21, %6 %34 = load i64, ptr @SCLK_MUX_UPDATE, align 8, !tbaa !13 %35 = xor i64 %34, -1 %36 = and i64 %15, %35 %37 = load i32, ptr @CG_SPLL_FUNC_CNTL_2, align 4, !tbaa !12 %38 = tail call i32 @WREG32(i32 noundef %37, i64 noundef %36) #2 %39 = load i32, ptr @MPLL_CNTL_MODE, align 4, !tbaa !12 %40 = tail call i32 @RREG32(i32 noundef %39) #2 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %0, i64 16 %43 = load i64, ptr %42, align 8, !tbaa !17 %44 = load i64, ptr @CHIP_RV710, align 8, !tbaa !13 %45 = icmp eq i64 %43, %44 %46 = load i64, ptr @CHIP_RV730, align 8 %47 = icmp eq i64 %43, %46 %48 = select i1 %45, i1 true, i1 %47 %49 = load i64, ptr @RV730_MPLL_MCLK_SEL, align 8 %50 = load i64, ptr @MPLL_MCLK_SEL, align 8 %51 = select i1 %48, i64 %49, i64 %50 %52 = xor i64 %51, -1 %53 = and i64 %52, %41 %54 = load i32, ptr @MPLL_CNTL_MODE, align 4, !tbaa !12 %55 = tail call i32 @WREG32(i32 noundef %54, i64 noundef %53) #2 br label %56 56: ; preds = %1, %33 ret void } declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i64 @SCLK_MUX_SEL(i32 noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"radeon_device", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !11, i64 16}
linux_drivers_gpu_drm_radeon_extr_rv770.c_rv770_set_clk_bypass_mode
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_open.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { %struct.TYPE_14__, %struct.TYPE_12__ } %struct.TYPE_14__ = type { i32, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i32 } %struct.TYPE_12__ = type { i32, i32, i32 } %struct.TYPE_16__ = type { i32, ptr } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @BT_TRANSPORT_LE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Connection open failure\00", align 1 @BTA_GATTC_INT_OPEN_FAIL_EVT = dso_local local_unnamed_addr global i32 0, align 4 @BTA_GATTC_INT_CONN_EVT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bta_gattc_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_15__, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #3 %4 = load i32, ptr @FALSE, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1 %6 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !9 %8 = load i32, ptr @BT_TRANSPORT_LE, align 4, !tbaa !5 %9 = tail call ptr @gatt_find_tcb_by_addr(i32 noundef %7, i32 noundef %8) #3 %10 = icmp ne ptr %9, null %11 = icmp ne ptr %0, null %12 = and i1 %11, %10 %13 = icmp ne ptr %1, null %14 = and i1 %13, %12 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = tail call i32 @gatt_find_specific_app_in_hold_link(ptr noundef nonnull %9, i32 noundef %18) #3 br label %20 20: ; preds = %15, %2 %21 = phi i32 [ %19, %15 ], [ %4, %2 ] %22 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = load i32, ptr %6, align 4, !tbaa !9 %26 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !19 %28 = load i32, ptr @TRUE, align 4, !tbaa !5 %29 = load i32, ptr %5, align 4, !tbaa !20 %30 = tail call i32 @GATT_Connect(i32 noundef %24, i32 noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %20 %33 = tail call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str) #3 %34 = load i32, ptr @BTA_GATTC_INT_OPEN_FAIL_EVT, align 4, !tbaa !5 %35 = tail call i32 @bta_gattc_sm_execute(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull %1) #3 br label %48 36: ; preds = %20 %37 = load ptr, ptr %22, align 8, !tbaa !14 %38 = load i32, ptr %37, align 4, !tbaa !17 %39 = load i32, ptr %6, align 4, !tbaa !9 %40 = load i32, ptr %5, align 4, !tbaa !20 %41 = tail call i64 @GATT_GetConnIdIfConnected(i32 noundef %38, i32 noundef %39, ptr noundef nonnull %0, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %48, label %43 43: ; preds = %36 %44 = load i32, ptr %0, align 8, !tbaa !21 %45 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 1 store i32 %44, ptr %45, align 4, !tbaa !22 store i32 %21, ptr %3, align 4, !tbaa !23 %46 = load i32, ptr @BTA_GATTC_INT_CONN_EVT, align 4, !tbaa !5 %47 = call i32 @bta_gattc_sm_execute(ptr noundef nonnull %0, i32 noundef %46, ptr noundef nonnull %3) #3 br label %48 48: ; preds = %36, %43, %32 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @gatt_find_tcb_by_addr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gatt_find_specific_app_in_hold_link(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GATT_Connect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @APPL_TRACE_ERROR(ptr noundef) local_unnamed_addr #2 declare i32 @bta_gattc_sm_execute(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @GATT_GetConnIdIfConnected(i32 noundef, 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"TYPE_15__", !11, i64 0, !13, i64 8} !11 = !{!"TYPE_14__", !6, i64 0, !12, i64 4} !12 = !{!"TYPE_13__", !6, i64 0} !13 = !{!"TYPE_12__", !6, i64 0, !6, i64 4, !6, i64 8} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_16__", !6, i64 0, !16, i64 8} !16 = !{!"any pointer", !7, i64 0} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_11__", !6, i64 0} !19 = !{!10, !6, i64 16} !20 = !{!10, !6, i64 8} !21 = !{!15, !6, i64 0} !22 = !{!10, !6, i64 4} !23 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_open.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { %struct.TYPE_14__, %struct.TYPE_12__ } %struct.TYPE_14__ = type { i32, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i32 } %struct.TYPE_12__ = type { i32, i32, i32 } @FALSE = common local_unnamed_addr global i32 0, align 4 @BT_TRANSPORT_LE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Connection open failure\00", align 1 @BTA_GATTC_INT_OPEN_FAIL_EVT = common local_unnamed_addr global i32 0, align 4 @BTA_GATTC_INT_CONN_EVT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bta_gattc_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_15__, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #3 %4 = load i32, ptr @FALSE, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = load i32, ptr @BT_TRANSPORT_LE, align 4, !tbaa !6 %9 = tail call ptr @gatt_find_tcb_by_addr(i32 noundef %7, i32 noundef %8) #3 %10 = icmp ne ptr %9, null %11 = icmp ne ptr %0, null %12 = and i1 %11, %10 %13 = icmp ne ptr %1, null %14 = and i1 %13, %12 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = tail call i32 @gatt_find_specific_app_in_hold_link(ptr noundef nonnull %9, i32 noundef %18) #3 br label %20 20: ; preds = %15, %2 %21 = phi i32 [ %19, %15 ], [ %4, %2 ] %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = load i32, ptr %6, align 4, !tbaa !10 %26 = getelementptr inbounds i8, ptr %1, i64 16 %27 = load i32, ptr %26, align 4, !tbaa !20 %28 = load i32, ptr @TRUE, align 4, !tbaa !6 %29 = load i32, ptr %5, align 4, !tbaa !21 %30 = tail call i32 @GATT_Connect(i32 noundef %24, i32 noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %20 %33 = tail call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str) #3 %34 = load i32, ptr @BTA_GATTC_INT_OPEN_FAIL_EVT, align 4, !tbaa !6 %35 = tail call i32 @bta_gattc_sm_execute(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull %1) #3 br label %48 36: ; preds = %20 %37 = load ptr, ptr %22, align 8, !tbaa !15 %38 = load i32, ptr %37, align 4, !tbaa !18 %39 = load i32, ptr %6, align 4, !tbaa !10 %40 = load i32, ptr %5, align 4, !tbaa !21 %41 = tail call i64 @GATT_GetConnIdIfConnected(i32 noundef %38, i32 noundef %39, ptr noundef nonnull %0, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %48, label %43 43: ; preds = %36 %44 = load i32, ptr %0, align 8, !tbaa !22 %45 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %44, ptr %45, align 4, !tbaa !23 store i32 %21, ptr %3, align 4, !tbaa !24 %46 = load i32, ptr @BTA_GATTC_INT_CONN_EVT, align 4, !tbaa !6 %47 = call i32 @bta_gattc_sm_execute(ptr noundef nonnull %0, i32 noundef %46, ptr noundef nonnull %3) #3 br label %48 48: ; preds = %36, %43, %32 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @gatt_find_tcb_by_addr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gatt_find_specific_app_in_hold_link(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GATT_Connect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @APPL_TRACE_ERROR(ptr noundef) local_unnamed_addr #2 declare i32 @bta_gattc_sm_execute(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @GATT_GetConnIdIfConnected(i32 noundef, 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"TYPE_15__", !12, i64 0, !14, i64 8} !12 = !{!"TYPE_14__", !7, i64 0, !13, i64 4} !13 = !{!"TYPE_13__", !7, i64 0} !14 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_16__", !7, i64 0, !17, i64 8} !17 = !{!"any pointer", !8, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_11__", !7, i64 0} !20 = !{!11, !7, i64 16} !21 = !{!11, !7, i64 8} !22 = !{!16, !7, i64 0} !23 = !{!11, !7, i64 4} !24 = !{!11, !7, i64 0}
esp-idf_components_bt_host_bluedroid_bta_gatt_extr_bta_gattc_act.c_bta_gattc_open
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-rsa.c_ccp_rsa_init_tfm.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-rsa.c_ccp_rsa_init_tfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ccp_rsa_complete = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ccp_rsa_init_tfm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ccp_rsa_init_tfm(ptr noundef %0) #0 { %2 = tail call ptr @akcipher_tfm_ctx(ptr noundef %0) #2 %3 = tail call i32 @akcipher_set_reqsize(ptr noundef %0, i32 noundef 4) #2 %4 = load i32, ptr @ccp_rsa_complete, align 4, !tbaa !5 store i32 %4, ptr %2, align 4, !tbaa !9 ret i32 0 } declare ptr @akcipher_tfm_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @akcipher_set_reqsize(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ccp_ctx", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-rsa.c_ccp_rsa_init_tfm.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-rsa.c_ccp_rsa_init_tfm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ccp_rsa_complete = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ccp_rsa_init_tfm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ccp_rsa_init_tfm(ptr noundef %0) #0 { %2 = tail call ptr @akcipher_tfm_ctx(ptr noundef %0) #2 %3 = tail call i32 @akcipher_set_reqsize(ptr noundef %0, i32 noundef 4) #2 %4 = load i32, ptr @ccp_rsa_complete, align 4, !tbaa !6 store i32 %4, ptr %2, align 4, !tbaa !10 ret i32 0 } declare ptr @akcipher_tfm_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @akcipher_set_reqsize(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ccp_ctx", !7, i64 0}
linux_drivers_crypto_ccp_extr_ccp-crypto-rsa.c_ccp_rsa_init_tfm
; ModuleID = 'AnghaBench/freebsd/sys/geom/extr_geom_slice.c_g_slice_start.c' source_filename = "AnghaBench/freebsd/sys/geom/extr_geom_slice.c_g_slice_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bio = type { i32, ptr, i64, i32, i64, i64, ptr } %struct.g_provider = type { i32, ptr } %struct.g_geom = type { i32, ptr } %struct.g_slicer = type { i64, ptr, ptr, i32, ptr } %struct.g_slice = type { i64, i64 } %struct.g_slice_hot = type { i32, i32, i32, i64, i64 } %struct.g_kerneldump = type { i64, i64 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EROFS = dso_local local_unnamed_addr global i32 0, align 4 @EJUSTRETURN = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @g_std_done = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [12 x i8] c"GEOM::ident\00", align 1 @g_slice_done = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [17 x i8] c"GEOM::kerneldump\00", align 1 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @g_slice_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @g_slice_start(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 6 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.g_provider, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.g_geom, ptr %5, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = tail call ptr @LIST_FIRST(ptr noundef %5) #2 %9 = load i32, ptr %3, align 8, !tbaa !16 %10 = getelementptr inbounds %struct.g_slicer, ptr %7, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !17 %12 = sext i32 %9 to i64 %13 = getelementptr inbounds %struct.g_slice, ptr %11, i64 %12 %14 = load i32, ptr %0, align 8, !tbaa !19 switch i32 %14, label %156 [ i32 133, label %15 i32 132, label %15 i32 136, label %15 i32 134, label %105 i32 135, label %146 ] 15: ; preds = %1, %1, %1 %16 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 4 %17 = load i64, ptr %16, align 8, !tbaa !20 %18 = load i64, ptr %13, align 8, !tbaa !21 %19 = icmp sgt i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr @EINVAL, align 4, !tbaa !23 %22 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %21) #2 br label %159 23: ; preds = %15 %24 = getelementptr inbounds %struct.g_slice, ptr %11, i64 %12, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !24 %26 = add nsw i64 %25, %17 %27 = load i64, ptr %7, align 8, !tbaa !25 %28 = icmp eq i64 %27, 0 br i1 %28, label %83, label %29 29: ; preds = %23 %30 = getelementptr inbounds %struct.g_slicer, ptr %7, i64 0, i32 4 %31 = load ptr, ptr %30, align 8, !tbaa !26 %32 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 5 br label %33 33: ; preds = %29, %79 %34 = phi i32 [ %9, %29 ], [ %80, %79 ] %35 = phi i64 [ 0, %29 ], [ %81, %79 ] %36 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35 %37 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35, i32 3 %38 = load i64, ptr %37, align 8, !tbaa !27 %39 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35, i32 4 %40 = load i64, ptr %39, align 8, !tbaa !29 %41 = add nsw i64 %40, %38 %42 = icmp slt i64 %26, %41 br i1 %42, label %43, label %79 43: ; preds = %33 %44 = load i64, ptr %32, align 8, !tbaa !30 %45 = add nsw i64 %44, %26 %46 = icmp sgt i64 %45, %38 br i1 %46, label %47, label %79 47: ; preds = %43 switch i32 %14, label %56 [ i32 133, label %48 i32 132, label %50 i32 136, label %53 ] 48: ; preds = %47 %49 = load i32, ptr %36, align 8, !tbaa !31 br label %56 50: ; preds = %47 %51 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35, i32 1 %52 = load i32, ptr %51, align 4, !tbaa !32 br label %56 53: ; preds = %47 %54 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35, i32 2 %55 = load i32, ptr %54, align 8, !tbaa !33 br label %56 56: ; preds = %47, %53, %50, %48 %57 = phi i32 [ %34, %47 ], [ %55, %53 ], [ %52, %50 ], [ %49, %48 ] switch i32 %57, label %83 [ i32 131, label %79 i32 129, label %58 i32 128, label %61 i32 130, label %71 ] 58: ; preds = %56 %59 = load i32, ptr @EROFS, align 4, !tbaa !23 %60 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %59) #2 br label %159 61: ; preds = %56 %62 = getelementptr inbounds %struct.g_slicer, ptr %7, i64 0, i32 1 %63 = load ptr, ptr %62, align 8, !tbaa !34 %64 = tail call i32 %63(ptr noundef nonnull %0) #2 %65 = icmp eq i32 %64, 0 %66 = load i32, ptr @EJUSTRETURN, align 4 %67 = icmp eq i32 %64, %66 %68 = select i1 %65, i1 true, i1 %67 br i1 %68, label %159, label %69 69: ; preds = %61 %70 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %64) #2 br label %159 71: ; preds = %56 %72 = getelementptr inbounds %struct.g_slicer, ptr %7, i64 0, i32 3 %73 = load i32, ptr %72, align 8, !tbaa !35 %74 = load i32, ptr @M_NOWAIT, align 4, !tbaa !23 %75 = tail call i32 @g_post_event(i32 noundef %73, ptr noundef nonnull %0, i32 noundef %74, ptr noundef %5, ptr noundef null) #2 %76 = icmp eq i32 %75, 0 br i1 %76, label %159, label %77 77: ; preds = %71 %78 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %75) #2 br label %159 79: ; preds = %56, %43, %33 %80 = phi i32 [ %34, %33 ], [ %34, %43 ], [ %57, %56 ] %81 = add nuw i64 %35, 1 %82 = icmp eq i64 %81, %27 br i1 %82, label %83, label %33, !llvm.loop !36 83: ; preds = %79, %56, %23 %84 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %89 86: ; preds = %83 %87 = load i32, ptr @ENOMEM, align 4, !tbaa !23 %88 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %87) #2 br label %159 89: ; preds = %83 %90 = getelementptr inbounds %struct.bio, ptr %84, i64 0, i32 4 %91 = load i64, ptr %90, align 8, !tbaa !20 %92 = getelementptr inbounds %struct.bio, ptr %84, i64 0, i32 5 %93 = load i64, ptr %92, align 8, !tbaa !30 %94 = add nsw i64 %93, %91 %95 = load i64, ptr %13, align 8, !tbaa !21 %96 = icmp sgt i64 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %89 %98 = sub nsw i64 %95, %91 store i64 %98, ptr %92, align 8, !tbaa !30 br label %99 99: ; preds = %97, %89 %100 = load ptr, ptr @g_std_done, align 8, !tbaa !38 %101 = getelementptr inbounds %struct.bio, ptr %84, i64 0, i32 1 store ptr %100, ptr %101, align 8, !tbaa !39 %102 = load i64, ptr %24, align 8, !tbaa !24 %103 = add nsw i64 %102, %91 store i64 %103, ptr %90, align 8, !tbaa !20 %104 = tail call i32 @g_io_request(ptr noundef nonnull %84, ptr noundef %8) #2 br label %159 105: ; preds = %1 %106 = getelementptr inbounds %struct.g_slicer, ptr %7, i64 0, i32 1 %107 = load ptr, ptr %106, align 8, !tbaa !34 %108 = icmp eq ptr %107, null br i1 %108, label %112, label %109 109: ; preds = %105 %110 = tail call i32 %107(ptr noundef nonnull %0) #2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %159 112: ; preds = %109, %105 %113 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 3 %114 = load i32, ptr %113, align 8, !tbaa !40 %115 = tail call i32 @strcmp(ptr noundef nonnull @.str, i32 noundef %114) #2 %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %127 117: ; preds = %112 %118 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %119 = icmp eq ptr %118, null br i1 %119, label %120, label %123 120: ; preds = %117 %121 = load i32, ptr @ENOMEM, align 4, !tbaa !23 %122 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %121) #2 br label %159 123: ; preds = %117 %124 = load ptr, ptr @g_slice_done, align 8, !tbaa !38 %125 = getelementptr inbounds %struct.bio, ptr %118, i64 0, i32 1 store ptr %124, ptr %125, align 8, !tbaa !39 %126 = tail call i32 @g_io_request(ptr noundef nonnull %118, ptr noundef %8) #2 br label %159 127: ; preds = %112 %128 = load i32, ptr %113, align 8, !tbaa !40 %129 = tail call i32 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %128) #2 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %146 131: ; preds = %127 %132 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 2 %133 = load i64, ptr %132, align 8, !tbaa !41 %134 = inttoptr i64 %133 to ptr %135 = load ptr, ptr %10, align 8, !tbaa !17 %136 = getelementptr inbounds %struct.g_slice, ptr %135, i64 %12, i32 1 %137 = load i64, ptr %136, align 8, !tbaa !24 %138 = getelementptr inbounds %struct.g_kerneldump, ptr %134, i64 0, i32 1 %139 = load i64, ptr %138, align 8, !tbaa !42 %140 = add nsw i64 %139, %137 store i64 %140, ptr %138, align 8, !tbaa !42 %141 = load i64, ptr %134, align 8, !tbaa !44 %142 = getelementptr inbounds %struct.g_slice, ptr %135, i64 %12 %143 = load i64, ptr %142, align 8, !tbaa !21 %144 = icmp sgt i64 %141, %143 br i1 %144, label %145, label %146 145: ; preds = %131 store i64 %143, ptr %134, align 8, !tbaa !44 br label %146 146: ; preds = %131, %145, %127, %1 %147 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %148 = icmp eq ptr %147, null br i1 %148, label %149, label %152 149: ; preds = %146 %150 = load i32, ptr @ENOMEM, align 4, !tbaa !23 %151 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %150) #2 br label %159 152: ; preds = %146 %153 = load ptr, ptr @g_std_done, align 8, !tbaa !38 %154 = getelementptr inbounds %struct.bio, ptr %147, i64 0, i32 1 store ptr %153, ptr %154, align 8, !tbaa !39 %155 = tail call i32 @g_io_request(ptr noundef nonnull %147, ptr noundef %8) #2 br label %159 156: ; preds = %1 %157 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !23 %158 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %157) #2 br label %159 159: ; preds = %109, %71, %77, %61, %69, %152, %156, %149, %123, %120, %99, %86, %58, %20 ret void } declare ptr @LIST_FIRST(ptr noundef) local_unnamed_addr #1 declare i32 @g_io_deliver(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_post_event(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @g_clone_bio(ptr noundef) local_unnamed_addr #1 declare i32 @g_io_request(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(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, !10, i64 48} !6 = !{!"bio", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !11, i64 32, !11, i64 40, !10, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !10, i64 8} !13 = !{!"g_provider", !7, i64 0, !10, i64 8} !14 = !{!15, !10, i64 8} !15 = !{!"g_geom", !7, i64 0, !10, i64 8} !16 = !{!13, !7, i64 0} !17 = !{!18, !10, i64 16} !18 = !{!"g_slicer", !11, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32} !19 = !{!6, !7, i64 0} !20 = !{!6, !11, i64 32} !21 = !{!22, !11, i64 0} !22 = !{!"g_slice", !11, i64 0, !11, i64 8} !23 = !{!7, !7, i64 0} !24 = !{!22, !11, i64 8} !25 = !{!18, !11, i64 0} !26 = !{!18, !10, i64 32} !27 = !{!28, !11, i64 16} !28 = !{!"g_slice_hot", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !29 = !{!28, !11, i64 24} !30 = !{!6, !11, i64 40} !31 = !{!28, !7, i64 0} !32 = !{!28, !7, i64 4} !33 = !{!28, !7, i64 8} !34 = !{!18, !10, i64 8} !35 = !{!18, !7, i64 24} !36 = distinct !{!36, !37} !37 = !{!"llvm.loop.mustprogress"} !38 = !{!10, !10, i64 0} !39 = !{!6, !10, i64 8} !40 = !{!6, !7, i64 24} !41 = !{!6, !11, i64 16} !42 = !{!43, !11, i64 8} !43 = !{!"g_kerneldump", !11, i64 0, !11, i64 8} !44 = !{!43, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/geom/extr_geom_slice.c_g_slice_start.c' source_filename = "AnghaBench/freebsd/sys/geom/extr_geom_slice.c_g_slice_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.g_slice = type { i64, i64 } %struct.g_slice_hot = type { i32, i32, i32, i64, i64 } @EINVAL = common local_unnamed_addr global i32 0, align 4 @EROFS = common local_unnamed_addr global i32 0, align 4 @EJUSTRETURN = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @g_std_done = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [12 x i8] c"GEOM::ident\00", align 1 @g_slice_done = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [17 x i8] c"GEOM::kerneldump\00", align 1 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @g_slice_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @g_slice_start(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = tail call ptr @LIST_FIRST(ptr noundef %5) #2 %9 = load i32, ptr %3, align 8, !tbaa !17 %10 = getelementptr inbounds i8, ptr %7, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !18 %12 = sext i32 %9 to i64 %13 = getelementptr inbounds %struct.g_slice, ptr %11, i64 %12 %14 = load i32, ptr %0, align 8, !tbaa !20 switch i32 %14, label %156 [ i32 133, label %15 i32 132, label %15 i32 136, label %15 i32 134, label %105 i32 135, label %146 ] 15: ; preds = %1, %1, %1 %16 = getelementptr inbounds i8, ptr %0, i64 32 %17 = load i64, ptr %16, align 8, !tbaa !21 %18 = load i64, ptr %13, align 8, !tbaa !22 %19 = icmp sgt i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr @EINVAL, align 4, !tbaa !24 %22 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %21) #2 br label %159 23: ; preds = %15 %24 = getelementptr inbounds i8, ptr %13, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !25 %26 = add nsw i64 %25, %17 %27 = load i64, ptr %7, align 8, !tbaa !26 %28 = icmp eq i64 %27, 0 br i1 %28, label %83, label %29 29: ; preds = %23 %30 = getelementptr inbounds i8, ptr %7, i64 32 %31 = load ptr, ptr %30, align 8, !tbaa !27 %32 = getelementptr inbounds i8, ptr %0, i64 40 br label %33 33: ; preds = %29, %79 %34 = phi i32 [ %9, %29 ], [ %80, %79 ] %35 = phi i64 [ 0, %29 ], [ %81, %79 ] %36 = getelementptr inbounds %struct.g_slice_hot, ptr %31, i64 %35 %37 = getelementptr inbounds i8, ptr %36, i64 16 %38 = load i64, ptr %37, align 8, !tbaa !28 %39 = getelementptr inbounds i8, ptr %36, i64 24 %40 = load i64, ptr %39, align 8, !tbaa !30 %41 = add nsw i64 %40, %38 %42 = icmp slt i64 %26, %41 br i1 %42, label %43, label %79 43: ; preds = %33 %44 = load i64, ptr %32, align 8, !tbaa !31 %45 = add nsw i64 %44, %26 %46 = icmp sgt i64 %45, %38 br i1 %46, label %47, label %79 47: ; preds = %43 switch i32 %14, label %56 [ i32 133, label %48 i32 132, label %50 i32 136, label %53 ] 48: ; preds = %47 %49 = load i32, ptr %36, align 8, !tbaa !32 br label %56 50: ; preds = %47 %51 = getelementptr inbounds i8, ptr %36, i64 4 %52 = load i32, ptr %51, align 4, !tbaa !33 br label %56 53: ; preds = %47 %54 = getelementptr inbounds i8, ptr %36, i64 8 %55 = load i32, ptr %54, align 8, !tbaa !34 br label %56 56: ; preds = %47, %53, %50, %48 %57 = phi i32 [ %34, %47 ], [ %55, %53 ], [ %52, %50 ], [ %49, %48 ] switch i32 %57, label %83 [ i32 131, label %79 i32 129, label %58 i32 128, label %61 i32 130, label %71 ] 58: ; preds = %56 %59 = load i32, ptr @EROFS, align 4, !tbaa !24 %60 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %59) #2 br label %159 61: ; preds = %56 %62 = getelementptr inbounds i8, ptr %7, i64 8 %63 = load ptr, ptr %62, align 8, !tbaa !35 %64 = tail call i32 %63(ptr noundef nonnull %0) #2 %65 = icmp eq i32 %64, 0 %66 = load i32, ptr @EJUSTRETURN, align 4 %67 = icmp eq i32 %64, %66 %68 = select i1 %65, i1 true, i1 %67 br i1 %68, label %159, label %69 69: ; preds = %61 %70 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %64) #2 br label %159 71: ; preds = %56 %72 = getelementptr inbounds i8, ptr %7, i64 24 %73 = load i32, ptr %72, align 8, !tbaa !36 %74 = load i32, ptr @M_NOWAIT, align 4, !tbaa !24 %75 = tail call i32 @g_post_event(i32 noundef %73, ptr noundef nonnull %0, i32 noundef %74, ptr noundef %5, ptr noundef null) #2 %76 = icmp eq i32 %75, 0 br i1 %76, label %159, label %77 77: ; preds = %71 %78 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %75) #2 br label %159 79: ; preds = %56, %43, %33 %80 = phi i32 [ %34, %33 ], [ %34, %43 ], [ %57, %56 ] %81 = add nuw i64 %35, 1 %82 = icmp eq i64 %81, %27 br i1 %82, label %83, label %33, !llvm.loop !37 83: ; preds = %79, %56, %23 %84 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %89 86: ; preds = %83 %87 = load i32, ptr @ENOMEM, align 4, !tbaa !24 %88 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %87) #2 br label %159 89: ; preds = %83 %90 = getelementptr inbounds i8, ptr %84, i64 32 %91 = load i64, ptr %90, align 8, !tbaa !21 %92 = getelementptr inbounds i8, ptr %84, i64 40 %93 = load i64, ptr %92, align 8, !tbaa !31 %94 = add nsw i64 %93, %91 %95 = load i64, ptr %13, align 8, !tbaa !22 %96 = icmp sgt i64 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %89 %98 = sub nsw i64 %95, %91 store i64 %98, ptr %92, align 8, !tbaa !31 br label %99 99: ; preds = %97, %89 %100 = load ptr, ptr @g_std_done, align 8, !tbaa !39 %101 = getelementptr inbounds i8, ptr %84, i64 8 store ptr %100, ptr %101, align 8, !tbaa !40 %102 = load i64, ptr %24, align 8, !tbaa !25 %103 = add nsw i64 %102, %91 store i64 %103, ptr %90, align 8, !tbaa !21 %104 = tail call i32 @g_io_request(ptr noundef nonnull %84, ptr noundef %8) #2 br label %159 105: ; preds = %1 %106 = getelementptr inbounds i8, ptr %7, i64 8 %107 = load ptr, ptr %106, align 8, !tbaa !35 %108 = icmp eq ptr %107, null br i1 %108, label %112, label %109 109: ; preds = %105 %110 = tail call i32 %107(ptr noundef nonnull %0) #2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %159 112: ; preds = %109, %105 %113 = getelementptr inbounds i8, ptr %0, i64 24 %114 = load i32, ptr %113, align 8, !tbaa !41 %115 = tail call i32 @strcmp(ptr noundef nonnull @.str, i32 noundef %114) #2 %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %127 117: ; preds = %112 %118 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %119 = icmp eq ptr %118, null br i1 %119, label %120, label %123 120: ; preds = %117 %121 = load i32, ptr @ENOMEM, align 4, !tbaa !24 %122 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %121) #2 br label %159 123: ; preds = %117 %124 = load ptr, ptr @g_slice_done, align 8, !tbaa !39 %125 = getelementptr inbounds i8, ptr %118, i64 8 store ptr %124, ptr %125, align 8, !tbaa !40 %126 = tail call i32 @g_io_request(ptr noundef nonnull %118, ptr noundef %8) #2 br label %159 127: ; preds = %112 %128 = load i32, ptr %113, align 8, !tbaa !41 %129 = tail call i32 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %128) #2 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %146 131: ; preds = %127 %132 = getelementptr inbounds i8, ptr %0, i64 16 %133 = load i64, ptr %132, align 8, !tbaa !42 %134 = inttoptr i64 %133 to ptr %135 = load ptr, ptr %10, align 8, !tbaa !18 %136 = getelementptr inbounds %struct.g_slice, ptr %135, i64 %12, i32 1 %137 = load i64, ptr %136, align 8, !tbaa !25 %138 = getelementptr inbounds i8, ptr %134, i64 8 %139 = load i64, ptr %138, align 8, !tbaa !43 %140 = add nsw i64 %139, %137 store i64 %140, ptr %138, align 8, !tbaa !43 %141 = load i64, ptr %134, align 8, !tbaa !45 %142 = getelementptr inbounds %struct.g_slice, ptr %135, i64 %12 %143 = load i64, ptr %142, align 8, !tbaa !22 %144 = icmp sgt i64 %141, %143 br i1 %144, label %145, label %146 145: ; preds = %131 store i64 %143, ptr %134, align 8, !tbaa !45 br label %146 146: ; preds = %131, %145, %127, %1 %147 = tail call ptr @g_clone_bio(ptr noundef nonnull %0) #2 %148 = icmp eq ptr %147, null br i1 %148, label %149, label %152 149: ; preds = %146 %150 = load i32, ptr @ENOMEM, align 4, !tbaa !24 %151 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %150) #2 br label %159 152: ; preds = %146 %153 = load ptr, ptr @g_std_done, align 8, !tbaa !39 %154 = getelementptr inbounds i8, ptr %147, i64 8 store ptr %153, ptr %154, align 8, !tbaa !40 %155 = tail call i32 @g_io_request(ptr noundef nonnull %147, ptr noundef %8) #2 br label %159 156: ; preds = %1 %157 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !24 %158 = tail call i32 @g_io_deliver(ptr noundef nonnull %0, i32 noundef %157) #2 br label %159 159: ; preds = %109, %71, %77, %61, %69, %152, %156, %149, %123, %120, %99, %86, %58, %20 ret void } declare ptr @LIST_FIRST(ptr noundef) local_unnamed_addr #1 declare i32 @g_io_deliver(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_post_event(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @g_clone_bio(ptr noundef) local_unnamed_addr #1 declare i32 @g_io_request(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(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, !11, i64 48} !7 = !{!"bio", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !12, i64 32, !12, i64 40, !11, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !11, i64 8} !14 = !{!"g_provider", !8, i64 0, !11, i64 8} !15 = !{!16, !11, i64 8} !16 = !{!"g_geom", !8, i64 0, !11, i64 8} !17 = !{!14, !8, i64 0} !18 = !{!19, !11, i64 16} !19 = !{!"g_slicer", !12, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32} !20 = !{!7, !8, i64 0} !21 = !{!7, !12, i64 32} !22 = !{!23, !12, i64 0} !23 = !{!"g_slice", !12, i64 0, !12, i64 8} !24 = !{!8, !8, i64 0} !25 = !{!23, !12, i64 8} !26 = !{!19, !12, i64 0} !27 = !{!19, !11, i64 32} !28 = !{!29, !12, i64 16} !29 = !{!"g_slice_hot", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16, !12, i64 24} !30 = !{!29, !12, i64 24} !31 = !{!7, !12, i64 40} !32 = !{!29, !8, i64 0} !33 = !{!29, !8, i64 4} !34 = !{!29, !8, i64 8} !35 = !{!19, !11, i64 8} !36 = !{!19, !8, i64 24} !37 = distinct !{!37, !38} !38 = !{!"llvm.loop.mustprogress"} !39 = !{!11, !11, i64 0} !40 = !{!7, !11, i64 8} !41 = !{!7, !8, i64 24} !42 = !{!7, !12, i64 16} !43 = !{!44, !12, i64 8} !44 = !{!"g_kerneldump", !12, i64 0, !12, i64 8} !45 = !{!44, !12, i64 0}
freebsd_sys_geom_extr_geom_slice.c_g_slice_start
; ModuleID = 'AnghaBench/freebsd/sys/dev/atkbdc/extr_atkbd.c_atkbd_configure.c' source_filename = "AnghaBench/freebsd/sys/dev/atkbdc/extr_atkbd.c_atkbd_configure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"atkbd\00", align 1 @ATKBD_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @ATKBD_DRIVER_NAME = dso_local local_unnamed_addr global i32 0, align 4 @KB_REGISTERED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"flags\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @atkbd_configure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atkbd_configure(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2 x i32], align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i64 (...) @atkbdc_configure() #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !5 %9 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %7, %1 %12 = load i32, ptr @ATKBD_DRIVER_NAME, align 4, !tbaa !5 %13 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !5 %14 = tail call i32 @kbd_find_keyboard(i32 noundef %12, i32 noundef %13) #3 %15 = icmp sgt i32 %14, -1 br i1 %15, label %16, label %39 16: ; preds = %11 %17 = tail call ptr @kbd_get_keyboard(i32 noundef %14) #3 %18 = tail call i32 @kbd_unregister(ptr noundef %17) #3 %19 = load i32, ptr @KB_REGISTERED, align 4, !tbaa !5 %20 = xor i32 %19, -1 %21 = load i32, ptr %17, align 4, !tbaa !9 %22 = and i32 %21, %20 store i32 %22, ptr %17, align 4, !tbaa !9 br label %39 23: ; preds = %7 %24 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !5 %25 = call i64 @resource_int_value(ptr noundef nonnull @.str, i32 noundef %24, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr %4, align 4 %28 = select i1 %26, i32 %27, i32 0 %29 = or i32 %28, %0 store i32 -1, ptr %3, align 4, !tbaa !5 %30 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 store i32 -1, ptr %30, align 4, !tbaa !5 store ptr null, ptr %2, align 8, !tbaa !11 %31 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !5 %32 = call i64 @atkbd_probe(i32 noundef %31, ptr noundef nonnull %3, i32 noundef %29) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %23 %35 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !5 %36 = call i64 @atkbd_init(i32 noundef %35, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %29) #3 %37 = icmp eq i64 %36, 0 %38 = zext i1 %37 to i32 br label %39 39: ; preds = %34, %23, %11, %16 %40 = phi i32 [ 0, %16 ], [ 0, %11 ], [ 0, %23 ], [ %38, %34 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @atkbdc_configure(...) local_unnamed_addr #2 declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kbd_find_keyboard(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kbd_get_keyboard(i32 noundef) local_unnamed_addr #2 declare i32 @kbd_unregister(ptr noundef) local_unnamed_addr #2 declare i64 @resource_int_value(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @atkbd_probe(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atkbd_init(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/atkbdc/extr_atkbd.c_atkbd_configure.c' source_filename = "AnghaBench/freebsd/sys/dev/atkbdc/extr_atkbd.c_atkbd_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"atkbd\00", align 1 @ATKBD_DEFAULT = common local_unnamed_addr global i32 0, align 4 @ATKBD_DRIVER_NAME = common local_unnamed_addr global i32 0, align 4 @KB_REGISTERED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"flags\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @atkbd_configure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @atkbd_configure(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2 x i32], align 8 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i64 @atkbdc_configure() #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !6 %9 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %7, %1 %12 = load i32, ptr @ATKBD_DRIVER_NAME, align 4, !tbaa !6 %13 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !6 %14 = tail call i32 @kbd_find_keyboard(i32 noundef %12, i32 noundef %13) #3 %15 = icmp sgt i32 %14, -1 br i1 %15, label %16, label %38 16: ; preds = %11 %17 = tail call ptr @kbd_get_keyboard(i32 noundef %14) #3 %18 = tail call i32 @kbd_unregister(ptr noundef %17) #3 %19 = load i32, ptr @KB_REGISTERED, align 4, !tbaa !6 %20 = xor i32 %19, -1 %21 = load i32, ptr %17, align 4, !tbaa !10 %22 = and i32 %21, %20 store i32 %22, ptr %17, align 4, !tbaa !10 br label %38 23: ; preds = %7 %24 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !6 %25 = call i64 @resource_int_value(ptr noundef nonnull @.str, i32 noundef %24, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr %4, align 4 %28 = select i1 %26, i32 %27, i32 0 %29 = or i32 %28, %0 store <2 x i32> <i32 -1, i32 -1>, ptr %3, align 8, !tbaa !6 store ptr null, ptr %2, align 8, !tbaa !12 %30 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !6 %31 = call i64 @atkbd_probe(i32 noundef %30, ptr noundef nonnull %3, i32 noundef %29) #3 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %23 %34 = load i32, ptr @ATKBD_DEFAULT, align 4, !tbaa !6 %35 = call i64 @atkbd_init(i32 noundef %34, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %29) #3 %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i32 br label %38 38: ; preds = %33, %23, %11, %16 %39 = phi i32 [ 0, %16 ], [ 0, %11 ], [ 0, %23 ], [ %37, %33 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @atkbdc_configure(...) local_unnamed_addr #2 declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kbd_find_keyboard(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kbd_get_keyboard(i32 noundef) local_unnamed_addr #2 declare i32 @kbd_unregister(ptr noundef) local_unnamed_addr #2 declare i64 @resource_int_value(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @atkbd_probe(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atkbd_init(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
freebsd_sys_dev_atkbdc_extr_atkbd.c_atkbd_configure
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_mod_cb_tx_stopped.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_mod_cb_tx_stopped.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bna_tx_mod_cb_tx_stopped], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bna_tx_mod_cb_tx_stopped(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @bfa_wc_down(ptr noundef %0) #2 ret void } declare i32 @bfa_wc_down(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_mod_cb_tx_stopped.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_mod_cb_tx_stopped.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 @bna_tx_mod_cb_tx_stopped], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bna_tx_mod_cb_tx_stopped(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @bfa_wc_down(ptr noundef %0) #2 ret void } declare i32 @bfa_wc_down(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_bna_extr_bna_tx_rx.c_bna_tx_mod_cb_tx_stopped
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_test.c_waveform_ao_cmdtest.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_test.c_waveform_ao_cmdtest.c" target datalayout = "e-m:e-p270:32:32-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.comedi_cmd = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @TRIG_INT = dso_local local_unnamed_addr global i32 0, align 4 @TRIG_TIMER = dso_local local_unnamed_addr global i32 0, align 4 @TRIG_NOW = dso_local local_unnamed_addr global i32 0, align 4 @TRIG_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @TRIG_NONE = dso_local local_unnamed_addr global i32 0, align 4 @NSEC_PER_USEC = dso_local local_unnamed_addr global i32 0, align 4 @UINT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @waveform_ao_cmdtest], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @waveform_ao_cmdtest(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @TRIG_INT, align 4, !tbaa !5 %5 = tail call i32 @comedi_check_trigger_src(ptr noundef %2, i32 noundef %4) #2 %6 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 1 %7 = load i32, ptr @TRIG_TIMER, align 4, !tbaa !5 %8 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %6, i32 noundef %7) #2 %9 = or i32 %8, %5 %10 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 2 %11 = load i32, ptr @TRIG_NOW, align 4, !tbaa !5 %12 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %10, i32 noundef %11) #2 %13 = or i32 %9, %12 %14 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 3 %15 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !5 %16 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %14, i32 noundef %15) #2 %17 = or i32 %13, %16 %18 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 4 %19 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !5 %20 = load i32, ptr @TRIG_NONE, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %18, i32 noundef %21) #2 %23 = or i32 %17, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %67 25: ; preds = %3 %26 = load i32, ptr %18, align 4, !tbaa !9 %27 = tail call i32 @comedi_check_trigger_is_unique(i32 noundef %26) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %67 29: ; preds = %25 %30 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 5 %31 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !5 %32 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %30, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 6 %34 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %33, i32 noundef 0) #2 %35 = or i32 %34, %32 %36 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 7 %37 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %36, i32 noundef 1) #2 %38 = or i32 %35, %37 %39 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 8 %40 = load i32, ptr %36, align 4, !tbaa !11 %41 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %39, i32 noundef %40) #2 %42 = or i32 %38, %41 %43 = load i32, ptr %18, align 4, !tbaa !9 %44 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !5 %45 = icmp eq i32 %43, %44 %46 = getelementptr inbounds %struct.comedi_cmd, ptr %2, i64 0, i32 9 br i1 %45, label %47, label %49 47: ; preds = %29 %48 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %46, i32 noundef 1) #2 br label %51 49: ; preds = %29 %50 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %46, i32 noundef 0) #2 br label %51 51: ; preds = %49, %47 %52 = phi i32 [ %48, %47 ], [ %50, %49 ] %53 = or i32 %42, %52 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %67 55: ; preds = %51 %56 = load i32, ptr %30, align 4, !tbaa !12 %57 = load i32, ptr @UINT_MAX, align 4, !tbaa !5 %58 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !5 %59 = tail call i32 @rounddown(i32 noundef %57, i32 noundef %58) #2 %60 = tail call i32 @min(i32 noundef %56, i32 noundef %59) #2 %61 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !5 %62 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %60, i32 noundef %61) #2 %63 = mul nsw i32 %62, %61 %64 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %30, i32 noundef %63) #2 %65 = icmp eq i32 %64, 0 %66 = select i1 %65, i32 0, i32 4 br label %67 67: ; preds = %55, %51, %25, %3 %68 = phi i32 [ 1, %3 ], [ 2, %25 ], [ 3, %51 ], [ %66, %55 ] ret i32 %68 } declare i32 @comedi_check_trigger_src(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_is_unique(i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_arg_min(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_arg_is(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rounddown(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"comedi_cmd", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36} !11 = !{!10, !6, i64 28} !12 = !{!10, !6, i64 20}
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_test.c_waveform_ao_cmdtest.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_test.c_waveform_ao_cmdtest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRIG_INT = common local_unnamed_addr global i32 0, align 4 @TRIG_TIMER = common local_unnamed_addr global i32 0, align 4 @TRIG_NOW = common local_unnamed_addr global i32 0, align 4 @TRIG_COUNT = common local_unnamed_addr global i32 0, align 4 @TRIG_NONE = common local_unnamed_addr global i32 0, align 4 @NSEC_PER_USEC = common local_unnamed_addr global i32 0, align 4 @UINT_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @waveform_ao_cmdtest], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 5) i32 @waveform_ao_cmdtest(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @TRIG_INT, align 4, !tbaa !6 %5 = tail call i32 @comedi_check_trigger_src(ptr noundef %2, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = load i32, ptr @TRIG_TIMER, align 4, !tbaa !6 %8 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %6, i32 noundef %7) #2 %9 = or i32 %8, %5 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load i32, ptr @TRIG_NOW, align 4, !tbaa !6 %12 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %10, i32 noundef %11) #2 %13 = or i32 %9, %12 %14 = getelementptr inbounds i8, ptr %2, i64 12 %15 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !6 %16 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %14, i32 noundef %15) #2 %17 = or i32 %13, %16 %18 = getelementptr inbounds i8, ptr %2, i64 16 %19 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !6 %20 = load i32, ptr @TRIG_NONE, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = tail call i32 @comedi_check_trigger_src(ptr noundef nonnull %18, i32 noundef %21) #2 %23 = or i32 %17, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %67 25: ; preds = %3 %26 = load i32, ptr %18, align 4, !tbaa !10 %27 = tail call i32 @comedi_check_trigger_is_unique(i32 noundef %26) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %67 29: ; preds = %25 %30 = getelementptr inbounds i8, ptr %2, i64 20 %31 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !6 %32 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %30, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %2, i64 24 %34 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %33, i32 noundef 0) #2 %35 = or i32 %34, %32 %36 = getelementptr inbounds i8, ptr %2, i64 28 %37 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %36, i32 noundef 1) #2 %38 = or i32 %35, %37 %39 = getelementptr inbounds i8, ptr %2, i64 32 %40 = load i32, ptr %36, align 4, !tbaa !12 %41 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %39, i32 noundef %40) #2 %42 = or i32 %38, %41 %43 = load i32, ptr %18, align 4, !tbaa !10 %44 = load i32, ptr @TRIG_COUNT, align 4, !tbaa !6 %45 = icmp eq i32 %43, %44 %46 = getelementptr inbounds i8, ptr %2, i64 36 br i1 %45, label %47, label %49 47: ; preds = %29 %48 = tail call i32 @comedi_check_trigger_arg_min(ptr noundef nonnull %46, i32 noundef 1) #2 br label %51 49: ; preds = %29 %50 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %46, i32 noundef 0) #2 br label %51 51: ; preds = %49, %47 %52 = phi i32 [ %48, %47 ], [ %50, %49 ] %53 = or i32 %42, %52 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %67 55: ; preds = %51 %56 = load i32, ptr %30, align 4, !tbaa !13 %57 = load i32, ptr @UINT_MAX, align 4, !tbaa !6 %58 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !6 %59 = tail call i32 @rounddown(i32 noundef %57, i32 noundef %58) #2 %60 = tail call i32 @min(i32 noundef %56, i32 noundef %59) #2 %61 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !6 %62 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %60, i32 noundef %61) #2 %63 = mul nsw i32 %62, %61 %64 = tail call i32 @comedi_check_trigger_arg_is(ptr noundef nonnull %30, i32 noundef %63) #2 %65 = icmp eq i32 %64, 0 %66 = select i1 %65, i32 0, i32 4 br label %67 67: ; preds = %55, %51, %25, %3 %68 = phi i32 [ 1, %3 ], [ 2, %25 ], [ 3, %51 ], [ %66, %55 ] ret i32 %68 } declare i32 @comedi_check_trigger_src(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_is_unique(i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_arg_min(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comedi_check_trigger_arg_is(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rounddown(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"comedi_cmd", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36} !12 = !{!11, !7, i64 28} !13 = !{!11, !7, i64 20}
linux_drivers_staging_comedi_drivers_extr_comedi_test.c_waveform_ao_cmdtest
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_compress.c_free_compression_buffers.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_compress.c_free_compression_buffers.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ntfs_compression_buffer = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @free_compression_buffers() local_unnamed_addr #0 { %1 = load ptr, ptr @ntfs_compression_buffer, align 8, !tbaa !5 %2 = icmp eq ptr %1, null %3 = zext i1 %2 to i32 %4 = tail call i32 @BUG_ON(i32 noundef %3) #2 %5 = load ptr, ptr @ntfs_compression_buffer, align 8, !tbaa !5 %6 = tail call i32 @vfree(ptr noundef %5) #2 store ptr null, ptr @ntfs_compression_buffer, align 8, !tbaa !5 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @vfree(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/fastsocket/kernel/fs/ntfs/extr_compress.c_free_compression_buffers.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_compress.c_free_compression_buffers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ntfs_compression_buffer = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @free_compression_buffers() local_unnamed_addr #0 { %1 = load ptr, ptr @ntfs_compression_buffer, align 8, !tbaa !6 %2 = icmp eq ptr %1, null %3 = zext i1 %2 to i32 %4 = tail call i32 @BUG_ON(i32 noundef %3) #2 %5 = load ptr, ptr @ntfs_compression_buffer, align 8, !tbaa !6 %6 = tail call i32 @vfree(ptr noundef %5) #2 store ptr null, ptr @ntfs_compression_buffer, align 8, !tbaa !6 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @vfree(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"}
fastsocket_kernel_fs_ntfs_extr_compress.c_free_compression_buffers
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_gemi915_gem_context.h_i915_gem_context_set_force_single_submission.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_gemi915_gem_context.h_i915_gem_context_set_force_single_submission.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CONTEXT_FORCE_SINGLE_SUBMISSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i915_gem_context_set_force_single_submission], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @i915_gem_context_set_force_single_submission(ptr noundef %0) #0 { %2 = load i32, ptr @CONTEXT_FORCE_SINGLE_SUBMISSION, align 4, !tbaa !5 %3 = tail call i32 @__set_bit(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @__set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_gemi915_gem_context.h_i915_gem_context_set_force_single_submission.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_gemi915_gem_context.h_i915_gem_context_set_force_single_submission.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONTEXT_FORCE_SINGLE_SUBMISSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i915_gem_context_set_force_single_submission], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @i915_gem_context_set_force_single_submission(ptr noundef %0) #0 { %2 = load i32, ptr @CONTEXT_FORCE_SINGLE_SUBMISSION, align 4, !tbaa !6 %3 = tail call i32 @__set_bit(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @__set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_i915_extr_gemi915_gem_context.h_i915_gem_context_set_force_single_submission
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24113.c_cx24113_enable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24113.c_cx24113_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" @REV_CX24113 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cx24113_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cx24113_enable(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @cx24113_readreg(ptr noundef %0, i32 noundef 33) #2 %4 = and i32 %3, 192 %5 = or i32 %4, %1 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = load i64, ptr @REV_CX24113, align 8, !tbaa !10 %8 = icmp eq i64 %6, %7 %9 = or i32 %5, 2 %10 = select i1 %8, i32 %9, i32 %5 %11 = tail call i32 @cx24113_writereg(ptr noundef nonnull %0, i32 noundef 33, i32 noundef %10) #2 ret i32 %11 } declare i32 @cx24113_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cx24113_writereg(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 = !{!"cx24113_state", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24113.c_cx24113_enable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24113.c_cx24113_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REV_CX24113 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @cx24113_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cx24113_enable(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @cx24113_readreg(ptr noundef %0, i32 noundef 33) #2 %4 = and i32 %3, 192 %5 = or i32 %4, %1 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = load i64, ptr @REV_CX24113, align 8, !tbaa !11 %8 = icmp eq i64 %6, %7 %9 = or i32 %5, 2 %10 = select i1 %8, i32 %9, i32 %5 %11 = tail call i32 @cx24113_writereg(ptr noundef nonnull %0, i32 noundef 33, i32 noundef %10) #2 ret i32 %11 } declare i32 @cx24113_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cx24113_writereg(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 = !{!"cx24113_state", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_media_dvb_frontends_extr_cx24113.c_cx24113_enable
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_e_series_enable_second_irq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_e_series_enable_second_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.TYPE_4__ = type { i32 } @boardtype = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ni_reg_m_series_mask = dso_local local_unnamed_addr global i32 0, align 4 @devpriv = dso_local local_unnamed_addr global ptr null, align 8 @G0_Gate_Second_Irq_Enable = dso_local local_unnamed_addr global i32 0, align 4 @Second_IRQ_A_Enable_Register = dso_local local_unnamed_addr global i32 0, align 4 @G1_Gate_Second_Irq_Enable = dso_local local_unnamed_addr global i32 0, align 4 @Second_IRQ_B_Enable_Register = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ni_e_series_enable_second_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ni_e_series_enable_second_irq(ptr noundef %0, i32 noundef %1, i16 noundef signext %2) #0 { %4 = load i32, ptr @boardtype, align 4, !tbaa !5 %5 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %3 switch i32 %1, label %31 [ i32 0, label %9 i32 1, label %20 ] 9: ; preds = %8 %10 = icmp eq i16 %2, 0 %11 = load ptr, ptr @devpriv, align 8, !tbaa !11 %12 = load ptr, ptr %11, align 8, !tbaa !13 br i1 %10, label %17, label %13 13: ; preds = %9 %14 = load i32, ptr @G0_Gate_Second_Irq_Enable, align 4, !tbaa !10 %15 = load i32, ptr @Second_IRQ_A_Enable_Register, align 4, !tbaa !10 %16 = tail call i32 %12(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 br label %33 17: ; preds = %9 %18 = load i32, ptr @Second_IRQ_A_Enable_Register, align 4, !tbaa !10 %19 = tail call i32 %12(ptr noundef %0, i32 noundef 0, i32 noundef %18) #2 br label %33 20: ; preds = %8 %21 = icmp eq i16 %2, 0 %22 = load ptr, ptr @devpriv, align 8, !tbaa !11 %23 = load ptr, ptr %22, align 8, !tbaa !13 br i1 %21, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @G1_Gate_Second_Irq_Enable, align 4, !tbaa !10 %26 = load i32, ptr @Second_IRQ_B_Enable_Register, align 4, !tbaa !10 %27 = tail call i32 %23(ptr noundef %0, i32 noundef %25, i32 noundef %26) #2 br label %33 28: ; preds = %20 %29 = load i32, ptr @Second_IRQ_B_Enable_Register, align 4, !tbaa !10 %30 = tail call i32 %23(ptr noundef %0, i32 noundef 0, i32 noundef %29) #2 br label %33 31: ; preds = %8 %32 = tail call i32 (...) @BUG() #2 br label %33 33: ; preds = %24, %28, %13, %17, %3, %31 ret void } declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_e_series_enable_second_irq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_e_series_enable_second_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @boardtype = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ni_reg_m_series_mask = common local_unnamed_addr global i32 0, align 4 @devpriv = common local_unnamed_addr global ptr null, align 8 @G0_Gate_Second_Irq_Enable = common local_unnamed_addr global i32 0, align 4 @Second_IRQ_A_Enable_Register = common local_unnamed_addr global i32 0, align 4 @G1_Gate_Second_Irq_Enable = common local_unnamed_addr global i32 0, align 4 @Second_IRQ_B_Enable_Register = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ni_e_series_enable_second_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ni_e_series_enable_second_irq(ptr noundef %0, i32 noundef %1, i16 noundef signext %2) #0 { %4 = load i32, ptr @boardtype, align 4, !tbaa !6 %5 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %3 switch i32 %1, label %31 [ i32 0, label %9 i32 1, label %20 ] 9: ; preds = %8 %10 = icmp eq i16 %2, 0 %11 = load ptr, ptr @devpriv, align 8, !tbaa !12 %12 = load ptr, ptr %11, align 8, !tbaa !14 br i1 %10, label %17, label %13 13: ; preds = %9 %14 = load i32, ptr @G0_Gate_Second_Irq_Enable, align 4, !tbaa !11 %15 = load i32, ptr @Second_IRQ_A_Enable_Register, align 4, !tbaa !11 %16 = tail call i32 %12(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 br label %33 17: ; preds = %9 %18 = load i32, ptr @Second_IRQ_A_Enable_Register, align 4, !tbaa !11 %19 = tail call i32 %12(ptr noundef %0, i32 noundef 0, i32 noundef %18) #2 br label %33 20: ; preds = %8 %21 = icmp eq i16 %2, 0 %22 = load ptr, ptr @devpriv, align 8, !tbaa !12 %23 = load ptr, ptr %22, align 8, !tbaa !14 br i1 %21, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @G1_Gate_Second_Irq_Enable, align 4, !tbaa !11 %26 = load i32, ptr @Second_IRQ_B_Enable_Register, align 4, !tbaa !11 %27 = tail call i32 %23(ptr noundef %0, i32 noundef %25, i32 noundef %26) #2 br label %33 28: ; preds = %20 %29 = load i32, ptr @Second_IRQ_B_Enable_Register, align 4, !tbaa !11 %30 = tail call i32 %23(ptr noundef %0, i32 noundef 0, i32 noundef %29) #2 br label %33 31: ; preds = %8 %32 = tail call i32 @BUG() #2 br label %33 33: ; preds = %24, %28, %13, %17, %3, %31 ret void } declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_ni_mio_common.c_ni_e_series_enable_second_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_shdma.c_sh_dmae_is_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_shdma.c_sh_dmae_is_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sh_dmae_is_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sh_dmae_is_complete(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3) #0 { %5 = tail call ptr @to_sh_chan(ptr noundef %0) #2 %6 = tail call i32 @sh_dmae_chan_ld_cleanup(ptr noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = load i32, ptr %5, align 4, !tbaa !10 %9 = load i32, ptr @EBUSY, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 %11 = icmp eq i32 %8, %10 %12 = select i1 %11, i32 %7, i32 %8 %13 = icmp eq ptr %2, null br i1 %13, label %15, label %14 14: ; preds = %4 store i32 %12, ptr %2, align 4, !tbaa !12 br label %15 15: ; preds = %14, %4 %16 = icmp eq ptr %3, null br i1 %16, label %18, label %17 17: ; preds = %15 store i32 %7, ptr %3, align 4, !tbaa !12 br label %18 18: ; preds = %17, %15 %19 = tail call i32 @dma_async_is_complete(i32 noundef %1, i32 noundef %12, i32 noundef %7) #2 ret i32 %19 } declare ptr @to_sh_chan(ptr noundef) local_unnamed_addr #1 declare i32 @sh_dmae_chan_ld_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @dma_async_is_complete(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 = !{!"dma_chan", !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 = !{!"sh_dmae_chan", !7, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_shdma.c_sh_dmae_is_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_shdma.c_sh_dmae_is_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sh_dmae_is_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sh_dmae_is_complete(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3) #0 { %5 = tail call ptr @to_sh_chan(ptr noundef %0) #2 %6 = tail call i32 @sh_dmae_chan_ld_cleanup(ptr noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = load i32, ptr %5, align 4, !tbaa !11 %9 = load i32, ptr @EBUSY, align 4, !tbaa !13 %10 = sub nsw i32 0, %9 %11 = icmp eq i32 %8, %10 %12 = select i1 %11, i32 %7, i32 %8 %13 = icmp eq ptr %2, null br i1 %13, label %15, label %14 14: ; preds = %4 store i32 %12, ptr %2, align 4, !tbaa !13 br label %15 15: ; preds = %14, %4 %16 = icmp eq ptr %3, null br i1 %16, label %18, label %17 17: ; preds = %15 store i32 %7, ptr %3, align 4, !tbaa !13 br label %18 18: ; preds = %17, %15 %19 = tail call i32 @dma_async_is_complete(i32 noundef %1, i32 noundef %12, i32 noundef %7) #2 ret i32 %19 } declare ptr @to_sh_chan(ptr noundef) local_unnamed_addr #1 declare i32 @sh_dmae_chan_ld_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @dma_async_is_complete(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 = !{!"dma_chan", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"sh_dmae_chan", !8, i64 0} !13 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_dma_extr_shdma.c_sh_dmae_is_complete
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_lstrlib.c_add_value.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lstrlib.c_add_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" @.str = private unnamed_addr constant [33 x i8] c"invalid replacement value (a %s)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @add_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !5 switch i32 %4, label %14 [ i32 129, label %7 i32 128, label %11 ] 7: ; preds = %5 %8 = tail call i32 @lua_pushvalue(ptr noundef %6, i32 noundef 3) #2 %9 = tail call i32 @push_captures(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3) #2 %10 = tail call i32 @lua_call(ptr noundef %6, i32 noundef %9, i32 noundef 1) #2 br label %16 11: ; preds = %5 %12 = tail call i32 @push_onecapture(ptr noundef nonnull %0, i32 noundef 0, ptr noundef %2, ptr noundef %3) #2 %13 = tail call i32 @lua_gettable(ptr noundef %6, i32 noundef 3) #2 br label %16 14: ; preds = %5 %15 = tail call i32 @add_s(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 br label %34 16: ; preds = %11, %7 %17 = tail call i32 @lua_toboolean(ptr noundef %6, i32 noundef -1) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = tail call i32 @lua_pop(ptr noundef %6, i32 noundef 1) #2 %21 = ptrtoint ptr %3 to i64 %22 = ptrtoint ptr %2 to i64 %23 = sub i64 %21, %22 %24 = trunc i64 %23 to i32 %25 = tail call i32 @lua_pushlstring(ptr noundef %6, ptr noundef %2, i32 noundef %24) #2 br label %32 26: ; preds = %16 %27 = tail call i32 @lua_isstring(ptr noundef %6, i32 noundef -1) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = tail call i32 @luaL_typename(ptr noundef %6, i32 noundef -1) #2 %31 = tail call i32 @luaL_error(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %30) #2 br label %32 32: ; preds = %26, %29, %19 %33 = tail call i32 @luaL_addvalue(ptr noundef %1) #2 br label %34 34: ; preds = %32, %14 ret void } declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @push_captures(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_call(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @push_onecapture(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_gettable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @add_s(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_toboolean(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_isstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_typename(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_addvalue(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_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_lstrlib.c_add_value.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lstrlib.c_add_value.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 [33 x i8] c"invalid replacement value (a %s)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @add_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !6 switch i32 %4, label %14 [ i32 129, label %7 i32 128, label %11 ] 7: ; preds = %5 %8 = tail call i32 @lua_pushvalue(ptr noundef %6, i32 noundef 3) #2 %9 = tail call i32 @push_captures(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3) #2 %10 = tail call i32 @lua_call(ptr noundef %6, i32 noundef %9, i32 noundef 1) #2 br label %16 11: ; preds = %5 %12 = tail call i32 @push_onecapture(ptr noundef nonnull %0, i32 noundef 0, ptr noundef %2, ptr noundef %3) #2 %13 = tail call i32 @lua_gettable(ptr noundef %6, i32 noundef 3) #2 br label %16 14: ; preds = %5 %15 = tail call i32 @add_s(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 br label %34 16: ; preds = %11, %7 %17 = tail call i32 @lua_toboolean(ptr noundef %6, i32 noundef -1) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = tail call i32 @lua_pop(ptr noundef %6, i32 noundef 1) #2 %21 = ptrtoint ptr %3 to i64 %22 = ptrtoint ptr %2 to i64 %23 = sub i64 %21, %22 %24 = trunc i64 %23 to i32 %25 = tail call i32 @lua_pushlstring(ptr noundef %6, ptr noundef %2, i32 noundef %24) #2 br label %32 26: ; preds = %16 %27 = tail call i32 @lua_isstring(ptr noundef %6, i32 noundef -1) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = tail call i32 @luaL_typename(ptr noundef %6, i32 noundef -1) #2 %31 = tail call i32 @luaL_error(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %30) #2 br label %32 32: ; preds = %26, %29, %19 %33 = tail call i32 @luaL_addvalue(ptr noundef %1) #2 br label %34 34: ; preds = %32, %14 ret void } declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @push_captures(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_call(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @push_onecapture(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_gettable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @add_s(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_toboolean(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_isstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_typename(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_addvalue(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_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_lua_src_extr_lstrlib.c_add_value
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_update_world_regdomain.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_update_world_regdomain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cfg80211_world_regdom = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @update_world_regdomain], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @update_world_regdomain(ptr noundef %0) #0 { %2 = tail call ptr (...) @get_last_request() #2 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i32 @WARN_ON(i32 noundef %4) #2 %6 = tail call i32 @reset_regdomains(i32 noundef 0, ptr noundef %0) #2 store ptr %0, ptr @cfg80211_world_regdom, align 8, !tbaa !5 ret void } declare ptr @get_last_request(...) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @reset_regdomains(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_update_world_regdomain.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_update_world_regdomain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cfg80211_world_regdom = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @update_world_regdomain], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @update_world_regdomain(ptr noundef %0) #0 { %2 = tail call ptr @get_last_request() #2 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i32 @WARN_ON(i32 noundef %4) #2 %6 = tail call i32 @reset_regdomains(i32 noundef 0, ptr noundef %0) #2 store ptr %0, ptr @cfg80211_world_regdom, align 8, !tbaa !6 ret void } declare ptr @get_last_request(...) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @reset_regdomains(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_wireless_extr_reg.c_update_world_regdomain
; ModuleID = 'AnghaBench/freebsd/usr.sbin/boot0cfg/extr_boot0cfg.c_argtoi.c' source_filename = "AnghaBench/freebsd/usr.sbin/boot0cfg/extr_boot0cfg.c_argtoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @errno = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"%s: Bad argument to -%c option\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @argtoi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @argtoi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store i64 0, ptr @errno, align 8, !tbaa !5 %6 = call i64 @strtol(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 0) %7 = load i64, ptr @errno, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %22 9: ; preds = %4 %10 = load i8, ptr %0, align 1, !tbaa !9 %11 = icmp eq i8 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9 %13 = load ptr, ptr %5, align 8, !tbaa !10 %14 = load i8, ptr %13, align 1, !tbaa !9 %15 = icmp ne i8 %14, 0 %16 = sext i32 %1 to i64 %17 = icmp slt i64 %6, %16 %18 = select i1 %15, i1 true, i1 %17 %19 = sext i32 %2 to i64 %20 = icmp sgt i64 %6, %19 %21 = select i1 %18, i1 true, i1 %20 br i1 %21, label %22, label %24 22: ; preds = %12, %9, %4 %23 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %3) #4 br label %24 24: ; preds = %12, %22 %25 = trunc i64 %6 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/boot0cfg/extr_boot0cfg.c_argtoi.c' source_filename = "AnghaBench/freebsd/usr.sbin/boot0cfg/extr_boot0cfg.c_argtoi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @errno = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"%s: Bad argument to -%c option\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @argtoi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @argtoi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store i64 0, ptr @errno, align 8, !tbaa !6 %6 = call i64 @strtol(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 0) %7 = load i64, ptr @errno, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %22 9: ; preds = %4 %10 = load i8, ptr %0, align 1, !tbaa !10 %11 = icmp eq i8 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9 %13 = load ptr, ptr %5, align 8, !tbaa !11 %14 = load i8, ptr %13, align 1, !tbaa !10 %15 = icmp ne i8 %14, 0 %16 = sext i32 %1 to i64 %17 = icmp slt i64 %6, %16 %18 = sext i32 %2 to i64 %19 = icmp sgt i64 %6, %18 %20 = or i1 %17, %19 %21 = select i1 %15, i1 true, i1 %20 br i1 %21, label %22, label %24 22: ; preds = %12, %9, %4 %23 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %3) #4 br label %24 24: ; preds = %12, %22 %25 = trunc i64 %6 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
freebsd_usr.sbin_boot0cfg_extr_boot0cfg.c_argtoi
; ModuleID = 'AnghaBench/git/builtin/extr_reset.c_git_reset_config.c' source_filename = "AnghaBench/git/builtin/extr_reset.c_git_reset_config.c" target datalayout = "e-m:e-p270:32:32-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 [18 x i8] c"submodule.recurse\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @git_reset_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @git_reset_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str) %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @git_default_submodule_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %10 8: ; preds = %3 %9 = tail call i32 @git_default_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %10 10: ; preds = %8, %6 %11 = phi i32 [ %9, %8 ], [ %7, %6 ] ret i32 %11 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare i32 @git_default_submodule_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_default_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/builtin/extr_reset.c_git_reset_config.c' source_filename = "AnghaBench/git/builtin/extr_reset.c_git_reset_config.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 [18 x i8] c"submodule.recurse\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @git_reset_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @git_reset_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str) %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @git_default_submodule_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %10 8: ; preds = %3 %9 = tail call i32 @git_default_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %10 10: ; preds = %8, %6 %11 = phi i32 [ %9, %8 ], [ %7, %6 ] ret i32 %11 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare i32 @git_default_submodule_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_default_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_builtin_extr_reset.c_git_reset_config
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_mbedtls_x509_csr_parse_der.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_mbedtls_x509_csr_parse_der.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_10__, i32, %struct.TYPE_9__, i32, %struct.TYPE_8__ } %struct.TYPE_10__ = type { ptr, i64 } %struct.TYPE_9__ = type { ptr, i32 } %struct.TYPE_8__ = type { ptr, i32 } @MBEDTLS_ERR_X509_BAD_INPUT_DATA = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_ALLOC_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_CONSTRUCTED = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_SEQUENCE = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_INVALID_FORMAT = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_UNKNOWN_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_CONTEXT_SPECIFIC = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mbedtls_x509_csr_parse_der(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #3 %8 = icmp eq ptr %0, null %9 = icmp eq ptr %1, null %10 = or i1 %8, %9 %11 = icmp eq i64 %2, 0 %12 = or i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = load i32, ptr @MBEDTLS_ERR_X509_BAD_INPUT_DATA, align 4, !tbaa !5 br label %157 15: ; preds = %3 %16 = call i32 @mbedtls_x509_csr_init(ptr noundef nonnull %0) #3 store i64 %2, ptr %4, align 8, !tbaa !9 %17 = call ptr @mbedtls_calloc(i32 noundef 1, i64 noundef %2) #3 store ptr %17, ptr %5, align 8, !tbaa !11 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr @MBEDTLS_ERR_X509_ALLOC_FAILED, align 4, !tbaa !5 br label %157 21: ; preds = %15 %22 = call i32 @memcpy(ptr noundef nonnull %17, ptr noundef nonnull %1, i64 noundef %2) #3 %23 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 6 store ptr %17, ptr %23, align 8, !tbaa !13 %24 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 6, i32 1 store i64 %2, ptr %24, align 8, !tbaa !18 %25 = getelementptr inbounds i8, ptr %17, i64 %2 %26 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !5 %27 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !5 %28 = or i32 %27, %26 %29 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef nonnull %25, ptr noundef nonnull %4, i32 noundef %28) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %21 %32 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %33 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 br label %157 34: ; preds = %21 %35 = load i64, ptr %4, align 8, !tbaa !9 %36 = load ptr, ptr %5, align 8, !tbaa !11 %37 = ptrtoint ptr %25 to i64 %38 = ptrtoint ptr %36 to i64 %39 = sub i64 %37, %38 %40 = icmp eq i64 %35, %39 br i1 %40, label %46, label %41 41: ; preds = %34 %42 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %43 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 %44 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !5 %45 = add nsw i32 %44, %43 br label %157 46: ; preds = %34 %47 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 10 store ptr %36, ptr %47, align 8, !tbaa !19 %48 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !5 %49 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !5 %50 = or i32 %49, %48 %51 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef nonnull %25, ptr noundef nonnull %4, i32 noundef %50) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %46 %54 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %55 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 %56 = add nsw i32 %55, %51 br label %157 57: ; preds = %46 %58 = load ptr, ptr %5, align 8, !tbaa !11 %59 = load i64, ptr %4, align 8, !tbaa !9 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = load ptr, ptr %47, align 8, !tbaa !19 %62 = ptrtoint ptr %60 to i64 %63 = ptrtoint ptr %61 to i64 %64 = sub i64 %62, %63 %65 = trunc i64 %64 to i32 %66 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 10, i32 1 store i32 %65, ptr %66, align 8, !tbaa !20 %67 = call i32 @x509_csr_get_version(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %0) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %57 %70 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 71: ; preds = %57 %72 = load i32, ptr %0, align 8, !tbaa !21 %73 = add nsw i32 %72, 1 store i32 %73, ptr %0, align 8, !tbaa !21 %74 = icmp eq i32 %72, 0 br i1 %74, label %78, label %75 75: ; preds = %71 %76 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %77 = load i32, ptr @MBEDTLS_ERR_X509_UNKNOWN_VERSION, align 4, !tbaa !5 br label %157 78: ; preds = %71 %79 = load ptr, ptr %5, align 8, !tbaa !11 %80 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 8 store ptr %79, ptr %80, align 8, !tbaa !22 %81 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !5 %82 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !5 %83 = or i32 %82, %81 %84 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %4, i32 noundef %83) #3 %85 = icmp eq i32 %84, 0 br i1 %85, label %90, label %86 86: ; preds = %78 %87 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %88 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 %89 = add nsw i32 %88, %84 br label %157 90: ; preds = %78 %91 = load ptr, ptr %5, align 8, !tbaa !11 %92 = load i64, ptr %4, align 8, !tbaa !9 %93 = getelementptr inbounds i8, ptr %91, i64 %92 %94 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 9 %95 = call i32 @mbedtls_x509_get_name(ptr noundef nonnull %5, ptr noundef %93, ptr noundef nonnull %94) #3 %96 = icmp eq i32 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %90 %98 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 99: ; preds = %90 %100 = load ptr, ptr %5, align 8, !tbaa !11 %101 = load ptr, ptr %80, align 8, !tbaa !22 %102 = ptrtoint ptr %100 to i64 %103 = ptrtoint ptr %101 to i64 %104 = sub i64 %102, %103 %105 = trunc i64 %104 to i32 %106 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 8, i32 1 store i32 %105, ptr %106, align 8, !tbaa !23 %107 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 7 %108 = call i32 @mbedtls_pk_parse_subpubkey(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %107) #3 %109 = icmp eq i32 %108, 0 br i1 %109, label %112, label %110 110: ; preds = %99 %111 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 112: ; preds = %99 %113 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !5 %114 = load i32, ptr @MBEDTLS_ASN1_CONTEXT_SPECIFIC, align 4, !tbaa !5 %115 = or i32 %114, %113 %116 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %4, i32 noundef %115) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %122, label %118 118: ; preds = %112 %119 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %120 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 %121 = add nsw i32 %120, %116 br label %157 122: ; preds = %112 %123 = load i64, ptr %4, align 8, !tbaa !9 %124 = load ptr, ptr %5, align 8, !tbaa !11 %125 = getelementptr inbounds i8, ptr %124, i64 %123 store ptr %125, ptr %5, align 8, !tbaa !11 %126 = load ptr, ptr %23, align 8, !tbaa !13 %127 = load i64, ptr %24, align 8, !tbaa !18 %128 = getelementptr inbounds i8, ptr %126, i64 %127 %129 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 5 %130 = call i32 @mbedtls_x509_get_alg(ptr noundef nonnull %5, ptr noundef %128, ptr noundef nonnull %129, ptr noundef nonnull %6) #3 %131 = icmp eq i32 %130, 0 br i1 %131, label %134, label %132 132: ; preds = %122 %133 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 134: ; preds = %122 %135 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4 %136 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 %137 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %138 = call i32 @mbedtls_x509_get_sig_alg(ptr noundef nonnull %129, ptr noundef nonnull %6, ptr noundef nonnull %135, ptr noundef nonnull %136, ptr noundef nonnull %137) #3 %139 = icmp eq i32 %138, 0 br i1 %139, label %143, label %140 140: ; preds = %134 %141 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %142 = load i32, ptr @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG, align 4, !tbaa !5 br label %157 143: ; preds = %134 %144 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %145 = call i32 @mbedtls_x509_get_sig(ptr noundef nonnull %5, ptr noundef %128, ptr noundef nonnull %144) #3 %146 = icmp eq i32 %145, 0 br i1 %146, label %149, label %147 147: ; preds = %143 %148 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 149: ; preds = %143 %150 = load ptr, ptr %5, align 8, !tbaa !11 %151 = icmp eq ptr %150, %128 br i1 %151, label %157, label %152 152: ; preds = %149 %153 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %154 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !5 %155 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !5 %156 = add nsw i32 %155, %154 br label %157 157: ; preds = %149, %152, %147, %140, %132, %118, %110, %97, %86, %75, %69, %53, %41, %31, %19, %13 %158 = phi i32 [ %14, %13 ], [ %20, %19 ], [ %33, %31 ], [ %45, %41 ], [ %56, %53 ], [ %67, %69 ], [ %77, %75 ], [ %89, %86 ], [ %95, %97 ], [ %108, %110 ], [ %121, %118 ], [ %130, %132 ], [ %142, %140 ], [ %145, %147 ], [ %156, %152 ], [ 0, %149 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %158 } ; 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 @mbedtls_x509_csr_init(ptr noundef) local_unnamed_addr #2 declare ptr @mbedtls_calloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_csr_free(ptr noundef) local_unnamed_addr #2 declare i32 @x509_csr_get_version(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_pk_parse_subpubkey(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_alg(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_sig_alg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_sig(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !15, i64 24, !6, i64 40, !16, i64 48, !6, i64 64, !17, i64 72} !15 = !{!"TYPE_10__", !12, i64 0, !10, i64 8} !16 = !{!"TYPE_9__", !12, i64 0, !6, i64 8} !17 = !{!"TYPE_8__", !12, i64 0, !6, i64 8} !18 = !{!14, !10, i64 32} !19 = !{!14, !12, i64 72} !20 = !{!14, !6, i64 80} !21 = !{!14, !6, i64 0} !22 = !{!14, !12, i64 48} !23 = !{!14, !6, i64 56}
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_mbedtls_x509_csr_parse_der.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_mbedtls_x509_csr_parse_der.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MBEDTLS_ERR_X509_BAD_INPUT_DATA = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_ALLOC_FAILED = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_CONSTRUCTED = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_SEQUENCE = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_INVALID_FORMAT = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_UNKNOWN_VERSION = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ASN1_CONTEXT_SPECIFIC = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mbedtls_x509_csr_parse_der(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #3 %8 = icmp eq ptr %0, null %9 = icmp eq ptr %1, null %10 = or i1 %8, %9 %11 = icmp eq i64 %2, 0 %12 = or i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = load i32, ptr @MBEDTLS_ERR_X509_BAD_INPUT_DATA, align 4, !tbaa !6 br label %157 15: ; preds = %3 %16 = call i32 @mbedtls_x509_csr_init(ptr noundef nonnull %0) #3 store i64 %2, ptr %4, align 8, !tbaa !10 %17 = call ptr @mbedtls_calloc(i32 noundef 1, i64 noundef %2) #3 store ptr %17, ptr %5, align 8, !tbaa !12 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr @MBEDTLS_ERR_X509_ALLOC_FAILED, align 4, !tbaa !6 br label %157 21: ; preds = %15 %22 = call i32 @memcpy(ptr noundef nonnull %17, ptr noundef nonnull %1, i64 noundef %2) #3 %23 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %17, ptr %23, align 8, !tbaa !14 %24 = getelementptr inbounds i8, ptr %0, i64 32 store i64 %2, ptr %24, align 8, !tbaa !19 %25 = getelementptr inbounds i8, ptr %17, i64 %2 %26 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !6 %27 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !6 %28 = or i32 %27, %26 %29 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef nonnull %25, ptr noundef nonnull %4, i32 noundef %28) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %21 %32 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %33 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 br label %157 34: ; preds = %21 %35 = load i64, ptr %4, align 8, !tbaa !10 %36 = load ptr, ptr %5, align 8, !tbaa !12 %37 = ptrtoint ptr %25 to i64 %38 = ptrtoint ptr %36 to i64 %39 = sub i64 %37, %38 %40 = icmp eq i64 %35, %39 br i1 %40, label %46, label %41 41: ; preds = %34 %42 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %43 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 %44 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !6 %45 = add nsw i32 %44, %43 br label %157 46: ; preds = %34 %47 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %36, ptr %47, align 8, !tbaa !20 %48 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !6 %49 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !6 %50 = or i32 %49, %48 %51 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef nonnull %25, ptr noundef nonnull %4, i32 noundef %50) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %46 %54 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %55 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 %56 = add nsw i32 %55, %51 br label %157 57: ; preds = %46 %58 = load ptr, ptr %5, align 8, !tbaa !12 %59 = load i64, ptr %4, align 8, !tbaa !10 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = load ptr, ptr %47, align 8, !tbaa !20 %62 = ptrtoint ptr %60 to i64 %63 = ptrtoint ptr %61 to i64 %64 = sub i64 %62, %63 %65 = trunc i64 %64 to i32 %66 = getelementptr inbounds i8, ptr %0, i64 80 store i32 %65, ptr %66, align 8, !tbaa !21 %67 = call i32 @x509_csr_get_version(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %0) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %57 %70 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 71: ; preds = %57 %72 = load i32, ptr %0, align 8, !tbaa !22 %73 = add nsw i32 %72, 1 store i32 %73, ptr %0, align 8, !tbaa !22 %74 = icmp eq i32 %72, 0 br i1 %74, label %78, label %75 75: ; preds = %71 %76 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %77 = load i32, ptr @MBEDTLS_ERR_X509_UNKNOWN_VERSION, align 4, !tbaa !6 br label %157 78: ; preds = %71 %79 = load ptr, ptr %5, align 8, !tbaa !12 %80 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %79, ptr %80, align 8, !tbaa !23 %81 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !6 %82 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !6 %83 = or i32 %82, %81 %84 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %4, i32 noundef %83) #3 %85 = icmp eq i32 %84, 0 br i1 %85, label %90, label %86 86: ; preds = %78 %87 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %88 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 %89 = add nsw i32 %88, %84 br label %157 90: ; preds = %78 %91 = load ptr, ptr %5, align 8, !tbaa !12 %92 = load i64, ptr %4, align 8, !tbaa !10 %93 = getelementptr inbounds i8, ptr %91, i64 %92 %94 = getelementptr inbounds i8, ptr %0, i64 64 %95 = call i32 @mbedtls_x509_get_name(ptr noundef nonnull %5, ptr noundef %93, ptr noundef nonnull %94) #3 %96 = icmp eq i32 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %90 %98 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 99: ; preds = %90 %100 = load ptr, ptr %5, align 8, !tbaa !12 %101 = load ptr, ptr %80, align 8, !tbaa !23 %102 = ptrtoint ptr %100 to i64 %103 = ptrtoint ptr %101 to i64 %104 = sub i64 %102, %103 %105 = trunc i64 %104 to i32 %106 = getelementptr inbounds i8, ptr %0, i64 56 store i32 %105, ptr %106, align 8, !tbaa !24 %107 = getelementptr inbounds i8, ptr %0, i64 40 %108 = call i32 @mbedtls_pk_parse_subpubkey(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %107) #3 %109 = icmp eq i32 %108, 0 br i1 %109, label %112, label %110 110: ; preds = %99 %111 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 112: ; preds = %99 %113 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !6 %114 = load i32, ptr @MBEDTLS_ASN1_CONTEXT_SPECIFIC, align 4, !tbaa !6 %115 = or i32 %114, %113 %116 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %5, ptr noundef %60, ptr noundef nonnull %4, i32 noundef %115) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %122, label %118 118: ; preds = %112 %119 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %120 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 %121 = add nsw i32 %120, %116 br label %157 122: ; preds = %112 %123 = load i64, ptr %4, align 8, !tbaa !10 %124 = load ptr, ptr %5, align 8, !tbaa !12 %125 = getelementptr inbounds i8, ptr %124, i64 %123 store ptr %125, ptr %5, align 8, !tbaa !12 %126 = load ptr, ptr %23, align 8, !tbaa !14 %127 = load i64, ptr %24, align 8, !tbaa !19 %128 = getelementptr inbounds i8, ptr %126, i64 %127 %129 = getelementptr inbounds i8, ptr %0, i64 20 %130 = call i32 @mbedtls_x509_get_alg(ptr noundef nonnull %5, ptr noundef %128, ptr noundef nonnull %129, ptr noundef nonnull %6) #3 %131 = icmp eq i32 %130, 0 br i1 %131, label %134, label %132 132: ; preds = %122 %133 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 134: ; preds = %122 %135 = getelementptr inbounds i8, ptr %0, i64 16 %136 = getelementptr inbounds i8, ptr %0, i64 12 %137 = getelementptr inbounds i8, ptr %0, i64 8 %138 = call i32 @mbedtls_x509_get_sig_alg(ptr noundef nonnull %129, ptr noundef nonnull %6, ptr noundef nonnull %135, ptr noundef nonnull %136, ptr noundef nonnull %137) #3 %139 = icmp eq i32 %138, 0 br i1 %139, label %143, label %140 140: ; preds = %134 %141 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %142 = load i32, ptr @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG, align 4, !tbaa !6 br label %157 143: ; preds = %134 %144 = getelementptr inbounds i8, ptr %0, i64 4 %145 = call i32 @mbedtls_x509_get_sig(ptr noundef nonnull %5, ptr noundef %128, ptr noundef nonnull %144) #3 %146 = icmp eq i32 %145, 0 br i1 %146, label %149, label %147 147: ; preds = %143 %148 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 br label %157 149: ; preds = %143 %150 = load ptr, ptr %5, align 8, !tbaa !12 %151 = icmp eq ptr %150, %128 br i1 %151, label %157, label %152 152: ; preds = %149 %153 = call i32 @mbedtls_x509_csr_free(ptr noundef nonnull %0) #3 %154 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_FORMAT, align 4, !tbaa !6 %155 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !6 %156 = add nsw i32 %155, %154 br label %157 157: ; preds = %149, %152, %147, %140, %132, %118, %110, %97, %86, %75, %69, %53, %41, %31, %19, %13 %158 = phi i32 [ %14, %13 ], [ %20, %19 ], [ %33, %31 ], [ %45, %41 ], [ %56, %53 ], [ %67, %69 ], [ %77, %75 ], [ %89, %86 ], [ %95, %97 ], [ %108, %110 ], [ %121, %118 ], [ %130, %132 ], [ %142, %140 ], [ %145, %147 ], [ %156, %152 ], [ 0, %149 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %158 } ; 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 @mbedtls_x509_csr_init(ptr noundef) local_unnamed_addr #2 declare ptr @mbedtls_calloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_csr_free(ptr noundef) local_unnamed_addr #2 declare i32 @x509_csr_get_version(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_pk_parse_subpubkey(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_alg(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_sig_alg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_x509_get_sig(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 24} !15 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !16, i64 24, !7, i64 40, !17, i64 48, !7, i64 64, !18, i64 72} !16 = !{!"TYPE_10__", !13, i64 0, !11, i64 8} !17 = !{!"TYPE_9__", !13, i64 0, !7, i64 8} !18 = !{!"TYPE_8__", !13, i64 0, !7, i64 8} !19 = !{!15, !11, i64 32} !20 = !{!15, !13, i64 72} !21 = !{!15, !7, i64 80} !22 = !{!15, !7, i64 0} !23 = !{!15, !13, i64 48} !24 = !{!15, !7, i64 56}
RetroArch_deps_mbedtls_extr_x509_csr.c_mbedtls_x509_csr_parse_der
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_load_TLS_descriptor.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_load_TLS_descriptor.c" target datalayout = "e-m:e-p270:32:32-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.desc_struct = type { i32 } @GDT_ENTRY_TLS_MIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_TLS_descriptor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @load_TLS_descriptor(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @get_cpu_gdt_table(i32 noundef %1) #2 %5 = load i32, ptr @GDT_ENTRY_TLS_MIN, align 4, !tbaa !5 %6 = add i32 %5, %2 %7 = zext i32 %6 to i64 %8 = getelementptr inbounds %struct.desc_struct, ptr %4, i64 %7 %9 = tail call i32 @arbitrary_virt_to_machine(ptr noundef %8) #2 %10 = tail call i32 @__xen_mc_entry(i32 noundef 0) #2 %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = zext i32 %2 to i64 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = tail call i32 @MULTI_update_descriptor(i32 noundef %10, i32 noundef %9, i32 noundef %14) #2 ret void } declare ptr @get_cpu_gdt_table(i32 noundef) local_unnamed_addr #1 declare i32 @arbitrary_virt_to_machine(ptr noundef) local_unnamed_addr #1 declare i32 @__xen_mc_entry(i32 noundef) local_unnamed_addr #1 declare i32 @MULTI_update_descriptor(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"thread_struct", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_load_TLS_descriptor.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_load_TLS_descriptor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.desc_struct = type { i32 } @GDT_ENTRY_TLS_MIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @load_TLS_descriptor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @load_TLS_descriptor(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @get_cpu_gdt_table(i32 noundef %1) #2 %5 = load i32, ptr @GDT_ENTRY_TLS_MIN, align 4, !tbaa !6 %6 = add i32 %5, %2 %7 = zext i32 %6 to i64 %8 = getelementptr inbounds %struct.desc_struct, ptr %4, i64 %7 %9 = tail call i32 @arbitrary_virt_to_machine(ptr noundef %8) #2 %10 = tail call i32 @__xen_mc_entry(i32 noundef 0) #2 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = zext i32 %2 to i64 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = tail call i32 @MULTI_update_descriptor(i32 noundef %10, i32 noundef %9, i32 noundef %14) #2 ret void } declare ptr @get_cpu_gdt_table(i32 noundef) local_unnamed_addr #1 declare i32 @arbitrary_virt_to_machine(ptr noundef) local_unnamed_addr #1 declare i32 @__xen_mc_entry(i32 noundef) local_unnamed_addr #1 declare i32 @MULTI_update_descriptor(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"thread_struct", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_arch_x86_xen_extr_enlighten.c_load_TLS_descriptor
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_asus_wmi_debugfs_exit.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_asus_wmi_debugfs_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @asus_wmi_debugfs_exit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @asus_wmi_debugfs_exit(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @debugfs_remove_recursive(i32 noundef %2) #2 ret void } declare i32 @debugfs_remove_recursive(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 = !{!"asus_wmi", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_asus_wmi_debugfs_exit.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_asus_wmi_debugfs_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @asus_wmi_debugfs_exit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @asus_wmi_debugfs_exit(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @debugfs_remove_recursive(i32 noundef %2) #2 ret void } declare i32 @debugfs_remove_recursive(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 = !{!"asus_wmi", !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"}
linux_drivers_platform_x86_extr_asus-wmi.c_asus_wmi_debugfs_exit
; ModuleID = 'AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_shift_num.c' source_filename = "AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_shift_num.c" target datalayout = "e-m:e-p270:32:32-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 @expbuf_shift_num], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @expbuf_shift_num(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @expbuf_size(ptr noundef %0) #2 %4 = icmp ult i32 %3, 8 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %6, i32 noundef 8) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = add i32 %8, 8 store i32 %9, ptr %0, align 4, !tbaa !5 br label %10 10: ; preds = %2, %5 %11 = phi i32 [ 0, %5 ], [ -1, %2 ] ret i32 %11 } declare i32 @expbuf_size(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"expbuf_t", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_shift_num.c' source_filename = "AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_shift_num.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @expbuf_shift_num], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @expbuf_shift_num(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @expbuf_size(ptr noundef %0) #2 %4 = icmp ult i32 %3, 8 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %6, i32 noundef 8) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = add i32 %8, 8 store i32 %9, ptr %0, align 4, !tbaa !6 br label %10 10: ; preds = %2, %5 %11 = phi i32 [ 0, %5 ], [ -1, %2 ] ret i32 %11 } declare i32 @expbuf_size(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"expbuf_t", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
h2o_deps_neverbleed_extr_neverbleed.c_expbuf_shift_num
; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX_64.c_push_2_buffer.c' source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX_64.c_push_2_buffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tilegx_opcode = type { ptr } %struct.TYPE_2__ = type { ptr, i32, i64, i64, i32, ptr } @inst_buf_index = dso_local local_unnamed_addr global i64 0, align 8 @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE = dso_local local_unnamed_addr global i64 0, align 8 @tilegx_opcodes = dso_local local_unnamed_addr global ptr null, align 8 @inst_buf = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"unrecoginzed opc: %s\0A\00", align 1 @SLJIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @push_2_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @push_2_buffer(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 %7 = load i64, ptr @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE, align 8, !tbaa !5 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %5 %10 = tail call i32 @update_buffer(ptr noundef %0) #2 %11 = tail call i32 @FAIL_IF(i32 noundef %10) #2 %12 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 br label %13 13: ; preds = %9, %5 %14 = phi i64 [ %12, %9 ], [ %6, %5 ] %15 = load ptr, ptr @tilegx_opcodes, align 8, !tbaa !9 %16 = getelementptr inbounds %struct.tilegx_opcode, ptr %15, i64 %1 %17 = load ptr, ptr @inst_buf, align 8, !tbaa !9 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %14, i32 5 store ptr %16, ptr %18, align 8, !tbaa !11 %19 = tail call i32 @get_any_valid_pipe(ptr noundef %16) #2 %20 = load ptr, ptr @inst_buf, align 8, !tbaa !9 %21 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 4 store i32 %19, ptr %22, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21 %24 = load ptr, ptr %23, align 8, !tbaa !15 store i32 %2, ptr %24, align 4, !tbaa !16 %25 = getelementptr inbounds i32, ptr %24, i64 1 store i32 %3, ptr %25, align 4, !tbaa !16 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 1 store i32 %4, ptr %26, align 8, !tbaa !17 switch i64 %1, label %48 [ i64 141, label %27 i64 140, label %27 i64 131, label %31 i64 130, label %31 i64 129, label %31 i64 128, label %31 i64 139, label %40 i64 138, label %40 i64 136, label %40 i64 137, label %40 i64 134, label %40 i64 135, label %40 i64 132, label %40 i64 133, label %40 ] 27: ; preds = %13, %13 %28 = zext nneg i32 %2 to i64 %29 = shl nuw i64 1, %28 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %29, ptr %30, align 8, !tbaa !18 br label %52 31: ; preds = %13, %13, %13, %13 %32 = zext nneg i32 %2 to i64 %33 = shl nuw i64 1, %32 %34 = zext nneg i32 %3 to i64 %35 = shl nuw i64 1, %34 %36 = or i64 %35, %33 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %36, ptr %37, align 8, !tbaa !18 %38 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %38, i32 3 store i64 0, ptr %39, align 8, !tbaa !19 br label %52 40: ; preds = %13, %13, %13, %13, %13, %13, %13, %13 %41 = zext nneg i32 %3 to i64 %42 = shl nuw i64 1, %41 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %42, ptr %43, align 8, !tbaa !18 %44 = zext nneg i32 %2 to i64 %45 = shl nuw i64 1, %44 %46 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %46, i32 3 store i64 %45, ptr %47, align 8, !tbaa !19 br label %52 48: ; preds = %13 %49 = load ptr, ptr %16, align 8, !tbaa !20 %50 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %49) #2 %51 = tail call i32 (...) @SLJIT_UNREACHABLE() #2 br label %52 52: ; preds = %48, %40, %31, %27 %53 = load i64, ptr @inst_buf_index, align 8, !tbaa !5 %54 = add i64 %53, 1 store i64 %54, ptr @inst_buf_index, align 8, !tbaa !5 %55 = load i32, ptr @SLJIT_SUCCESS, align 4, !tbaa !16 ret i32 %55 } declare i32 @FAIL_IF(i32 noundef) local_unnamed_addr #1 declare i32 @update_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @get_any_valid_pipe(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SLJIT_UNREACHABLE(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 40} !12 = !{!"TYPE_2__", !10, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !10, i64 40} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 32} !15 = !{!12, !10, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!12, !13, i64 8} !18 = !{!12, !6, i64 16} !19 = !{!12, !6, i64 24} !20 = !{!21, !10, i64 0} !21 = !{!"tilegx_opcode", !10, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX_64.c_push_2_buffer.c' source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX_64.c_push_2_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tilegx_opcode = type { ptr } %struct.TYPE_2__ = type { ptr, i32, i64, i64, i32, ptr } @inst_buf_index = common local_unnamed_addr global i64 0, align 8 @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE = common local_unnamed_addr global i64 0, align 8 @tilegx_opcodes = common local_unnamed_addr global ptr null, align 8 @inst_buf = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"unrecoginzed opc: %s\0A\00", align 1 @SLJIT_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @push_2_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @push_2_buffer(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 %7 = load i64, ptr @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE, align 8, !tbaa !6 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %5 %10 = tail call i32 @update_buffer(ptr noundef %0) #2 %11 = tail call i32 @FAIL_IF(i32 noundef %10) #2 %12 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 br label %13 13: ; preds = %9, %5 %14 = phi i64 [ %12, %9 ], [ %6, %5 ] %15 = load ptr, ptr @tilegx_opcodes, align 8, !tbaa !10 %16 = getelementptr inbounds %struct.tilegx_opcode, ptr %15, i64 %1 %17 = load ptr, ptr @inst_buf, align 8, !tbaa !10 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %14, i32 5 store ptr %16, ptr %18, align 8, !tbaa !12 %19 = tail call i32 @get_any_valid_pipe(ptr noundef %16) #2 %20 = load ptr, ptr @inst_buf, align 8, !tbaa !10 %21 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 4 store i32 %19, ptr %22, align 8, !tbaa !15 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21 %24 = load ptr, ptr %23, align 8, !tbaa !16 store i32 %2, ptr %24, align 4, !tbaa !17 %25 = getelementptr inbounds i8, ptr %24, i64 4 store i32 %3, ptr %25, align 4, !tbaa !17 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 1 store i32 %4, ptr %26, align 8, !tbaa !18 switch i64 %1, label %48 [ i64 141, label %27 i64 140, label %27 i64 131, label %31 i64 130, label %31 i64 129, label %31 i64 128, label %31 i64 139, label %40 i64 138, label %40 i64 136, label %40 i64 137, label %40 i64 134, label %40 i64 135, label %40 i64 132, label %40 i64 133, label %40 ] 27: ; preds = %13, %13 %28 = zext nneg i32 %2 to i64 %29 = shl nuw i64 1, %28 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %29, ptr %30, align 8, !tbaa !19 br label %52 31: ; preds = %13, %13, %13, %13 %32 = zext nneg i32 %2 to i64 %33 = shl nuw i64 1, %32 %34 = zext nneg i32 %3 to i64 %35 = shl nuw i64 1, %34 %36 = or i64 %35, %33 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %36, ptr %37, align 8, !tbaa !19 %38 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %38, i32 3 store i64 0, ptr %39, align 8, !tbaa !20 br label %52 40: ; preds = %13, %13, %13, %13, %13, %13, %13, %13 %41 = zext nneg i32 %3 to i64 %42 = shl nuw i64 1, %41 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 2 store i64 %42, ptr %43, align 8, !tbaa !19 %44 = zext nneg i32 %2 to i64 %45 = shl nuw i64 1, %44 %46 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %46, i32 3 store i64 %45, ptr %47, align 8, !tbaa !20 br label %52 48: ; preds = %13 %49 = load ptr, ptr %16, align 8, !tbaa !21 %50 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %49) #2 %51 = tail call i32 @SLJIT_UNREACHABLE() #2 br label %52 52: ; preds = %48, %40, %31, %27 %53 = load i64, ptr @inst_buf_index, align 8, !tbaa !6 %54 = add i64 %53, 1 store i64 %54, ptr @inst_buf_index, align 8, !tbaa !6 %55 = load i32, ptr @SLJIT_SUCCESS, align 4, !tbaa !17 ret i32 %55 } declare i32 @FAIL_IF(i32 noundef) local_unnamed_addr #1 declare i32 @update_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @get_any_valid_pipe(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SLJIT_UNREACHABLE(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 40} !13 = !{!"TYPE_2__", !11, i64 0, !14, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !11, i64 40} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 32} !16 = !{!13, !11, i64 0} !17 = !{!14, !14, i64 0} !18 = !{!13, !14, i64 8} !19 = !{!13, !7, i64 16} !20 = !{!13, !7, i64 24} !21 = !{!22, !11, i64 0} !22 = !{!"tilegx_opcode", !11, i64 0}
php-src_ext_pcre_pcre2lib_sljit_extr_sljitNativeTILEGX_64.c_push_2_buffer
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_msglevel.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_msglevel.c" target datalayout = "e-m:e-p270:32:32-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 @b44_set_msglevel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @b44_set_msglevel(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 store i32 %1, ptr %3, align 4, !tbaa !5 ret void } declare ptr @netdev_priv(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 = !{!"b44", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_msglevel.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_msglevel.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 @b44_set_msglevel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @b44_set_msglevel(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 store i32 %1, ptr %3, align 4, !tbaa !6 ret void } declare ptr @netdev_priv(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 = !{!"b44", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_broadcom_extr_b44.c_b44_set_msglevel
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_core.c_cleanup_rx_oom_poll_fn.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_core.c_cleanup_rx_oom_poll_fn.c" target datalayout = "e-m:e-p270:32:32-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.lio = type { ptr, ptr } %struct.cavium_wq = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @cleanup_rx_oom_poll_fn(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @GET_LIO(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.lio, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %27 7: ; preds = %1, %22 %8 = phi i32 [ %23, %22 ], [ %5, %1 ] %9 = phi i64 [ %24, %22 ], [ 0, %1 ] %10 = load ptr, ptr %2, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.cavium_wq, ptr %10, i64 %9 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = icmp eq ptr %12, null br i1 %13, label %22, label %14 14: ; preds = %7 %15 = getelementptr inbounds %struct.cavium_wq, ptr %10, i64 %9, i32 1 %16 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %15) #2 %17 = load ptr, ptr %11, align 8, !tbaa !14 %18 = tail call i32 @flush_workqueue(ptr noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !14 %20 = tail call i32 @destroy_workqueue(ptr noundef %19) #2 store ptr null, ptr %11, align 8, !tbaa !14 %21 = load i32, ptr %4, align 4, !tbaa !10 br label %22 22: ; preds = %7, %14 %23 = phi i32 [ %8, %7 ], [ %21, %14 ] %24 = add nuw nsw i64 %9, 1 %25 = sext i32 %23 to i64 %26 = icmp slt i64 %24, %25 br i1 %26, label %7, label %27, !llvm.loop !17 27: ; preds = %22, %1 ret void } declare ptr @GET_LIO(ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @flush_workqueue(ptr noundef) local_unnamed_addr #1 declare i32 @destroy_workqueue(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 = !{!"lio", !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, !12, i64 0} !11 = !{!"octeon_device", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"cavium_wq", !7, i64 0, !16, i64 8} !16 = !{!"TYPE_2__", !12, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_core.c_cleanup_rx_oom_poll_fn.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_core.c_cleanup_rx_oom_poll_fn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cavium_wq = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define void @cleanup_rx_oom_poll_fn(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @GET_LIO(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %27 7: ; preds = %1, %22 %8 = phi i32 [ %23, %22 ], [ %5, %1 ] %9 = phi i64 [ %24, %22 ], [ 0, %1 ] %10 = load ptr, ptr %2, align 8, !tbaa !14 %11 = getelementptr inbounds %struct.cavium_wq, ptr %10, i64 %9 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = icmp eq ptr %12, null br i1 %13, label %22, label %14 14: ; preds = %7 %15 = getelementptr inbounds i8, ptr %11, i64 8 %16 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %15) #2 %17 = load ptr, ptr %11, align 8, !tbaa !15 %18 = tail call i32 @flush_workqueue(ptr noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !15 %20 = tail call i32 @destroy_workqueue(ptr noundef %19) #2 store ptr null, ptr %11, align 8, !tbaa !15 %21 = load i32, ptr %4, align 4, !tbaa !11 br label %22 22: ; preds = %7, %14 %23 = phi i32 [ %8, %7 ], [ %21, %14 ] %24 = add nuw nsw i64 %9, 1 %25 = sext i32 %23 to i64 %26 = icmp slt i64 %24, %25 br i1 %26, label %7, label %27, !llvm.loop !18 27: ; preds = %22, %1 ret void } declare ptr @GET_LIO(ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @flush_workqueue(ptr noundef) local_unnamed_addr #1 declare i32 @destroy_workqueue(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 = !{!"lio", !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, !13, i64 0} !12 = !{!"octeon_device", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"cavium_wq", !8, i64 0, !17, i64 8} !17 = !{!"TYPE_2__", !13, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_cavium_liquidio_extr_lio_core.c_cleanup_rx_oom_poll_fn
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_read.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_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.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32, i32 } @IDT_MSG_CNT = dso_local local_unnamed_addr global i32 0, align 4 @ntdata_tbl = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @idt_ntb_msg_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @idt_ntb_msg_read(ptr noundef %0, ptr noundef writeonly %1, i32 noundef %2) #0 { %4 = tail call ptr @to_ndev_ntb(ptr noundef %0) #2 %5 = icmp sgt i32 %2, -1 %6 = load i32, ptr @IDT_MSG_CNT, align 4 %7 = icmp sgt i32 %6, %2 %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %9, label %32 9: ; preds = %3 %10 = icmp eq ptr %1, null br i1 %10, label %11, label %13 11: ; preds = %9 %12 = zext nneg i32 %2 to i64 br label %26 13: ; preds = %9 %14 = load ptr, ptr @ntdata_tbl, align 8, !tbaa !5 %15 = zext nneg i32 %2 to i64 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 %15, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = tail call i64 @idt_nt_read(ptr noundef %4, i32 noundef %17) #2 %19 = load ptr, ptr %4, align 8, !tbaa !13 %20 = getelementptr inbounds i32, ptr %19, i64 %18 %21 = load i32, ptr %20, align 4, !tbaa !15 store i32 %21, ptr %1, align 4, !tbaa !15 %22 = load i32, ptr @EINVAL, align 4, !tbaa !15 %23 = sub nsw i32 0, %22 %24 = icmp eq i32 %21, %23 %25 = select i1 %24, i32 0, i32 %21 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %11, %13 %27 = phi i64 [ %12, %11 ], [ %15, %13 ] %28 = load ptr, ptr @ntdata_tbl, align 8, !tbaa !5 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 %27 %30 = load i32, ptr %29, align 4, !tbaa !16 %31 = tail call i64 @idt_nt_read(ptr noundef %4, i32 noundef %30) #2 br label %32 32: ; preds = %3, %26 %33 = phi i64 [ %31, %26 ], [ -1, %3 ] ret i64 %33 } declare ptr @to_ndev_ntb(ptr noundef) local_unnamed_addr #1 declare i64 @idt_nt_read(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"idt_ntb_dev", !7, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_read.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32, i32 } @IDT_MSG_CNT = common local_unnamed_addr global i32 0, align 4 @ntdata_tbl = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @idt_ntb_msg_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @idt_ntb_msg_read(ptr noundef %0, ptr noundef writeonly %1, i32 noundef %2) #0 { %4 = tail call ptr @to_ndev_ntb(ptr noundef %0) #2 %5 = icmp sgt i32 %2, -1 %6 = load i32, ptr @IDT_MSG_CNT, align 4 %7 = icmp sgt i32 %6, %2 %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %9, label %32 9: ; preds = %3 %10 = icmp eq ptr %1, null br i1 %10, label %11, label %13 11: ; preds = %9 %12 = zext nneg i32 %2 to i64 br label %26 13: ; preds = %9 %14 = load ptr, ptr @ntdata_tbl, align 8, !tbaa !6 %15 = zext nneg i32 %2 to i64 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 %15, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = tail call i64 @idt_nt_read(ptr noundef %4, i32 noundef %17) #2 %19 = load ptr, ptr %4, align 8, !tbaa !14 %20 = getelementptr inbounds i32, ptr %19, i64 %18 %21 = load i32, ptr %20, align 4, !tbaa !16 store i32 %21, ptr %1, align 4, !tbaa !16 %22 = load i32, ptr @EINVAL, align 4, !tbaa !16 %23 = sub nsw i32 0, %22 %24 = icmp eq i32 %21, %23 %25 = select i1 %24, i32 0, i32 %21 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %11, %13 %27 = phi i64 [ %12, %11 ], [ %15, %13 ] %28 = load ptr, ptr @ntdata_tbl, align 8, !tbaa !6 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 %27 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = tail call i64 @idt_nt_read(ptr noundef %4, i32 noundef %30) #2 br label %32 32: ; preds = %3, %26 %33 = phi i64 [ %31, %26 ], [ -1, %3 ] ret i64 %33 } declare ptr @to_ndev_ntb(ptr noundef) local_unnamed_addr #1 declare i64 @idt_nt_read(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !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_3__", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"idt_ntb_dev", !8, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!12, !13, i64 0}
linux_drivers_ntb_hw_idt_extr_ntb_hw_idt.c_idt_ntb_msg_read
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_sndio.c_uninit.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_sndio.c_uninit.c" target datalayout = "e-m:e-p270:32:32-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.priv = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @uninit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uninit(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.priv, ptr %2, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @sio_close(i64 noundef %4) #2 br label %8 8: ; preds = %6, %1 %9 = load i32, ptr %2, align 8, !tbaa !14 %10 = tail call i32 @free(i32 noundef %9) #2 ret void } declare i32 @sio_close(i64 noundef) local_unnamed_addr #1 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, !7, i64 0} !6 = !{!"ao", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"priv", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_sndio.c_uninit.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_sndio.c_uninit.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 @uninit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uninit(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @sio_close(i64 noundef %4) #2 br label %8 8: ; preds = %6, %1 %9 = load i32, ptr %2, align 8, !tbaa !15 %10 = tail call i32 @free(i32 noundef %9) #2 ret void } declare i32 @sio_close(i64 noundef) local_unnamed_addr #1 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, !8, i64 0} !7 = !{!"ao", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"priv", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 0}
mpv_audio_out_extr_ao_sndio.c_uninit
; ModuleID = 'AnghaBench/linux/drivers/atm/extr_idt77252.c_clear_tst.c' source_filename = "AnghaBench/linux/drivers/atm/extr_idt77252.c_clear_tst.c" target datalayout = "e-m:e-p270:32:32-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.idt77252_dev = type { i32, i32, i32 } @TST_SWITCH_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @clear_tst], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @clear_tst(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %4 = tail call i32 @__clear_tst(ptr noundef %0, ptr noundef %1) #2 %5 = load i32, ptr @TST_SWITCH_PENDING, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.idt77252_dev, ptr %0, i64 0, i32 2 %7 = tail call i32 @set_bit(i32 noundef %5, ptr noundef nonnull %6) #2 %8 = getelementptr inbounds %struct.idt77252_dev, ptr %0, i64 0, i32 1 %9 = tail call i32 @timer_pending(ptr noundef nonnull %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i64, ptr @jiffies, align 8, !tbaa !9 %13 = add nsw i64 %12, 1 %14 = tail call i32 @mod_timer(ptr noundef nonnull %8, i64 noundef %13) #2 br label %15 15: ; preds = %11, %2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %4 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__clear_tst(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/linux/drivers/atm/extr_idt77252.c_clear_tst.c' source_filename = "AnghaBench/linux/drivers/atm/extr_idt77252.c_clear_tst.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TST_SWITCH_PENDING = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @clear_tst], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @clear_tst(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %4 = tail call i32 @__clear_tst(ptr noundef %0, ptr noundef %1) #2 %5 = load i32, ptr @TST_SWITCH_PENDING, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = tail call i32 @set_bit(i32 noundef %5, ptr noundef nonnull %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = tail call i32 @timer_pending(ptr noundef nonnull %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i64, ptr @jiffies, align 8, !tbaa !10 %13 = add nsw i64 %12, 1 %14 = tail call i32 @mod_timer(ptr noundef nonnull %8, i64 noundef %13) #2 br label %15 15: ; preds = %11, %2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %4 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__clear_tst(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
linux_drivers_atm_extr_idt77252.c_clear_tst
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_write_ofld_wr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_write_ofld_wr.c" target datalayout = "e-m:e-p270:32:32-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.sg_ent = type { i32 } %struct.sge_txq = type { ptr, ptr } %struct.tx_desc = type { ptr } %struct.TYPE_2__ = type { ptr } %struct.sk_buff = type { i32, i64, i64, i64, i32 } %struct.work_request_hdr = type { i32, i32 } @MAX_SKB_FRAGS = dso_local local_unnamed_addr global i32 0, align 4 @deferred_unmap_destructor = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_ofld_wr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_ofld_wr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @MAX_SKB_FRAGS, align 4, !tbaa !5 %8 = sdiv i32 %7, 2 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = alloca %struct.sg_ent, i64 %10, align 16 %12 = getelementptr inbounds %struct.sge_txq, ptr %2, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !9 %14 = zext i32 %3 to i64 %15 = getelementptr inbounds %struct.tx_desc, ptr %13, i64 %14 %16 = tail call i64 @immediate(ptr noundef %1) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %6 %19 = load ptr, ptr %2, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %14 store ptr null, ptr %20, align 8, !tbaa !13 %21 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 4 %22 = load i32, ptr %21, align 8, !tbaa !15 %23 = tail call i32 @write_imm(ptr noundef %15, ptr noundef %1, i32 noundef %22, i32 noundef %4) #2 br label %62 24: ; preds = %6 %25 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 3 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %15, align 8, !tbaa !19 %29 = getelementptr inbounds i32, ptr %28, i64 1 %30 = getelementptr inbounds %struct.work_request_hdr, ptr %27, i64 1 %31 = tail call i32 @skb_transport_offset(ptr noundef %1) #2 %32 = add i32 %31, -8 %33 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef nonnull %30, i32 noundef %32) #2 %34 = tail call i32 @skb_transport_offset(ptr noundef %1) #2 %35 = sdiv i32 %34, 8 %36 = icmp eq i32 %5, 1 br i1 %36, label %37, label %41 37: ; preds = %24 %38 = load ptr, ptr %15, align 8, !tbaa !19 %39 = zext i32 %35 to i64 %40 = getelementptr inbounds i32, ptr %38, i64 %39 br label %41 41: ; preds = %24, %37 %42 = phi ptr [ %40, %37 ], [ %11, %24 ] %43 = tail call i32 @skb_transport_header(ptr noundef nonnull %1) #2 %44 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 2 %45 = load i64, ptr %44, align 8, !tbaa !21 %46 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !22 %48 = sub nsw i64 %45, %47 %49 = load i32, ptr %0, align 4, !tbaa !23 %50 = call i32 @make_sgl(ptr noundef nonnull %1, ptr noundef %42, i32 noundef %43, i64 noundef %48, i32 noundef %49) #2 %51 = call i64 (...) @need_skb_unmap() #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %41 %54 = load i32, ptr %0, align 4, !tbaa !23 %55 = call i32 @setup_deferred_unmapping(ptr noundef nonnull %1, i32 noundef %54, ptr noundef %42, i32 noundef %50) #2 %56 = load i32, ptr @deferred_unmap_destructor, align 4, !tbaa !5 store i32 %56, ptr %1, align 8, !tbaa !25 br label %57 57: ; preds = %53, %41 %58 = getelementptr inbounds %struct.work_request_hdr, ptr %27, i64 0, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !26 %60 = load i32, ptr %27, align 4, !tbaa !28 %61 = call i32 @write_wr_hdr_sgl(i32 noundef %5, ptr noundef nonnull %1, ptr noundef nonnull %15, i32 noundef %3, ptr noundef nonnull %2, ptr noundef nonnull %11, i32 noundef %35, i32 noundef %50, i32 noundef %4, i32 noundef %59, i32 noundef %60) #2 br label %62 62: ; preds = %57, %18 ret void } declare i64 @immediate(ptr noundef) local_unnamed_addr #1 declare i32 @write_imm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_transport_offset(ptr noundef) local_unnamed_addr #1 declare i32 @make_sgl(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_transport_header(ptr noundef) local_unnamed_addr #1 declare i64 @need_skb_unmap(...) local_unnamed_addr #1 declare i32 @setup_deferred_unmapping(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_wr_hdr_sgl(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"sge_txq", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0} !15 = !{!16, !6, i64 32} !16 = !{!"sk_buff", !6, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !6, i64 32} !17 = !{!"long", !7, i64 0} !18 = !{!16, !17, i64 24} !19 = !{!20, !11, i64 0} !20 = !{!"tx_desc", !11, i64 0} !21 = !{!16, !17, i64 16} !22 = !{!16, !17, i64 8} !23 = !{!24, !6, i64 0} !24 = !{!"adapter", !6, i64 0} !25 = !{!16, !6, i64 0} !26 = !{!27, !6, i64 4} !27 = !{!"work_request_hdr", !6, i64 0, !6, i64 4} !28 = !{!27, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_write_ofld_wr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_write_ofld_wr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sg_ent = type { i32 } %struct.tx_desc = type { ptr } %struct.TYPE_2__ = type { ptr } @MAX_SKB_FRAGS = common local_unnamed_addr global i32 0, align 4 @deferred_unmap_destructor = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_ofld_wr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_ofld_wr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @MAX_SKB_FRAGS, align 4, !tbaa !6 %8 = sdiv i32 %7, 2 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = alloca %struct.sg_ent, i64 %10, align 4 %12 = getelementptr inbounds i8, ptr %2, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = zext i32 %3 to i64 %15 = getelementptr inbounds %struct.tx_desc, ptr %13, i64 %14 %16 = tail call i64 @immediate(ptr noundef %1) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %6 %19 = load ptr, ptr %2, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %14 store ptr null, ptr %20, align 8, !tbaa !14 %21 = getelementptr inbounds i8, ptr %1, i64 32 %22 = load i32, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @write_imm(ptr noundef %15, ptr noundef %1, i32 noundef %22, i32 noundef %4) #2 br label %62 24: ; preds = %6 %25 = getelementptr inbounds i8, ptr %1, i64 24 %26 = load i64, ptr %25, align 8, !tbaa !19 %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %15, align 8, !tbaa !20 %29 = getelementptr inbounds i8, ptr %28, i64 4 %30 = getelementptr inbounds i8, ptr %27, i64 8 %31 = tail call i32 @skb_transport_offset(ptr noundef %1) #2 %32 = add i32 %31, -8 %33 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef nonnull %30, i32 noundef %32) #2 %34 = tail call i32 @skb_transport_offset(ptr noundef %1) #2 %35 = sdiv i32 %34, 8 %36 = icmp eq i32 %5, 1 br i1 %36, label %37, label %41 37: ; preds = %24 %38 = load ptr, ptr %15, align 8, !tbaa !20 %39 = zext i32 %35 to i64 %40 = getelementptr inbounds i32, ptr %38, i64 %39 br label %41 41: ; preds = %24, %37 %42 = phi ptr [ %40, %37 ], [ %11, %24 ] %43 = tail call i32 @skb_transport_header(ptr noundef nonnull %1) #2 %44 = getelementptr inbounds i8, ptr %1, i64 16 %45 = load i64, ptr %44, align 8, !tbaa !22 %46 = getelementptr inbounds i8, ptr %1, i64 8 %47 = load i64, ptr %46, align 8, !tbaa !23 %48 = sub nsw i64 %45, %47 %49 = load i32, ptr %0, align 4, !tbaa !24 %50 = call i32 @make_sgl(ptr noundef nonnull %1, ptr noundef %42, i32 noundef %43, i64 noundef %48, i32 noundef %49) #2 %51 = call i64 @need_skb_unmap() #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %41 %54 = load i32, ptr %0, align 4, !tbaa !24 %55 = call i32 @setup_deferred_unmapping(ptr noundef nonnull %1, i32 noundef %54, ptr noundef %42, i32 noundef %50) #2 %56 = load i32, ptr @deferred_unmap_destructor, align 4, !tbaa !6 store i32 %56, ptr %1, align 8, !tbaa !26 br label %57 57: ; preds = %53, %41 %58 = getelementptr inbounds i8, ptr %27, i64 4 %59 = load i32, ptr %58, align 4, !tbaa !27 %60 = load i32, ptr %27, align 4, !tbaa !29 %61 = call i32 @write_wr_hdr_sgl(i32 noundef %5, ptr noundef nonnull %1, ptr noundef nonnull %15, i32 noundef %3, ptr noundef nonnull %2, ptr noundef nonnull %11, i32 noundef %35, i32 noundef %50, i32 noundef %4, i32 noundef %59, i32 noundef %60) #2 br label %62 62: ; preds = %57, %18 ret void } declare i64 @immediate(ptr noundef) local_unnamed_addr #1 declare i32 @write_imm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_transport_offset(ptr noundef) local_unnamed_addr #1 declare i32 @make_sgl(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_transport_header(ptr noundef) local_unnamed_addr #1 declare i64 @need_skb_unmap(...) local_unnamed_addr #1 declare i32 @setup_deferred_unmapping(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_wr_hdr_sgl(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"sge_txq", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_2__", !12, i64 0} !16 = !{!17, !7, i64 32} !17 = !{!"sk_buff", !7, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !7, i64 32} !18 = !{!"long", !8, i64 0} !19 = !{!17, !18, i64 24} !20 = !{!21, !12, i64 0} !21 = !{!"tx_desc", !12, i64 0} !22 = !{!17, !18, i64 16} !23 = !{!17, !18, i64 8} !24 = !{!25, !7, i64 0} !25 = !{!"adapter", !7, i64 0} !26 = !{!17, !7, i64 0} !27 = !{!28, !7, i64 4} !28 = !{!"work_request_hdr", !7, i64 0, !7, i64 4} !29 = !{!28, !7, i64 0}
fastsocket_kernel_drivers_net_cxgb3_extr_sge.c_write_ofld_wr
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_mballoc.c_mb_buddy_mark_free.c' source_filename = "AnghaBench/linux/fs/ext4/extr_mballoc.c_mb_buddy_mark_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mb_buddy_mark_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mb_buddy_mark_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !5 store i32 %2, ptr %5, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @mb_find_buddy(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %70, label %9 9: ; preds = %3, %67 %10 = phi i32 [ %69, %67 ], [ %2, %3 ] %11 = phi i32 [ %68, %67 ], [ %1, %3 ] %12 = phi i64 [ %43, %67 ], [ 1, %3 ] %13 = phi ptr [ %47, %67 ], [ %7, %3 ] %14 = and i32 %11, 1 %15 = icmp eq i32 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %9 %17 = call i64 @mb_buddy_adjust_border(ptr noundef nonnull %4, ptr noundef nonnull %13, i32 noundef -1) #3 %18 = load ptr, ptr %0, align 8, !tbaa !9 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = getelementptr inbounds i32, ptr %19, i64 %12 %21 = load i32, ptr %20, align 4, !tbaa !5 %22 = trunc i64 %17 to i32 %23 = add i32 %21, %22 store i32 %23, ptr %20, align 4, !tbaa !5 %24 = load i32, ptr %5, align 4, !tbaa !5 br label %25 25: ; preds = %16, %9 %26 = phi i32 [ %24, %16 ], [ %10, %9 ] %27 = and i32 %26, 1 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = call i64 @mb_buddy_adjust_border(ptr noundef nonnull %5, ptr noundef nonnull %13, i32 noundef 1) #3 %31 = load ptr, ptr %0, align 8, !tbaa !9 %32 = load ptr, ptr %31, align 8, !tbaa !12 %33 = getelementptr inbounds i32, ptr %32, i64 %12 %34 = load i32, ptr %33, align 4, !tbaa !5 %35 = trunc i64 %30 to i32 %36 = add i32 %34, %35 store i32 %36, ptr %33, align 4, !tbaa !5 %37 = load i32, ptr %5, align 4, !tbaa !5 br label %38 38: ; preds = %29, %25 %39 = phi i32 [ %37, %29 ], [ %26, %25 ] %40 = load i32, ptr %4, align 4, !tbaa !5 %41 = icmp sgt i32 %40, %39 br i1 %41, label %70, label %42 42: ; preds = %38 %43 = add nuw i64 %12, 1 %44 = icmp eq i32 %40, %39 br i1 %44, label %51, label %45 45: ; preds = %42 %46 = trunc i64 %43 to i32 %47 = call ptr @mb_find_buddy(ptr noundef %0, i32 noundef %46, ptr noundef nonnull %6) #3 %48 = icmp eq ptr %47, null %49 = load i32, ptr %4, align 4, !tbaa !5 %50 = load i32, ptr %5, align 4, !tbaa !5 br i1 %48, label %51, label %67 51: ; preds = %45, %42 %52 = phi i32 [ %50, %45 ], [ %39, %42 ] %53 = phi i32 [ %49, %45 ], [ %39, %42 ] %54 = sub i32 %52, %53 %55 = add i32 %54, 1 %56 = call i32 @mb_clear_bits(ptr noundef nonnull %13, i32 noundef %53, i32 noundef %55) #3 %57 = load i32, ptr %5, align 4, !tbaa !5 %58 = load i32, ptr %4, align 4, !tbaa !5 %59 = load ptr, ptr %0, align 8, !tbaa !9 %60 = load ptr, ptr %59, align 8, !tbaa !12 %61 = and i64 %12, 4294967295 %62 = getelementptr inbounds i32, ptr %60, i64 %61 %63 = load i32, ptr %62, align 4, !tbaa !5 %64 = add i32 %57, 1 %65 = sub i32 %64, %58 %66 = add nsw i32 %65, %63 store i32 %66, ptr %62, align 4, !tbaa !5 br label %70 67: ; preds = %45 %68 = ashr i32 %49, 1 store i32 %68, ptr %4, align 4, !tbaa !5 %69 = ashr i32 %50, 1 store i32 %69, ptr %5, align 4, !tbaa !5 br label %9 70: ; preds = %38, %3, %51 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mb_find_buddy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @mb_buddy_adjust_border(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mb_clear_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"ext4_buddy", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_mballoc.c_mb_buddy_mark_free.c' source_filename = "AnghaBench/linux/fs/ext4/extr_mballoc.c_mb_buddy_mark_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @mb_buddy_mark_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mb_buddy_mark_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !6 store i32 %2, ptr %5, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @mb_find_buddy(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %70, label %9 9: ; preds = %3, %67 %10 = phi i32 [ %69, %67 ], [ %2, %3 ] %11 = phi i32 [ %68, %67 ], [ %1, %3 ] %12 = phi i64 [ %43, %67 ], [ 1, %3 ] %13 = phi ptr [ %47, %67 ], [ %7, %3 ] %14 = and i32 %11, 1 %15 = icmp eq i32 %14, 0 br i1 %15, label %25, label %16 16: ; preds = %9 %17 = call i64 @mb_buddy_adjust_border(ptr noundef nonnull %4, ptr noundef nonnull %13, i32 noundef -1) #3 %18 = load ptr, ptr %0, align 8, !tbaa !10 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = getelementptr inbounds i32, ptr %19, i64 %12 %21 = load i32, ptr %20, align 4, !tbaa !6 %22 = trunc i64 %17 to i32 %23 = add i32 %21, %22 store i32 %23, ptr %20, align 4, !tbaa !6 %24 = load i32, ptr %5, align 4, !tbaa !6 br label %25 25: ; preds = %16, %9 %26 = phi i32 [ %24, %16 ], [ %10, %9 ] %27 = and i32 %26, 1 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = call i64 @mb_buddy_adjust_border(ptr noundef nonnull %5, ptr noundef nonnull %13, i32 noundef 1) #3 %31 = load ptr, ptr %0, align 8, !tbaa !10 %32 = load ptr, ptr %31, align 8, !tbaa !13 %33 = getelementptr inbounds i32, ptr %32, i64 %12 %34 = load i32, ptr %33, align 4, !tbaa !6 %35 = trunc i64 %30 to i32 %36 = add i32 %34, %35 store i32 %36, ptr %33, align 4, !tbaa !6 %37 = load i32, ptr %5, align 4, !tbaa !6 br label %38 38: ; preds = %29, %25 %39 = phi i32 [ %37, %29 ], [ %26, %25 ] %40 = load i32, ptr %4, align 4, !tbaa !6 %41 = icmp sgt i32 %40, %39 br i1 %41, label %70, label %42 42: ; preds = %38 %43 = add nuw nsw i64 %12, 1 %44 = icmp eq i32 %40, %39 br i1 %44, label %51, label %45 45: ; preds = %42 %46 = trunc nuw i64 %43 to i32 %47 = call ptr @mb_find_buddy(ptr noundef %0, i32 noundef %46, ptr noundef nonnull %6) #3 %48 = icmp eq ptr %47, null %49 = load i32, ptr %4, align 4, !tbaa !6 %50 = load i32, ptr %5, align 4, !tbaa !6 br i1 %48, label %51, label %67 51: ; preds = %45, %42 %52 = phi i32 [ %50, %45 ], [ %39, %42 ] %53 = phi i32 [ %49, %45 ], [ %39, %42 ] %54 = sub i32 %52, %53 %55 = add i32 %54, 1 %56 = call i32 @mb_clear_bits(ptr noundef nonnull %13, i32 noundef %53, i32 noundef %55) #3 %57 = load i32, ptr %5, align 4, !tbaa !6 %58 = load i32, ptr %4, align 4, !tbaa !6 %59 = load ptr, ptr %0, align 8, !tbaa !10 %60 = load ptr, ptr %59, align 8, !tbaa !13 %61 = and i64 %12, 4294967295 %62 = getelementptr inbounds i32, ptr %60, i64 %61 %63 = load i32, ptr %62, align 4, !tbaa !6 %64 = add i32 %57, 1 %65 = sub i32 %64, %58 %66 = add nsw i32 %65, %63 store i32 %66, ptr %62, align 4, !tbaa !6 br label %70 67: ; preds = %45 %68 = ashr i32 %49, 1 store i32 %68, ptr %4, align 4, !tbaa !6 %69 = ashr i32 %50, 1 store i32 %69, ptr %5, align 4, !tbaa !6 br label %9 70: ; preds = %38, %3, %51 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mb_find_buddy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @mb_buddy_adjust_border(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mb_clear_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"ext4_buddy", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0}
linux_fs_ext4_extr_mballoc.c_mb_buddy_mark_free
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_graphics.h_gs_is_compressed_format.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_graphics.h_gs_is_compressed_format.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GS_DXT1 = dso_local local_unnamed_addr global i32 0, align 4 @GS_DXT3 = dso_local local_unnamed_addr global i32 0, align 4 @GS_DXT5 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gs_is_compressed_format], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @gs_is_compressed_format(i32 noundef %0) #0 { %2 = load i32, ptr @GS_DXT1, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 %4 = load i32, ptr @GS_DXT3, align 4 %5 = icmp eq i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @GS_DXT5, align 4 %8 = icmp eq i32 %7, %0 %9 = select i1 %6, i1 true, i1 %8 %10 = zext i1 %9 to i32 ret i32 %10 } 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/obs-studio/libobs/graphics/extr_graphics.h_gs_is_compressed_format.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_graphics.h_gs_is_compressed_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GS_DXT1 = common local_unnamed_addr global i32 0, align 4 @GS_DXT3 = common local_unnamed_addr global i32 0, align 4 @GS_DXT5 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gs_is_compressed_format], 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 @gs_is_compressed_format(i32 noundef %0) #0 { %2 = load i32, ptr @GS_DXT1, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 %4 = load i32, ptr @GS_DXT3, align 4 %5 = icmp eq i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @GS_DXT5, align 4 %8 = icmp eq i32 %7, %0 %9 = select i1 %6, i1 true, i1 %8 %10 = zext i1 %9 to i32 ret i32 %10 } 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"}
obs-studio_libobs_graphics_extr_graphics.h_gs_is_compressed_format
; ModuleID = 'AnghaBench/linux/drivers/staging/media/sunxi/cedrus/extr_cedrus_video.c_cedrus_buf_prepare.c' source_filename = "AnghaBench/linux/drivers/staging/media/sunxi/cedrus/extr_cedrus_video.c_cedrus_buf_prepare.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cedrus_ctx = type { %struct.v4l2_pix_format, %struct.v4l2_pix_format } %struct.v4l2_pix_format = type { i64 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cedrus_buf_prepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cedrus_buf_prepare(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call ptr @vb2_get_drv_priv(ptr noundef %2) #2 %4 = load i32, ptr %2, align 4, !tbaa !10 %5 = tail call i64 @V4L2_TYPE_IS_OUTPUT(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 %7 = getelementptr inbounds %struct.cedrus_ctx, ptr %3, i64 0, i32 1 %8 = select i1 %6, ptr %3, ptr %7 %9 = tail call i64 @vb2_plane_size(ptr noundef nonnull %0, i32 noundef 0) #2 %10 = load i64, ptr %8, align 8, !tbaa !13 %11 = icmp slt i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load i32, ptr @EINVAL, align 4, !tbaa !16 %14 = sub nsw i32 0, %13 br label %17 15: ; preds = %1 %16 = tail call i32 @vb2_set_plane_payload(ptr noundef nonnull %0, i32 noundef 0, i64 noundef %10) #2 br label %17 17: ; preds = %15, %12 %18 = phi i32 [ %14, %12 ], [ 0, %15 ] ret i32 %18 } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i64 @V4L2_TYPE_IS_OUTPUT(i32 noundef) local_unnamed_addr #1 declare i64 @vb2_plane_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vb2_set_plane_payload(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vb2_buffer", !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 = !{!"vb2_queue", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"v4l2_pix_format", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/media/sunxi/cedrus/extr_cedrus_video.c_cedrus_buf_prepare.c' source_filename = "AnghaBench/linux/drivers/staging/media/sunxi/cedrus/extr_cedrus_video.c_cedrus_buf_prepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cedrus_buf_prepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @cedrus_buf_prepare(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call ptr @vb2_get_drv_priv(ptr noundef %2) #2 %4 = load i32, ptr %2, align 4, !tbaa !11 %5 = tail call i64 @V4L2_TYPE_IS_OUTPUT(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 %7 = select i1 %6, i64 0, i64 8 %8 = getelementptr inbounds i8, ptr %3, i64 %7 %9 = tail call i64 @vb2_plane_size(ptr noundef nonnull %0, i32 noundef 0) #2 %10 = load i64, ptr %8, align 8, !tbaa !14 %11 = icmp slt i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load i32, ptr @EINVAL, align 4, !tbaa !17 %14 = sub nsw i32 0, %13 br label %17 15: ; preds = %1 %16 = tail call i32 @vb2_set_plane_payload(ptr noundef nonnull %0, i32 noundef 0, i64 noundef %10) #2 br label %17 17: ; preds = %15, %12 %18 = phi i32 [ %14, %12 ], [ 0, %15 ] ret i32 %18 } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i64 @V4L2_TYPE_IS_OUTPUT(i32 noundef) local_unnamed_addr #1 declare i64 @vb2_plane_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vb2_set_plane_payload(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vb2_buffer", !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 = !{!"vb2_queue", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"v4l2_pix_format", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!13, !13, i64 0}
linux_drivers_staging_media_sunxi_cedrus_extr_cedrus_video.c_cedrus_buf_prepare
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/storage/extr_slabhash.c_slabhash_setmarkdel.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/storage/extr_slabhash.c_slabhash_setmarkdel.c" target datalayout = "e-m:e-p270:32:32-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.slabhash = type { i64, ptr } ; Function Attrs: nounwind uwtable define dso_local void @slabhash_setmarkdel(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %16, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.slabhash, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !11 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @lruhash_setmarkdel(i32 noundef %11, i32 noundef %1) #2 %13 = add nuw i64 %8, 1 %14 = load i64, ptr %0, align 8, !tbaa !5 %15 = icmp ult i64 %13, %14 br i1 %15, label %7, label %16, !llvm.loop !14 16: ; preds = %7, %2 ret void } declare i32 @lruhash_setmarkdel(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 = !{!"slabhash", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/storage/extr_slabhash.c_slabhash_setmarkdel.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/storage/extr_slabhash.c_slabhash_setmarkdel.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 @slabhash_setmarkdel(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %16, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !12 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @lruhash_setmarkdel(i32 noundef %11, i32 noundef %1) #2 %13 = add nuw i64 %8, 1 %14 = load i64, ptr %0, align 8, !tbaa !6 %15 = icmp ult i64 %13, %14 br i1 %15, label %7, label %16, !llvm.loop !15 16: ; preds = %7, %2 ret void } declare i32 @lruhash_setmarkdel(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 = !{!"slabhash", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_util_storage_extr_slabhash.c_slabhash_setmarkdel
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_read_long_string.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_read_long_string.c" target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"unfinished long string\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"unfinished long comment\00", align 1 @TK_EOS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_long_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @read_long_string(ptr noundef %0, ptr noundef writeonly %1, i32 noundef %2) #0 { %4 = tail call i32 @save_and_next(ptr noundef %0) #2 %5 = tail call i64 @currIsNewline(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @inclinenumber(ptr noundef %0) #2 br label %9 9: ; preds = %7, %3 %10 = icmp eq ptr %1, null %11 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %12 = select i1 %10, ptr @.str.1, ptr @.str br label %13 13: ; preds = %32, %9 %14 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %14, label %29 [ i32 -1, label %15 i32 93, label %18 i32 10, label %23 i32 13, label %23 ] 15: ; preds = %13 %16 = load i32, ptr @TK_EOS, align 4, !tbaa !10 %17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %16) #2 br label %32 18: ; preds = %13 %19 = tail call i32 @skip_sep(ptr noundef nonnull %0) #2 %20 = icmp eq i32 %19, %2 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br i1 %10, label %47, label %35 23: ; preds = %13, %13 %24 = tail call i32 @save(ptr noundef nonnull %0, i8 noundef signext 10) #2 %25 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2 br i1 %10, label %26, label %32 26: ; preds = %23 %27 = load i32, ptr %11, align 4, !tbaa !11 %28 = tail call i32 @luaZ_resetbuffer(i32 noundef %27) #2 br label %32 29: ; preds = %13 br i1 %10, label %33, label %30 30: ; preds = %29 %31 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %32 32: ; preds = %30, %33, %23, %26, %18, %15 br label %13 33: ; preds = %29 %34 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %32 35: ; preds = %21 %36 = load i32, ptr %11, align 4, !tbaa !11 %37 = tail call i64 @luaZ_buffer(i32 noundef %36) #2 %38 = add nsw i32 %2, 2 %39 = sext i32 %38 to i64 %40 = add nsw i64 %37, %39 %41 = load i32, ptr %11, align 4, !tbaa !11 %42 = tail call i64 @luaZ_bufflen(i32 noundef %41) #2 %43 = shl nsw i32 %38, 1 %44 = sext i32 %43 to i64 %45 = sub nsw i64 %42, %44 %46 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %40, i64 noundef %45) #2 store i32 %46, ptr %1, align 4, !tbaa !12 br label %47 47: ; preds = %35, %21 ret void } declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1 declare i64 @currIsNewline(ptr noundef) local_unnamed_addr #1 declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skip_sep(ptr noundef) local_unnamed_addr #1 declare i32 @save(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @luaZ_resetbuffer(i32 noundef) local_unnamed_addr #1 declare i32 @next(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1 declare i64 @luaZ_bufflen(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_14__", !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} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_13__", !7, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_read_long_string.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_read_long_string.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 [23 x i8] c"unfinished long string\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"unfinished long comment\00", align 1 @TK_EOS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_long_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @read_long_string(ptr noundef %0, ptr noundef writeonly %1, i32 noundef %2) #0 { %4 = tail call i32 @save_and_next(ptr noundef %0) #2 %5 = tail call i64 @currIsNewline(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @inclinenumber(ptr noundef %0) #2 br label %9 9: ; preds = %7, %3 %10 = icmp eq ptr %1, null %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = select i1 %10, ptr @.str.1, ptr @.str br label %13 13: ; preds = %32, %9 %14 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %14, label %29 [ i32 -1, label %15 i32 93, label %18 i32 10, label %23 i32 13, label %23 ] 15: ; preds = %13 %16 = load i32, ptr @TK_EOS, align 4, !tbaa !11 %17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %16) #2 br label %32 18: ; preds = %13 %19 = tail call i32 @skip_sep(ptr noundef nonnull %0) #2 %20 = icmp eq i32 %19, %2 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br i1 %10, label %47, label %35 23: ; preds = %13, %13 %24 = tail call i32 @save(ptr noundef nonnull %0, i8 noundef signext 10) #2 %25 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2 br i1 %10, label %26, label %32 26: ; preds = %23 %27 = load i32, ptr %11, align 4, !tbaa !12 %28 = tail call i32 @luaZ_resetbuffer(i32 noundef %27) #2 br label %32 29: ; preds = %13 br i1 %10, label %33, label %30 30: ; preds = %29 %31 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %32 32: ; preds = %30, %33, %23, %26, %18, %15 br label %13 33: ; preds = %29 %34 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %32 35: ; preds = %21 %36 = load i32, ptr %11, align 4, !tbaa !12 %37 = tail call i64 @luaZ_buffer(i32 noundef %36) #2 %38 = add nsw i32 %2, 2 %39 = sext i32 %38 to i64 %40 = add nsw i64 %37, %39 %41 = load i32, ptr %11, align 4, !tbaa !12 %42 = tail call i64 @luaZ_bufflen(i32 noundef %41) #2 %43 = shl nsw i32 %38, 1 %44 = sext i32 %43 to i64 %45 = sub nsw i64 %42, %44 %46 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %40, i64 noundef %45) #2 store i32 %46, ptr %1, align 4, !tbaa !13 br label %47 47: ; preds = %35, %21 ret void } declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1 declare i64 @currIsNewline(ptr noundef) local_unnamed_addr #1 declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skip_sep(ptr noundef) local_unnamed_addr #1 declare i32 @save(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @luaZ_resetbuffer(i32 noundef) local_unnamed_addr #1 declare i32 @next(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1 declare i64 @luaZ_bufflen(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_14__", !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} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_13__", !8, i64 0}
php-src_ext_opcache_jit_dynasm_extr_minilua.c_read_long_string
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_shutting_down.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_shutting_down.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dlm_domain_lock = dso_local global i32 0, align 4 @DLM_CTXT_IN_SHUTDOWN = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @dlm_shutting_down(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_domain_lock) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @DLM_CTXT_IN_SHUTDOWN, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 %6 = zext i1 %5 to i32 %7 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_domain_lock) #2 ret i32 %6 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dlm_ctxt", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_shutting_down.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_shutting_down.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dlm_domain_lock = common global i32 0, align 4 @DLM_CTXT_IN_SHUTDOWN = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @dlm_shutting_down(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_domain_lock) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @DLM_CTXT_IN_SHUTDOWN, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = zext i1 %5 to i32 %7 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_domain_lock) #2 ret i32 %6 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dlm_ctxt", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_fs_ocfs2_dlm_extr_dlmdomain.c_dlm_shutting_down
; ModuleID = 'AnghaBench/h2o/lib/common/extr_redis.c_send_command.c' source_filename = "AnghaBench/h2o/lib/common/extr_redis.c_send_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i64, i32 } @.str = private unnamed_addr constant [25 x i8] c"Failed to create command\00", align 1 @H2O_REDIS_CONNECTION_STATE_CLOSED = dso_local local_unnamed_addr global i64 0, align 8 @h2o_redis_error_connection = dso_local local_unnamed_addr global ptr null, align 8 @H2O_REDIS_COMMAND_TYPE_MONITOR = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [20 x i8] c"Unsupported command\00", align 1 @on_command = dso_local local_unnamed_addr global i32 0, align 4 @REDIS_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Failed to send command\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @send_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @send_command(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = icmp eq ptr %2, null br i1 %5, label %6, label %8 6: ; preds = %4 %7 = tail call i32 @handle_reply(ptr noundef %1, ptr noundef null, ptr noundef nonnull @.str) #2 br label %30 8: ; preds = %4 %9 = load i64, ptr %0, align 8, !tbaa !5 %10 = load i64, ptr @H2O_REDIS_CONNECTION_STATE_CLOSED, align 8, !tbaa !11 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load ptr, ptr @h2o_redis_error_connection, align 8, !tbaa !12 %14 = tail call i32 @handle_reply(ptr noundef %1, ptr noundef null, ptr noundef %13) #2 br label %30 15: ; preds = %8 %16 = load i64, ptr %1, align 8, !tbaa !14 %17 = load i64, ptr @H2O_REDIS_COMMAND_TYPE_MONITOR, align 8, !tbaa !11 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = tail call i32 @handle_reply(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull @.str.1) #2 br label %30 21: ; preds = %15 %22 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !16 %24 = load i32, ptr @on_command, align 4, !tbaa !17 %25 = tail call i32 @redisAsyncFormattedCommand(i32 noundef %23, i32 noundef %24, ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef %3) #2 %26 = load i32, ptr @REDIS_OK, align 4, !tbaa !17 %27 = icmp eq i32 %25, %26 br i1 %27, label %30, label %28 28: ; preds = %21 %29 = tail call i32 @handle_reply(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull @.str.2) #2 br label %30 30: ; preds = %21, %28, %19, %12, %6 ret void } declare i32 @handle_reply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @redisAsyncFormattedCommand(i32 noundef, i32 noundef, 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 = !{!"TYPE_8__", !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 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_7__", !7, i64 0} !16 = !{!6, !10, i64 8} !17 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/h2o/lib/common/extr_redis.c_send_command.c' source_filename = "AnghaBench/h2o/lib/common/extr_redis.c_send_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [25 x i8] c"Failed to create command\00", align 1 @H2O_REDIS_CONNECTION_STATE_CLOSED = common local_unnamed_addr global i64 0, align 8 @h2o_redis_error_connection = common local_unnamed_addr global ptr null, align 8 @H2O_REDIS_COMMAND_TYPE_MONITOR = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [20 x i8] c"Unsupported command\00", align 1 @on_command = common local_unnamed_addr global i32 0, align 4 @REDIS_OK = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Failed to send command\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @send_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @send_command(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = icmp eq ptr %2, null br i1 %5, label %6, label %8 6: ; preds = %4 %7 = tail call i32 @handle_reply(ptr noundef %1, ptr noundef null, ptr noundef nonnull @.str) #2 br label %30 8: ; preds = %4 %9 = load i64, ptr %0, align 8, !tbaa !6 %10 = load i64, ptr @H2O_REDIS_CONNECTION_STATE_CLOSED, align 8, !tbaa !12 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load ptr, ptr @h2o_redis_error_connection, align 8, !tbaa !13 %14 = tail call i32 @handle_reply(ptr noundef %1, ptr noundef null, ptr noundef %13) #2 br label %30 15: ; preds = %8 %16 = load i64, ptr %1, align 8, !tbaa !15 %17 = load i64, ptr @H2O_REDIS_COMMAND_TYPE_MONITOR, align 8, !tbaa !12 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = tail call i32 @handle_reply(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull @.str.1) #2 br label %30 21: ; preds = %15 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = load i32, ptr @on_command, align 4, !tbaa !18 %25 = tail call i32 @redisAsyncFormattedCommand(i32 noundef %23, i32 noundef %24, ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef %3) #2 %26 = load i32, ptr @REDIS_OK, align 4, !tbaa !18 %27 = icmp eq i32 %25, %26 br i1 %27, label %30, label %28 28: ; preds = %21 %29 = tail call i32 @handle_reply(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull @.str.2) #2 br label %30 30: ; preds = %21, %28, %19, %12, %6 ret void } declare i32 @handle_reply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @redisAsyncFormattedCommand(i32 noundef, i32 noundef, 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 = !{!"TYPE_8__", !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 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_7__", !8, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!11, !11, i64 0}
h2o_lib_common_extr_redis.c_send_command
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_RemoveCongestionGrps.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_RemoveCongestionGrps.c" target datalayout = "e-m:e-p270:32:32-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 { i64, ptr } %struct.TYPE_11__ = type { i64, i32, i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } @FMAN_PORT_CG_MAP_NUM = dso_local local_unnamed_addr global i32 0, align 4 @E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @e_FM_PORT_TYPE_RX_10G = dso_local local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_RX = dso_local local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_OH_OFFLINE_PARSING = dso_local local_unnamed_addr global i64 0, align 8 @MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @E_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Available for Rx & OP ports only\00", align 1 @E_INVALID_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"fman_port_remove_congestion_grps\00", align 1 @E_OK = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @FM_PORT_RemoveCongestionGrps(i64 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @FMAN_PORT_CG_MAP_NUM, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i64, i64 %5, align 16 %7 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %8 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %7) #2 %9 = load i64, ptr %3, align 8, !tbaa !9 %10 = load i64, ptr @e_FM_PORT_TYPE_RX_10G, align 8, !tbaa !13 %11 = icmp eq i64 %9, %10 %12 = load i64, ptr @e_FM_PORT_TYPE_RX, align 8 %13 = icmp eq i64 %9, %12 %14 = select i1 %11, i1 true, i1 %13 %15 = load i64, ptr @e_FM_PORT_TYPE_OH_OFFLINE_PARSING, align 8 %16 = icmp eq i64 %9, %15 %17 = select i1 %14, i1 true, i1 %16 br i1 %17, label %22, label %18 18: ; preds = %2 %19 = load i32, ptr @MAJOR, align 4, !tbaa !5 %20 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !5 %21 = tail call i32 @RETURN_ERROR(i32 noundef %19, i32 noundef %20, ptr noundef nonnull @.str) #2 br label %22 22: ; preds = %18, %2 %23 = load i32, ptr @FMAN_PORT_CG_MAP_NUM, align 4, !tbaa !5 %24 = shl i32 %23, 3 %25 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %24) #2 %26 = load i64, ptr %1, align 8, !tbaa !14 %27 = getelementptr i64, ptr %6, i64 7 %28 = icmp eq i64 %26, 0 br i1 %28, label %56, label %29 29: ; preds = %22 %30 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !17 %32 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 3 %33 = load i32, ptr %32, align 8, !tbaa !18 %34 = icmp eq i32 %33, 4 br label %35 35: ; preds = %29, %53 %36 = phi i64 [ 0, %29 ], [ %54, %53 ] %37 = getelementptr inbounds i32, ptr %31, i64 %36 %38 = load i32, ptr %37, align 4, !tbaa !5 %39 = srem i32 %38, 32 br i1 %34, label %48, label %40 40: ; preds = %35 %41 = sdiv i32 %38, -32 %42 = shl nuw i32 1, %39 %43 = sext i32 %42 to i64 %44 = sext i32 %41 to i64 %45 = getelementptr i64, ptr %27, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !13 %47 = or i64 %46, %43 store i64 %47, ptr %45, align 8, !tbaa !13 br label %53 48: ; preds = %35 %49 = shl nuw i32 1, %39 %50 = sext i32 %49 to i64 %51 = load i64, ptr %6, align 16, !tbaa !13 %52 = or i64 %51, %50 store i64 %52, ptr %6, align 16, !tbaa !13 br label %53 53: ; preds = %40, %48 %54 = add nuw i64 %36, 1 %55 = icmp eq i64 %54, %26 br i1 %55, label %56, label %35, !llvm.loop !19 56: ; preds = %53, %22 %57 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1 %58 = call i32 @fman_port_remove_congestion_grps(ptr noundef nonnull %57, ptr noundef nonnull %6) #2 %59 = icmp eq i32 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %56 %61 = load i32, ptr @MAJOR, align 4, !tbaa !5 %62 = load i32, ptr @E_INVALID_VALUE, align 4, !tbaa !5 %63 = call i32 @RETURN_ERROR(i32 noundef %61, i32 noundef %62, ptr noundef nonnull @.str.1) #2 br label %64 64: ; preds = %60, %56 %65 = load i64, ptr @E_OK, align 8, !tbaa !13 ret i64 %65 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fman_port_remove_congestion_grps(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_11__", !11, i64 0, !6, i64 8, !6, i64 12, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_8__", !6, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_10__", !11, i64 0, !16, i64 8} !16 = !{!"any pointer", !7, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!10, !6, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_RemoveCongestionGrps.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_RemoveCongestionGrps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FMAN_PORT_CG_MAP_NUM = common local_unnamed_addr global i32 0, align 4 @E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @e_FM_PORT_TYPE_RX_10G = common local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_RX = common local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_OH_OFFLINE_PARSING = common local_unnamed_addr global i64 0, align 8 @MAJOR = common local_unnamed_addr global i32 0, align 4 @E_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Available for Rx & OP ports only\00", align 1 @E_INVALID_VALUE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"fman_port_remove_congestion_grps\00", align 1 @E_OK = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @FM_PORT_RemoveCongestionGrps(i64 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @FMAN_PORT_CG_MAP_NUM, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i64, i64 %5, align 8 %7 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %8 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %7) #2 %9 = load i64, ptr %3, align 8, !tbaa !10 %10 = load i64, ptr @e_FM_PORT_TYPE_RX_10G, align 8, !tbaa !14 %11 = icmp eq i64 %9, %10 %12 = load i64, ptr @e_FM_PORT_TYPE_RX, align 8 %13 = icmp eq i64 %9, %12 %14 = select i1 %11, i1 true, i1 %13 %15 = load i64, ptr @e_FM_PORT_TYPE_OH_OFFLINE_PARSING, align 8 %16 = icmp eq i64 %9, %15 %17 = select i1 %14, i1 true, i1 %16 br i1 %17, label %22, label %18 18: ; preds = %2 %19 = load i32, ptr @MAJOR, align 4, !tbaa !6 %20 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !6 %21 = tail call i32 @RETURN_ERROR(i32 noundef %19, i32 noundef %20, ptr noundef nonnull @.str) #2 br label %22 22: ; preds = %18, %2 %23 = load i32, ptr @FMAN_PORT_CG_MAP_NUM, align 4, !tbaa !6 %24 = shl i32 %23, 3 %25 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %24) #2 %26 = load i64, ptr %1, align 8, !tbaa !15 %27 = getelementptr i8, ptr %6, i64 56 %28 = icmp eq i64 %26, 0 br i1 %28, label %56, label %29 29: ; preds = %22 %30 = getelementptr inbounds i8, ptr %1, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !18 %32 = getelementptr inbounds i8, ptr %3, i64 16 %33 = load i32, ptr %32, align 8, !tbaa !19 %34 = icmp eq i32 %33, 4 br label %35 35: ; preds = %29, %53 %36 = phi i64 [ 0, %29 ], [ %54, %53 ] %37 = getelementptr inbounds i32, ptr %31, i64 %36 %38 = load i32, ptr %37, align 4, !tbaa !6 %39 = srem i32 %38, 32 br i1 %34, label %48, label %40 40: ; preds = %35 %41 = sdiv i32 %38, -32 %42 = shl nuw i32 1, %39 %43 = sext i32 %42 to i64 %44 = sext i32 %41 to i64 %45 = getelementptr i64, ptr %27, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !14 %47 = or i64 %46, %43 store i64 %47, ptr %45, align 8, !tbaa !14 br label %53 48: ; preds = %35 %49 = shl nuw i32 1, %39 %50 = sext i32 %49 to i64 %51 = load i64, ptr %6, align 8, !tbaa !14 %52 = or i64 %51, %50 store i64 %52, ptr %6, align 8, !tbaa !14 br label %53 53: ; preds = %40, %48 %54 = add nuw i64 %36, 1 %55 = icmp eq i64 %54, %26 br i1 %55, label %56, label %35, !llvm.loop !20 56: ; preds = %53, %22 %57 = getelementptr inbounds i8, ptr %3, i64 8 %58 = call i32 @fman_port_remove_congestion_grps(ptr noundef nonnull %57, ptr noundef nonnull %6) #2 %59 = icmp eq i32 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %56 %61 = load i32, ptr @MAJOR, align 4, !tbaa !6 %62 = load i32, ptr @E_INVALID_VALUE, align 4, !tbaa !6 %63 = call i32 @RETURN_ERROR(i32 noundef %61, i32 noundef %62, ptr noundef nonnull @.str.1) #2 br label %64 64: ; preds = %60, %56 %65 = load i64, ptr @E_OK, align 8, !tbaa !14 ret i64 %65 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fman_port_remove_congestion_grps(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_11__", !12, i64 0, !7, i64 8, !7, i64 12, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_8__", !7, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_10__", !12, i64 0, !17, i64 8} !17 = !{!"any pointer", !8, i64 0} !18 = !{!16, !17, i64 8} !19 = !{!11, !7, i64 16} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_ncsw_Peripherals_FM_Port_extr_fm_port.c_FM_PORT_RemoveCongestionGrps
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_events_filter.c_clear_operand_string.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_events_filter.c_clear_operand_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, i32 } @MAX_FILTER_STR_VAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @clear_operand_string], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @clear_operand_string(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @MAX_FILTER_STR_VAL, align 4, !tbaa !12 %5 = tail call i32 @memset(i32 noundef %3, i8 noundef signext 0, i32 noundef %4) #2 store i64 0, ptr %0, align 8, !tbaa !13 ret void } declare i32 @memset(i32 noundef, i8 noundef signext, 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, !11, i64 8} !6 = !{!"filter_parse_state", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_events_filter.c_clear_operand_string.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_events_filter.c_clear_operand_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_FILTER_STR_VAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @clear_operand_string], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @clear_operand_string(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @MAX_FILTER_STR_VAL, align 4, !tbaa !13 %5 = tail call i32 @memset(i32 noundef %3, i8 noundef signext 0, i32 noundef %4) #2 store i64 0, ptr %0, align 8, !tbaa !14 ret void } declare i32 @memset(i32 noundef, i8 noundef signext, 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, !12, i64 8} !7 = !{!"filter_parse_state", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !9, i64 0}
fastsocket_kernel_kernel_trace_extr_trace_events_filter.c_clear_operand_string
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/xilinx/extr_ll_temac_mdio.c_temac_mdio_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/xilinx/extr_ll_temac_mdio.c_temac_mdio_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.temac_local = type { i32, i32 } @XTE_LSW0_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @XTE_MIIMAI_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"temac_mdio_read(phy_id=%i, reg=%x) == %x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @temac_mdio_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @temac_mdio_read(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.temac_local, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @spin_lock_irqsave(i32 noundef %6, i64 noundef undef) #2 %8 = load i32, ptr @XTE_LSW0_OFFSET, align 4, !tbaa !13 %9 = shl i32 %1, 5 %10 = or i32 %9, %2 %11 = tail call i32 @temac_iow(ptr noundef %4, i32 noundef %8, i32 noundef %10) #2 %12 = load i32, ptr @XTE_MIIMAI_OFFSET, align 4, !tbaa !13 %13 = tail call i32 @temac_indirect_in32_locked(ptr noundef %4, i32 noundef %12) #2 %14 = load i32, ptr %5, align 4, !tbaa !10 %15 = tail call i32 @spin_unlock_irqrestore(i32 noundef %14, i64 noundef undef) #2 %16 = load i32, ptr %4, align 4, !tbaa !14 %17 = tail call i32 @dev_dbg(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %13) #2 ret i32 %13 } declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @temac_iow(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @temac_indirect_in32_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mii_bus", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"temac_local", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/xilinx/extr_ll_temac_mdio.c_temac_mdio_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/xilinx/extr_ll_temac_mdio.c_temac_mdio_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XTE_LSW0_OFFSET = common local_unnamed_addr global i32 0, align 4 @XTE_MIIMAI_OFFSET = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"temac_mdio_read(phy_id=%i, reg=%x) == %x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @temac_mdio_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @temac_mdio_read(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @spin_lock_irqsave(i32 noundef %6, i64 noundef undef) #2 %8 = load i32, ptr @XTE_LSW0_OFFSET, align 4, !tbaa !14 %9 = shl i32 %1, 5 %10 = or i32 %9, %2 %11 = tail call i32 @temac_iow(ptr noundef %4, i32 noundef %8, i32 noundef %10) #2 %12 = load i32, ptr @XTE_MIIMAI_OFFSET, align 4, !tbaa !14 %13 = tail call i32 @temac_indirect_in32_locked(ptr noundef %4, i32 noundef %12) #2 %14 = load i32, ptr %5, align 4, !tbaa !11 %15 = tail call i32 @spin_unlock_irqrestore(i32 noundef %14, i64 noundef undef) #2 %16 = load i32, ptr %4, align 4, !tbaa !15 %17 = tail call i32 @dev_dbg(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %13) #2 ret i32 %13 } declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @temac_iow(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @temac_indirect_in32_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mii_bus", !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 = !{!"temac_local", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 0}
linux_drivers_net_ethernet_xilinx_extr_ll_temac_mdio.c_temac_mdio_read
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_sbrdsp_template.c_sbr_qmf_deint_bfly_c.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_sbrdsp_template.c_sbr_qmf_deint_bfly_c.c" target datalayout = "e-m:e-p270:32:32-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 @sbr_qmf_deint_bfly_c], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @sbr_qmf_deint_bfly_c(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { br label %4 4: ; preds = %3, %4 %5 = phi i64 [ 0, %3 ], [ %20, %4 ] %6 = getelementptr inbounds i32, ptr %1, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = and i64 %5, 4294967295 %9 = xor i64 %8, 63 %10 = getelementptr inbounds i32, ptr %2, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = sub nsw i32 %7, %11 %13 = getelementptr inbounds i32, ptr %0, i64 %5 store i32 %12, ptr %13, align 4, !tbaa !5 %14 = load i32, ptr %6, align 4, !tbaa !5 %15 = load i32, ptr %10, align 4, !tbaa !5 %16 = add nsw i32 %15, %14 %17 = and i64 %5, 4294967295 %18 = xor i64 %17, 127 %19 = getelementptr inbounds i32, ptr %0, i64 %18 store i32 %16, ptr %19, align 4, !tbaa !5 %20 = add nuw nsw i64 %5, 1 %21 = icmp eq i64 %20, 64 br i1 %21, label %22, label %4, !llvm.loop !9 22: ; preds = %4 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_sbrdsp_template.c_sbr_qmf_deint_bfly_c.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_sbrdsp_template.c_sbr_qmf_deint_bfly_c.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 @sbr_qmf_deint_bfly_c], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) define internal void @sbr_qmf_deint_bfly_c(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { br label %4 4: ; preds = %3, %4 %5 = phi i64 [ 0, %3 ], [ %18, %4 ] %6 = getelementptr inbounds i32, ptr %1, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = sub nuw nsw i64 63, %5 %9 = getelementptr inbounds i32, ptr %2, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = sub nsw i32 %7, %10 %12 = getelementptr inbounds i32, ptr %0, i64 %5 store i32 %11, ptr %12, align 4, !tbaa !6 %13 = load i32, ptr %6, align 4, !tbaa !6 %14 = load i32, ptr %9, align 4, !tbaa !6 %15 = add nsw i32 %14, %13 %16 = sub nuw nsw i64 127, %5 %17 = getelementptr inbounds i32, ptr %0, i64 %16 store i32 %15, ptr %17, align 4, !tbaa !6 %18 = add nuw nsw i64 %5, 1 %19 = icmp eq i64 %18, 64 br i1 %19, label %20, label %4, !llvm.loop !10 20: ; preds = %4 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_sbrdsp_template.c_sbr_qmf_deint_bfly_c
; ModuleID = 'AnghaBench/freebsd/contrib/serf/buckets/extr_buckets.c_serf_default_read_for_sendfile.c' source_filename = "AnghaBench/freebsd/contrib/serf/buckets/extr_buckets.c_serf_default_read_for_sendfile.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @serf_default_read_for_sendfile(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readnone %4, ptr nocapture noundef readnone %5) local_unnamed_addr #0 { %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = tail call i32 %8(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %10, i32 noundef %12, ptr noundef nonnull %9) #1 store ptr null, ptr %3, align 8, !tbaa !17 store i64 0, ptr %2, align 8, !tbaa !18 ret i32 %13 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !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_7__", !7, i64 0} !12 = !{!13, !15, i64 8} !13 = !{!"TYPE_9__", !14, i64 0, !15, i64 8, !15, i64 12} !14 = !{!"long", !8, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!13, !15, i64 12} !17 = !{!7, !7, i64 0} !18 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/serf/buckets/extr_buckets.c_serf_default_read_for_sendfile.c' source_filename = "AnghaBench/freebsd/contrib/serf/buckets/extr_buckets.c_serf_default_read_for_sendfile.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 @serf_default_read_for_sendfile(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readnone %4, ptr nocapture noundef readnone %5) local_unnamed_addr #0 { %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds i8, ptr %2, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %2, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !17 %13 = tail call i32 %8(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %10, i32 noundef %12, ptr noundef nonnull %9) #1 store ptr null, ptr %3, align 8, !tbaa !18 store i64 0, ptr %2, align 8, !tbaa !19 ret i32 %13 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !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_7__", !8, i64 0} !13 = !{!14, !16, i64 8} !14 = !{!"TYPE_9__", !15, i64 0, !16, i64 8, !16, i64 12} !15 = !{!"long", !9, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!14, !16, i64 12} !18 = !{!8, !8, i64 0} !19 = !{!14, !15, i64 0}
freebsd_contrib_serf_buckets_extr_buckets.c_serf_default_read_for_sendfile
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_LinkProgram.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_LinkProgram.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @GL_LINK_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @GLSL_PRINTLOG_PROGRAM_INFO = dso_local local_unnamed_addr global i32 0, align 4 @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @ri = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ERR_DROP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"shaders failed to link\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @GLSL_LinkProgram], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @GLSL_LinkProgram(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @qglLinkProgram(i32 noundef %0) #3 %4 = load i32, ptr @GL_LINK_STATUS, align 4, !tbaa !5 %5 = call i32 @qglGetProgramiv(i32 noundef %0, i32 noundef %4, ptr noundef nonnull %2) #3 %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i32, ptr @GLSL_PRINTLOG_PROGRAM_INFO, align 4, !tbaa !5 %10 = load i32, ptr @qfalse, align 4, !tbaa !5 %11 = call i32 @GLSL_PrintLog(i32 noundef %0, i32 noundef %9, i32 noundef %10) #3 %12 = load ptr, ptr @ri, align 8, !tbaa !9 %13 = load i32, ptr @ERR_DROP, align 4, !tbaa !5 %14 = call i32 %12(i32 noundef %13, ptr noundef nonnull @.str) #3 br label %15 15: ; preds = %8, %1 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 @qglLinkProgram(i32 noundef) local_unnamed_addr #2 declare i32 @qglGetProgramiv(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @GLSL_PrintLog(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_LinkProgram.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_LinkProgram.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @GL_LINK_STATUS = common local_unnamed_addr global i32 0, align 4 @GLSL_PRINTLOG_PROGRAM_INFO = common local_unnamed_addr global i32 0, align 4 @qfalse = common local_unnamed_addr global i32 0, align 4 @ri = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ERR_DROP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"shaders failed to link\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @GLSL_LinkProgram], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @GLSL_LinkProgram(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @qglLinkProgram(i32 noundef %0) #3 %4 = load i32, ptr @GL_LINK_STATUS, align 4, !tbaa !6 %5 = call i32 @qglGetProgramiv(i32 noundef %0, i32 noundef %4, ptr noundef nonnull %2) #3 %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i32, ptr @GLSL_PRINTLOG_PROGRAM_INFO, align 4, !tbaa !6 %10 = load i32, ptr @qfalse, align 4, !tbaa !6 %11 = call i32 @GLSL_PrintLog(i32 noundef %0, i32 noundef %9, i32 noundef %10) #3 %12 = load ptr, ptr @ri, align 8, !tbaa !10 %13 = load i32, ptr @ERR_DROP, align 4, !tbaa !6 %14 = call i32 %12(i32 noundef %13, ptr noundef nonnull @.str) #3 br label %15 15: ; preds = %8, %1 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 @qglLinkProgram(i32 noundef) local_unnamed_addr #2 declare i32 @qglGetProgramiv(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @GLSL_PrintLog(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
lab_engine_code_renderergl2_extr_tr_glsl.c_GLSL_LinkProgram
; ModuleID = 'AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_sortparents.c' source_filename = "AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_sortparents.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GREATERTHAN = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @sortparents(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) store ptr null, ptr %2, align 8, !tbaa !5 %3 = load ptr, ptr %0, align 8, !tbaa !10 %4 = icmp eq ptr %3, null br i1 %4, label %25, label %5 5: ; preds = %1, %20 %6 = phi ptr [ %24, %20 ], [ null, %1 ] %7 = phi ptr [ %8, %20 ], [ %3, %1 ] %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = icmp eq ptr %6, null br i1 %9, label %20, label %10 10: ; preds = %5, %17 %11 = phi ptr [ %18, %17 ], [ %6, %5 ] %12 = phi ptr [ %16, %17 ], [ %2, %5 ] %13 = tail call i64 @arccmp(ptr noundef nonnull %7, ptr noundef nonnull %11) #3 %14 = load i64, ptr @GREATERTHAN, align 8, !tbaa !12 %15 = icmp eq i64 %13, %14 %16 = load ptr, ptr %12, align 8, !tbaa !5 br i1 %15, label %17, label %20 17: ; preds = %10 %18 = load ptr, ptr %16, align 8, !tbaa !5 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %10, !llvm.loop !14 20: ; preds = %17, %10, %5 %21 = phi ptr [ null, %5 ], [ null, %17 ], [ %16, %10 ] %22 = phi ptr [ %2, %5 ], [ %16, %17 ], [ %12, %10 ] store ptr %21, ptr %7, align 8, !tbaa !5 store ptr %7, ptr %22, align 8, !tbaa !5 %23 = icmp eq ptr %8, null %24 = load ptr, ptr %2, align 8, !tbaa !5 br i1 %23, label %25, label %5 25: ; preds = %20, %1 %26 = phi ptr [ null, %1 ], [ %24, %20 ] store ptr %26, ptr %0, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) 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 i64 @arccmp(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 = !{!"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 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_sortparents.c' source_filename = "AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_sortparents.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GREATERTHAN = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @sortparents(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) store ptr null, ptr %2, align 8, !tbaa !6 %3 = load ptr, ptr %0, align 8, !tbaa !11 %4 = icmp eq ptr %3, null br i1 %4, label %25, label %5 5: ; preds = %1, %20 %6 = phi ptr [ %24, %20 ], [ null, %1 ] %7 = phi ptr [ %8, %20 ], [ %3, %1 ] %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = icmp eq ptr %6, null br i1 %9, label %20, label %10 10: ; preds = %5, %17 %11 = phi ptr [ %18, %17 ], [ %6, %5 ] %12 = phi ptr [ %16, %17 ], [ %2, %5 ] %13 = tail call i64 @arccmp(ptr noundef nonnull %7, ptr noundef nonnull %11) #3 %14 = load i64, ptr @GREATERTHAN, align 8, !tbaa !13 %15 = icmp eq i64 %13, %14 %16 = load ptr, ptr %12, align 8, !tbaa !6 br i1 %15, label %17, label %20 17: ; preds = %10 %18 = load ptr, ptr %16, align 8, !tbaa !6 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %10, !llvm.loop !15 20: ; preds = %17, %10, %5 %21 = phi ptr [ null, %5 ], [ null, %17 ], [ %16, %10 ] %22 = phi ptr [ %2, %5 ], [ %16, %17 ], [ %12, %10 ] store ptr %21, ptr %7, align 8, !tbaa !6 store ptr %7, ptr %22, align 8, !tbaa !6 %23 = icmp eq ptr %8, null %24 = load ptr, ptr %2, align 8, !tbaa !6 br i1 %23, label %25, label %5 25: ; preds = %20, %1 %26 = phi ptr [ null, %1 ], [ %24, %20 ] store ptr %26, ptr %0, align 8, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) 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 i64 @arccmp(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 = !{!"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 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_usr.bin_gprof_extr_printgprof.c_sortparents
; ModuleID = 'AnghaBench/linux/drivers/mtd/parsers/extr_bcm47xxpart.c_bcm47xxpart_bootpartition.c' source_filename = "AnghaBench/linux/drivers/mtd/parsers/extr_bcm47xxpart.c_bcm47xxpart_bootpartition.c" target datalayout = "e-m:e-p270:32:32-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 [14 x i8] c"bootpartition\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcm47xxpart_bootpartition], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bcm47xxpart_bootpartition() #0 { %1 = alloca [4 x i8], align 1 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i64 @bcm47xx_nvram_getenv(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef 4) #3 %4 = icmp sgt i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = call i32 @kstrtoint(ptr noundef nonnull %1, i32 noundef 0, ptr noundef nonnull %2) #3 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr %2, align 4 %9 = select i1 %7, i32 %8, i32 0 br label %10 10: ; preds = %5, %0 %11 = phi i32 [ 0, %0 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @bcm47xx_nvram_getenv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/mtd/parsers/extr_bcm47xxpart.c_bcm47xxpart_bootpartition.c' source_filename = "AnghaBench/linux/drivers/mtd/parsers/extr_bcm47xxpart.c_bcm47xxpart_bootpartition.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 [14 x i8] c"bootpartition\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bcm47xxpart_bootpartition], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bcm47xxpart_bootpartition() #0 { %1 = alloca [4 x i8], align 1 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i64 @bcm47xx_nvram_getenv(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef 4) #3 %4 = icmp sgt i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = call i32 @kstrtoint(ptr noundef nonnull %1, i32 noundef 0, ptr noundef nonnull %2) #3 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr %2, align 4 %9 = select i1 %7, i32 %8, i32 0 br label %10 10: ; preds = %5, %0 %11 = phi i32 [ 0, %0 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @bcm47xx_nvram_getenv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_mtd_parsers_extr_bcm47xxpart.c_bcm47xxpart_bootpartition
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_set_flags.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_set_flags.c" target datalayout = "e-m:e-p270:32:32-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 @gfx_ctx_ps3_set_flags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @gfx_ctx_ps3_set_flags(ptr nocapture readnone %0, i32 %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_set_flags.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_set_flags.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 @gfx_ctx_ps3_set_flags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @gfx_ctx_ps3_set_flags(ptr nocapture readnone %0, i32 %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_gfx_drivers_context_extr_ps3_ctx.c_gfx_ctx_ps3_set_flags
; ModuleID = 'AnghaBench/openwrt/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_link_adjust.c' source_filename = "AnghaBench/openwrt/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_link_adjust.c" target datalayout = "e-m:e-p270:32:32-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 @ag71xx_link_adjust(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @__ag71xx_link_adjust(ptr noundef %0, i32 noundef 1) #2 ret void } declare i32 @__ag71xx_link_adjust(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/openwrt/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_link_adjust.c' source_filename = "AnghaBench/openwrt/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_link_adjust.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 @ag71xx_link_adjust(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @__ag71xx_link_adjust(ptr noundef %0, i32 noundef 1) #2 ret void } declare i32 @__ag71xx_link_adjust(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)"}
openwrt_target_linux_ath79_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_main.c_ag71xx_link_adjust
; ModuleID = 'AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_stv.c' source_filename = "AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_stv.c" target datalayout = "e-m:e-p270:32:32-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 @stv], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @stv(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { switch i32 %0, label %5 [ i32 1, label %4 i32 2, label %4 i32 4, label %4 i32 8, label %4 ] 4: ; preds = %3, %3, %3, %3 store ptr %2, ptr %1, align 8, !tbaa !5 br label %5 5: ; preds = %4, %3 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_stv.c' source_filename = "AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_stv.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 @stv], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @stv(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { switch i32 %0, label %5 [ i32 1, label %4 i32 2, label %4 i32 4, label %4 i32 8, label %4 ] 4: ; preds = %3, %3, %3, %3 store ptr %2, ptr %1, align 8, !tbaa !6 br label %5 5: ; preds = %4, %3 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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_stand_libsa_zfs_extr_zfsimpl.c_stv
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_platform-windows.c_os_get_proc_resident_size.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_platform-windows.c_os_get_proc_resident_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @os_get_proc_resident_size() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 store i64 8, ptr %1, align 8 %2 = call i32 @os_get_proc_memory_usage_internal(ptr noundef nonnull %1) #3 %3 = icmp eq i32 %2, 0 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %5 = load i32, ptr %4, align 4 %6 = select i1 %3, i32 0, i32 %5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @os_get_proc_memory_usage_internal(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_platform-windows.c_os_get_proc_resident_size.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_platform-windows.c_os_get_proc_resident_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @os_get_proc_resident_size() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 store i64 8, ptr %1, align 8 %2 = call i32 @os_get_proc_memory_usage_internal(ptr noundef nonnull %1) #3 %3 = icmp eq i32 %2, 0 %4 = getelementptr inbounds i8, ptr %1, i64 4 %5 = load i32, ptr %4, align 4 %6 = select i1 %3, i32 0, i32 %5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @os_get_proc_memory_usage_internal(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)"}
obs-studio_libobs_util_extr_platform-windows.c_os_get_proc_resident_size
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_put_retune_mobile_enum.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_put_retune_mobile_enum.c" target datalayout = "e-m:e-p270:32:32-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.wm8994_priv = type { ptr, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8994_put_retune_mobile_enum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm8994_put_retune_mobile_enum(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2 %4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.wm8994_priv, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = tail call i32 @wm8994_get_retune_mobile_block(i32 noundef %7) #2 %9 = load ptr, ptr %1, align 8, !tbaa !14 %10 = load i32, ptr %9, align 4, !tbaa !18 %11 = icmp slt i32 %8, 0 br i1 %11, label %23, label %12 12: ; preds = %2 %13 = load i32, ptr %6, align 4, !tbaa !19 %14 = icmp slt i32 %10, %13 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load i32, ptr @EINVAL, align 4, !tbaa !18 %17 = sub nsw i32 0, %16 br label %23 18: ; preds = %12 %19 = load ptr, ptr %4, align 8, !tbaa !21 %20 = zext nneg i32 %8 to i64 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %10, ptr %21, align 4, !tbaa !18 %22 = tail call i32 @wm8994_set_retune_mobile(ptr noundef %3, i32 noundef %8) #2 br label %23 23: ; preds = %2, %18, %15 %24 = phi i32 [ %17, %15 ], [ 0, %18 ], [ %8, %2 ] ret i32 %24 } declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8994_get_retune_mobile_block(i32 noundef) local_unnamed_addr #1 declare i32 @wm8994_set_retune_mobile(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 8} !6 = !{!"wm8994_priv", !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, !13, i64 0} !11 = !{!"snd_kcontrol", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"snd_ctl_elem_value", !16, i64 0} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"TYPE_5__", !7, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"wm8994_pdata", !13, i64 0} !21 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_put_retune_mobile_enum.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_put_retune_mobile_enum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm8994_put_retune_mobile_enum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wm8994_put_retune_mobile_enum(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2 %4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = tail call i32 @wm8994_get_retune_mobile_block(i32 noundef %7) #2 %9 = load ptr, ptr %1, align 8, !tbaa !15 %10 = load i32, ptr %9, align 4, !tbaa !19 %11 = icmp slt i32 %8, 0 br i1 %11, label %23, label %12 12: ; preds = %2 %13 = load i32, ptr %6, align 4, !tbaa !20 %14 = icmp slt i32 %10, %13 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load i32, ptr @EINVAL, align 4, !tbaa !19 %17 = sub nsw i32 0, %16 br label %23 18: ; preds = %12 %19 = load ptr, ptr %4, align 8, !tbaa !22 %20 = zext nneg i32 %8 to i64 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %10, ptr %21, align 4, !tbaa !19 %22 = tail call i32 @wm8994_set_retune_mobile(ptr noundef %3, i32 noundef %8) #2 br label %23 23: ; preds = %2, %18, %15 %24 = phi i32 [ %17, %15 ], [ 0, %18 ], [ %8, %2 ] ret i32 %24 } declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8994_get_retune_mobile_block(i32 noundef) local_unnamed_addr #1 declare i32 @wm8994_set_retune_mobile(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 8} !7 = !{!"wm8994_priv", !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, !14, i64 0} !12 = !{!"snd_kcontrol", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"snd_ctl_elem_value", !17, i64 0} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"TYPE_5__", !8, i64 0} !19 = !{!14, !14, i64 0} !20 = !{!21, !14, i64 0} !21 = !{!"wm8994_pdata", !14, i64 0} !22 = !{!7, !8, i64 0}
linux_sound_soc_codecs_extr_wm8994.c_wm8994_put_retune_mobile_enum
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_common.c_bwn_phy_force_clock.c' source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_common.c_bwn_phy_force_clock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BHND_IOCTL_CLK_FORCE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [40 x i8] c"failed to set CLK_FORCE ioctl flag: %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @bwn_phy_force_clock(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @BHND_IOCTL_CLK_FORCE, align 8, !tbaa !10 %5 = icmp eq i32 %1, 0 %6 = select i1 %5, i64 0, i64 %4 %7 = load i32, ptr %3, align 4, !tbaa !12 %8 = tail call i32 @bhnd_write_ioctl(i32 noundef %7, i64 noundef %6, i64 noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %3, align 4, !tbaa !12 %12 = tail call i32 @device_printf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #2 br label %13 13: ; preds = %2, %10 ret i32 %8 } declare i32 @bhnd_write_ioctl(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bwn_mac", !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, !14, i64 0} !13 = !{!"bwn_softc", !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_common.c_bwn_phy_force_clock.c' source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_common.c_bwn_phy_force_clock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BHND_IOCTL_CLK_FORCE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [40 x i8] c"failed to set CLK_FORCE ioctl flag: %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bwn_phy_force_clock(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @BHND_IOCTL_CLK_FORCE, align 8, !tbaa !11 %5 = icmp eq i32 %1, 0 %6 = select i1 %5, i64 0, i64 %4 %7 = load i32, ptr %3, align 4, !tbaa !13 %8 = tail call i32 @bhnd_write_ioctl(i32 noundef %7, i64 noundef %6, i64 noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %3, align 4, !tbaa !13 %12 = tail call i32 @device_printf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #2 br label %13 13: ; preds = %2, %10 ret i32 %8 } declare i32 @bhnd_write_ioctl(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bwn_mac", !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, !15, i64 0} !14 = !{!"bwn_softc", !15, i64 0} !15 = !{!"int", !9, i64 0}
freebsd_sys_dev_bwn_extr_if_bwn_phy_common.c_bwn_phy_force_clock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3592_disable_crypt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3592_disable_crypt.c" target datalayout = "e-m:e-p270:32:32-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_3592_disable_crypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tape_3592_disable_crypt(ptr noundef %0) #0 { %2 = tail call ptr @__tape_3592_disable_crypt(ptr noundef %0) #2 %3 = tail call i64 @IS_ERR(ptr noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @PTR_ERR(ptr noundef %2) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @tape_do_io_free(ptr noundef %0, ptr noundef %2) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ %8, %7 ] ret i32 %10 } declare ptr @__tape_3592_disable_crypt(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io_free(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3592_disable_crypt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3592_disable_crypt.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_3592_disable_crypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tape_3592_disable_crypt(ptr noundef %0) #0 { %2 = tail call ptr @__tape_3592_disable_crypt(ptr noundef %0) #2 %3 = tail call i64 @IS_ERR(ptr noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @PTR_ERR(ptr noundef %2) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @tape_do_io_free(ptr noundef %0, ptr noundef %2) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ %8, %7 ] ret i32 %10 } declare ptr @__tape_3592_disable_crypt(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io_free(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_s390_char_extr_tape_3590.c_tape_3592_disable_crypt
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_print.c' source_filename = "AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_print.c" target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"\0Ar/c 0123456789ABCDEF\0A\00", align 1 @MATRIX_ROWS = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @matrix_print() local_unnamed_addr #0 { %1 = tail call i32 @print(ptr noundef nonnull @.str) #2 %2 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5 %3 = icmp sgt i64 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %5, %0 ret void 5: ; preds = %0, %5 %6 = phi i64 [ %12, %5 ], [ 0, %0 ] %7 = tail call i32 @phex(i64 noundef %6) #2 %8 = tail call i32 @print(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @matrix_get_row(i64 noundef %6) #2 %10 = tail call i32 @pbin_reverse16(i32 noundef %9) #2 %11 = tail call i32 @print(ptr noundef nonnull @.str.2) #2 %12 = add nuw nsw i64 %6, 1 %13 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5 %14 = icmp slt i64 %12, %13 br i1 %14, label %5, label %4, !llvm.loop !9 } declare i32 @print(ptr noundef) local_unnamed_addr #1 declare i32 @phex(i64 noundef) local_unnamed_addr #1 declare i32 @pbin_reverse16(i32 noundef) local_unnamed_addr #1 declare i32 @matrix_get_row(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_print.c' source_filename = "AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_print.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 [23 x i8] c"\0Ar/c 0123456789ABCDEF\0A\00", align 1 @MATRIX_ROWS = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @matrix_print() local_unnamed_addr #0 { %1 = tail call i32 @print(ptr noundef nonnull @.str) #2 %2 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6 %3 = icmp sgt i64 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %5, %0 ret void 5: ; preds = %0, %5 %6 = phi i64 [ %12, %5 ], [ 0, %0 ] %7 = tail call i32 @phex(i64 noundef %6) #2 %8 = tail call i32 @print(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @matrix_get_row(i64 noundef %6) #2 %10 = tail call i32 @pbin_reverse16(i32 noundef %9) #2 %11 = tail call i32 @print(ptr noundef nonnull @.str.2) #2 %12 = add nuw nsw i64 %6, 1 %13 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6 %14 = icmp slt i64 %12, %13 br i1 %14, label %5, label %4, !llvm.loop !10 } declare i32 @print(ptr noundef) local_unnamed_addr #1 declare i32 @phex(i64 noundef) local_unnamed_addr #1 declare i32 @pbin_reverse16(i32 noundef) local_unnamed_addr #1 declare i32 @matrix_get_row(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
qmk_firmware_keyboards_georgi_extr_matrix.c_matrix_print
; ModuleID = 'AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_Pack3WordsAndSkip1SwapSwapFirst.c' source_filename = "AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_Pack3WordsAndSkip1SwapSwapFirst.c" target datalayout = "e-m:e-p270:32:32-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 @Pack3WordsAndSkip1SwapSwapFirst], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal nonnull ptr @Pack3WordsAndSkip1SwapSwapFirst(i32 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, ptr nocapture readnone %4) #0 { %6 = getelementptr inbounds i32, ptr %2, i64 2 %7 = load i32, ptr %6, align 4, !tbaa !5 store i32 %7, ptr %3, align 4, !tbaa !5 %8 = getelementptr inbounds i32, ptr %3, i64 2 %9 = getelementptr inbounds i32, ptr %2, i64 1 %10 = load i32, ptr %9, align 4, !tbaa !5 store i32 %10, ptr %8, align 4, !tbaa !5 %11 = getelementptr inbounds i32, ptr %3, i64 4 %12 = load i32, ptr %2, align 4, !tbaa !5 store i32 %12, ptr %11, align 4, !tbaa !5 %13 = getelementptr inbounds i32, ptr %3, i64 8 ret ptr %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_Pack3WordsAndSkip1SwapSwapFirst.c' source_filename = "AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_Pack3WordsAndSkip1SwapSwapFirst.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 @Pack3WordsAndSkip1SwapSwapFirst], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal nonnull ptr @Pack3WordsAndSkip1SwapSwapFirst(i32 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, ptr nocapture readnone %4) #0 { %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !6 store i32 %7, ptr %3, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %3, i64 8 %9 = getelementptr inbounds i8, ptr %2, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !6 store i32 %10, ptr %8, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %3, i64 16 %12 = load i32, ptr %2, align 4, !tbaa !6 store i32 %12, ptr %11, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %3, i64 32 ret ptr %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
sumatrapdf_ext_lcms2_src_extr_cmspack.c_Pack3WordsAndSkip1SwapSwapFirst
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_g_needs_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_g_needs_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" %struct.tcm825x_sensor = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @ioctl_g_needs_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ioctl_g_needs_reset(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.tcm825x_sensor, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 %6(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %3) #1 ret i32 %7 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_int_device", !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 = !{!"tcm825x_sensor", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_g_needs_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_g_needs_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ioctl_g_needs_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ioctl_g_needs_reset(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = tail call i32 %6(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %3) #1 ret i32 %7 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_int_device", !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 = !{!"tcm825x_sensor", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_drivers_media_video_extr_tcm825x.c_ioctl_g_needs_reset
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_showdb.c_decodeInt32.c' source_filename = "AnghaBench/sqlcipher/tool/extr_showdb.c_decodeInt32.c" target datalayout = "e-m:e-p270:32:32-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 @decodeInt32], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @decodeInt32(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = zext i8 %2 to i32 %4 = shl nuw i32 %3, 24 %5 = getelementptr inbounds i8, ptr %0, i64 1 %6 = load i8, ptr %5, align 1, !tbaa !5 %7 = zext i8 %6 to i32 %8 = shl nuw nsw i32 %7, 16 %9 = or disjoint i32 %8, %4 %10 = getelementptr inbounds i8, ptr %0, i64 2 %11 = load i8, ptr %10, align 1, !tbaa !5 %12 = zext i8 %11 to i32 %13 = shl nuw nsw i32 %12, 8 %14 = or disjoint i32 %9, %13 %15 = getelementptr inbounds i8, ptr %0, i64 3 %16 = load i8, ptr %15, align 1, !tbaa !5 %17 = zext i8 %16 to i32 %18 = or disjoint i32 %14, %17 ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_showdb.c_decodeInt32.c' source_filename = "AnghaBench/sqlcipher/tool/extr_showdb.c_decodeInt32.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 @decodeInt32], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @decodeInt32(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = zext i8 %2 to i32 %4 = shl nuw i32 %3, 24 %5 = getelementptr inbounds i8, ptr %0, i64 1 %6 = load i8, ptr %5, align 1, !tbaa !6 %7 = zext i8 %6 to i32 %8 = shl nuw nsw i32 %7, 16 %9 = or disjoint i32 %8, %4 %10 = getelementptr inbounds i8, ptr %0, i64 2 %11 = load i8, ptr %10, align 1, !tbaa !6 %12 = zext i8 %11 to i32 %13 = shl nuw nsw i32 %12, 8 %14 = or disjoint i32 %9, %13 %15 = getelementptr inbounds i8, ptr %0, i64 3 %16 = load i8, ptr %15, align 1, !tbaa !6 %17 = zext i8 %16 to i32 %18 = or disjoint i32 %14, %17 ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
sqlcipher_tool_extr_showdb.c_decodeInt32
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_bitmap.c_can_clear_store.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_bitmap.c_can_clear_store.c" target datalayout = "e-m:e-p270:32:32-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.mddev = type { ptr, i64 } @ENOENT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @EBUSY = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @can_clear_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @can_clear_store(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i64, ptr @ENOENT, align 8, !tbaa !11 %8 = sub i64 0, %7 br label %29 9: ; preds = %3 %10 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 5) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !5 store i32 1, ptr %13, align 4, !tbaa !12 br label %29 14: ; preds = %9 %15 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef 4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %17 %22 = load i64, ptr @EBUSY, align 8, !tbaa !11 %23 = sub i64 0, %22 br label %29 24: ; preds = %17 %25 = load ptr, ptr %0, align 8, !tbaa !5 store i32 0, ptr %25, align 4, !tbaa !12 br label %29 26: ; preds = %14 %27 = load i64, ptr @EINVAL, align 8, !tbaa !11 %28 = sub i64 0, %27 br label %29 29: ; preds = %12, %24, %26, %21, %6 %30 = phi i64 [ %8, %6 ], [ %23, %21 ], [ %28, %26 ], [ %2, %24 ], [ %2, %12 ] ret i64 %30 } declare i64 @strncmp(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 = !{!"mddev", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_bitmap.c_can_clear_store.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_bitmap.c_can_clear_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @EBUSY = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @can_clear_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @can_clear_store(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i64, ptr @ENOENT, align 8, !tbaa !12 %8 = sub i64 0, %7 br label %29 9: ; preds = %3 %10 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 5) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !6 store i32 1, ptr %13, align 4, !tbaa !13 br label %29 14: ; preds = %9 %15 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef 4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %17 %22 = load i64, ptr @EBUSY, align 8, !tbaa !12 %23 = sub i64 0, %22 br label %29 24: ; preds = %17 %25 = load ptr, ptr %0, align 8, !tbaa !6 store i32 0, ptr %25, align 4, !tbaa !13 br label %29 26: ; preds = %14 %27 = load i64, ptr @EINVAL, align 8, !tbaa !12 %28 = sub i64 0, %27 br label %29 29: ; preds = %12, %24, %26, %21, %6 %30 = phi i64 [ %8, %6 ], [ %23, %21 ], [ %28, %26 ], [ %2, %24 ], [ %2, %12 ] ret i64 %30 } declare i64 @strncmp(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 = !{!"mddev", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_md_extr_bitmap.c_can_clear_store
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_t3_hw.c_init_link_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_t3_hw.c_init_link_config.c" target datalayout = "e-m:e-p270:32:32-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.link_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 } @SPEED_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @DUPLEX_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @PAUSE_RX = dso_local local_unnamed_addr global i32 0, align 4 @PAUSE_TX = dso_local local_unnamed_addr global i32 0, align 4 @SUPPORTED_Autoneg = dso_local local_unnamed_addr global i32 0, align 4 @AUTONEG_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @PAUSE_AUTONEG = dso_local local_unnamed_addr global i32 0, align 4 @AUTONEG_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_link_config], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @init_link_config(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { store i32 %1, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @SPEED_INVALID, align 4, !tbaa !10 %4 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 7 store i32 %3, ptr %4, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 8 store i32 %3, ptr %5, align 4, !tbaa !12 %6 = load i32, ptr @DUPLEX_INVALID, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 5 store i32 %6, ptr %7, align 4, !tbaa !13 %8 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 6 store i32 %6, ptr %8, align 4, !tbaa !14 %9 = load i32, ptr @PAUSE_RX, align 4, !tbaa !10 %10 = load i32, ptr @PAUSE_TX, align 4, !tbaa !10 %11 = or i32 %10, %9 %12 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 2 store i32 %11, ptr %12, align 4, !tbaa !15 %13 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 1 store i32 %11, ptr %13, align 4, !tbaa !16 %14 = load i32, ptr @SUPPORTED_Autoneg, align 4, !tbaa !10 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %2 %18 = load i32, ptr @AUTONEG_ENABLE, align 4, !tbaa !10 %19 = load i32, ptr @PAUSE_AUTONEG, align 4, !tbaa !10 %20 = or i32 %19, %11 store i32 %20, ptr %13, align 4, !tbaa !16 br label %23 21: ; preds = %2 %22 = load i32, ptr @AUTONEG_DISABLE, align 4, !tbaa !10 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ 0, %21 ], [ %1, %17 ] %25 = phi i32 [ %22, %21 ], [ %18, %17 ] %26 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 3 store i32 %24, ptr %26, align 4 %27 = getelementptr inbounds %struct.link_config, ptr %0, i64 0, i32 4 store i32 %25, ptr %27, align 4 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"link_config", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 28} !12 = !{!6, !7, i64 32} !13 = !{!6, !7, i64 20} !14 = !{!6, !7, i64 24} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_t3_hw.c_init_link_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_t3_hw.c_init_link_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SPEED_INVALID = common local_unnamed_addr global i32 0, align 4 @DUPLEX_INVALID = common local_unnamed_addr global i32 0, align 4 @PAUSE_RX = common local_unnamed_addr global i32 0, align 4 @PAUSE_TX = common local_unnamed_addr global i32 0, align 4 @SUPPORTED_Autoneg = common local_unnamed_addr global i32 0, align 4 @AUTONEG_ENABLE = common local_unnamed_addr global i32 0, align 4 @PAUSE_AUTONEG = common local_unnamed_addr global i32 0, align 4 @AUTONEG_DISABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_link_config], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @init_link_config(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { store i32 %1, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @SPEED_INVALID, align 4, !tbaa !11 %4 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %3, ptr %4, align 4, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %3, ptr %5, align 4, !tbaa !13 %6 = load i32, ptr @DUPLEX_INVALID, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %6, ptr %7, align 4, !tbaa !14 %8 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %6, ptr %8, align 4, !tbaa !15 %9 = load i32, ptr @PAUSE_RX, align 4, !tbaa !11 %10 = load i32, ptr @PAUSE_TX, align 4, !tbaa !11 %11 = or i32 %10, %9 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 4, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %11, ptr %13, align 4, !tbaa !17 %14 = load i32, ptr @SUPPORTED_Autoneg, align 4, !tbaa !11 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %2 %18 = load i32, ptr @AUTONEG_ENABLE, align 4, !tbaa !11 %19 = load i32, ptr @PAUSE_AUTONEG, align 4, !tbaa !11 %20 = or i32 %19, %11 store i32 %20, ptr %13, align 4, !tbaa !17 br label %23 21: ; preds = %2 %22 = load i32, ptr @AUTONEG_DISABLE, align 4, !tbaa !11 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ 0, %21 ], [ %1, %17 ] %25 = phi i32 [ %22, %21 ], [ %18, %17 ] %26 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %24, ptr %26, align 4 %27 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %25, ptr %27, align 4 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"link_config", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32} !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 28} !13 = !{!7, !8, i64 32} !14 = !{!7, !8, i64 20} !15 = !{!7, !8, i64 24} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_net_cxgb3_extr_t3_hw.c_init_link_config
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl_eri_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl_eri_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" @ERIAR_EXGMAC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl_eri_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rtl_eri_read(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ERIAR_EXGMAC, align 4, !tbaa !5 %4 = tail call i32 @_rtl_eri_read(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @_rtl_eri_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl_eri_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl_eri_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERIAR_EXGMAC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rtl_eri_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rtl_eri_read(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ERIAR_EXGMAC, align 4, !tbaa !6 %4 = tail call i32 @_rtl_eri_read(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @_rtl_eri_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_realtek_extr_r8169_main.c_rtl_eri_read
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_pcf50633-core.c_pcf50633_probe.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_pcf50633-core.c_pcf50633_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_client = type { %struct.TYPE_8__, i32 } %struct.TYPE_8__ = type { i32 } %struct.pcf50633 = type { ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr } %struct.pcf50633_platform_data = type { ptr, ptr } @.str = private unnamed_addr constant [13 x i8] c"Missing IRQ\0A\00", align 1 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @pcf50633_regmap_config = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Failed to allocate register map: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Unable to probe pcf50633\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"Probed device version %d variant %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pcf50633-input\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"pcf50633-rtc\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"pcf50633-mbc\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"pcf50633-adc\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"pcf50633-backlight\00", align 1 @PCF50633_NUM_REGULATORS = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [19 x i8] c"pcf50633-regulator\00", align 1 @pcf_attr_group = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [30 x i8] c"error creating sysfs entries\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcf50633_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pcf50633_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %9 = load i32, ptr @ENOENT, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %113 11: ; preds = %2 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 56, i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %113 18: ; preds = %11 %19 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %13) #2 %20 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 1 store ptr %0, ptr %20, align 8, !tbaa !12 %21 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 9 store ptr %3, ptr %21, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 8 %23 = tail call i32 @mutex_init(ptr noundef nonnull %22) #2 %24 = tail call i32 @devm_regmap_init_i2c(ptr noundef nonnull %0, ptr noundef nonnull @pcf50633_regmap_config) #2 %25 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 7 store i32 %24, ptr %25, align 4, !tbaa !16 %26 = tail call i64 @IS_ERR(i32 noundef %24) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %18 %29 = load i32, ptr %25, align 4, !tbaa !16 %30 = tail call i32 @PTR_ERR(i32 noundef %29) #2 %31 = load ptr, ptr %20, align 8, !tbaa !12 %32 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %31, ptr noundef nonnull @.str.1, i32 noundef %30) #2 br label %113 33: ; preds = %18 %34 = tail call i32 @pcf50633_reg_read(ptr noundef nonnull %13, i32 noundef 0) #2 %35 = tail call i32 @pcf50633_reg_read(ptr noundef nonnull %13, i32 noundef 1) #2 %36 = icmp slt i32 %34, 0 %37 = icmp slt i32 %35, 0 %38 = select i1 %36, i1 true, i1 %37 %39 = load ptr, ptr %20, align 8, !tbaa !12 br i1 %38, label %40, label %44 40: ; preds = %33 %41 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %39, ptr noundef nonnull @.str.2) #2 %42 = load i32, ptr @ENODEV, align 4, !tbaa !11 %43 = sub nsw i32 0, %42 br label %113 44: ; preds = %33 %45 = tail call i32 @dev_info(ptr noundef %39, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %35) #2 %46 = load i32, ptr %4, align 4, !tbaa !5 %47 = tail call i32 @pcf50633_irq_init(ptr noundef nonnull %13, i32 noundef %46) #2 %48 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 6 %49 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef nonnull %48) #2 %50 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 5 %51 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.5, ptr noundef nonnull %50) #2 %52 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 4 %53 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull %52) #2 %54 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 3 %55 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.7, ptr noundef nonnull %54) #2 %56 = getelementptr inbounds %struct.pcf50633, ptr %13, i64 0, i32 2 %57 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.8, ptr noundef nonnull %56) #2 %58 = load i32, ptr @PCF50633_NUM_REGULATORS, align 4, !tbaa !11 %59 = icmp sgt i32 %58, 0 br i1 %59, label %60, label %86 60: ; preds = %44 %61 = getelementptr inbounds %struct.pcf50633_platform_data, ptr %3, i64 0, i32 1 br label %62 62: ; preds = %60, %79 %63 = phi i64 [ 0, %60 ], [ %82, %79 ] %64 = trunc i64 %63 to i32 %65 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str.9, i32 noundef %64) #2 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %70 67: ; preds = %62 %68 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %69 = sub nsw i32 0, %68 br label %100 70: ; preds = %62 %71 = load ptr, ptr %20, align 8, !tbaa !12 store ptr %71, ptr %65, align 8, !tbaa !17 %72 = load ptr, ptr %61, align 8, !tbaa !20 %73 = getelementptr inbounds i32, ptr %72, i64 %63 %74 = tail call i32 @platform_device_add_data(ptr noundef nonnull %65, ptr noundef %73, i32 noundef 4) #2 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %97 76: ; preds = %70 %77 = tail call i32 @platform_device_add(ptr noundef nonnull %65) #2 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %97 79: ; preds = %76 %80 = load ptr, ptr %13, align 8, !tbaa !22 %81 = getelementptr inbounds ptr, ptr %80, i64 %63 store ptr %65, ptr %81, align 8, !tbaa !23 %82 = add nuw nsw i64 %63, 1 %83 = load i32, ptr @PCF50633_NUM_REGULATORS, align 4, !tbaa !11 %84 = sext i32 %83 to i64 %85 = icmp slt i64 %82, %84 br i1 %85, label %62, label %86, !llvm.loop !24 86: ; preds = %79, %44 %87 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @pcf_attr_group) #2 %88 = icmp eq i32 %87, 0 br i1 %88, label %92, label %89 89: ; preds = %86 %90 = load ptr, ptr %20, align 8, !tbaa !12 %91 = tail call i32 @dev_warn(ptr noundef %90, ptr noundef nonnull @.str.10) #2 br label %92 92: ; preds = %89, %86 %93 = load ptr, ptr %3, align 8, !tbaa !26 %94 = icmp eq ptr %93, null br i1 %94, label %113, label %95 95: ; preds = %92 %96 = tail call i32 %93(ptr noundef nonnull %13) #2 br label %113 97: ; preds = %76, %70 %98 = phi i32 [ %74, %70 ], [ %77, %76 ] %99 = tail call i32 @platform_device_put(ptr noundef nonnull %65) #2 br label %100 100: ; preds = %97, %67 %101 = phi i32 [ %98, %97 ], [ %69, %67 ] %102 = icmp eq i32 %64, 0 br i1 %102, label %113, label %103 103: ; preds = %100 %104 = and i64 %63, 4294967295 br label %105 105: ; preds = %103, %105 %106 = phi i64 [ 0, %103 ], [ %111, %105 ] %107 = load ptr, ptr %13, align 8, !tbaa !22 %108 = getelementptr inbounds ptr, ptr %107, i64 %106 %109 = load ptr, ptr %108, align 8, !tbaa !23 %110 = tail call i32 @platform_device_put(ptr noundef %109) #2 %111 = add nuw nsw i64 %106, 1 %112 = icmp eq i64 %111, %104 br i1 %112, label %113, label %105, !llvm.loop !27 113: ; preds = %105, %100, %92, %95, %40, %28, %15, %7 %114 = phi i32 [ %30, %28 ], [ %43, %40 ], [ %17, %15 ], [ %10, %7 ], [ 0, %95 ], [ 0, %92 ], [ %101, %100 ], [ %101, %105 ] ret i32 %114 } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_irq_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_client_dev_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 4} !6 = !{!"i2c_client", !7, i64 0, !8, i64 4} !7 = !{!"TYPE_8__", !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 8} !13 = !{!"pcf50633", !14, i64 0, !14, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !14, i64 48} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !14, i64 48} !16 = !{!13, !8, i64 36} !17 = !{!18, !14, i64 0} !18 = !{!"platform_device", !19, i64 0} !19 = !{!"TYPE_7__", !14, i64 0} !20 = !{!21, !14, i64 8} !21 = !{!"pcf50633_platform_data", !14, i64 0, !14, i64 8} !22 = !{!13, !14, i64 0} !23 = !{!14, !14, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!21, !14, i64 0} !27 = distinct !{!27, !25}
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_pcf50633-core.c_pcf50633_probe.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_pcf50633-core.c_pcf50633_probe.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"Missing IRQ\0A\00", align 1 @ENOENT = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @pcf50633_regmap_config = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Failed to allocate register map: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Unable to probe pcf50633\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"Probed device version %d variant %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pcf50633-input\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"pcf50633-rtc\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"pcf50633-mbc\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"pcf50633-adc\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"pcf50633-backlight\00", align 1 @PCF50633_NUM_REGULATORS = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [19 x i8] c"pcf50633-regulator\00", align 1 @pcf_attr_group = common global i32 0, align 4 @.str.10 = private unnamed_addr constant [30 x i8] c"error creating sysfs entries\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pcf50633_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pcf50633_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %9 = load i32, ptr @ENOENT, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 br label %113 11: ; preds = %2 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 56, i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %113 18: ; preds = %11 %19 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %13) #2 %20 = getelementptr inbounds i8, ptr %13, i64 8 store ptr %0, ptr %20, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %13, i64 48 store ptr %3, ptr %21, align 8, !tbaa !16 %22 = getelementptr inbounds i8, ptr %13, i64 40 %23 = tail call i32 @mutex_init(ptr noundef nonnull %22) #2 %24 = tail call i32 @devm_regmap_init_i2c(ptr noundef nonnull %0, ptr noundef nonnull @pcf50633_regmap_config) #2 %25 = getelementptr inbounds i8, ptr %13, i64 36 store i32 %24, ptr %25, align 4, !tbaa !17 %26 = tail call i64 @IS_ERR(i32 noundef %24) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %18 %29 = load i32, ptr %25, align 4, !tbaa !17 %30 = tail call i32 @PTR_ERR(i32 noundef %29) #2 %31 = load ptr, ptr %20, align 8, !tbaa !13 %32 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %31, ptr noundef nonnull @.str.1, i32 noundef %30) #2 br label %113 33: ; preds = %18 %34 = tail call i32 @pcf50633_reg_read(ptr noundef nonnull %13, i32 noundef 0) #2 %35 = tail call i32 @pcf50633_reg_read(ptr noundef nonnull %13, i32 noundef 1) #2 %36 = icmp slt i32 %34, 0 %37 = icmp slt i32 %35, 0 %38 = select i1 %36, i1 true, i1 %37 %39 = load ptr, ptr %20, align 8, !tbaa !13 br i1 %38, label %40, label %44 40: ; preds = %33 %41 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %39, ptr noundef nonnull @.str.2) #2 %42 = load i32, ptr @ENODEV, align 4, !tbaa !12 %43 = sub nsw i32 0, %42 br label %113 44: ; preds = %33 %45 = tail call i32 @dev_info(ptr noundef %39, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %35) #2 %46 = load i32, ptr %4, align 4, !tbaa !6 %47 = tail call i32 @pcf50633_irq_init(ptr noundef nonnull %13, i32 noundef %46) #2 %48 = getelementptr inbounds i8, ptr %13, i64 32 %49 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef nonnull %48) #2 %50 = getelementptr inbounds i8, ptr %13, i64 28 %51 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.5, ptr noundef nonnull %50) #2 %52 = getelementptr inbounds i8, ptr %13, i64 24 %53 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull %52) #2 %54 = getelementptr inbounds i8, ptr %13, i64 20 %55 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.7, ptr noundef nonnull %54) #2 %56 = getelementptr inbounds i8, ptr %13, i64 16 %57 = tail call i32 @pcf50633_client_dev_register(ptr noundef nonnull %13, ptr noundef nonnull @.str.8, ptr noundef nonnull %56) #2 %58 = load i32, ptr @PCF50633_NUM_REGULATORS, align 4, !tbaa !12 %59 = icmp sgt i32 %58, 0 br i1 %59, label %60, label %86 60: ; preds = %44 %61 = getelementptr inbounds i8, ptr %3, i64 8 br label %62 62: ; preds = %60, %79 %63 = phi i64 [ 0, %60 ], [ %82, %79 ] %64 = trunc nuw nsw i64 %63 to i32 %65 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str.9, i32 noundef %64) #2 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %70 67: ; preds = %62 %68 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %69 = sub nsw i32 0, %68 br label %100 70: ; preds = %62 %71 = load ptr, ptr %20, align 8, !tbaa !13 store ptr %71, ptr %65, align 8, !tbaa !18 %72 = load ptr, ptr %61, align 8, !tbaa !21 %73 = getelementptr inbounds i32, ptr %72, i64 %63 %74 = tail call i32 @platform_device_add_data(ptr noundef nonnull %65, ptr noundef %73, i32 noundef 4) #2 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %97 76: ; preds = %70 %77 = tail call i32 @platform_device_add(ptr noundef nonnull %65) #2 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %97 79: ; preds = %76 %80 = load ptr, ptr %13, align 8, !tbaa !23 %81 = getelementptr inbounds ptr, ptr %80, i64 %63 store ptr %65, ptr %81, align 8, !tbaa !24 %82 = add nuw nsw i64 %63, 1 %83 = load i32, ptr @PCF50633_NUM_REGULATORS, align 4, !tbaa !12 %84 = sext i32 %83 to i64 %85 = icmp slt i64 %82, %84 br i1 %85, label %62, label %86, !llvm.loop !25 86: ; preds = %79, %44 %87 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @pcf_attr_group) #2 %88 = icmp eq i32 %87, 0 br i1 %88, label %92, label %89 89: ; preds = %86 %90 = load ptr, ptr %20, align 8, !tbaa !13 %91 = tail call i32 @dev_warn(ptr noundef %90, ptr noundef nonnull @.str.10) #2 br label %92 92: ; preds = %89, %86 %93 = load ptr, ptr %3, align 8, !tbaa !27 %94 = icmp eq ptr %93, null br i1 %94, label %113, label %95 95: ; preds = %92 %96 = tail call i32 %93(ptr noundef nonnull %13) #2 br label %113 97: ; preds = %76, %70 %98 = phi i32 [ %74, %70 ], [ %77, %76 ] %99 = tail call i32 @platform_device_put(ptr noundef nonnull %65) #2 br label %100 100: ; preds = %97, %67 %101 = phi i32 [ %98, %97 ], [ %69, %67 ] %102 = icmp eq i64 %63, 0 br i1 %102, label %113, label %103 103: ; preds = %100 %104 = and i64 %63, 4294967295 br label %105 105: ; preds = %103, %105 %106 = phi i64 [ 0, %103 ], [ %111, %105 ] %107 = load ptr, ptr %13, align 8, !tbaa !23 %108 = getelementptr inbounds ptr, ptr %107, i64 %106 %109 = load ptr, ptr %108, align 8, !tbaa !24 %110 = tail call i32 @platform_device_put(ptr noundef %109) #2 %111 = add nuw nsw i64 %106, 1 %112 = icmp eq i64 %111, %104 br i1 %112, label %113, label %105, !llvm.loop !28 113: ; preds = %105, %100, %92, %95, %40, %28, %15, %7 %114 = phi i32 [ %30, %28 ], [ %43, %40 ], [ %17, %15 ], [ %10, %7 ], [ 0, %95 ], [ 0, %92 ], [ %101, %100 ], [ %101, %105 ] ret i32 %114 } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_irq_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcf50633_client_dev_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 4} !7 = !{!"i2c_client", !8, i64 0, !9, i64 4} !8 = !{!"TYPE_8__", !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 8} !14 = !{!"pcf50633", !15, i64 0, !15, i64 8, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !15, i64 48} !15 = !{!"any pointer", !10, i64 0} !16 = !{!14, !15, i64 48} !17 = !{!14, !9, i64 36} !18 = !{!19, !15, i64 0} !19 = !{!"platform_device", !20, i64 0} !20 = !{!"TYPE_7__", !15, i64 0} !21 = !{!22, !15, i64 8} !22 = !{!"pcf50633_platform_data", !15, i64 0, !15, i64 8} !23 = !{!14, !15, i64 0} !24 = !{!15, !15, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!22, !15, i64 0} !28 = distinct !{!28, !26}
linux_drivers_mfd_extr_pcf50633-core.c_pcf50633_probe
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_statistics_show.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_statistics_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @sdebug_statistics = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @statistics_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @statistics_show(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %4 = load i64, ptr @sdebug_statistics, align 8, !tbaa !9 %5 = trunc i64 %4 to i32 %6 = tail call i32 @scnprintf(ptr noundef %1, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_statistics_show.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_statistics_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @sdebug_statistics = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @statistics_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @statistics_show(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %4 = load i64, ptr @sdebug_statistics, align 8, !tbaa !10 %5 = trunc i64 %4 to i32 %6 = tail call i32 @scnprintf(ptr noundef %1, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
linux_drivers_scsi_extr_scsi_debug.c_statistics_show
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_in.c_in_scrubprefixlle.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_in.c_in_scrubprefixlle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32 } %struct.in_ifaddr = type { %struct.TYPE_6__, ptr, i32 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @AF_INET = dso_local local_unnamed_addr global ptr null, align 8 @LLE_IFADDR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @in_scrubprefixlle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @in_scrubprefixlle(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.sockaddr_in, align 8 %5 = alloca %struct.sockaddr_in, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 %6 = call i32 @bzero(ptr noundef nonnull %4, i32 noundef 16) #4 store i32 16, ptr %4, align 8, !tbaa !5 %7 = load ptr, ptr @AF_INET, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 2 store ptr %7, ptr %8, align 8, !tbaa !13 %9 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 16) #4 store i32 16, ptr %5, align 8, !tbaa !5 %10 = load ptr, ptr @AF_INET, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 2 store ptr %10, ptr %11, align 8, !tbaa !13 %12 = getelementptr inbounds %struct.in_ifaddr, ptr %0, i64 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 1 store i32 %13, ptr %14, align 4, !tbaa !18 %15 = icmp eq i32 %1, 0 br i1 %15, label %21, label %16 16: ; preds = %3 %17 = load i32, ptr %0, align 8, !tbaa !19 %18 = call i32 @ntohl(i32 noundef %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 1 store i32 %18, ptr %19, align 4, !tbaa !18 %20 = call i32 @lltable_prefix_free(ptr noundef %10, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %2) #4 br label %29 21: ; preds = %3 %22 = getelementptr inbounds %struct.in_ifaddr, ptr %0, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !20 %24 = load i32, ptr %0, align 8, !tbaa !19 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 1 store i32 %24, ptr %25, align 4, !tbaa !18 %26 = call i32 @LLTABLE(ptr noundef %23) #4 %27 = load i32, ptr @LLE_IFADDR, align 4, !tbaa !21 %28 = call i32 @lltable_delete_addr(i32 noundef %26, i32 noundef %27, ptr noundef nonnull %4) #4 br label %29 29: ; preds = %21, %16 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #3 declare i32 @lltable_prefix_free(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lltable_delete_addr(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LLTABLE(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 = { nofree nosync nounwind memory(none) "no-trapping-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, !7, i64 0} !6 = !{!"sockaddr_in", !7, i64 0, !10, i64 4, !11, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !7, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !11, i64 8} !14 = !{!15, !7, i64 16} !15 = !{!"in_ifaddr", !16, i64 0, !11, i64 8, !7, i64 16} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"TYPE_5__", !7, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!15, !7, i64 0} !20 = !{!15, !11, i64 8} !21 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_in.c_in_scrubprefixlle.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_in.c_in_scrubprefixlle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { i32, %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32 } @AF_INET = common local_unnamed_addr global ptr null, align 8 @LLE_IFADDR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @in_scrubprefixlle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @in_scrubprefixlle(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.sockaddr_in, align 8 %5 = alloca %struct.sockaddr_in, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 %6 = call i32 @bzero(ptr noundef nonnull %4, i32 noundef 16) #4 store i32 16, ptr %4, align 8, !tbaa !6 %7 = load ptr, ptr @AF_INET, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %7, ptr %8, align 8, !tbaa !14 %9 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 16) #4 store i32 16, ptr %5, align 8, !tbaa !6 %10 = load ptr, ptr @AF_INET, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %10, ptr %11, align 8, !tbaa !14 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %13, ptr %14, align 4, !tbaa !19 %15 = icmp eq i32 %1, 0 br i1 %15, label %21, label %16 16: ; preds = %3 %17 = load i32, ptr %0, align 8, !tbaa !20 %18 = call i32 @ntohl(i32 noundef %17) %19 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %18, ptr %19, align 4, !tbaa !19 %20 = call i32 @lltable_prefix_free(ptr noundef %10, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %2) #4 br label %29 21: ; preds = %3 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !21 %24 = load i32, ptr %0, align 8, !tbaa !20 %25 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %24, ptr %25, align 4, !tbaa !19 %26 = call i32 @LLTABLE(ptr noundef %23) #4 %27 = load i32, ptr @LLE_IFADDR, align 4, !tbaa !22 %28 = call i32 @lltable_delete_addr(i32 noundef %26, i32 noundef %27, ptr noundef nonnull %4) #4 br label %29 29: ; preds = %21, %16 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #3 declare i32 @lltable_prefix_free(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lltable_delete_addr(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LLTABLE(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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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, !8, i64 0} !7 = !{!"sockaddr_in", !8, i64 0, !11, i64 4, !12, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !12, i64 8} !15 = !{!16, !8, i64 16} !16 = !{!"in_ifaddr", !17, i64 0, !12, i64 8, !8, i64 16} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"TYPE_5__", !8, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!16, !8, i64 0} !21 = !{!16, !12, i64 8} !22 = !{!8, !8, i64 0}
freebsd_sys_netinet_extr_in.c_in_scrubprefixlle
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_auth.c_rpcauth_invalcred.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_auth.c_rpcauth_invalcred.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RPCAUTH_CRED_UPTODATE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rpcauth_invalcred(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @RPCAUTH_CRED_UPTODATE, align 4, !tbaa !12 %7 = tail call i32 @clear_bit(i32 noundef %6, ptr noundef nonnull %3) #2 br label %8 8: ; preds = %5, %1 ret void } declare i32 @clear_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 0} !6 = !{!"rpc_task", !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/linux/net/sunrpc/extr_auth.c_rpcauth_invalcred.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_auth.c_rpcauth_invalcred.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RPCAUTH_CRED_UPTODATE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rpcauth_invalcred(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @RPCAUTH_CRED_UPTODATE, align 4, !tbaa !13 %7 = tail call i32 @clear_bit(i32 noundef %6, ptr noundef nonnull %3) #2 br label %8 8: ; preds = %5, %1 ret void } declare i32 @clear_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 0} !7 = !{!"rpc_task", !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}
linux_net_sunrpc_extr_auth.c_rpcauth_invalcred
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainPreScanNode.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainPreScanNode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ExplainPreScanNode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ExplainPreScanNode(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @nodeTag(ptr noundef %3) #2 switch i32 %4, label %28 [ i32 133, label %5 i32 134, label %5 i32 137, label %5 i32 138, label %5 i32 143, label %5 i32 130, label %5 i32 132, label %5 i32 139, label %5 i32 131, label %5 i32 129, label %5 i32 142, label %5 i32 135, label %5 i32 128, label %5 i32 140, label %9 i32 141, label %13 i32 136, label %17 ] 5: ; preds = %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2 %6 = load ptr, ptr %1, align 8, !tbaa !10 %7 = load i32, ptr %3, align 4, !tbaa !11 %8 = tail call ptr @bms_add_member(ptr noundef %6, i32 noundef %7) #2 br label %26 9: ; preds = %2 %10 = load ptr, ptr %1, align 8, !tbaa !10 %11 = load i32, ptr %3, align 4, !tbaa !14 %12 = tail call ptr @bms_add_members(ptr noundef %10, i32 noundef %11) #2 br label %26 13: ; preds = %2 %14 = load ptr, ptr %1, align 8, !tbaa !10 %15 = load i32, ptr %3, align 4, !tbaa !16 %16 = tail call ptr @bms_add_members(ptr noundef %14, i32 noundef %15) #2 br label %26 17: ; preds = %2 %18 = load ptr, ptr %1, align 8, !tbaa !10 %19 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = tail call ptr @bms_add_member(ptr noundef %18, i32 noundef %20) #2 store ptr %21, ptr %1, align 8, !tbaa !10 %22 = load i32, ptr %3, align 4, !tbaa !20 %23 = icmp eq i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %17 %25 = tail call ptr @bms_add_member(ptr noundef %21, i32 noundef %22) #2 br label %26 26: ; preds = %5, %9, %13, %24 %27 = phi ptr [ %25, %24 ], [ %16, %13 ], [ %12, %9 ], [ %8, %5 ] store ptr %27, ptr %1, align 8, !tbaa !10 br label %28 28: ; preds = %26, %2, %17 %29 = tail call i32 @planstate_tree_walker(ptr noundef nonnull %0, ptr noundef nonnull @ExplainPreScanNode, ptr noundef %1) #2 ret i32 %29 } declare i32 @nodeTag(ptr noundef) local_unnamed_addr #1 declare ptr @bms_add_member(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bms_add_members(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @planstate_tree_walker(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_10__", !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 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_12__", !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_13__", !13, i64 0} !18 = !{!19, !13, i64 4} !19 = !{!"TYPE_11__", !13, i64 0, !13, i64 4} !20 = !{!19, !13, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainPreScanNode.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainPreScanNode.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 @ExplainPreScanNode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ExplainPreScanNode(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @nodeTag(ptr noundef %3) #2 switch i32 %4, label %28 [ i32 133, label %5 i32 134, label %5 i32 137, label %5 i32 138, label %5 i32 143, label %5 i32 130, label %5 i32 132, label %5 i32 139, label %5 i32 131, label %5 i32 129, label %5 i32 142, label %5 i32 135, label %5 i32 128, label %5 i32 140, label %9 i32 141, label %13 i32 136, label %17 ] 5: ; preds = %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2 %6 = load ptr, ptr %1, align 8, !tbaa !11 %7 = load i32, ptr %3, align 4, !tbaa !12 %8 = tail call ptr @bms_add_member(ptr noundef %6, i32 noundef %7) #2 br label %26 9: ; preds = %2 %10 = load ptr, ptr %1, align 8, !tbaa !11 %11 = load i32, ptr %3, align 4, !tbaa !15 %12 = tail call ptr @bms_add_members(ptr noundef %10, i32 noundef %11) #2 br label %26 13: ; preds = %2 %14 = load ptr, ptr %1, align 8, !tbaa !11 %15 = load i32, ptr %3, align 4, !tbaa !17 %16 = tail call ptr @bms_add_members(ptr noundef %14, i32 noundef %15) #2 br label %26 17: ; preds = %2 %18 = load ptr, ptr %1, align 8, !tbaa !11 %19 = getelementptr inbounds i8, ptr %3, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call ptr @bms_add_member(ptr noundef %18, i32 noundef %20) #2 store ptr %21, ptr %1, align 8, !tbaa !11 %22 = load i32, ptr %3, align 4, !tbaa !21 %23 = icmp eq i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %17 %25 = tail call ptr @bms_add_member(ptr noundef %21, i32 noundef %22) #2 br label %26 26: ; preds = %5, %9, %13, %24 %27 = phi ptr [ %25, %24 ], [ %16, %13 ], [ %12, %9 ], [ %8, %5 ] store ptr %27, ptr %1, align 8, !tbaa !11 br label %28 28: ; preds = %26, %2, %17 %29 = tail call i32 @planstate_tree_walker(ptr noundef nonnull %0, ptr noundef nonnull @ExplainPreScanNode, ptr noundef %1) #2 ret i32 %29 } declare i32 @nodeTag(ptr noundef) local_unnamed_addr #1 declare ptr @bms_add_member(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bms_add_members(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @planstate_tree_walker(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_10__", !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 = !{!"TYPE_9__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_12__", !14, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_13__", !14, i64 0} !19 = !{!20, !14, i64 4} !20 = !{!"TYPE_11__", !14, i64 0, !14, i64 4} !21 = !{!20, !14, i64 0}
postgres_src_backend_commands_extr_explain.c_ExplainPreScanNode
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_tegra-gart.c_gart_iommu_domain_alloc.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_tegra-gart.c_gart_iommu_domain_alloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32 } %struct.TYPE_3__ = type { i32, i64, i32 } @IOMMU_DOMAIN_UNMANAGED = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @gart_handle = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gart_iommu_domain_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @gart_iommu_domain_alloc(i32 noundef %0) #0 { %2 = load i32, ptr @IOMMU_DOMAIN_UNMANAGED, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 br i1 %3, label %4, label %16 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %16, label %8 8: ; preds = %4 %9 = load ptr, ptr @gart_handle, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !14 %13 = load i64, ptr %9, align 8, !tbaa !17 %14 = add nsw i64 %13, -1 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1 store i64 %14, ptr %15, align 8, !tbaa !18 store i32 1, ptr %6, align 8, !tbaa !19 br label %16 16: ; preds = %4, %8, %1 %17 = phi ptr [ null, %1 ], [ %6, %8 ], [ null, %4 ] ret ptr %17 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"TYPE_4__", !13, i64 0, !6, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!15, !6, i64 16} !15 = !{!"iommu_domain", !16, i64 0} !16 = !{!"TYPE_3__", !6, i64 0, !13, i64 8, !6, i64 16} !17 = !{!12, !13, i64 0} !18 = !{!15, !13, i64 8} !19 = !{!15, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_tegra-gart.c_gart_iommu_domain_alloc.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_tegra-gart.c_gart_iommu_domain_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IOMMU_DOMAIN_UNMANAGED = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @gart_handle = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @gart_iommu_domain_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @gart_iommu_domain_alloc(i32 noundef %0) #0 { %2 = load i32, ptr @IOMMU_DOMAIN_UNMANAGED, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 br i1 %3, label %4, label %16 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %16, label %8 8: ; preds = %4 %9 = load ptr, ptr @gart_handle, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = getelementptr inbounds i8, ptr %6, i64 16 store i32 %11, ptr %12, align 8, !tbaa !15 %13 = load i64, ptr %9, align 8, !tbaa !18 %14 = add nsw i64 %13, -1 %15 = getelementptr inbounds i8, ptr %6, i64 8 store i64 %14, ptr %15, align 8, !tbaa !19 store i32 1, ptr %6, align 8, !tbaa !20 br label %16 16: ; preds = %4, %8, %1 %17 = phi ptr [ null, %1 ], [ %6, %8 ], [ null, %4 ] ret ptr %17 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_4__", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 16} !16 = !{!"iommu_domain", !17, i64 0} !17 = !{!"TYPE_3__", !7, i64 0, !14, i64 8, !7, i64 16} !18 = !{!13, !14, i64 0} !19 = !{!16, !14, i64 8} !20 = !{!16, !7, i64 0}
linux_drivers_iommu_extr_tegra-gart.c_gart_iommu_domain_alloc
; ModuleID = 'AnghaBench/linux/fs/squashfs/extr_fragment.c_squashfs_frag_lookup.c' source_filename = "AnghaBench/linux/fs/squashfs/extr_fragment.c_squashfs_frag_lookup.c" target datalayout = "e-m:e-p270:32:32-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.squashfs_fragment_entry = type { i32, i32 } %struct.squashfs_sb_info = type { i32, ptr } @EIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @squashfs_frag_lookup(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca %struct.squashfs_fragment_entry, align 4 %6 = alloca i32, align 4 %7 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = icmp ugt i32 %8, %1 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EIO, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 br label %30 13: ; preds = %3 %14 = tail call i32 @SQUASHFS_FRAGMENT_INDEX(i32 noundef %1) #3 %15 = tail call i32 @SQUASHFS_FRAGMENT_INDEX_OFFSET(i32 noundef %1) #3 store i32 %15, ptr %4, align 4, !tbaa !13 %16 = getelementptr inbounds %struct.squashfs_sb_info, ptr %7, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = sext i32 %14 to i64 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i32 @le64_to_cpu(i32 noundef %20) #3 store i32 %21, ptr %6, align 4, !tbaa !13 %22 = call i32 @squashfs_read_metadata(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef 8) #3 %23 = icmp slt i32 %22, 0 br i1 %23, label %30, label %24 24: ; preds = %13 %25 = getelementptr inbounds %struct.squashfs_fragment_entry, ptr %5, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !15 %27 = call i32 @le64_to_cpu(i32 noundef %26) #3 store i32 %27, ptr %2, align 4, !tbaa !13 %28 = load i32, ptr %5, align 4, !tbaa !17 %29 = call i32 @squashfs_block_size(i32 noundef %28) #3 br label %30 30: ; preds = %13, %24, %10 %31 = phi i32 [ %12, %10 ], [ %29, %24 ], [ %22, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SQUASHFS_FRAGMENT_INDEX(i32 noundef) local_unnamed_addr #2 declare i32 @SQUASHFS_FRAGMENT_INDEX_OFFSET(i32 noundef) local_unnamed_addr #2 declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @squashfs_read_metadata(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @squashfs_block_size(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 = !{!"super_block", !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 = !{!"squashfs_sb_info", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!16, !12, i64 4} !16 = !{!"squashfs_fragment_entry", !12, i64 0, !12, i64 4} !17 = !{!16, !12, i64 0}
; ModuleID = 'AnghaBench/linux/fs/squashfs/extr_fragment.c_squashfs_frag_lookup.c' source_filename = "AnghaBench/linux/fs/squashfs/extr_fragment.c_squashfs_frag_lookup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.squashfs_fragment_entry = type { i32, i32 } @EIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @squashfs_frag_lookup(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca %struct.squashfs_fragment_entry, align 4 %6 = alloca i32, align 4 %7 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = icmp ugt i32 %8, %1 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EIO, align 4, !tbaa !14 %12 = sub nsw i32 0, %11 br label %30 13: ; preds = %3 %14 = tail call i32 @SQUASHFS_FRAGMENT_INDEX(i32 noundef %1) #3 %15 = tail call i32 @SQUASHFS_FRAGMENT_INDEX_OFFSET(i32 noundef %1) #3 store i32 %15, ptr %4, align 4, !tbaa !14 %16 = getelementptr inbounds i8, ptr %7, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = sext i32 %14 to i64 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = tail call i32 @le64_to_cpu(i32 noundef %20) #3 store i32 %21, ptr %6, align 4, !tbaa !14 %22 = call i32 @squashfs_read_metadata(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef 8) #3 %23 = icmp slt i32 %22, 0 br i1 %23, label %30, label %24 24: ; preds = %13 %25 = getelementptr inbounds i8, ptr %5, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = call i32 @le64_to_cpu(i32 noundef %26) #3 store i32 %27, ptr %2, align 4, !tbaa !14 %28 = load i32, ptr %5, align 4, !tbaa !18 %29 = call i32 @squashfs_block_size(i32 noundef %28) #3 br label %30 30: ; preds = %13, %24, %10 %31 = phi i32 [ %12, %10 ], [ %29, %24 ], [ %22, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SQUASHFS_FRAGMENT_INDEX(i32 noundef) local_unnamed_addr #2 declare i32 @SQUASHFS_FRAGMENT_INDEX_OFFSET(i32 noundef) local_unnamed_addr #2 declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @squashfs_read_metadata(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @squashfs_block_size(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 = !{!"super_block", !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 = !{!"squashfs_sb_info", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !8, i64 8} !16 = !{!17, !13, i64 4} !17 = !{!"squashfs_fragment_entry", !13, i64 0, !13, i64 4} !18 = !{!17, !13, i64 0}
linux_fs_squashfs_extr_fragment.c_squashfs_frag_lookup
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_19086.c_Fgets.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_19086.c_Fgets.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree nounwind uwtable define dso_local noundef ptr @Fgets(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @fgets(ptr noundef %0, i32 noundef %1, ptr noundef %2) ret ptr %4 } ; Function Attrs: nofree nounwind declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/exploitdb/exploits/linux/remote/extr_19086.c_Fgets.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_19086.c_Fgets.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree nounwind ssp uwtable(sync) define noundef ptr @Fgets(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @fgets(ptr noundef %0, i32 noundef %1, ptr noundef %2) ret ptr %4 } ; Function Attrs: nofree nounwind declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
exploitdb_exploits_linux_remote_extr_19086.c_Fgets
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_mac.c_zd_mac_free_cur_beacon.c' source_filename = "AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_mac.c_zd_mac_free_cur_beacon.c" target datalayout = "e-m:e-p270:32:32-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 @zd_mac_free_cur_beacon], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @zd_mac_free_cur_beacon(ptr noundef %0) #0 { %2 = tail call i32 @mutex_lock(ptr noundef %0) #2 %3 = tail call i32 @zd_mac_free_cur_beacon_locked(ptr noundef %0) #2 %4 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @zd_mac_free_cur_beacon_locked(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)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_mac.c_zd_mac_free_cur_beacon.c' source_filename = "AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_mac.c_zd_mac_free_cur_beacon.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 @zd_mac_free_cur_beacon], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @zd_mac_free_cur_beacon(ptr noundef %0) #0 { %2 = tail call i32 @mutex_lock(ptr noundef %0) #2 %3 = tail call i32 @zd_mac_free_cur_beacon_locked(ptr noundef %0) #2 %4 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @zd_mac_free_cur_beacon_locked(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)"}
linux_drivers_net_wireless_zydas_zd1211rw_extr_zd_mac.c_zd_mac_free_cur_beacon
; ModuleID = 'AnghaBench/linux/drivers/net/extr_sb1000.c_sb1000_remove_one.c' source_filename = "AnghaBench/linux/drivers/net/extr_sb1000.c_sb1000_remove_one.c" target datalayout = "e-m:e-p270:32:32-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.net_device = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @sb1000_remove_one], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sb1000_remove_one(ptr noundef %0) #0 { %2 = tail call ptr @pnp_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @unregister_netdev(ptr noundef %2) #2 %4 = getelementptr inbounds %struct.net_device, ptr %2, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @release_region(i32 noundef %5, i32 noundef 16) #2 %7 = load i32, ptr %2, align 4, !tbaa !10 %8 = tail call i32 @release_region(i32 noundef %7, i32 noundef 16) #2 %9 = tail call i32 @free_netdev(ptr noundef nonnull %2) #2 ret void } declare ptr @pnp_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_netdev(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 = !{!"net_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_sb1000.c_sb1000_remove_one.c' source_filename = "AnghaBench/linux/drivers/net/extr_sb1000.c_sb1000_remove_one.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 @sb1000_remove_one], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sb1000_remove_one(ptr noundef %0) #0 { %2 = tail call ptr @pnp_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @unregister_netdev(ptr noundef %2) #2 %4 = getelementptr inbounds i8, ptr %2, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @release_region(i32 noundef %5, i32 noundef 16) #2 %7 = load i32, ptr %2, align 4, !tbaa !11 %8 = tail call i32 @release_region(i32 noundef %7, i32 noundef 16) #2 %9 = tail call i32 @free_netdev(ptr noundef nonnull %2) #2 ret void } declare ptr @pnp_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_netdev(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 = !{!"net_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_drivers_net_extr_sb1000.c_sb1000_remove_one
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_kgd_address_watch_execute.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_kgd_address_watch_execute.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @watchRegs = dso_local local_unnamed_addr global ptr null, align 8 @ADDRESS_WATCH_REG_MAX = dso_local local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_CNTL = dso_local local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_ADDR_HI = dso_local local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_ADDR_LO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kgd_address_watch_execute], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @kgd_address_watch_execute(ptr noundef %0, i32 noundef %1, i32 %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2 %7 = load ptr, ptr @watchRegs, align 8, !tbaa !5 %8 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !9 %9 = mul i32 %8, %1 %10 = load i32, ptr @ADDRESS_WATCH_REG_CNTL, align 4, !tbaa !9 %11 = add i32 %9, %10 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %7, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = tail call i32 @WREG32(i32 noundef %14, i32 noundef 0) #2 %16 = load ptr, ptr @watchRegs, align 8, !tbaa !5 %17 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !9 %18 = mul i32 %17, %1 %19 = load i32, ptr @ADDRESS_WATCH_REG_ADDR_HI, align 4, !tbaa !9 %20 = add i32 %18, %19 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %16, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !9 %24 = tail call i32 @WREG32(i32 noundef %23, i32 noundef %3) #2 %25 = load ptr, ptr @watchRegs, align 8, !tbaa !5 %26 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !9 %27 = mul i32 %26, %1 %28 = load i32, ptr @ADDRESS_WATCH_REG_ADDR_LO, align 4, !tbaa !9 %29 = add i32 %27, %28 %30 = zext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %25, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !9 %33 = tail call i32 @WREG32(i32 noundef %32, i32 noundef %4) #2 %34 = load ptr, ptr @watchRegs, align 8, !tbaa !5 %35 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !9 %36 = mul i32 %35, %1 %37 = load i32, ptr @ADDRESS_WATCH_REG_CNTL, align 4, !tbaa !9 %38 = add i32 %36, %37 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %34, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !9 %42 = tail call i32 @WREG32(i32 noundef %41, i32 noundef 1) #2 ret i32 0 } declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_kgd_address_watch_execute.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_kgd_address_watch_execute.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @watchRegs = common local_unnamed_addr global ptr null, align 8 @ADDRESS_WATCH_REG_MAX = common local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_CNTL = common local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_ADDR_HI = common local_unnamed_addr global i32 0, align 4 @ADDRESS_WATCH_REG_ADDR_LO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kgd_address_watch_execute], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @kgd_address_watch_execute(ptr noundef %0, i32 noundef %1, i32 %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2 %7 = load ptr, ptr @watchRegs, align 8, !tbaa !6 %8 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !10 %9 = mul i32 %8, %1 %10 = load i32, ptr @ADDRESS_WATCH_REG_CNTL, align 4, !tbaa !10 %11 = add i32 %9, %10 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %7, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = tail call i32 @WREG32(i32 noundef %14, i32 noundef 0) #2 %16 = load ptr, ptr @watchRegs, align 8, !tbaa !6 %17 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !10 %18 = mul i32 %17, %1 %19 = load i32, ptr @ADDRESS_WATCH_REG_ADDR_HI, align 4, !tbaa !10 %20 = add i32 %18, %19 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %16, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !10 %24 = tail call i32 @WREG32(i32 noundef %23, i32 noundef %3) #2 %25 = load ptr, ptr @watchRegs, align 8, !tbaa !6 %26 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !10 %27 = mul i32 %26, %1 %28 = load i32, ptr @ADDRESS_WATCH_REG_ADDR_LO, align 4, !tbaa !10 %29 = add i32 %27, %28 %30 = zext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %25, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !10 %33 = tail call i32 @WREG32(i32 noundef %32, i32 noundef %4) #2 %34 = load ptr, ptr @watchRegs, align 8, !tbaa !6 %35 = load i32, ptr @ADDRESS_WATCH_REG_MAX, align 4, !tbaa !10 %36 = mul i32 %35, %1 %37 = load i32, ptr @ADDRESS_WATCH_REG_CNTL, align 4, !tbaa !10 %38 = add i32 %36, %37 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %34, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !10 %42 = tail call i32 @WREG32(i32 noundef %41, i32 noundef 1) #2 ret i32 0 } declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_amdkfd_gfx_v7.c_kgd_address_watch_execute
; ModuleID = 'AnghaBench/linux/lib/lz4/extr_lz4_decompress.c_LZ4_setStreamDecode.c' source_filename = "AnghaBench/linux/lib/lz4/extr_lz4_decompress.c_LZ4_setStreamDecode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, ptr, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local noundef i32 @LZ4_setStreamDecode(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = sext i32 %2 to i64 store i64 %4, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds i32, ptr %1, i64 %4 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 store ptr %5, ptr %6, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/linux/lib/lz4/extr_lz4_decompress.c_LZ4_setStreamDecode.c' source_filename = "AnghaBench/linux/lib/lz4/extr_lz4_decompress.c_LZ4_setStreamDecode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define noundef i32 @LZ4_setStreamDecode(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = sext i32 %2 to i64 store i64 %4, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i32, ptr %1, i64 %4 %6 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %5, ptr %6, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 24}
linux_lib_lz4_extr_lz4_decompress.c_LZ4_setStreamDecode
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/smp/extr_p_256_multprecision.c_multiprecision_dword_bits.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/smp/extr_p_256_multprecision.c_multiprecision_dword_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DWORD_BITS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @multiprecision_dword_bits(i32 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @DWORD_BITS, align 8, !tbaa !5 %3 = icmp slt i64 %2, 1 %4 = icmp eq i32 %0, 0 %5 = or i1 %3, %4 br i1 %5, label %14, label %6 6: ; preds = %1, %6 %7 = phi i64 [ %9, %6 ], [ 0, %1 ] %8 = phi i32 [ %10, %6 ], [ %0, %1 ] %9 = add nuw nsw i64 %7, 1 %10 = ashr i32 %8, 1 %11 = icmp sge i64 %9, %2 %12 = icmp ult i32 %8, 2 %13 = select i1 %11, i1 true, i1 %12 br i1 %13, label %14, label %6, !llvm.loop !9 14: ; preds = %6, %1 %15 = phi i64 [ 0, %1 ], [ %9, %6 ] ret i64 %15 } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/smp/extr_p_256_multprecision.c_multiprecision_dword_bits.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/smp/extr_p_256_multprecision.c_multiprecision_dword_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DWORD_BITS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @multiprecision_dword_bits(i32 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @DWORD_BITS, align 8, !tbaa !6 %3 = icmp slt i64 %2, 1 %4 = icmp eq i32 %0, 0 %5 = or i1 %3, %4 br i1 %5, label %14, label %6 6: ; preds = %1, %6 %7 = phi i64 [ %9, %6 ], [ 0, %1 ] %8 = phi i32 [ %10, %6 ], [ %0, %1 ] %9 = add nuw nsw i64 %7, 1 %10 = ashr i32 %8, 1 %11 = icmp sge i64 %9, %2 %12 = icmp ult i32 %8, 2 %13 = select i1 %11, i1 true, i1 %12 br i1 %13, label %14, label %6, !llvm.loop !10 14: ; preds = %6, %1 %15 = phi i64 [ 0, %1 ], [ %9, %6 ] ret i64 %15 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
esp-idf_components_bt_host_bluedroid_stack_smp_extr_p_256_multprecision.c_multiprecision_dword_bits
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_pcl816.c_start_pacer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_pcl816.c_start_pacer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCL816_CTRCTL = dso_local local_unnamed_addr global i64 0, align 8 @PCL816_CTR0 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [35 x i8] c"mode %d, divisor1 %d, divisor2 %d\0A\00", align 1 @PCL816_CTR2 = dso_local local_unnamed_addr global i64 0, align 8 @PCL816_CTR1 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @start_pacer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @start_pacer(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !10 %7 = add nsw i64 %6, %5 %8 = tail call i32 @outb(i32 noundef 50, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !5 %10 = load i64, ptr @PCL816_CTR0, align 8, !tbaa !10 %11 = add nsw i64 %10, %9 %12 = tail call i32 @outb(i32 noundef 255, i64 noundef %11) #2 %13 = load i64, ptr %0, align 8, !tbaa !5 %14 = load i64, ptr @PCL816_CTR0, align 8, !tbaa !10 %15 = add nsw i64 %14, %13 %16 = tail call i32 @outb(i32 noundef 0, i64 noundef %15) #2 %17 = tail call i32 @udelay(i32 noundef 1) #2 %18 = load i64, ptr %0, align 8, !tbaa !5 %19 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !10 %20 = add nsw i64 %19, %18 %21 = tail call i32 @outb(i32 noundef 180, i64 noundef %20) #2 %22 = load i64, ptr %0, align 8, !tbaa !5 %23 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !10 %24 = add nsw i64 %23, %22 %25 = tail call i32 @outb(i32 noundef 116, i64 noundef %24) #2 %26 = tail call i32 @udelay(i32 noundef 1) #2 %27 = icmp eq i32 %1, 1 br i1 %27, label %28, label %52 28: ; preds = %4 %29 = tail call i32 @DPRINTK(ptr noundef nonnull @.str, i32 noundef 1, i32 noundef %2, i32 noundef %3) #2 %30 = and i32 %3, 255 %31 = load i64, ptr %0, align 8, !tbaa !5 %32 = load i64, ptr @PCL816_CTR2, align 8, !tbaa !10 %33 = add nsw i64 %32, %31 %34 = tail call i32 @outb(i32 noundef %30, i64 noundef %33) #2 %35 = lshr i32 %3, 8 %36 = and i32 %35, 255 %37 = load i64, ptr %0, align 8, !tbaa !5 %38 = load i64, ptr @PCL816_CTR2, align 8, !tbaa !10 %39 = add nsw i64 %38, %37 %40 = tail call i32 @outb(i32 noundef %36, i64 noundef %39) #2 %41 = and i32 %2, 255 %42 = load i64, ptr %0, align 8, !tbaa !5 %43 = load i64, ptr @PCL816_CTR1, align 8, !tbaa !10 %44 = add nsw i64 %43, %42 %45 = tail call i32 @outb(i32 noundef %41, i64 noundef %44) #2 %46 = lshr i32 %2, 8 %47 = and i32 %46, 255 %48 = load i64, ptr %0, align 8, !tbaa !5 %49 = load i64, ptr @PCL816_CTR1, align 8, !tbaa !10 %50 = add nsw i64 %49, %48 %51 = tail call i32 @outb(i32 noundef %47, i64 noundef %50) #2 br label %52 52: ; preds = %28, %4 ret void } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTK(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 = !{!"comedi_device", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_pcl816.c_start_pacer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_pcl816.c_start_pacer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCL816_CTRCTL = common local_unnamed_addr global i64 0, align 8 @PCL816_CTR0 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [35 x i8] c"mode %d, divisor1 %d, divisor2 %d\0A\00", align 1 @PCL816_CTR2 = common local_unnamed_addr global i64 0, align 8 @PCL816_CTR1 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @start_pacer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @start_pacer(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !11 %7 = add nsw i64 %6, %5 %8 = tail call i32 @outb(i32 noundef 50, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !6 %10 = load i64, ptr @PCL816_CTR0, align 8, !tbaa !11 %11 = add nsw i64 %10, %9 %12 = tail call i32 @outb(i32 noundef 255, i64 noundef %11) #2 %13 = load i64, ptr %0, align 8, !tbaa !6 %14 = load i64, ptr @PCL816_CTR0, align 8, !tbaa !11 %15 = add nsw i64 %14, %13 %16 = tail call i32 @outb(i32 noundef 0, i64 noundef %15) #2 %17 = tail call i32 @udelay(i32 noundef 1) #2 %18 = load i64, ptr %0, align 8, !tbaa !6 %19 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !11 %20 = add nsw i64 %19, %18 %21 = tail call i32 @outb(i32 noundef 180, i64 noundef %20) #2 %22 = load i64, ptr %0, align 8, !tbaa !6 %23 = load i64, ptr @PCL816_CTRCTL, align 8, !tbaa !11 %24 = add nsw i64 %23, %22 %25 = tail call i32 @outb(i32 noundef 116, i64 noundef %24) #2 %26 = tail call i32 @udelay(i32 noundef 1) #2 %27 = icmp eq i32 %1, 1 br i1 %27, label %28, label %52 28: ; preds = %4 %29 = tail call i32 @DPRINTK(ptr noundef nonnull @.str, i32 noundef 1, i32 noundef %2, i32 noundef %3) #2 %30 = and i32 %3, 255 %31 = load i64, ptr %0, align 8, !tbaa !6 %32 = load i64, ptr @PCL816_CTR2, align 8, !tbaa !11 %33 = add nsw i64 %32, %31 %34 = tail call i32 @outb(i32 noundef %30, i64 noundef %33) #2 %35 = lshr i32 %3, 8 %36 = and i32 %35, 255 %37 = load i64, ptr %0, align 8, !tbaa !6 %38 = load i64, ptr @PCL816_CTR2, align 8, !tbaa !11 %39 = add nsw i64 %38, %37 %40 = tail call i32 @outb(i32 noundef %36, i64 noundef %39) #2 %41 = and i32 %2, 255 %42 = load i64, ptr %0, align 8, !tbaa !6 %43 = load i64, ptr @PCL816_CTR1, align 8, !tbaa !11 %44 = add nsw i64 %43, %42 %45 = tail call i32 @outb(i32 noundef %41, i64 noundef %44) #2 %46 = lshr i32 %2, 8 %47 = and i32 %46, 255 %48 = load i64, ptr %0, align 8, !tbaa !6 %49 = load i64, ptr @PCL816_CTR1, align 8, !tbaa !11 %50 = add nsw i64 %49, %48 %51 = tail call i32 @outb(i32 noundef %47, i64 noundef %50) #2 br label %52 52: ; preds = %28, %4 ret void } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTK(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 = !{!"comedi_device", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_pcl816.c_start_pacer
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_scan.c_acpi_is_video_device.c' source_filename = "AnghaBench/linux/drivers/acpi/extr_scan.c_acpi_is_video_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" @.str = private unnamed_addr constant [5 x i8] c"_DOD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"_DOS\00", align 1 @ACPI_VIDEO_OUTPUT_SWITCHING = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"_ROM\00", align 1 @ACPI_VIDEO_ROM_AVAILABLE = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"_VPO\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"_GPD\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"_SPD\00", align 1 @ACPI_VIDEO_DEVICE_POSTING = dso_local local_unnamed_addr global i64 0, align 8 @ACPI_TYPE_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_UINT32_MAX = dso_local local_unnamed_addr global i32 0, align 4 @acpi_backlight_cap_match = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @acpi_is_video_device(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8, !tbaa !5 %3 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.1) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5, %1 %9 = load i64, ptr @ACPI_VIDEO_OUTPUT_SWITCHING, align 8, !tbaa !5 store i64 %9, ptr %2, align 8, !tbaa !5 br label %10 10: ; preds = %8, %5 %11 = phi i64 [ %9, %8 ], [ 0, %5 ] %12 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.2) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i64, ptr @ACPI_VIDEO_ROM_AVAILABLE, align 8, !tbaa !5 %16 = or i64 %11, %15 store i64 %16, ptr %2, align 8, !tbaa !5 br label %17 17: ; preds = %14, %10 %18 = phi i64 [ %16, %14 ], [ %11, %10 ] %19 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.3) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %30, label %21 21: ; preds = %17 %22 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.4) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %30, label %24 24: ; preds = %21 %25 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.5) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i64, ptr @ACPI_VIDEO_DEVICE_POSTING, align 8, !tbaa !5 %29 = or i64 %18, %28 store i64 %29, ptr %2, align 8, !tbaa !5 br label %30 30: ; preds = %24, %21, %17, %27 %31 = phi i64 [ %29, %27 ], [ %18, %17 ], [ %18, %21 ], [ %18, %24 ] %32 = icmp eq i64 %31, 0 br i1 %32, label %39, label %33 33: ; preds = %30 %34 = load i32, ptr @ACPI_TYPE_DEVICE, align 4, !tbaa !9 %35 = load i32, ptr @ACPI_UINT32_MAX, align 4, !tbaa !9 %36 = load i32, ptr @acpi_backlight_cap_match, align 4, !tbaa !9 %37 = call i32 @acpi_walk_namespace(i32 noundef %34, i32 noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef null, ptr noundef nonnull %2, ptr noundef null) #3 %38 = load i64, ptr %2, align 8, !tbaa !5 br label %39 39: ; preds = %33, %30 %40 = phi i64 [ %38, %33 ], [ 0, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @acpi_has_method(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @acpi_walk_namespace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_scan.c_acpi_is_video_device.c' source_filename = "AnghaBench/linux/drivers/acpi/extr_scan.c_acpi_is_video_device.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"_DOD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"_DOS\00", align 1 @ACPI_VIDEO_OUTPUT_SWITCHING = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"_ROM\00", align 1 @ACPI_VIDEO_ROM_AVAILABLE = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"_VPO\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"_GPD\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"_SPD\00", align 1 @ACPI_VIDEO_DEVICE_POSTING = common local_unnamed_addr global i64 0, align 8 @ACPI_TYPE_DEVICE = common local_unnamed_addr global i32 0, align 4 @ACPI_UINT32_MAX = common local_unnamed_addr global i32 0, align 4 @acpi_backlight_cap_match = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @acpi_is_video_device(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8, !tbaa !6 %3 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.1) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5, %1 %9 = load i64, ptr @ACPI_VIDEO_OUTPUT_SWITCHING, align 8, !tbaa !6 store i64 %9, ptr %2, align 8, !tbaa !6 br label %10 10: ; preds = %8, %5 %11 = phi i64 [ %9, %8 ], [ 0, %5 ] %12 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.2) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i64, ptr @ACPI_VIDEO_ROM_AVAILABLE, align 8, !tbaa !6 %16 = or i64 %11, %15 store i64 %16, ptr %2, align 8, !tbaa !6 br label %17 17: ; preds = %14, %10 %18 = phi i64 [ %16, %14 ], [ %11, %10 ] %19 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.3) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %30, label %21 21: ; preds = %17 %22 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.4) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %30, label %24 24: ; preds = %21 %25 = tail call i64 @acpi_has_method(i32 noundef %0, ptr noundef nonnull @.str.5) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i64, ptr @ACPI_VIDEO_DEVICE_POSTING, align 8, !tbaa !6 %29 = or i64 %18, %28 store i64 %29, ptr %2, align 8, !tbaa !6 br label %30 30: ; preds = %24, %21, %17, %27 %31 = phi i64 [ %29, %27 ], [ %18, %17 ], [ %18, %21 ], [ %18, %24 ] %32 = icmp eq i64 %31, 0 br i1 %32, label %39, label %33 33: ; preds = %30 %34 = load i32, ptr @ACPI_TYPE_DEVICE, align 4, !tbaa !10 %35 = load i32, ptr @ACPI_UINT32_MAX, align 4, !tbaa !10 %36 = load i32, ptr @acpi_backlight_cap_match, align 4, !tbaa !10 %37 = call i32 @acpi_walk_namespace(i32 noundef %34, i32 noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef null, ptr noundef nonnull %2, ptr noundef null) #3 %38 = load i64, ptr %2, align 8, !tbaa !6 br label %39 39: ; preds = %33, %30 %40 = phi i64 [ %38, %33 ], [ 0, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @acpi_has_method(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @acpi_walk_namespace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_drivers_acpi_extr_scan.c_acpi_is_video_device
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_float4.c_gbt_float4_dist.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_float4.c_gbt_float4_dist.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @float4 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gbt_float4_dist], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gbt_float4_dist(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @float4, align 4, !tbaa !5 %5 = tail call i32 @GET_FLOAT_DISTANCE(i32 noundef %4, ptr noundef %0, ptr noundef %1) #2 ret i32 %5 } declare i32 @GET_FLOAT_DISTANCE(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_float4.c_gbt_float4_dist.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_float4.c_gbt_float4_dist.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @float4 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gbt_float4_dist], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gbt_float4_dist(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @float4, align 4, !tbaa !6 %5 = tail call i32 @GET_FLOAT_DISTANCE(i32 noundef %4, ptr noundef %0, ptr noundef %1) #2 ret i32 %5 } declare i32 @GET_FLOAT_DISTANCE(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_contrib_btree_gist_extr_btree_float4.c_gbt_float4_dist
; ModuleID = 'AnghaBench/freebsd/sys/dev/mpt/extr_mpt.c_mpt2host_config_page_scsi_port_1.c' source_filename = "AnghaBench/freebsd/sys/dev/mpt/extr_mpt.c_mpt2host_config_page_scsi_port_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @Configuration = dso_local local_unnamed_addr global i32 0, align 4 @OnBusTimerValue = dso_local local_unnamed_addr global i32 0, align 4 @IDConfig = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mpt2host_config_page_scsi_port_1(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @Configuration, align 4, !tbaa !5 %3 = tail call i32 @MPT_2_HOST32(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @OnBusTimerValue, align 4, !tbaa !5 %5 = tail call i32 @MPT_2_HOST32(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @IDConfig, align 4, !tbaa !5 %7 = tail call i32 @MPT_2_HOST16(ptr noundef %0, i32 noundef %6) #2 ret void } declare i32 @MPT_2_HOST32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MPT_2_HOST16(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mpt/extr_mpt.c_mpt2host_config_page_scsi_port_1.c' source_filename = "AnghaBench/freebsd/sys/dev/mpt/extr_mpt.c_mpt2host_config_page_scsi_port_1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Configuration = common local_unnamed_addr global i32 0, align 4 @OnBusTimerValue = common local_unnamed_addr global i32 0, align 4 @IDConfig = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mpt2host_config_page_scsi_port_1(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @Configuration, align 4, !tbaa !6 %3 = tail call i32 @MPT_2_HOST32(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @OnBusTimerValue, align 4, !tbaa !6 %5 = tail call i32 @MPT_2_HOST32(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @IDConfig, align 4, !tbaa !6 %7 = tail call i32 @MPT_2_HOST16(ptr noundef %0, i32 noundef %6) #2 ret void } declare i32 @MPT_2_HOST32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MPT_2_HOST16(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_mpt_extr_mpt.c_mpt2host_config_page_scsi_port_1
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_iicoc.c_iicoc_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_iicoc.c_iicoc_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.iicoc_softc = type { ptr, ptr, i64, i32, i32 } @.str = private unnamed_addr constant [6 x i8] c"iicoc\00", align 1 @MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4 @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Could not allocate bus resource.\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"iicbus\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Could not allocate iicbus instance.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @iicoc_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @iicoc_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @device_get_unit(i32 noundef %0) #2 %4 = getelementptr inbounds %struct.iicoc_softc, ptr %2, i64 0, i32 4 store i32 %0, ptr %4, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.iicoc_softc, ptr %2, i64 0, i32 3 %6 = load i32, ptr @MTX_DEF, align 4, !tbaa !12 %7 = tail call i32 @mtx_init(ptr noundef nonnull %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.iicoc_softc, ptr %2, i64 0, i32 2 store i64 0, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !12 %10 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !12 %11 = tail call ptr @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %9, ptr noundef nonnull %8, i32 noundef 256, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.iicoc_softc, ptr %2, i64 0, i32 1 store ptr %11, ptr %12, align 8, !tbaa !14 %13 = icmp eq ptr %11, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %24 16: ; preds = %1 %17 = tail call i32 @iicoc_init(i32 noundef %0) #2 %18 = tail call ptr @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.2, i32 noundef -1) #2 store ptr %18, ptr %2, align 8, !tbaa !15 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3) #2 br label %24 22: ; preds = %16 %23 = tail call i32 @bus_generic_attach(i32 noundef %0) #2 br label %24 24: ; preds = %22, %20, %14 %25 = phi i32 [ -1, %14 ], [ -1, %20 ], [ 0, %22 ] ret i32 %25 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iicoc_init(i32 noundef) local_unnamed_addr #1 declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_generic_attach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 28} !6 = !{!"iicoc_softc", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 28} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !10, i64 16} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_iicoc.c_iicoc_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_iicoc.c_iicoc_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"iicoc\00", align 1 @MTX_DEF = common local_unnamed_addr global i32 0, align 4 @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Could not allocate bus resource.\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"iicbus\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Could not allocate iicbus instance.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @iicoc_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @iicoc_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @device_get_unit(i32 noundef %0) #2 %4 = getelementptr inbounds i8, ptr %2, i64 28 store i32 %0, ptr %4, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 24 %6 = load i32, ptr @MTX_DEF, align 4, !tbaa !13 %7 = tail call i32 @mtx_init(ptr noundef nonnull %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %2, i64 16 store i64 0, ptr %8, align 8, !tbaa !14 %9 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !13 %10 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !13 %11 = tail call ptr @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %9, ptr noundef nonnull %8, i32 noundef 256, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %11, ptr %12, align 8, !tbaa !15 %13 = icmp eq ptr %11, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %24 16: ; preds = %1 %17 = tail call i32 @iicoc_init(i32 noundef %0) #2 %18 = tail call ptr @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.2, i32 noundef -1) #2 store ptr %18, ptr %2, align 8, !tbaa !16 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3) #2 br label %24 22: ; preds = %16 %23 = tail call i32 @bus_generic_attach(i32 noundef %0) #2 br label %24 24: ; preds = %22, %20, %14 %25 = phi i32 [ -1, %14 ], [ -1, %20 ], [ 0, %22 ] ret i32 %25 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iicoc_init(i32 noundef) local_unnamed_addr #1 declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_generic_attach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 28} !7 = !{!"iicoc_softc", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !12, i64 28} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !11, i64 16} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 0}
freebsd_sys_dev_iicbus_extr_iicoc.c_iicoc_attach
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_rsxx_eeh_save_issued_dmas.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_rsxx_eeh_save_issued_dmas.c" target datalayout = "e-m:e-p270:32:32-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.rsxx_cardinfo = type { i32, ptr, i32 } %struct.list_head = type { i32 } %struct.TYPE_4__ = type { i32, i64, %struct.TYPE_3__, i32, i32 } %struct.TYPE_3__ = type { i32, i32, i32, i32, i32 } %struct.rsxx_dma = type { i64, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @RSXX_MAX_OUTSTANDING_CMDS = dso_local local_unnamed_addr global i32 0, align 4 @HW_CMD_BLK_WRITE = dso_local local_unnamed_addr global i64 0, align 8 @HW_CMD_BLK_DISCARD = dso_local local_unnamed_addr global i64 0, align 8 @PCI_DMA_TODEVICE = dso_local local_unnamed_addr global i32 0, align 4 @PCI_DMA_FROMDEVICE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rsxx_eeh_save_issued_dmas(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = shl i32 %2, 2 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %5 = tail call ptr @kzalloc(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !5 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %102 10: ; preds = %7 %11 = getelementptr inbounds %struct.rsxx_cardinfo, ptr %0, i64 0, i32 1 %12 = getelementptr inbounds %struct.rsxx_cardinfo, ptr %0, i64 0, i32 2 br label %16 13: ; preds = %1 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %104 16: ; preds = %10, %80 %17 = phi i64 [ 0, %10 ], [ %98, %80 ] %18 = getelementptr inbounds %struct.list_head, ptr %5, i64 %17 %19 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %18) #2 %20 = load i32, ptr @RSXX_MAX_OUTSTANDING_CMDS, align 4, !tbaa !11 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %80 22: ; preds = %16, %75 %23 = phi i32 [ %76, %75 ], [ 0, %16 ] %24 = phi i32 [ %77, %75 ], [ 0, %16 ] %25 = load ptr, ptr %11, align 8, !tbaa !12 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %17, i32 4 %27 = load i32, ptr %26, align 8, !tbaa !13 %28 = tail call ptr @get_tracker_dma(i32 noundef %27, i32 noundef %24) #2 %29 = icmp eq ptr %28, null br i1 %29, label %75, label %30 30: ; preds = %22 %31 = load i64, ptr %28, align 8, !tbaa !17 %32 = load i64, ptr @HW_CMD_BLK_WRITE, align 8, !tbaa !19 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %30 %35 = load ptr, ptr %11, align 8, !tbaa !12 %36 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i64 %17, i32 2, i32 4 %37 = load i32, ptr %36, align 8, !tbaa !20 %38 = add nsw i32 %37, -1 store i32 %38, ptr %36, align 8, !tbaa !20 %39 = load i64, ptr @HW_CMD_BLK_DISCARD, align 8, !tbaa !19 br label %52 40: ; preds = %30 %41 = load i64, ptr @HW_CMD_BLK_DISCARD, align 8, !tbaa !19 %42 = icmp eq i64 %31, %41 %43 = load ptr, ptr %11, align 8, !tbaa !12 br i1 %42, label %44, label %48 44: ; preds = %40 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %17, i32 2, i32 3 %46 = load i32, ptr %45, align 4, !tbaa !21 %47 = add nsw i32 %46, -1 store i32 %47, ptr %45, align 4, !tbaa !21 br label %67 48: ; preds = %40 %49 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %17, i32 2, i32 2 %50 = load i32, ptr %49, align 8, !tbaa !22 %51 = add nsw i32 %50, -1 store i32 %51, ptr %49, align 8, !tbaa !22 br label %52 52: ; preds = %48, %34 %53 = phi i64 [ %41, %48 ], [ %39, %34 ] %54 = icmp eq i64 %31, %53 br i1 %54, label %67, label %55 55: ; preds = %52 %56 = load i32, ptr %12, align 8, !tbaa !23 %57 = getelementptr inbounds %struct.rsxx_dma, ptr %28, i64 0, i32 2 %58 = load i32, ptr %57, align 4, !tbaa !24 %59 = tail call i32 @get_dma_size(ptr noundef nonnull %28) #2 %60 = load i64, ptr %28, align 8, !tbaa !17 %61 = load i64, ptr @HW_CMD_BLK_WRITE, align 8, !tbaa !19 %62 = icmp eq i64 %60, %61 %63 = load i32, ptr @PCI_DMA_TODEVICE, align 4 %64 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4 %65 = select i1 %62, i32 %63, i32 %64 %66 = tail call i32 @pci_unmap_page(i32 noundef %56, i32 noundef %58, i32 noundef %59, i32 noundef %65) #2 br label %67 67: ; preds = %44, %55, %52 %68 = getelementptr inbounds %struct.rsxx_dma, ptr %28, i64 0, i32 1 %69 = tail call i32 @list_add_tail(ptr noundef nonnull %68, ptr noundef nonnull %18) #2 %70 = load ptr, ptr %11, align 8, !tbaa !12 %71 = getelementptr inbounds %struct.TYPE_4__, ptr %70, i64 %17, i32 4 %72 = load i32, ptr %71, align 8, !tbaa !13 %73 = tail call i32 @push_tracker(i32 noundef %72, i32 noundef %24) #2 %74 = add nsw i32 %23, 1 br label %75 75: ; preds = %22, %67 %76 = phi i32 [ %23, %22 ], [ %74, %67 ] %77 = add nuw nsw i32 %24, 1 %78 = load i32, ptr @RSXX_MAX_OUTSTANDING_CMDS, align 4, !tbaa !11 %79 = icmp slt i32 %77, %78 br i1 %79, label %22, label %80, !llvm.loop !25 80: ; preds = %75, %16 %81 = phi i32 [ 0, %16 ], [ %76, %75 ] %82 = load ptr, ptr %11, align 8, !tbaa !12 %83 = getelementptr inbounds %struct.TYPE_4__, ptr %82, i64 %17 %84 = tail call i32 @spin_lock_bh(ptr noundef %83) #2 %85 = load ptr, ptr %11, align 8, !tbaa !12 %86 = getelementptr inbounds %struct.TYPE_4__, ptr %85, i64 %17, i32 3 %87 = tail call i32 @list_splice(ptr noundef nonnull %18, ptr noundef nonnull %86) #2 %88 = load ptr, ptr %11, align 8, !tbaa !12 %89 = getelementptr inbounds %struct.TYPE_4__, ptr %88, i64 %17, i32 2, i32 1 %90 = tail call i32 @atomic_sub(i32 noundef %81, ptr noundef nonnull %89) #2 %91 = load ptr, ptr %11, align 8, !tbaa !12 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17, i32 2 %93 = load i32, ptr %92, align 8, !tbaa !27 %94 = add nsw i32 %93, %81 store i32 %94, ptr %92, align 8, !tbaa !27 %95 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17, i32 1 store i64 0, ptr %95, align 8, !tbaa !28 %96 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17 %97 = tail call i32 @spin_unlock_bh(ptr noundef %96) #2 %98 = add nuw nsw i64 %17, 1 %99 = load i32, ptr %0, align 8, !tbaa !5 %100 = sext i32 %99 to i64 %101 = icmp slt i64 %98, %100 br i1 %101, label %16, label %102, !llvm.loop !29 102: ; preds = %80, %7 %103 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %104 104: ; preds = %102, %13 %105 = phi i32 [ 0, %102 ], [ %15, %13 ] ret i32 %105 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare ptr @get_tracker_dma(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_unmap_page(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_dma_size(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @push_tracker(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @list_splice(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(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 = !{!"rsxx_cardinfo", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 40} !14 = !{!"TYPE_4__", !7, i64 0, !15, i64 8, !16, i64 16, !7, i64 36, !7, i64 40} !15 = !{!"long", !8, i64 0} !16 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !17 = !{!18, !15, i64 0} !18 = !{!"rsxx_dma", !15, i64 0, !7, i64 8, !7, i64 12} !19 = !{!15, !15, i64 0} !20 = !{!14, !7, i64 32} !21 = !{!14, !7, i64 28} !22 = !{!14, !7, i64 24} !23 = !{!6, !7, i64 16} !24 = !{!18, !7, i64 12} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!14, !7, i64 16} !28 = !{!14, !15, i64 8} !29 = distinct !{!29, !26}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_rsxx_eeh_save_issued_dmas.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_rsxx_eeh_save_issued_dmas.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.list_head = type { i32 } %struct.TYPE_4__ = type { i32, i64, %struct.TYPE_3__, i32, i32 } %struct.TYPE_3__ = type { i32, i32, i32, i32, i32 } @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @RSXX_MAX_OUTSTANDING_CMDS = common local_unnamed_addr global i32 0, align 4 @HW_CMD_BLK_WRITE = common local_unnamed_addr global i64 0, align 8 @HW_CMD_BLK_DISCARD = common local_unnamed_addr global i64 0, align 8 @PCI_DMA_TODEVICE = common local_unnamed_addr global i32 0, align 4 @PCI_DMA_FROMDEVICE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @rsxx_eeh_save_issued_dmas(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = shl i32 %2, 2 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %5 = tail call ptr @kzalloc(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !6 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %102 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = getelementptr inbounds i8, ptr %0, i64 16 br label %16 13: ; preds = %1 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %104 16: ; preds = %10, %80 %17 = phi i64 [ 0, %10 ], [ %98, %80 ] %18 = getelementptr inbounds %struct.list_head, ptr %5, i64 %17 %19 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %18) #2 %20 = load i32, ptr @RSXX_MAX_OUTSTANDING_CMDS, align 4, !tbaa !12 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %80 22: ; preds = %16, %75 %23 = phi i32 [ %76, %75 ], [ 0, %16 ] %24 = phi i32 [ %77, %75 ], [ 0, %16 ] %25 = load ptr, ptr %11, align 8, !tbaa !13 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %17, i32 4 %27 = load i32, ptr %26, align 8, !tbaa !14 %28 = tail call ptr @get_tracker_dma(i32 noundef %27, i32 noundef %24) #2 %29 = icmp eq ptr %28, null br i1 %29, label %75, label %30 30: ; preds = %22 %31 = load i64, ptr %28, align 8, !tbaa !18 %32 = load i64, ptr @HW_CMD_BLK_WRITE, align 8, !tbaa !20 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %30 %35 = load ptr, ptr %11, align 8, !tbaa !13 %36 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i64 %17, i32 2, i32 4 %37 = load i32, ptr %36, align 8, !tbaa !21 %38 = add nsw i32 %37, -1 store i32 %38, ptr %36, align 8, !tbaa !21 %39 = load i64, ptr @HW_CMD_BLK_DISCARD, align 8, !tbaa !20 br label %52 40: ; preds = %30 %41 = load i64, ptr @HW_CMD_BLK_DISCARD, align 8, !tbaa !20 %42 = icmp eq i64 %31, %41 %43 = load ptr, ptr %11, align 8, !tbaa !13 br i1 %42, label %44, label %48 44: ; preds = %40 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %17, i32 2, i32 3 %46 = load i32, ptr %45, align 4, !tbaa !22 %47 = add nsw i32 %46, -1 store i32 %47, ptr %45, align 4, !tbaa !22 br label %67 48: ; preds = %40 %49 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %17, i32 2, i32 2 %50 = load i32, ptr %49, align 8, !tbaa !23 %51 = add nsw i32 %50, -1 store i32 %51, ptr %49, align 8, !tbaa !23 br label %52 52: ; preds = %48, %34 %53 = phi i64 [ %41, %48 ], [ %39, %34 ] %54 = icmp eq i64 %31, %53 br i1 %54, label %67, label %55 55: ; preds = %52 %56 = load i32, ptr %12, align 8, !tbaa !24 %57 = getelementptr inbounds i8, ptr %28, i64 12 %58 = load i32, ptr %57, align 4, !tbaa !25 %59 = tail call i32 @get_dma_size(ptr noundef nonnull %28) #2 %60 = load i64, ptr %28, align 8, !tbaa !18 %61 = load i64, ptr @HW_CMD_BLK_WRITE, align 8, !tbaa !20 %62 = icmp eq i64 %60, %61 %63 = load i32, ptr @PCI_DMA_TODEVICE, align 4 %64 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4 %65 = select i1 %62, i32 %63, i32 %64 %66 = tail call i32 @pci_unmap_page(i32 noundef %56, i32 noundef %58, i32 noundef %59, i32 noundef %65) #2 br label %67 67: ; preds = %44, %55, %52 %68 = getelementptr inbounds i8, ptr %28, i64 8 %69 = tail call i32 @list_add_tail(ptr noundef nonnull %68, ptr noundef nonnull %18) #2 %70 = load ptr, ptr %11, align 8, !tbaa !13 %71 = getelementptr inbounds %struct.TYPE_4__, ptr %70, i64 %17, i32 4 %72 = load i32, ptr %71, align 8, !tbaa !14 %73 = tail call i32 @push_tracker(i32 noundef %72, i32 noundef %24) #2 %74 = add nsw i32 %23, 1 br label %75 75: ; preds = %22, %67 %76 = phi i32 [ %23, %22 ], [ %74, %67 ] %77 = add nuw nsw i32 %24, 1 %78 = load i32, ptr @RSXX_MAX_OUTSTANDING_CMDS, align 4, !tbaa !12 %79 = icmp slt i32 %77, %78 br i1 %79, label %22, label %80, !llvm.loop !26 80: ; preds = %75, %16 %81 = phi i32 [ 0, %16 ], [ %76, %75 ] %82 = load ptr, ptr %11, align 8, !tbaa !13 %83 = getelementptr inbounds %struct.TYPE_4__, ptr %82, i64 %17 %84 = tail call i32 @spin_lock_bh(ptr noundef %83) #2 %85 = load ptr, ptr %11, align 8, !tbaa !13 %86 = getelementptr inbounds %struct.TYPE_4__, ptr %85, i64 %17, i32 3 %87 = tail call i32 @list_splice(ptr noundef nonnull %18, ptr noundef nonnull %86) #2 %88 = load ptr, ptr %11, align 8, !tbaa !13 %89 = getelementptr inbounds %struct.TYPE_4__, ptr %88, i64 %17, i32 2, i32 1 %90 = tail call i32 @atomic_sub(i32 noundef %81, ptr noundef nonnull %89) #2 %91 = load ptr, ptr %11, align 8, !tbaa !13 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17, i32 2 %93 = load i32, ptr %92, align 8, !tbaa !28 %94 = add nsw i32 %93, %81 store i32 %94, ptr %92, align 8, !tbaa !28 %95 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17, i32 1 store i64 0, ptr %95, align 8, !tbaa !29 %96 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 %17 %97 = tail call i32 @spin_unlock_bh(ptr noundef %96) #2 %98 = add nuw nsw i64 %17, 1 %99 = load i32, ptr %0, align 8, !tbaa !6 %100 = sext i32 %99 to i64 %101 = icmp slt i64 %98, %100 br i1 %101, label %16, label %102, !llvm.loop !30 102: ; preds = %80, %7 %103 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %104 104: ; preds = %102, %13 %105 = phi i32 [ 0, %102 ], [ %15, %13 ] ret i32 %105 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare ptr @get_tracker_dma(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_unmap_page(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_dma_size(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @push_tracker(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @list_splice(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(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 = !{!"rsxx_cardinfo", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 40} !15 = !{!"TYPE_4__", !8, i64 0, !16, i64 8, !17, i64 16, !8, i64 36, !8, i64 40} !16 = !{!"long", !9, i64 0} !17 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !18 = !{!19, !16, i64 0} !19 = !{!"rsxx_dma", !16, i64 0, !8, i64 8, !8, i64 12} !20 = !{!16, !16, i64 0} !21 = !{!15, !8, i64 32} !22 = !{!15, !8, i64 28} !23 = !{!15, !8, i64 24} !24 = !{!7, !8, i64 16} !25 = !{!19, !8, i64 12} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!15, !8, i64 16} !29 = !{!15, !16, i64 8} !30 = distinct !{!30, !27}
fastsocket_kernel_drivers_block_rsxx_extr_dma.c_rsxx_eeh_save_issued_dmas
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_prism2_enable_aux_port.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_prism2_enable_aux_port.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @DEBUG_EXTRA2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"%s: no PRI f/w - assuming Aux port is already enabled\0A\00", align 1 @HFA384X_CMD_BUSY_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_CMD_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_CMD_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"%s: prism2_enable_aux_port - timeout - reg=0x%04x\0A\00", align 1 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_CONTROL_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC0 = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM0_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC1 = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM1_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC2 = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM2_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_DISABLED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"prism2_enable_aux_port: was not disabled!?\0A\00", align 1 @HFA384X_AUX_PORT_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"prism2_enable_aux_port: was not enabled!?\0A\00", align 1 @HFA384X_AUX_PORT_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"prism2_enable_aux_port(%d) timed out\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @prism2_enable_aux_port], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @prism2_enable_aux_port(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %2 %9 = icmp eq i32 %1, 0 br i1 %9, label %114, label %10 10: ; preds = %8 %11 = load i32, ptr @DEBUG_EXTRA2, align 4, !tbaa !14 %12 = load i32, ptr %0, align 4, !tbaa !15 %13 = tail call i32 @PDEBUG(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12) #2 br label %114 14: ; preds = %2 %15 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %16 = load i32, ptr @HFA384X_CMD_BUSY_TIMEOUT, align 4, !tbaa !14 %17 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !14 %18 = tail call i32 @HFA384X_INW(i32 noundef %17) #2 %19 = load i32, ptr @HFA384X_CMD_BUSY, align 4, !tbaa !14 %20 = and i32 %19, %18 %21 = icmp ne i32 %20, 0 %22 = icmp sgt i32 %16, 0 %23 = select i1 %21, i1 %22, i1 false br i1 %23, label %24, label %35 24: ; preds = %14, %24 %25 = phi i32 [ %26, %24 ], [ %16, %14 ] %26 = add nsw i32 %25, -1 %27 = tail call i32 @udelay(i32 noundef 1) #2 %28 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !14 %29 = tail call i32 @HFA384X_INW(i32 noundef %28) #2 %30 = load i32, ptr @HFA384X_CMD_BUSY, align 4, !tbaa !14 %31 = and i32 %30, %29 %32 = icmp ne i32 %31, 0 %33 = icmp ugt i32 %25, 1 %34 = select i1 %32, i1 %33, i1 false br i1 %34, label %24, label %35, !llvm.loop !17 35: ; preds = %24, %14 %36 = phi i32 [ %16, %14 ], [ %26, %24 ] %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %35 %39 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !14 %40 = tail call i32 @HFA384X_INW(i32 noundef %39) #2 %41 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 %42 = load i32, ptr %0, align 4, !tbaa !15 %43 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %42, i32 noundef %40) #2 %44 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14 %45 = sub nsw i32 0, %44 br label %114 46: ; preds = %35 %47 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !14 %48 = tail call i32 @HFA384X_INW(i32 noundef %47) #2 %49 = icmp eq i32 %1, 0 br i1 %49, label %64, label %50 50: ; preds = %46 %51 = load i32, ptr @HFA384X_AUX_MAGIC0, align 4, !tbaa !14 %52 = load i32, ptr @HFA384X_PARAM0_OFF, align 4, !tbaa !14 %53 = tail call i32 @HFA384X_OUTW(i32 noundef %51, i32 noundef %52) #2 %54 = load i32, ptr @HFA384X_AUX_MAGIC1, align 4, !tbaa !14 %55 = load i32, ptr @HFA384X_PARAM1_OFF, align 4, !tbaa !14 %56 = tail call i32 @HFA384X_OUTW(i32 noundef %54, i32 noundef %55) #2 %57 = load i32, ptr @HFA384X_AUX_MAGIC2, align 4, !tbaa !14 %58 = load i32, ptr @HFA384X_PARAM2_OFF, align 4, !tbaa !14 %59 = tail call i32 @HFA384X_OUTW(i32 noundef %57, i32 noundef %58) #2 %60 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !14 %61 = and i32 %60, %48 %62 = load i32, ptr @HFA384X_AUX_PORT_DISABLED, align 4, !tbaa !14 %63 = icmp eq i32 %61, %62 br i1 %63, label %80, label %75 64: ; preds = %46 %65 = load i32, ptr @HFA384X_PARAM0_OFF, align 4, !tbaa !14 %66 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %65) #2 %67 = load i32, ptr @HFA384X_PARAM1_OFF, align 4, !tbaa !14 %68 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %67) #2 %69 = load i32, ptr @HFA384X_PARAM2_OFF, align 4, !tbaa !14 %70 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %69) #2 %71 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !14 %72 = and i32 %71, %48 %73 = load i32, ptr @HFA384X_AUX_PORT_ENABLED, align 4, !tbaa !14 %74 = icmp eq i32 %72, %73 br i1 %74, label %80, label %75 75: ; preds = %64, %50 %76 = phi ptr [ @.str.2, %50 ], [ @.str.3, %64 ] %77 = phi ptr [ @HFA384X_AUX_PORT_ENABLE, %50 ], [ @HFA384X_AUX_PORT_DISABLE, %64 ] %78 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull %76) #2 %79 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !14 br label %80 80: ; preds = %75, %64, %50 %81 = phi i32 [ %60, %50 ], [ %71, %64 ], [ %79, %75 ] %82 = phi ptr [ @HFA384X_AUX_PORT_ENABLE, %50 ], [ @HFA384X_AUX_PORT_DISABLE, %64 ], [ %77, %75 ] %83 = xor i32 %81, -1 %84 = and i32 %48, %83 %85 = load i32, ptr %82, align 4, !tbaa !14 %86 = or i32 %84, %85 %87 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !14 %88 = tail call i32 @HFA384X_OUTW(i32 noundef %86, i32 noundef %87) #2 %89 = tail call i32 @udelay(i32 noundef 5) #2 br label %90 90: ; preds = %80, %103 %91 = phi i32 [ 10000, %80 ], [ %105, %103 ] %92 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !14 %93 = tail call i32 @HFA384X_INW(i32 noundef %92) #2 %94 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !14 %95 = and i32 %94, %93 %96 = load i32, ptr @HFA384X_AUX_PORT_ENABLED, align 4 %97 = icmp ne i32 %95, %96 %98 = select i1 %49, i1 true, i1 %97 br i1 %98, label %99, label %107 99: ; preds = %90 %100 = load i32, ptr @HFA384X_AUX_PORT_DISABLED, align 4 %101 = icmp eq i32 %95, %100 %102 = select i1 %49, i1 %101, i1 false br i1 %102, label %107, label %103 103: ; preds = %99 %104 = tail call i32 @udelay(i32 noundef 10) #2 %105 = add nsw i32 %91, -1 %106 = icmp ugt i32 %91, 1 br i1 %106, label %90, label %109, !llvm.loop !19 107: ; preds = %99, %90 %108 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 br label %114 109: ; preds = %103 %110 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 %111 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %1) #2 %112 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14 %113 = sub nsw i32 0, %112 br label %114 114: ; preds = %107, %8, %10, %109, %38 %115 = phi i32 [ %45, %38 ], [ %113, %109 ], [ 0, %10 ], [ 0, %8 ], [ 0, %107 ] ret i32 %115 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @HFA384X_INW(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @HFA384X_OUTW(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 = !{!"hostap_interface", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"net_device", !12, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_prism2_enable_aux_port.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_prism2_enable_aux_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEBUG_EXTRA2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"%s: no PRI f/w - assuming Aux port is already enabled\0A\00", align 1 @HFA384X_CMD_BUSY_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @HFA384X_CMD_OFF = common local_unnamed_addr global i32 0, align 4 @HFA384X_CMD_BUSY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"%s: prism2_enable_aux_port - timeout - reg=0x%04x\0A\00", align 1 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @HFA384X_CONTROL_OFF = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC0 = common local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM0_OFF = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC1 = common local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM1_OFF = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_MAGIC2 = common local_unnamed_addr global i32 0, align 4 @HFA384X_PARAM2_OFF = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_MASK = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_DISABLED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"prism2_enable_aux_port: was not disabled!?\0A\00", align 1 @HFA384X_AUX_PORT_ENABLE = common local_unnamed_addr global i32 0, align 4 @HFA384X_AUX_PORT_ENABLED = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"prism2_enable_aux_port: was not enabled!?\0A\00", align 1 @HFA384X_AUX_PORT_DISABLE = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"prism2_enable_aux_port(%d) timed out\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @prism2_enable_aux_port], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @prism2_enable_aux_port(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %2 %9 = icmp eq i32 %1, 0 br i1 %9, label %114, label %10 10: ; preds = %8 %11 = load i32, ptr @DEBUG_EXTRA2, align 4, !tbaa !15 %12 = load i32, ptr %0, align 4, !tbaa !16 %13 = tail call i32 @PDEBUG(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12) #2 br label %114 14: ; preds = %2 %15 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %16 = load i32, ptr @HFA384X_CMD_BUSY_TIMEOUT, align 4, !tbaa !15 %17 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !15 %18 = tail call i32 @HFA384X_INW(i32 noundef %17) #2 %19 = load i32, ptr @HFA384X_CMD_BUSY, align 4, !tbaa !15 %20 = and i32 %19, %18 %21 = icmp ne i32 %20, 0 %22 = icmp sgt i32 %16, 0 %23 = select i1 %21, i1 %22, i1 false br i1 %23, label %24, label %35 24: ; preds = %14, %24 %25 = phi i32 [ %26, %24 ], [ %16, %14 ] %26 = add nsw i32 %25, -1 %27 = tail call i32 @udelay(i32 noundef 1) #2 %28 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !15 %29 = tail call i32 @HFA384X_INW(i32 noundef %28) #2 %30 = load i32, ptr @HFA384X_CMD_BUSY, align 4, !tbaa !15 %31 = and i32 %30, %29 %32 = icmp ne i32 %31, 0 %33 = icmp ugt i32 %25, 1 %34 = select i1 %32, i1 %33, i1 false br i1 %34, label %24, label %35, !llvm.loop !18 35: ; preds = %24, %14 %36 = phi i32 [ %16, %14 ], [ %26, %24 ] %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %35 %39 = load i32, ptr @HFA384X_CMD_OFF, align 4, !tbaa !15 %40 = tail call i32 @HFA384X_INW(i32 noundef %39) #2 %41 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 %42 = load i32, ptr %0, align 4, !tbaa !16 %43 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %42, i32 noundef %40) #2 %44 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !15 %45 = sub nsw i32 0, %44 br label %114 46: ; preds = %35 %47 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !15 %48 = tail call i32 @HFA384X_INW(i32 noundef %47) #2 %49 = icmp eq i32 %1, 0 br i1 %49, label %64, label %50 50: ; preds = %46 %51 = load i32, ptr @HFA384X_AUX_MAGIC0, align 4, !tbaa !15 %52 = load i32, ptr @HFA384X_PARAM0_OFF, align 4, !tbaa !15 %53 = tail call i32 @HFA384X_OUTW(i32 noundef %51, i32 noundef %52) #2 %54 = load i32, ptr @HFA384X_AUX_MAGIC1, align 4, !tbaa !15 %55 = load i32, ptr @HFA384X_PARAM1_OFF, align 4, !tbaa !15 %56 = tail call i32 @HFA384X_OUTW(i32 noundef %54, i32 noundef %55) #2 %57 = load i32, ptr @HFA384X_AUX_MAGIC2, align 4, !tbaa !15 %58 = load i32, ptr @HFA384X_PARAM2_OFF, align 4, !tbaa !15 %59 = tail call i32 @HFA384X_OUTW(i32 noundef %57, i32 noundef %58) #2 %60 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !15 %61 = and i32 %60, %48 %62 = load i32, ptr @HFA384X_AUX_PORT_DISABLED, align 4, !tbaa !15 %63 = icmp eq i32 %61, %62 br i1 %63, label %80, label %75 64: ; preds = %46 %65 = load i32, ptr @HFA384X_PARAM0_OFF, align 4, !tbaa !15 %66 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %65) #2 %67 = load i32, ptr @HFA384X_PARAM1_OFF, align 4, !tbaa !15 %68 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %67) #2 %69 = load i32, ptr @HFA384X_PARAM2_OFF, align 4, !tbaa !15 %70 = tail call i32 @HFA384X_OUTW(i32 noundef 0, i32 noundef %69) #2 %71 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !15 %72 = and i32 %71, %48 %73 = load i32, ptr @HFA384X_AUX_PORT_ENABLED, align 4, !tbaa !15 %74 = icmp eq i32 %72, %73 br i1 %74, label %80, label %75 75: ; preds = %64, %50 %76 = phi ptr [ @.str.2, %50 ], [ @.str.3, %64 ] %77 = phi ptr [ @HFA384X_AUX_PORT_ENABLE, %50 ], [ @HFA384X_AUX_PORT_DISABLE, %64 ] %78 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull %76) #2 %79 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !15 br label %80 80: ; preds = %75, %64, %50 %81 = phi i32 [ %60, %50 ], [ %71, %64 ], [ %79, %75 ] %82 = phi ptr [ @HFA384X_AUX_PORT_ENABLE, %50 ], [ @HFA384X_AUX_PORT_DISABLE, %64 ], [ %77, %75 ] %83 = xor i32 %81, -1 %84 = and i32 %48, %83 %85 = load i32, ptr %82, align 4, !tbaa !15 %86 = or i32 %84, %85 %87 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !15 %88 = tail call i32 @HFA384X_OUTW(i32 noundef %86, i32 noundef %87) #2 %89 = tail call i32 @udelay(i32 noundef 5) #2 br label %90 90: ; preds = %80, %103 %91 = phi i32 [ 10000, %80 ], [ %105, %103 ] %92 = load i32, ptr @HFA384X_CONTROL_OFF, align 4, !tbaa !15 %93 = tail call i32 @HFA384X_INW(i32 noundef %92) #2 %94 = load i32, ptr @HFA384X_AUX_PORT_MASK, align 4, !tbaa !15 %95 = and i32 %94, %93 %96 = load i32, ptr @HFA384X_AUX_PORT_ENABLED, align 4 %97 = icmp ne i32 %95, %96 %98 = select i1 %49, i1 true, i1 %97 br i1 %98, label %99, label %107 99: ; preds = %90 %100 = load i32, ptr @HFA384X_AUX_PORT_DISABLED, align 4 %101 = icmp eq i32 %95, %100 %102 = select i1 %49, i1 %101, i1 false br i1 %102, label %107, label %103 103: ; preds = %99 %104 = tail call i32 @udelay(i32 noundef 10) #2 %105 = add nsw i32 %91, -1 %106 = icmp ugt i32 %91, 1 br i1 %106, label %90, label %109, !llvm.loop !20 107: ; preds = %99, %90 %108 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 br label %114 109: ; preds = %103 %110 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 %111 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %1) #2 %112 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !15 %113 = sub nsw i32 0, %112 br label %114 114: ; preds = %107, %8, %10, %109, %38 %115 = phi i32 [ %45, %38 ], [ %113, %109 ], [ 0, %10 ], [ 0, %8 ], [ 0, %107 ] ret i32 %115 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @HFA384X_INW(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @HFA384X_OUTW(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 = !{!"hostap_interface", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"net_device", !13, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19}
linux_drivers_net_wireless_intersil_hostap_extr_hostap_download.c_prism2_enable_aux_port
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_verbose.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_verbose.c" target datalayout = "e-m:e-p270:32:32-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"verbose\00", align 1 @showlist = dso_local local_unnamed_addr global i32 0, align 4 @info_verbose = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [48 x i8] c"Set verbose printing of informational messages.\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Show verbose printing of informational messages.\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Set verbosity.\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Show verbosity.\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @set_verbose(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr @.str, ptr %4, align 8, !tbaa !5 %5 = load i32, ptr @showlist, align 4, !tbaa !9 %6 = call ptr @lookup_cmd_1(ptr noundef nonnull %4, i32 noundef %5, ptr noundef null, i32 noundef 1) #3 %7 = load i64, ptr @info_verbose, align 8, !tbaa !11 %8 = icmp eq i64 %7, 0 %9 = select i1 %8, ptr @.str.3, ptr @.str.1 %10 = select i1 %8, ptr @.str.4, ptr @.str.2 store ptr %9, ptr %2, align 8, !tbaa !13 store ptr %10, ptr %6, align 8, !tbaa !13 call void @llvm.lifetime.end.p0(i64 8, 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 @lookup_cmd_1(ptr noundef, 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"cmd_list_element", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_verbose.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_verbose.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"verbose\00", align 1 @showlist = common local_unnamed_addr global i32 0, align 4 @info_verbose = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [48 x i8] c"Set verbose printing of informational messages.\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Show verbose printing of informational messages.\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Set verbosity.\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Show verbosity.\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @set_verbose(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr @.str, ptr %4, align 8, !tbaa !6 %5 = load i32, ptr @showlist, align 4, !tbaa !10 %6 = call ptr @lookup_cmd_1(ptr noundef nonnull %4, i32 noundef %5, ptr noundef null, i32 noundef 1) #3 %7 = load i64, ptr @info_verbose, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 %9 = select i1 %8, ptr @.str.3, ptr @.str.1 %10 = select i1 %8, ptr @.str.4, ptr @.str.2 store ptr %9, ptr %2, align 8, !tbaa !14 store ptr %10, ptr %6, align 8, !tbaa !14 call void @llvm.lifetime.end.p0(i64 8, 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 @lookup_cmd_1(ptr noundef, 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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"cmd_list_element", !7, i64 0}
freebsd_contrib_gdb_gdb_extr_top.c_set_verbose
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_prop.c_dsl_prop_unregister_all.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_prop.c_dsl_prop_unregister_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_12__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @dsl_prop_unregister_all(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @mutex_enter(ptr noundef %4) #2 %6 = tail call ptr @list_head(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %21, label %8 8: ; preds = %2, %19 %9 = phi ptr [ %10, %19 ], [ %6, %2 ] %10 = tail call ptr @list_next(ptr noundef %0, ptr noundef nonnull %9) #2 %11 = load ptr, ptr %9, align 8, !tbaa !11 %12 = icmp eq ptr %11, %1 br i1 %12, label %13, label %19 13: ; preds = %8 %14 = tail call i32 @list_remove(ptr noundef %0, ptr noundef nonnull %9) #2 %15 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !13 %17 = tail call i32 @list_remove(ptr noundef %16, ptr noundef nonnull %9) #2 %18 = tail call i32 @kmem_free(ptr noundef nonnull %9, i32 noundef 16) #2 br label %19 19: ; preds = %13, %8 %20 = icmp eq ptr %10, null br i1 %20, label %21, label %8, !llvm.loop !14 21: ; preds = %19, %2 %22 = tail call i32 @mutex_exit(ptr noundef %4) #2 ret void } declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare ptr @list_head(ptr noundef) local_unnamed_addr #1 declare ptr @list_next(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_remove(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_14__", !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 0} !12 = !{!"TYPE_12__", !10, i64 0, !10, i64 8} !13 = !{!12, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_prop.c_dsl_prop_unregister_all.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_prop.c_dsl_prop_unregister_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @dsl_prop_unregister_all(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @mutex_enter(ptr noundef %4) #2 %6 = tail call ptr @list_head(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %21, label %8 8: ; preds = %2, %19 %9 = phi ptr [ %10, %19 ], [ %6, %2 ] %10 = tail call ptr @list_next(ptr noundef %0, ptr noundef nonnull %9) #2 %11 = load ptr, ptr %9, align 8, !tbaa !12 %12 = icmp eq ptr %11, %1 br i1 %12, label %13, label %19 13: ; preds = %8 %14 = tail call i32 @list_remove(ptr noundef %0, ptr noundef nonnull %9) #2 %15 = getelementptr inbounds i8, ptr %9, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = tail call i32 @list_remove(ptr noundef %16, ptr noundef nonnull %9) #2 %18 = tail call i32 @kmem_free(ptr noundef nonnull %9, i32 noundef 16) #2 br label %19 19: ; preds = %13, %8 %20 = icmp eq ptr %10, null br i1 %20, label %21, label %8, !llvm.loop !15 21: ; preds = %19, %2 %22 = tail call i32 @mutex_exit(ptr noundef %4) #2 ret void } declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare ptr @list_head(ptr noundef) local_unnamed_addr #1 declare ptr @list_next(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_remove(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_14__", !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 0} !13 = !{!"TYPE_12__", !11, i64 0, !11, i64 8} !14 = !{!13, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_prop.c_dsl_prop_unregister_all
; ModuleID = 'AnghaBench/linux/arch/arm64/kernel/extr_jump_label.c_arch_jump_label_transform.c' source_filename = "AnghaBench/linux/arch/arm64/kernel/extr_jump_label.c_arch_jump_label_transform.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @JUMP_LABEL_JMP = dso_local local_unnamed_addr global i32 0, align 4 @AARCH64_INSN_BRANCH_NOLINK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @arch_jump_label_transform(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @jump_entry_code(ptr noundef %0) #2 %4 = load i32, ptr @JUMP_LABEL_JMP, align 4, !tbaa !5 %5 = icmp eq i32 %4, %1 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = tail call i64 @jump_entry_code(ptr noundef %0) #2 %8 = tail call i32 @jump_entry_target(ptr noundef %0) #2 %9 = load i32, ptr @AARCH64_INSN_BRANCH_NOLINK, align 4, !tbaa !5 %10 = tail call i32 @aarch64_insn_gen_branch_imm(i64 noundef %7, i32 noundef %8, i32 noundef %9) #2 br label %13 11: ; preds = %2 %12 = tail call i32 (...) @aarch64_insn_gen_nop() #2 br label %13 13: ; preds = %11, %6 %14 = phi i32 [ %10, %6 ], [ %12, %11 ] %15 = inttoptr i64 %3 to ptr %16 = tail call i32 @aarch64_insn_patch_text_nosync(ptr noundef %15, i32 noundef %14) #2 ret void } declare i64 @jump_entry_code(ptr noundef) local_unnamed_addr #1 declare i32 @aarch64_insn_gen_branch_imm(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jump_entry_target(ptr noundef) local_unnamed_addr #1 declare i32 @aarch64_insn_gen_nop(...) local_unnamed_addr #1 declare i32 @aarch64_insn_patch_text_nosync(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/arm64/kernel/extr_jump_label.c_arch_jump_label_transform.c' source_filename = "AnghaBench/linux/arch/arm64/kernel/extr_jump_label.c_arch_jump_label_transform.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JUMP_LABEL_JMP = common local_unnamed_addr global i32 0, align 4 @AARCH64_INSN_BRANCH_NOLINK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @arch_jump_label_transform(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @jump_entry_code(ptr noundef %0) #2 %4 = load i32, ptr @JUMP_LABEL_JMP, align 4, !tbaa !6 %5 = icmp eq i32 %4, %1 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = tail call i64 @jump_entry_code(ptr noundef %0) #2 %8 = tail call i32 @jump_entry_target(ptr noundef %0) #2 %9 = load i32, ptr @AARCH64_INSN_BRANCH_NOLINK, align 4, !tbaa !6 %10 = tail call i32 @aarch64_insn_gen_branch_imm(i64 noundef %7, i32 noundef %8, i32 noundef %9) #2 br label %13 11: ; preds = %2 %12 = tail call i32 @aarch64_insn_gen_nop() #2 br label %13 13: ; preds = %11, %6 %14 = phi i32 [ %10, %6 ], [ %12, %11 ] %15 = inttoptr i64 %3 to ptr %16 = tail call i32 @aarch64_insn_patch_text_nosync(ptr noundef %15, i32 noundef %14) #2 ret void } declare i64 @jump_entry_code(ptr noundef) local_unnamed_addr #1 declare i32 @aarch64_insn_gen_branch_imm(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jump_entry_target(ptr noundef) local_unnamed_addr #1 declare i32 @aarch64_insn_gen_nop(...) local_unnamed_addr #1 declare i32 @aarch64_insn_patch_text_nosync(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_arm64_kernel_extr_jump_label.c_arch_jump_label_transform
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_sa1100_h3600.c_h3600_pcmcia_socket_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_sa1100_h3600.c_h3600_pcmcia_socket_suspend.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @irqs = dso_local local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_ON = dso_local local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_NVRAM_ON = dso_local local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @h3600_pcmcia_socket_suspend], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @h3600_pcmcia_socket_suspend(ptr noundef %0) #0 { %2 = load i32, ptr @irqs, align 4, !tbaa !5 %3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2 %4 = tail call i32 @soc_pcmcia_disable_irqs(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %14 7: ; preds = %1 %8 = load i32, ptr @IPAQ_EGPIO_OPT_ON, align 4, !tbaa !5 %9 = tail call i32 @assign_h3600_egpio(i32 noundef %8, i32 noundef 0) #2 %10 = load i32, ptr @IPAQ_EGPIO_OPT_NVRAM_ON, align 4, !tbaa !5 %11 = tail call i32 @assign_h3600_egpio(i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @IPAQ_EGPIO_OPT_RESET, align 4, !tbaa !5 %13 = tail call i32 @assign_h3600_egpio(i32 noundef %12, i32 noundef 1) #2 br label %14 14: ; preds = %7, %1 ret void } declare i32 @soc_pcmcia_disable_irqs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @assign_h3600_egpio(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"soc_pcmcia_socket", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_sa1100_h3600.c_h3600_pcmcia_socket_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_sa1100_h3600.c_h3600_pcmcia_socket_suspend.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @irqs = common local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_ON = common local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_NVRAM_ON = common local_unnamed_addr global i32 0, align 4 @IPAQ_EGPIO_OPT_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @h3600_pcmcia_socket_suspend], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @h3600_pcmcia_socket_suspend(ptr noundef %0) #0 { %2 = load i32, ptr @irqs, align 4, !tbaa !6 %3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2 %4 = tail call i32 @soc_pcmcia_disable_irqs(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %14 7: ; preds = %1 %8 = load i32, ptr @IPAQ_EGPIO_OPT_ON, align 4, !tbaa !6 %9 = tail call i32 @assign_h3600_egpio(i32 noundef %8, i32 noundef 0) #2 %10 = load i32, ptr @IPAQ_EGPIO_OPT_NVRAM_ON, align 4, !tbaa !6 %11 = tail call i32 @assign_h3600_egpio(i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @IPAQ_EGPIO_OPT_RESET, align 4, !tbaa !6 %13 = tail call i32 @assign_h3600_egpio(i32 noundef %12, i32 noundef 1) #2 br label %14 14: ; preds = %7, %1 ret void } declare i32 @soc_pcmcia_disable_irqs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @assign_h3600_egpio(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"soc_pcmcia_socket", !7, i64 0}
fastsocket_kernel_drivers_pcmcia_extr_sa1100_h3600.c_h3600_pcmcia_socket_suspend
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memcontrol.c_mem_cgroup_soft_limit_check.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memcontrol.c_mem_cgroup_soft_limit_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mem_cgroup_stat_cpu = type { i32 } @MEM_CGROUP_STAT_EVENTS = dso_local local_unnamed_addr global i32 0, align 4 @SOFTLIMIT_EVENTS_THRESH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @mem_cgroup_soft_limit_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mem_cgroup_soft_limit_check(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 (...) @get_cpu() #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %2 to i64 %5 = getelementptr inbounds %struct.mem_cgroup_stat_cpu, ptr %3, i64 %4 %6 = load i32, ptr @MEM_CGROUP_STAT_EVENTS, align 4, !tbaa !11 %7 = tail call i64 @__mem_cgroup_stat_read_local(ptr noundef %5, i32 noundef %6) #2 %8 = load i64, ptr @SOFTLIMIT_EVENTS_THRESH, align 8, !tbaa !13 %9 = icmp sgt i64 %7, %8 %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %1 %14 = load i32, ptr @MEM_CGROUP_STAT_EVENTS, align 4, !tbaa !11 %15 = tail call i32 @__mem_cgroup_stat_reset_safe(ptr noundef %5, i32 noundef %14) #2 br label %16 16: ; preds = %13, %1 %17 = phi i32 [ 1, %13 ], [ 0, %1 ] %18 = tail call i32 (...) @put_cpu() #2 ret i32 %17 } declare i32 @get_cpu(...) local_unnamed_addr #1 declare i64 @__mem_cgroup_stat_read_local(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @__mem_cgroup_stat_reset_safe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_cpu(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"mem_cgroup", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memcontrol.c_mem_cgroup_soft_limit_check.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memcontrol.c_mem_cgroup_soft_limit_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mem_cgroup_stat_cpu = type { i32 } @MEM_CGROUP_STAT_EVENTS = common local_unnamed_addr global i32 0, align 4 @SOFTLIMIT_EVENTS_THRESH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @mem_cgroup_soft_limit_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @mem_cgroup_soft_limit_check(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @get_cpu() #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %2 to i64 %5 = getelementptr inbounds %struct.mem_cgroup_stat_cpu, ptr %3, i64 %4 %6 = load i32, ptr @MEM_CGROUP_STAT_EVENTS, align 4, !tbaa !12 %7 = tail call i64 @__mem_cgroup_stat_read_local(ptr noundef %5, i32 noundef %6) #2 %8 = load i64, ptr @SOFTLIMIT_EVENTS_THRESH, align 8, !tbaa !14 %9 = icmp sgt i64 %7, %8 %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %1 %14 = load i32, ptr @MEM_CGROUP_STAT_EVENTS, align 4, !tbaa !12 %15 = tail call i32 @__mem_cgroup_stat_reset_safe(ptr noundef %5, i32 noundef %14) #2 br label %16 16: ; preds = %13, %1 %17 = phi i32 [ 1, %13 ], [ 0, %1 ] %18 = tail call i32 @put_cpu() #2 ret i32 %17 } declare i32 @get_cpu(...) local_unnamed_addr #1 declare i64 @__mem_cgroup_stat_read_local(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @__mem_cgroup_stat_reset_safe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_cpu(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"mem_cgroup", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !10, i64 0}
fastsocket_kernel_mm_extr_memcontrol.c_mem_cgroup_soft_limit_check
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_data_available_handler_checksum.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_data_available_handler_checksum.c" target datalayout = "e-m:e-p270:32:32-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 @data_available_handler_checksum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @data_available_handler_checksum(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @svn_stream_data_available(i32 noundef %3, ptr noundef %1) #2 %5 = tail call ptr @svn_error_trace(i32 noundef %4) #2 ret ptr %5 } declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1 declare i32 @svn_stream_data_available(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"checksum_stream_baton", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_data_available_handler_checksum.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_data_available_handler_checksum.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 @data_available_handler_checksum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @data_available_handler_checksum(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @svn_stream_data_available(i32 noundef %3, ptr noundef %1) #2 %5 = tail call ptr @svn_error_trace(i32 noundef %4) #2 ret ptr %5 } declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1 declare i32 @svn_stream_data_available(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"checksum_stream_baton", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_subr_extr_stream.c_data_available_handler_checksum
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_write_buffer_end.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_write_buffer_end.c" target datalayout = "e-m:e-p270:32:32-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.kcdata_item = type { i64, i32 } @KCDATA_TYPE_BUFFER_END = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kcdata_write_buffer_end(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.kcdata_item, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 16) #3 %4 = load i32, ptr @KCDATA_TYPE_BUFFER_END, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.kcdata_item, ptr %2, i64 0, i32 1 store i32 %4, ptr %5, align 8, !tbaa !9 store i64 0, ptr %2, align 8, !tbaa !12 %6 = load i32, ptr %0, align 4, !tbaa !13 %7 = call i32 @kcdata_memcpy(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %2, i32 noundef 16) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kcdata_memcpy(ptr noundef, 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"kcdata_item", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_write_buffer_end.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_write_buffer_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.kcdata_item = type { i64, i32 } @KCDATA_TYPE_BUFFER_END = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kcdata_write_buffer_end(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.kcdata_item, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 16) #3 %4 = load i32, ptr @KCDATA_TYPE_BUFFER_END, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %4, ptr %5, align 8, !tbaa !10 store i64 0, ptr %2, align 8, !tbaa !13 %6 = load i32, ptr %0, align 4, !tbaa !14 %7 = call i32 @kcdata_memcpy(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %2, i32 noundef 16) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kcdata_memcpy(ptr noundef, 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"kcdata_item", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0}
darwin-xnu_osfmk_kern_extr_kern_cdata.c_kcdata_write_buffer_end
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_phy_pg1.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_phy_pg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, i32, %struct.TYPE_5__, i32, i32 } %struct.TYPE_5__ = type { i32, i32, i32 } @MPI2_FUNCTION_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_ACTION_PAGE_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_PAGETYPE_EXTENDED = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_EXTPAGETYPE_SAS_PHY = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_SASPHY1_PAGEVERSION = dso_local local_unnamed_addr global i32 0, align 4 @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_SAS_PHY_PGAD_FORM_PHY_NUMBER = dso_local local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mpt3sas_config_get_phy_pg1(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_6__, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 32) #3 %7 = load i32, ptr @MPI2_FUNCTION_CONFIG, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 5 store i32 %7, ptr %8, align 4, !tbaa !9 %9 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !5 store i32 %9, ptr %5, align 4, !tbaa !12 %10 = load i32, ptr @MPI2_CONFIG_PAGETYPE_EXTENDED, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 3 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 3, i32 2 store i32 %10, ptr %12, align 4, !tbaa !13 %13 = load i32, ptr @MPI2_CONFIG_EXTPAGETYPE_SAS_PHY, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 4 store i32 %13, ptr %14, align 4, !tbaa !14 store i32 1, ptr %11, align 4, !tbaa !15 %15 = load i32, ptr @MPI2_SASPHY1_PAGEVERSION, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 3, i32 1 store i32 %15, ptr %16, align 4, !tbaa !16 %17 = load ptr, ptr %0, align 8, !tbaa !17 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 2 %19 = call i32 %17(ptr noundef nonnull %0, ptr noundef nonnull %18) #3 %20 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !5 %21 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %1, i32 noundef %20, ptr noundef null, i32 noundef 0) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %4 %24 = load i32, ptr @MPI2_SAS_PHY_PGAD_FORM_PHY_NUMBER, align 4, !tbaa !5 %25 = or i32 %24, %3 %26 = call i32 @cpu_to_le32(i32 noundef %25) #3 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1 store i32 %26, ptr %27, align 4, !tbaa !20 %28 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !5 store i32 %28, ptr %5, align 4, !tbaa !12 %29 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !5 %30 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %1, i32 noundef %29, ptr noundef %2, i32 noundef 4) #3 br label %31 31: ; preds = %4, %23 %32 = phi i32 [ %21, %4 ], [ %30, %23 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %32 } ; 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 @_config_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(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 28} !10 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12, !6, i64 24, !6, i64 28} !11 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !6, i64 8} !12 = !{!10, !6, i64 0} !13 = !{!10, !6, i64 20} !14 = !{!10, !6, i64 24} !15 = !{!10, !6, i64 12} !16 = !{!10, !6, i64 16} !17 = !{!18, !19, i64 0} !18 = !{!"MPT3SAS_ADAPTER", !19, i64 0} !19 = !{!"any pointer", !7, i64 0} !20 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_phy_pg1.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_phy_pg1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32, i32, i32, %struct.TYPE_5__, i32, i32 } %struct.TYPE_5__ = type { i32, i32, i32 } @MPI2_FUNCTION_CONFIG = common local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_ACTION_PAGE_HEADER = common local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_PAGETYPE_EXTENDED = common local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_EXTPAGETYPE_SAS_PHY = common local_unnamed_addr global i32 0, align 4 @MPI2_SASPHY1_PAGEVERSION = common local_unnamed_addr global i32 0, align 4 @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @MPI2_SAS_PHY_PGAD_FORM_PHY_NUMBER = common local_unnamed_addr global i32 0, align 4 @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mpt3sas_config_get_phy_pg1(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_6__, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 32) #3 %7 = load i32, ptr @MPI2_FUNCTION_CONFIG, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %5, i64 28 store i32 %7, ptr %8, align 4, !tbaa !10 %9 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !6 store i32 %9, ptr %5, align 4, !tbaa !13 %10 = load i32, ptr @MPI2_CONFIG_PAGETYPE_EXTENDED, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %5, i64 12 %12 = getelementptr inbounds i8, ptr %5, i64 20 store i32 %10, ptr %12, align 4, !tbaa !14 %13 = load i32, ptr @MPI2_CONFIG_EXTPAGETYPE_SAS_PHY, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %5, i64 24 store i32 %13, ptr %14, align 4, !tbaa !15 store i32 1, ptr %11, align 4, !tbaa !16 %15 = load i32, ptr @MPI2_SASPHY1_PAGEVERSION, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %15, ptr %16, align 4, !tbaa !17 %17 = load ptr, ptr %0, align 8, !tbaa !18 %18 = getelementptr inbounds i8, ptr %5, i64 8 %19 = call i32 %17(ptr noundef nonnull %0, ptr noundef nonnull %18) #3 %20 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !6 %21 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %1, i32 noundef %20, ptr noundef null, i32 noundef 0) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %4 %24 = load i32, ptr @MPI2_SAS_PHY_PGAD_FORM_PHY_NUMBER, align 4, !tbaa !6 %25 = or i32 %24, %3 %26 = call i32 @cpu_to_le32(i32 noundef %25) #3 %27 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %26, ptr %27, align 4, !tbaa !21 %28 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !6 store i32 %28, ptr %5, align 4, !tbaa !13 %29 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !6 %30 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %1, i32 noundef %29, ptr noundef %2, i32 noundef 4) #3 br label %31 31: ; preds = %4, %23 %32 = phi i32 [ %21, %4 ], [ %30, %23 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %32 } ; 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 @_config_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(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 28} !11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 12, !7, i64 24, !7, i64 28} !12 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8} !13 = !{!11, !7, i64 0} !14 = !{!11, !7, i64 20} !15 = !{!11, !7, i64 24} !16 = !{!11, !7, i64 12} !17 = !{!11, !7, i64 16} !18 = !{!19, !20, i64 0} !19 = !{!"MPT3SAS_ADAPTER", !20, i64 0} !20 = !{!"any pointer", !8, i64 0} !21 = !{!11, !7, i64 4}
fastsocket_kernel_drivers_scsi_mpt3sas_extr_mpt3sas_config.c_mpt3sas_config_get_phy_pg1
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_sixel_ctx.c_gfx_ctx_sixel_destroy.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_sixel_ctx.c_gfx_ctx_sixel_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_ctx_sixel_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @gfx_ctx_sixel_destroy(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_sixel_ctx.c_gfx_ctx_sixel_destroy.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_sixel_ctx.c_gfx_ctx_sixel_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 @gfx_ctx_sixel_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @gfx_ctx_sixel_destroy(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_gfx_drivers_context_extr_sixel_ctx.c_gfx_ctx_sixel_destroy
; ModuleID = 'AnghaBench/linux/drivers/hsi/clients/extr_cmt_speech.c_cs_hsi_read_on_control.c' source_filename = "AnghaBench/linux/drivers/hsi/clients/extr_cmt_speech.c_cs_hsi_read_on_control.c" target datalayout = "e-m:e-p270:32:32-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.cs_hsi_iface = type { i32, ptr, i32 } %struct.hsi_msg = type { i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } @SSI_CHANNEL_STATE_READING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Control read already pending (%d)\0A\00", align 1 @SSI_CHANNEL_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Control read error (%d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Issuing RX on control\0A\00", align 1 @cs_hsi_peek_on_control_complete = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cs_hsi_read_on_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cs_hsi_read_on_control(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.cs_hsi_iface, ptr %0, i64 0, i32 2 %3 = tail call i32 @spin_lock(ptr noundef nonnull %2) #2 %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr @SSI_CHANNEL_STATE_READING, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.cs_hsi_iface, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @dev_err(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %4) #2 %12 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 br label %36 13: ; preds = %1 %14 = load i32, ptr @SSI_CHANNEL_STATE_ERROR, align 4, !tbaa !11 %15 = and i32 %14, %4 %16 = icmp eq i32 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = getelementptr inbounds %struct.cs_hsi_iface, ptr %0, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = tail call i32 @dev_err(ptr noundef %19, ptr noundef nonnull @.str.1, i32 noundef %4) #2 %21 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 br label %36 22: ; preds = %13 %23 = or i32 %5, %4 store i32 %23, ptr %0, align 8, !tbaa !5 %24 = getelementptr inbounds %struct.cs_hsi_iface, ptr %0, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !12 %26 = tail call i32 @dev_dbg(ptr noundef %25, ptr noundef nonnull @.str.2) #2 %27 = tail call ptr @cs_claim_cmd(ptr noundef nonnull %0) #2 %28 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 %29 = getelementptr inbounds %struct.hsi_msg, ptr %27, i64 0, i32 1 store i64 0, ptr %29, align 8, !tbaa !13 %30 = load i32, ptr @cs_hsi_peek_on_control_complete, align 4, !tbaa !11 store i32 %30, ptr %27, align 8, !tbaa !17 %31 = load ptr, ptr %24, align 8, !tbaa !12 %32 = tail call i32 @hsi_async_read(ptr noundef %31, ptr noundef nonnull %27) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %22 %35 = tail call i32 @cs_hsi_control_read_error(ptr noundef nonnull %0, ptr noundef nonnull %27) #2 br label %36 36: ; preds = %22, %34, %17, %8 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @cs_claim_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @hsi_async_read(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cs_hsi_control_read_error(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 = !{!"cs_hsi_iface", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !16, i64 8} !14 = !{!"hsi_msg", !7, i64 0, !15, i64 8} !15 = !{!"TYPE_3__", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hsi/clients/extr_cmt_speech.c_cs_hsi_read_on_control.c' source_filename = "AnghaBench/linux/drivers/hsi/clients/extr_cmt_speech.c_cs_hsi_read_on_control.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSI_CHANNEL_STATE_READING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Control read already pending (%d)\0A\00", align 1 @SSI_CHANNEL_STATE_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Control read error (%d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Issuing RX on control\0A\00", align 1 @cs_hsi_peek_on_control_complete = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cs_hsi_read_on_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cs_hsi_read_on_control(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call i32 @spin_lock(ptr noundef nonnull %2) #2 %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr @SSI_CHANNEL_STATE_READING, align 4, !tbaa !12 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @dev_err(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %4) #2 %12 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 br label %36 13: ; preds = %1 %14 = load i32, ptr @SSI_CHANNEL_STATE_ERROR, align 4, !tbaa !12 %15 = and i32 %14, %4 %16 = icmp eq i32 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = tail call i32 @dev_err(ptr noundef %19, ptr noundef nonnull @.str.1, i32 noundef %4) #2 %21 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 br label %36 22: ; preds = %13 %23 = or i32 %5, %4 store i32 %23, ptr %0, align 8, !tbaa !6 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !13 %26 = tail call i32 @dev_dbg(ptr noundef %25, ptr noundef nonnull @.str.2) #2 %27 = tail call ptr @cs_claim_cmd(ptr noundef nonnull %0) #2 %28 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 %29 = getelementptr inbounds i8, ptr %27, i64 8 store i64 0, ptr %29, align 8, !tbaa !14 %30 = load i32, ptr @cs_hsi_peek_on_control_complete, align 4, !tbaa !12 store i32 %30, ptr %27, align 8, !tbaa !18 %31 = load ptr, ptr %24, align 8, !tbaa !13 %32 = tail call i32 @hsi_async_read(ptr noundef %31, ptr noundef nonnull %27) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %22 %35 = tail call i32 @cs_hsi_control_read_error(ptr noundef nonnull %0, ptr noundef nonnull %27) #2 br label %36 36: ; preds = %22, %34, %17, %8 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @cs_claim_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @hsi_async_read(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cs_hsi_control_read_error(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 = !{!"cs_hsi_iface", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !17, i64 8} !15 = !{!"hsi_msg", !8, i64 0, !16, i64 8} !16 = !{!"TYPE_3__", !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!15, !8, i64 0}
linux_drivers_hsi_clients_extr_cmt_speech.c_cs_hsi_read_on_control
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bochs/extr_bochs_hw.c_bochs_vga_writeb.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bochs/extr_bochs_hw.c_bochs_vga_writeb.c" target datalayout = "e-m:e-p270:32:32-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 @bochs_vga_writeb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bochs_vga_writeb(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = add i32 %1, -992 %5 = icmp ult i32 %4, -32 %6 = zext i1 %5 to i32 %7 = tail call i64 @WARN_ON(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %19 9: ; preds = %3 %10 = load i64, ptr %0, align 8, !tbaa !5 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9 %13 = add nsw i32 %1, 64 %14 = sext i32 %13 to i64 %15 = add nsw i64 %10, %14 %16 = tail call i32 @writeb(i32 noundef %2, i64 noundef %15) #2 br label %19 17: ; preds = %9 %18 = tail call i32 @outb(i32 noundef %2, i32 noundef %1) #2 br label %19 19: ; preds = %3, %17, %12 ret void } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bochs_device", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bochs/extr_bochs_hw.c_bochs_vga_writeb.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bochs/extr_bochs_hw.c_bochs_vga_writeb.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 @bochs_vga_writeb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bochs_vga_writeb(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = add i32 %1, -992 %5 = icmp ult i32 %4, -32 %6 = zext i1 %5 to i32 %7 = tail call i64 @WARN_ON(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %19 9: ; preds = %3 %10 = load i64, ptr %0, align 8, !tbaa !6 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9 %13 = add nsw i32 %1, 64 %14 = sext i32 %13 to i64 %15 = add nsw i64 %10, %14 %16 = tail call i32 @writeb(i32 noundef %2, i64 noundef %15) #2 br label %19 17: ; preds = %9 %18 = tail call i32 @outb(i32 noundef %2, i32 noundef %1) #2 br label %19 19: ; preds = %3, %17, %12 ret void } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bochs_device", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_bochs_extr_bochs_hw.c_bochs_vga_writeb
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c_rtl8723be_set_qos.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c_rtl8723be_set_qos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_EDCA_BK_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @REG_EDCA_VI_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @REG_EDCA_VO_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"rtl8723be: invalid aci: %d !\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @rtl8723be_set_qos(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call i32 @rtl8723_dm_init_edca_turbo(ptr noundef %0) #2 switch i32 %1, label %14 [ i32 130, label %5 i32 131, label %16 i32 129, label %8 i32 128, label %11 ] 5: ; preds = %2 %6 = load i32, ptr @REG_EDCA_BK_PARAM, align 4, !tbaa !5 %7 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %6, i32 noundef 42063) #2 br label %16 8: ; preds = %2 %9 = load i32, ptr @REG_EDCA_VI_PARAM, align 4, !tbaa !5 %10 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %9, i32 noundef 6177570) #2 br label %16 11: ; preds = %2 %12 = load i32, ptr @REG_EDCA_VO_PARAM, align 4, !tbaa !5 %13 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %12, i32 noundef 3093026) #2 br label %16 14: ; preds = %2 %15 = tail call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %16 16: ; preds = %14, %11, %8, %2, %5 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723_dm_init_edca_turbo(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_write_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ONCE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c_rtl8723be_set_qos.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c_rtl8723be_set_qos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_EDCA_BK_PARAM = common local_unnamed_addr global i32 0, align 4 @REG_EDCA_VI_PARAM = common local_unnamed_addr global i32 0, align 4 @REG_EDCA_VO_PARAM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"rtl8723be: invalid aci: %d !\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @rtl8723be_set_qos(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call i32 @rtl8723_dm_init_edca_turbo(ptr noundef %0) #2 switch i32 %1, label %14 [ i32 130, label %5 i32 131, label %16 i32 129, label %8 i32 128, label %11 ] 5: ; preds = %2 %6 = load i32, ptr @REG_EDCA_BK_PARAM, align 4, !tbaa !6 %7 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %6, i32 noundef 42063) #2 br label %16 8: ; preds = %2 %9 = load i32, ptr @REG_EDCA_VI_PARAM, align 4, !tbaa !6 %10 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %9, i32 noundef 6177570) #2 br label %16 11: ; preds = %2 %12 = load i32, ptr @REG_EDCA_VO_PARAM, align 4, !tbaa !6 %13 = tail call i32 @rtl_write_dword(ptr noundef %3, i32 noundef %12, i32 noundef 3093026) #2 br label %16 14: ; preds = %2 %15 = tail call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %16 16: ; preds = %14, %11, %8, %2, %5 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723_dm_init_edca_turbo(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_write_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ONCE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723be_extr_hw.c_rtl8723be_set_qos
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccree/extr_cc_hash.c_cc_update_complete.c' source_filename = "AnghaBench/linux/drivers/crypto/ccree/extr_cc_hash.c_cc_update_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"req=%pK\0A\00", align 1 @EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cc_update_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cc_update_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @ahash_request_ctx(ptr noundef %1) #2 %5 = tail call ptr @crypto_ahash_reqtfm(ptr noundef %1) #2 %6 = tail call ptr @crypto_ahash_ctx(ptr noundef %5) #2 %7 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 %8 = load i32, ptr @EINPROGRESS, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 %10 = icmp eq i32 %9, %2 br i1 %10, label %15, label %11 11: ; preds = %3 %12 = load i32, ptr %1, align 4, !tbaa !9 %13 = tail call i32 @cc_unmap_hash_request(ptr noundef %0, ptr noundef %4, i32 noundef %12, i32 noundef 0) #2 %14 = tail call i32 @cc_unmap_req(ptr noundef %0, ptr noundef %4, ptr noundef %6) #2 br label %15 15: ; preds = %11, %3 %16 = tail call i32 @ahash_request_complete(ptr noundef %1, i32 noundef %2) #2 ret void } declare ptr @ahash_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cc_unmap_hash_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cc_unmap_req(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ahash_request_complete(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ahash_request", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccree/extr_cc_hash.c_cc_update_complete.c' source_filename = "AnghaBench/linux/drivers/crypto/ccree/extr_cc_hash.c_cc_update_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"req=%pK\0A\00", align 1 @EINPROGRESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cc_update_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cc_update_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @ahash_request_ctx(ptr noundef %1) #2 %5 = tail call ptr @crypto_ahash_reqtfm(ptr noundef %1) #2 %6 = tail call ptr @crypto_ahash_ctx(ptr noundef %5) #2 %7 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 %8 = load i32, ptr @EINPROGRESS, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 %10 = icmp eq i32 %9, %2 br i1 %10, label %15, label %11 11: ; preds = %3 %12 = load i32, ptr %1, align 4, !tbaa !10 %13 = tail call i32 @cc_unmap_hash_request(ptr noundef %0, ptr noundef %4, i32 noundef %12, i32 noundef 0) #2 %14 = tail call i32 @cc_unmap_req(ptr noundef %0, ptr noundef %4, ptr noundef %6) #2 br label %15 15: ; preds = %11, %3 %16 = tail call i32 @ahash_request_complete(ptr noundef %1, i32 noundef %2) #2 ret void } declare ptr @ahash_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cc_unmap_hash_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cc_unmap_req(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ahash_request_complete(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ahash_request", !7, i64 0}
linux_drivers_crypto_ccree_extr_cc_hash.c_cc_update_complete
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Memory.c_NewSkEx.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Memory.c_NewSkEx.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i64, i32, i32 } @INIT_NUM_RESERVED = dso_local local_unnamed_addr global i32 0, align 4 @KS_NEWSK_COUNT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @NewSkEx(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @Malloc(i32 noundef 32) #2 %3 = tail call i32 (...) @NewLock() #2 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 5 store i32 %3, ptr %4, align 4, !tbaa !5 %5 = tail call i32 (...) @NewRef() #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 4 store i32 %5, ptr %6, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 3 store i64 0, ptr %7, align 8, !tbaa !13 %8 = load i32, ptr @INIT_NUM_RESERVED, align 4, !tbaa !14 store i32 %8, ptr %2, align 8, !tbaa !15 %9 = shl i32 %8, 3 %10 = tail call ptr @Malloc(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 2 store ptr %10, ptr %11, align 8, !tbaa !16 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1 store i32 %0, ptr %12, align 4, !tbaa !17 %13 = load i32, ptr @KS_NEWSK_COUNT, align 4, !tbaa !14 %14 = tail call i32 @KS_INC(i32 noundef %13) #2 ret ptr %2 } declare ptr @Malloc(i32 noundef) local_unnamed_addr #1 declare i32 @NewLock(...) local_unnamed_addr #1 declare i32 @NewRef(...) local_unnamed_addr #1 declare i32 @KS_INC(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 28} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !11, i64 16} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!6, !10, i64 8} !17 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Memory.c_NewSkEx.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Memory.c_NewSkEx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INIT_NUM_RESERVED = common local_unnamed_addr global i32 0, align 4 @KS_NEWSK_COUNT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @NewSkEx(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @Malloc(i32 noundef 32) #2 %3 = tail call i32 @NewLock() #2 %4 = getelementptr inbounds i8, ptr %2, i64 28 store i32 %3, ptr %4, align 4, !tbaa !6 %5 = tail call i32 @NewRef() #2 %6 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %5, ptr %6, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %2, i64 16 store i64 0, ptr %7, align 8, !tbaa !14 %8 = load i32, ptr @INIT_NUM_RESERVED, align 4, !tbaa !15 store i32 %8, ptr %2, align 8, !tbaa !16 %9 = shl i32 %8, 3 %10 = tail call ptr @Malloc(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %10, ptr %11, align 8, !tbaa !17 %12 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %0, ptr %12, align 4, !tbaa !18 %13 = load i32, ptr @KS_NEWSK_COUNT, align 4, !tbaa !15 %14 = tail call i32 @KS_INC(i32 noundef %13) #2 ret ptr %2 } declare ptr @Malloc(i32 noundef) local_unnamed_addr #1 declare i32 @NewLock(...) local_unnamed_addr #1 declare i32 @NewRef(...) local_unnamed_addr #1 declare i32 @KS_INC(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 28} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !12, i64 16} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!7, !8, i64 4}
SoftEtherVPN_src_Mayaqua_extr_Memory.c_NewSkEx
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/compat/extr_fake-rfc2553.c_freeaddrinfo.c' source_filename = "AnghaBench/freebsd/contrib/unbound/compat/extr_fake-rfc2553.c_freeaddrinfo.c" target datalayout = "e-m:e-p270:32:32-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 @freeaddrinfo(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @free(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !10 8: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"addrinfo", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/compat/extr_fake-rfc2553.c_freeaddrinfo.c' source_filename = "AnghaBench/freebsd/contrib/unbound/compat/extr_fake-rfc2553.c_freeaddrinfo.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 @freeaddrinfo(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @free(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !11 8: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"addrinfo", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_compat_extr_fake-rfc2553.c_freeaddrinfo
; ModuleID = 'AnghaBench/linux/arch/openrisc/kernel/extr_smp.c_boot_secondary.c' source_filename = "AnghaBench/linux/arch/openrisc/kernel/extr_smp.c_boot_secondary.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @boot_lock = dso_local global i32 0, align 4 @secondary_release = dso_local local_unnamed_addr global i32 0, align 4 @IPI_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @boot_secondary], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @boot_secondary(i32 noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @spin_lock(ptr noundef nonnull @boot_lock) #2 store i32 %0, ptr @secondary_release, align 4, !tbaa !5 %4 = tail call i32 @cpumask_of(i32 noundef %0) #2 %5 = load i32, ptr @IPI_WAKEUP, align 4, !tbaa !5 %6 = tail call i32 @smp_cross_call(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @spin_unlock(ptr noundef nonnull @boot_lock) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @smp_cross_call(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_of(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/openrisc/kernel/extr_smp.c_boot_secondary.c' source_filename = "AnghaBench/linux/arch/openrisc/kernel/extr_smp.c_boot_secondary.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @boot_lock = common global i32 0, align 4 @secondary_release = common local_unnamed_addr global i32 0, align 4 @IPI_WAKEUP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @boot_secondary], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @boot_secondary(i32 noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @spin_lock(ptr noundef nonnull @boot_lock) #2 store i32 %0, ptr @secondary_release, align 4, !tbaa !6 %4 = tail call i32 @cpumask_of(i32 noundef %0) #2 %5 = load i32, ptr @IPI_WAKEUP, align 4, !tbaa !6 %6 = tail call i32 @smp_cross_call(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @spin_unlock(ptr noundef nonnull @boot_lock) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @smp_cross_call(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_of(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_openrisc_kernel_extr_smp.c_boot_secondary
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_send_irqa.c' source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_send_irqa.c" target datalayout = "e-m:e-p270:32:32-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.vx_rmh = type { i32 } @CMD_SEND_IRQA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vx_send_irqa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vx_send_irqa(ptr noundef %0) #0 { %2 = alloca %struct.vx_rmh, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @CMD_SEND_IRQA, align 4, !tbaa !5 %4 = call i32 @vx_init_rmh(ptr noundef nonnull %2, i32 noundef %3) #3 %5 = call i32 @vx_send_msg_nolock(ptr noundef %0, ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vx_init_rmh(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vx_send_msg_nolock(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_send_irqa.c' source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_send_irqa.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vx_rmh = type { i32 } @CMD_SEND_IRQA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vx_send_irqa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vx_send_irqa(ptr noundef %0) #0 { %2 = alloca %struct.vx_rmh, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @CMD_SEND_IRQA, align 4, !tbaa !6 %4 = call i32 @vx_init_rmh(ptr noundef nonnull %2, i32 noundef %3) #3 %5 = call i32 @vx_send_msg_nolock(ptr noundef %0, ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vx_init_rmh(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vx_send_msg_nolock(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_drivers_vx_extr_vx_pcm.c_vx_send_irqa
; ModuleID = 'AnghaBench/linux/drivers/clk/uniphier/extr_clk-uniphier-mux.c_uniphier_clk_mux_get_parent.c' source_filename = "AnghaBench/linux/drivers/clk/uniphier/extr_clk-uniphier-mux.c_uniphier_clk_mux_get_parent.c" target datalayout = "e-m:e-p270:32:32-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.uniphier_clk_mux = type { ptr, ptr, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uniphier_clk_mux_get_parent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @uniphier_clk_mux_get_parent(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @to_uniphier_clk_mux(ptr noundef %0) #3 %4 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds %struct.uniphier_clk_mux, ptr %3, i64 0, i32 3 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.uniphier_clk_mux, ptr %3, i64 0, i32 2 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = call i32 @regmap_read(i32 noundef %6, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %35 11: ; preds = %1 %12 = icmp sgt i32 %4, 0 br i1 %12, label %13, label %30 13: ; preds = %11 %14 = load ptr, ptr %3, align 8, !tbaa !12 %15 = load i32, ptr %2, align 4, !tbaa !13 %16 = getelementptr inbounds %struct.uniphier_clk_mux, ptr %3, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = zext nneg i32 %4 to i64 br label %19 19: ; preds = %13, %27 %20 = phi i64 [ 0, %13 ], [ %28, %27 ] %21 = getelementptr inbounds i32, ptr %14, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = and i32 %15, %22 %24 = getelementptr inbounds i32, ptr %17, i64 %20 %25 = load i32, ptr %24, align 4, !tbaa !13 %26 = icmp eq i32 %23, %25 br i1 %26, label %33, label %27 27: ; preds = %19 %28 = add nuw nsw i64 %20, 1 %29 = icmp eq i64 %28, %18 br i1 %29, label %30, label %19, !llvm.loop !15 30: ; preds = %27, %11 %31 = load i32, ptr @EINVAL, align 4, !tbaa !13 %32 = sub nsw i32 0, %31 br label %35 33: ; preds = %19 %34 = trunc i64 %20 to i32 br label %35 35: ; preds = %33, %1, %30 %36 = phi i32 [ %32, %30 ], [ %9, %1 ], [ %34, %33 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_uniphier_clk_mux(ptr noundef) local_unnamed_addr #2 declare i32 @clk_hw_get_num_parents(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 20} !6 = !{!"uniphier_clk_mux", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!6, !7, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!6, !7, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/clk/uniphier/extr_clk-uniphier-mux.c_uniphier_clk_mux_get_parent.c' source_filename = "AnghaBench/linux/drivers/clk/uniphier/extr_clk-uniphier-mux.c_uniphier_clk_mux_get_parent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uniphier_clk_mux_get_parent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @uniphier_clk_mux_get_parent(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @to_uniphier_clk_mux(ptr noundef %0) #3 %4 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %3, i64 20 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %3, i64 16 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = call i32 @regmap_read(i32 noundef %6, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %35 11: ; preds = %1 %12 = icmp sgt i32 %4, 0 br i1 %12, label %13, label %30 13: ; preds = %11 %14 = load ptr, ptr %3, align 8, !tbaa !13 %15 = load i32, ptr %2, align 4, !tbaa !14 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = zext nneg i32 %4 to i64 br label %19 19: ; preds = %13, %27 %20 = phi i64 [ 0, %13 ], [ %28, %27 ] %21 = getelementptr inbounds i32, ptr %14, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = and i32 %15, %22 %24 = getelementptr inbounds i32, ptr %17, i64 %20 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = icmp eq i32 %23, %25 br i1 %26, label %33, label %27 27: ; preds = %19 %28 = add nuw nsw i64 %20, 1 %29 = icmp eq i64 %28, %18 br i1 %29, label %30, label %19, !llvm.loop !16 30: ; preds = %27, %11 %31 = load i32, ptr @EINVAL, align 4, !tbaa !14 %32 = sub nsw i32 0, %31 br label %35 33: ; preds = %19 %34 = trunc nuw nsw i64 %20 to i32 br label %35 35: ; preds = %33, %1, %30 %36 = phi i32 [ %32, %30 ], [ %9, %1 ], [ %34, %33 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_uniphier_clk_mux(ptr noundef) local_unnamed_addr #2 declare i32 @clk_hw_get_num_parents(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 20} !7 = !{!"uniphier_clk_mux", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!7, !8, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!7, !8, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_clk_uniphier_extr_clk-uniphier-mux.c_uniphier_clk_mux_get_parent
; ModuleID = 'AnghaBench/tengine/src/stream/extr_ngx_stream_split_clients_module.c_ngx_stream_split_clients.c' source_filename = "AnghaBench/tengine/src/stream/extr_ngx_stream_split_clients_module.c_ngx_stream_split_clients.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_16__ = type { ptr, ptr } %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_13__ = type { %struct.TYPE_12__, i64 } %struct.TYPE_12__ = type { i32, i32, ptr, i64, i64 } @NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @NGX_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8 @NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"invalid percent value \22%V\22\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_stream_split_clients], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ngx_stream_split_clients(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = tail call ptr @ngx_array_push(ptr noundef %5) #3 %9 = icmp eq ptr %8, null br i1 %9, label %46, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 8, !tbaa !13 switch i32 %11, label %12 [ i32 1, label %15 i32 0, label %43 ] 12: ; preds = %10 %13 = getelementptr inbounds %struct.TYPE_15__, ptr %7, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !16 br label %20 15: ; preds = %10 %16 = getelementptr inbounds %struct.TYPE_15__, ptr %7, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !16 %18 = load i8, ptr %17, align 1, !tbaa !17 %19 = icmp eq i8 %18, 42 br i1 %19, label %33, label %20 20: ; preds = %12, %15 %21 = phi ptr [ %14, %12 ], [ %17, %15 ] %22 = add nsw i32 %11, -1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1, !tbaa !17 %26 = icmp eq i8 %25, 37 br i1 %26, label %27, label %43 27: ; preds = %20 %28 = tail call i64 @ngx_atofp(ptr noundef nonnull %21, i32 noundef %22, i32 noundef 2) #3 %29 = load i64, ptr @NGX_ERROR, align 8, !tbaa !18 %30 = icmp eq i64 %28, %29 %31 = icmp eq i64 %28, 0 %32 = or i1 %31, %30 br i1 %32, label %43, label %33 33: ; preds = %27, %15 %34 = phi i64 [ 0, %15 ], [ %28, %27 ] %35 = getelementptr inbounds %struct.TYPE_13__, ptr %8, i64 0, i32 1 store i64 %34, ptr %35, align 8, !tbaa !20 %36 = getelementptr inbounds %struct.TYPE_15__, ptr %7, i64 1 %37 = load i32, ptr %36, align 8, !tbaa !13 store i32 %37, ptr %8, align 8, !tbaa !23 %38 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 1 store i32 1, ptr %38, align 4, !tbaa !24 %39 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 3 %40 = getelementptr inbounds %struct.TYPE_15__, ptr %7, i64 1, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %39, i8 0, i64 16, i1 false) %41 = load ptr, ptr %40, align 8, !tbaa !16 %42 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 2 store ptr %41, ptr %42, align 8, !tbaa !25 br label %46 43: ; preds = %10, %27, %20 %44 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !26 %45 = tail call i32 @ngx_conf_log_error(i32 noundef %44, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %7) #3 br label %46 46: ; preds = %3, %43, %33 %47 = phi ptr [ @NGX_CONF_OK, %33 ], [ @NGX_CONF_ERROR, %43 ], [ @NGX_CONF_ERROR, %3 ] %48 = load ptr, ptr %47, align 8, !tbaa !27 ret ptr %48 } declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #1 declare i64 @ngx_atofp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_16__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_11__", !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_15__", !15, i64 0, !7, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!14, !7, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !8, i64 0} !20 = !{!21, !19, i64 32} !21 = !{!"TYPE_13__", !22, i64 0, !19, i64 32} !22 = !{!"TYPE_12__", !15, i64 0, !15, i64 4, !7, i64 8, !19, i64 16, !19, i64 24} !23 = !{!21, !15, i64 0} !24 = !{!21, !15, i64 4} !25 = !{!21, !7, i64 8} !26 = !{!15, !15, i64 0} !27 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/tengine/src/stream/extr_ngx_stream_split_clients_module.c_ngx_stream_split_clients.c' source_filename = "AnghaBench/tengine/src/stream/extr_ngx_stream_split_clients_module.c_ngx_stream_split_clients.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8 @NGX_ERROR = common local_unnamed_addr global i64 0, align 8 @NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8 @NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"invalid percent value \22%V\22\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ngx_stream_split_clients], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ngx_stream_split_clients(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = tail call ptr @ngx_array_push(ptr noundef %5) #3 %9 = icmp eq ptr %8, null br i1 %9, label %46, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 8, !tbaa !14 switch i32 %11, label %12 [ i32 1, label %15 i32 0, label %43 ] 12: ; preds = %10 %13 = getelementptr inbounds i8, ptr %7, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !17 br label %20 15: ; preds = %10 %16 = getelementptr inbounds i8, ptr %7, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !17 %18 = load i8, ptr %17, align 1, !tbaa !18 %19 = icmp eq i8 %18, 42 br i1 %19, label %33, label %20 20: ; preds = %12, %15 %21 = phi ptr [ %14, %12 ], [ %17, %15 ] %22 = add nsw i32 %11, -1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1, !tbaa !18 %26 = icmp eq i8 %25, 37 br i1 %26, label %27, label %43 27: ; preds = %20 %28 = tail call i64 @ngx_atofp(ptr noundef nonnull %21, i32 noundef %22, i32 noundef 2) #3 %29 = load i64, ptr @NGX_ERROR, align 8, !tbaa !19 %30 = icmp eq i64 %28, %29 %31 = icmp eq i64 %28, 0 %32 = or i1 %31, %30 br i1 %32, label %43, label %33 33: ; preds = %27, %15 %34 = phi i64 [ 0, %15 ], [ %28, %27 ] %35 = getelementptr inbounds i8, ptr %8, i64 32 store i64 %34, ptr %35, align 8, !tbaa !21 %36 = getelementptr inbounds i8, ptr %7, i64 16 %37 = load i32, ptr %36, align 8, !tbaa !14 store i32 %37, ptr %8, align 8, !tbaa !24 %38 = getelementptr inbounds i8, ptr %8, i64 4 store i32 1, ptr %38, align 4, !tbaa !25 %39 = getelementptr inbounds i8, ptr %8, i64 16 %40 = getelementptr inbounds i8, ptr %7, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %39, i8 0, i64 16, i1 false) %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %41, ptr %42, align 8, !tbaa !26 br label %46 43: ; preds = %10, %27, %20 %44 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !27 %45 = tail call i32 @ngx_conf_log_error(i32 noundef %44, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %7) #3 br label %46 46: ; preds = %3, %43, %33 %47 = phi ptr [ @NGX_CONF_OK, %33 ], [ @NGX_CONF_ERROR, %43 ], [ @NGX_CONF_ERROR, %3 ] %48 = load ptr, ptr %47, align 8, !tbaa !28 ret ptr %48 } declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #1 declare i64 @ngx_atofp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_16__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_11__", !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_15__", !16, i64 0, !8, i64 8} !16 = !{!"int", !9, i64 0} !17 = !{!15, !8, i64 8} !18 = !{!9, !9, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long", !9, i64 0} !21 = !{!22, !20, i64 32} !22 = !{!"TYPE_13__", !23, i64 0, !20, i64 32} !23 = !{!"TYPE_12__", !16, i64 0, !16, i64 4, !8, i64 8, !20, i64 16, !20, i64 24} !24 = !{!22, !16, i64 0} !25 = !{!22, !16, i64 4} !26 = !{!22, !8, i64 8} !27 = !{!16, !16, i64 0} !28 = !{!8, !8, i64 0}
tengine_src_stream_extr_ngx_stream_split_clients_module.c_ngx_stream_split_clients
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/extr_stacktrace.c_save_stack_address_nosched.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/extr_stacktrace.c_save_stack_address_nosched.c" target datalayout = "e-m:e-p270:32:32-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.stack_trace = type { i64, i64, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @save_stack_address_nosched], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @save_stack_address_nosched(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %24, label %5 5: ; preds = %3 %6 = tail call i64 @in_sched_functions(i64 noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %5 %9 = load i64, ptr %0, align 8, !tbaa !5 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = add nsw i64 %9, -1 store i64 %12, ptr %0, align 8, !tbaa !5 br label %24 13: ; preds = %8 %14 = getelementptr inbounds %struct.stack_trace, ptr %0, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !11 %16 = getelementptr inbounds %struct.stack_trace, ptr %0, i64 0, i32 2 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = icmp slt i64 %15, %17 br i1 %18, label %19, label %24 19: ; preds = %13 %20 = getelementptr inbounds %struct.stack_trace, ptr %0, i64 0, i32 3 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = add nsw i64 %15, 1 store i64 %22, ptr %14, align 8, !tbaa !11 %23 = getelementptr inbounds i64, ptr %21, i64 %15 store i64 %1, ptr %23, align 8, !tbaa !14 br label %24 24: ; preds = %13, %19, %5, %3, %11 ret void } declare i64 @in_sched_functions(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 = !{!"stack_trace", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 16} !13 = !{!6, !10, i64 24} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/extr_stacktrace.c_save_stack_address_nosched.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/extr_stacktrace.c_save_stack_address_nosched.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 @save_stack_address_nosched], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @save_stack_address_nosched(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %24, label %5 5: ; preds = %3 %6 = tail call i64 @in_sched_functions(i64 noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %5 %9 = load i64, ptr %0, align 8, !tbaa !6 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = add nsw i64 %9, -1 store i64 %12, ptr %0, align 8, !tbaa !6 br label %24 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = icmp slt i64 %15, %17 br i1 %18, label %19, label %24 19: ; preds = %13 %20 = getelementptr inbounds i8, ptr %0, i64 24 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = add nsw i64 %15, 1 store i64 %22, ptr %14, align 8, !tbaa !12 %23 = getelementptr inbounds i64, ptr %21, i64 %15 store i64 %1, ptr %23, align 8, !tbaa !15 br label %24 24: ; preds = %13, %19, %5, %3, %11 ret void } declare i64 @in_sched_functions(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 = !{!"stack_trace", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 16} !14 = !{!7, !11, i64 24} !15 = !{!8, !8, i64 0}
fastsocket_kernel_arch_sh_kernel_extr_stacktrace.c_save_stack_address_nosched
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_at1700.c_cleanup_card.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_at1700.c_cleanup_card.c" target datalayout = "e-m:e-p270:32:32-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.net_device = type { i32, i32 } @AT1700_IO_EXTENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cleanup_card], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cleanup_card(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @free_irq(i32 noundef %3, ptr noundef null) #2 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = load i32, ptr @AT1700_IO_EXTENT, align 4, !tbaa !11 %7 = tail call i32 @release_region(i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @release_region(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 = !{!"net_device", !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/fastsocket/kernel/drivers/net/extr_at1700.c_cleanup_card.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_at1700.c_cleanup_card.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AT1700_IO_EXTENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cleanup_card], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cleanup_card(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @free_irq(i32 noundef %3, ptr noundef null) #2 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = load i32, ptr @AT1700_IO_EXTENT, align 4, !tbaa !12 %7 = tail call i32 @release_region(i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @release_region(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 = !{!"net_device", !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}
fastsocket_kernel_drivers_net_extr_at1700.c_cleanup_card