IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/tengine/modules/mod_dubbo/extr_ngx_http_dubbo_module.c_ngx_http_dubbo_handler.c'
source_filename = "AnghaBench/tengine/modules/mod_dubbo/extr_ngx_http_dubbo_module.c_ngx_http_dubbo_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_18__ = type { i64, i32, i64, ptr }
%struct.TYPE_17__ = type { i32, ptr, i32, i32, i64, ptr, i32, i32, i32, i32, i32, ptr, %struct.TYPE_15__, i32 }
%struct.TYPE_15__ = type { i64 }
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@NGX_HTTP_INTERNAL_SERVER_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@ngx_http_dubbo_module = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"dubbo://\00", align 1
@ngx_http_dubbo_create_request = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_reinit_request = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_parse_filter = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_abort_request = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_finalize_request = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_filter_init = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_filter = dso_local local_unnamed_addr global i32 0, align 4
@NGX_MULTI_UPS_NEED_MULTI = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_upstream_init = dso_local local_unnamed_addr global i32 0, align 4
@NGX_HTTP_SPECIAL_RESPONSE = dso_local local_unnamed_addr global i64 0, align 8
@NGX_DONE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_dubbo_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ngx_http_dubbo_handler(ptr noundef %0) #0 {
%2 = tail call i64 @ngx_http_upstream_create(ptr noundef %0) #2
%3 = load i64, ptr @NGX_OK, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !5
br label %55
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !9
%10 = tail call ptr @ngx_pcalloc(i32 noundef %9, i32 noundef 8) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !5
br label %55
14: ; preds = %7
store ptr %0, ptr %10, align 8, !tbaa !13
%15 = load i32, ptr @ngx_http_dubbo_module, align 4, !tbaa !15
%16 = tail call i32 @ngx_http_set_ctx(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 3
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 13
%20 = tail call i32 @ngx_str_set(ptr noundef nonnull %19, ptr noundef nonnull @.str) #2
%21 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 12
store i64 ptrtoint (ptr @ngx_http_dubbo_module to i64), ptr %21, align 8, !tbaa !17
%22 = load i32, ptr @ngx_http_dubbo_module, align 4, !tbaa !15
%23 = tail call ptr @ngx_http_get_module_loc_conf(ptr noundef nonnull %0, i32 noundef %22) #2
%24 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 11
store ptr %23, ptr %24, align 8, !tbaa !20
%25 = tail call i64 @ngx_http_set_content_type(ptr noundef nonnull %0) #2
%26 = load i64, ptr @NGX_OK, align 8, !tbaa !5
%27 = icmp eq i64 %25, %26
br i1 %27, label %30, label %28
28: ; preds = %14
%29 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !5
br label %55
30: ; preds = %14
%31 = load i32, ptr @ngx_http_dubbo_create_request, align 4, !tbaa !15
%32 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 10
store i32 %31, ptr %32, align 8, !tbaa !21
%33 = load i32, ptr @ngx_http_dubbo_reinit_request, align 4, !tbaa !15
%34 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 9
store i32 %33, ptr %34, align 4, !tbaa !22
%35 = load i32, ptr @ngx_http_dubbo_parse_filter, align 4, !tbaa !15
%36 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 8
store i32 %35, ptr %36, align 8, !tbaa !23
%37 = load i32, ptr @ngx_http_dubbo_abort_request, align 4, !tbaa !15
%38 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 7
store i32 %37, ptr %38, align 4, !tbaa !24
%39 = load i32, ptr @ngx_http_dubbo_finalize_request, align 4, !tbaa !15
%40 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 6
store i32 %39, ptr %40, align 8, !tbaa !25
%41 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2
store i64 0, ptr %41, align 8, !tbaa !26
%42 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 4
store i64 0, ptr %42, align 8, !tbaa !27
%43 = load i32, ptr @ngx_http_dubbo_filter_init, align 4, !tbaa !15
%44 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 3
store i32 %43, ptr %44, align 4, !tbaa !28
%45 = load i32, ptr @ngx_http_dubbo_filter, align 4, !tbaa !15
%46 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 2
store i32 %45, ptr %46, align 8, !tbaa !29
%47 = getelementptr inbounds %struct.TYPE_17__, ptr %18, i64 0, i32 1
store ptr %10, ptr %47, align 8, !tbaa !30
store i64 0, ptr %0, align 8, !tbaa !31
%48 = load i32, ptr @NGX_MULTI_UPS_NEED_MULTI, align 4, !tbaa !15
store i32 %48, ptr %18, align 8, !tbaa !32
%49 = load i32, ptr @ngx_http_upstream_init, align 4, !tbaa !15
%50 = tail call i64 @ngx_http_read_client_request_body(ptr noundef nonnull %0, i32 noundef %49) #2
%51 = load i64, ptr @NGX_HTTP_SPECIAL_RESPONSE, align 8, !tbaa !5
%52 = icmp slt i64 %50, %51
%53 = load i64, ptr @NGX_DONE, align 8
%54 = select i1 %52, i64 %53, i64 %50
br label %55
55: ; preds = %30, %28, %12, %5
%56 = phi i64 [ %6, %5 ], [ %13, %12 ], [ %29, %28 ], [ %54, %30 ]
ret i64 %56
}
declare i64 @ngx_http_upstream_create(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_set_ctx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_str_set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ngx_http_get_module_loc_conf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_http_set_content_type(ptr noundef) local_unnamed_addr #1
declare i64 @ngx_http_read_client_request_body(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_18__", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_20__", !12, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !12, i64 24}
!17 = !{!18, !6, i64 72}
!18 = !{!"TYPE_17__", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !12, i64 64, !19, i64 72, !11, i64 80}
!19 = !{!"TYPE_15__", !6, i64 0}
!20 = !{!18, !12, i64 64}
!21 = !{!18, !11, i64 56}
!22 = !{!18, !11, i64 52}
!23 = !{!18, !11, i64 48}
!24 = !{!18, !11, i64 44}
!25 = !{!18, !11, i64 40}
!26 = !{!10, !6, i64 16}
!27 = !{!18, !6, i64 24}
!28 = !{!18, !11, i64 20}
!29 = !{!18, !11, i64 16}
!30 = !{!18, !12, i64 8}
!31 = !{!10, !6, i64 0}
!32 = !{!18, !11, i64 0}
| ; ModuleID = 'AnghaBench/tengine/modules/mod_dubbo/extr_ngx_http_dubbo_module.c_ngx_http_dubbo_handler.c'
source_filename = "AnghaBench/tengine/modules/mod_dubbo/extr_ngx_http_dubbo_module.c_ngx_http_dubbo_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@NGX_HTTP_INTERNAL_SERVER_ERROR = common local_unnamed_addr global i64 0, align 8
@ngx_http_dubbo_module = common global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"dubbo://\00", align 1
@ngx_http_dubbo_create_request = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_reinit_request = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_parse_filter = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_abort_request = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_finalize_request = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_filter_init = common local_unnamed_addr global i32 0, align 4
@ngx_http_dubbo_filter = common local_unnamed_addr global i32 0, align 4
@NGX_MULTI_UPS_NEED_MULTI = common local_unnamed_addr global i32 0, align 4
@ngx_http_upstream_init = common local_unnamed_addr global i32 0, align 4
@NGX_HTTP_SPECIAL_RESPONSE = common local_unnamed_addr global i64 0, align 8
@NGX_DONE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_dubbo_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ngx_http_dubbo_handler(ptr noundef %0) #0 {
%2 = tail call i64 @ngx_http_upstream_create(ptr noundef %0) #2
%3 = load i64, ptr @NGX_OK, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !6
br label %55
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !10
%10 = tail call ptr @ngx_pcalloc(i32 noundef %9, i32 noundef 8) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !6
br label %55
14: ; preds = %7
store ptr %0, ptr %10, align 8, !tbaa !14
%15 = load i32, ptr @ngx_http_dubbo_module, align 4, !tbaa !16
%16 = tail call i32 @ngx_http_set_ctx(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %0, i64 24
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = getelementptr inbounds i8, ptr %18, i64 80
%20 = tail call i32 @ngx_str_set(ptr noundef nonnull %19, ptr noundef nonnull @.str) #2
%21 = getelementptr inbounds i8, ptr %18, i64 72
store i64 ptrtoint (ptr @ngx_http_dubbo_module to i64), ptr %21, align 8, !tbaa !18
%22 = load i32, ptr @ngx_http_dubbo_module, align 4, !tbaa !16
%23 = tail call ptr @ngx_http_get_module_loc_conf(ptr noundef nonnull %0, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %18, i64 64
store ptr %23, ptr %24, align 8, !tbaa !21
%25 = tail call i64 @ngx_http_set_content_type(ptr noundef nonnull %0) #2
%26 = load i64, ptr @NGX_OK, align 8, !tbaa !6
%27 = icmp eq i64 %25, %26
br i1 %27, label %30, label %28
28: ; preds = %14
%29 = load i64, ptr @NGX_HTTP_INTERNAL_SERVER_ERROR, align 8, !tbaa !6
br label %55
30: ; preds = %14
%31 = load i32, ptr @ngx_http_dubbo_create_request, align 4, !tbaa !16
%32 = getelementptr inbounds i8, ptr %18, i64 56
store i32 %31, ptr %32, align 8, !tbaa !22
%33 = load i32, ptr @ngx_http_dubbo_reinit_request, align 4, !tbaa !16
%34 = getelementptr inbounds i8, ptr %18, i64 52
store i32 %33, ptr %34, align 4, !tbaa !23
%35 = load i32, ptr @ngx_http_dubbo_parse_filter, align 4, !tbaa !16
%36 = getelementptr inbounds i8, ptr %18, i64 48
store i32 %35, ptr %36, align 8, !tbaa !24
%37 = load i32, ptr @ngx_http_dubbo_abort_request, align 4, !tbaa !16
%38 = getelementptr inbounds i8, ptr %18, i64 44
store i32 %37, ptr %38, align 4, !tbaa !25
%39 = load i32, ptr @ngx_http_dubbo_finalize_request, align 4, !tbaa !16
%40 = getelementptr inbounds i8, ptr %18, i64 40
store i32 %39, ptr %40, align 8, !tbaa !26
%41 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %41, align 8, !tbaa !27
%42 = getelementptr inbounds i8, ptr %18, i64 24
store i64 0, ptr %42, align 8, !tbaa !28
%43 = load i32, ptr @ngx_http_dubbo_filter_init, align 4, !tbaa !16
%44 = getelementptr inbounds i8, ptr %18, i64 20
store i32 %43, ptr %44, align 4, !tbaa !29
%45 = load i32, ptr @ngx_http_dubbo_filter, align 4, !tbaa !16
%46 = getelementptr inbounds i8, ptr %18, i64 16
store i32 %45, ptr %46, align 8, !tbaa !30
%47 = getelementptr inbounds i8, ptr %18, i64 8
store ptr %10, ptr %47, align 8, !tbaa !31
store i64 0, ptr %0, align 8, !tbaa !32
%48 = load i32, ptr @NGX_MULTI_UPS_NEED_MULTI, align 4, !tbaa !16
store i32 %48, ptr %18, align 8, !tbaa !33
%49 = load i32, ptr @ngx_http_upstream_init, align 4, !tbaa !16
%50 = tail call i64 @ngx_http_read_client_request_body(ptr noundef nonnull %0, i32 noundef %49) #2
%51 = load i64, ptr @NGX_HTTP_SPECIAL_RESPONSE, align 8, !tbaa !6
%52 = icmp slt i64 %50, %51
%53 = load i64, ptr @NGX_DONE, align 8
%54 = select i1 %52, i64 %53, i64 %50
br label %55
55: ; preds = %30, %28, %12, %5
%56 = phi i64 [ %6, %5 ], [ %13, %12 ], [ %29, %28 ], [ %54, %30 ]
ret i64 %56
}
declare i64 @ngx_http_upstream_create(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_set_ctx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_str_set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ngx_http_get_module_loc_conf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_http_set_content_type(ptr noundef) local_unnamed_addr #1
declare i64 @ngx_http_read_client_request_body(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_18__", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_20__", !13, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !13, i64 24}
!18 = !{!19, !7, i64 72}
!19 = !{!"TYPE_17__", !12, i64 0, !13, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !13, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !13, i64 64, !20, i64 72, !12, i64 80}
!20 = !{!"TYPE_15__", !7, i64 0}
!21 = !{!19, !13, i64 64}
!22 = !{!19, !12, i64 56}
!23 = !{!19, !12, i64 52}
!24 = !{!19, !12, i64 48}
!25 = !{!19, !12, i64 44}
!26 = !{!19, !12, i64 40}
!27 = !{!11, !7, i64 16}
!28 = !{!19, !7, i64 24}
!29 = !{!19, !12, i64 20}
!30 = !{!19, !12, i64 16}
!31 = !{!19, !13, i64 8}
!32 = !{!11, !7, i64 0}
!33 = !{!19, !12, i64 0}
| tengine_modules_mod_dubbo_extr_ngx_http_dubbo_module.c_ngx_http_dubbo_handler |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev.c_vdev_split.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev.c_vdev_split.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, ptr, ptr }
@B_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vdev_split(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @vdev_remove_child(ptr noundef %3, ptr noundef %0) #2
%5 = tail call i32 @vdev_compact_children(ptr noundef %3) #2
%6 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load i32, ptr %3, align 8, !tbaa !13
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = tail call i32 @vdev_remove_parent(ptr noundef %8) #2
%13 = load i32, ptr @B_TRUE, align 4, !tbaa !14
%14 = getelementptr inbounds %struct.TYPE_8__, ptr %8, i64 0, i32 1
store i32 %13, ptr %14, align 4, !tbaa !15
br label %15
15: ; preds = %11, %1
%16 = tail call i32 @vdev_propagate_state(ptr noundef %8) #2
ret void
}
declare i32 @vdev_remove_child(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vdev_compact_children(ptr noundef) local_unnamed_addr #1
declare i32 @vdev_remove_parent(ptr noundef) local_unnamed_addr #1
declare i32 @vdev_propagate_state(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev.c_vdev_split.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev.c_vdev_split.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vdev_split(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @vdev_remove_child(ptr noundef %3, ptr noundef %0) #2
%5 = tail call i32 @vdev_compact_children(ptr noundef %3) #2
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr %3, align 8, !tbaa !14
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = tail call i32 @vdev_remove_parent(ptr noundef %8) #2
%13 = load i32, ptr @B_TRUE, align 4, !tbaa !15
%14 = getelementptr inbounds i8, ptr %8, i64 4
store i32 %13, ptr %14, align 4, !tbaa !16
br label %15
15: ; preds = %11, %1
%16 = tail call i32 @vdev_propagate_state(ptr noundef %8) #2
ret void
}
declare i32 @vdev_remove_child(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vdev_compact_children(ptr noundef) local_unnamed_addr #1
declare i32 @vdev_remove_parent(ptr noundef) local_unnamed_addr #1
declare i32 @vdev_propagate_state(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 16}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 4}
| freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_vdev.c_vdev_split |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/octeontx2/af/extr_rvu.c_rvu_mbox_handler_vf_flr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/octeontx2/af/extr_rvu.c_rvu_mbox_handler_vf_flr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RVU_PFVF_FUNC_MASK = dso_local local_unnamed_addr global i32 0, align 4
@BLKADDR_RVUM = dso_local local_unnamed_addr global i32 0, align 4
@RVU_INVALID_VF_ID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rvu_mbox_handler_vf_flr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rvu_mbox_handler_vf_flr(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = load i32, ptr @RVU_PFVF_FUNC_MASK, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = load i32, ptr @BLKADDR_RVUM, align 4, !tbaa !11
%8 = tail call i32 @rvu_get_pf(i32 noundef %4) #2
%9 = tail call i32 @RVU_PRIV_PFX_CFG(i32 noundef %8) #2
%10 = tail call i32 @rvu_read64(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2
%11 = icmp eq i32 %6, 0
br i1 %11, label %18, label %12
12: ; preds = %3
%13 = lshr i32 %10, 12
%14 = and i32 %13, 255
%15 = icmp sgt i32 %6, %14
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @__rvu_flr_handler(ptr noundef %0, i32 noundef %4) #2
br label %20
18: ; preds = %12, %3
%19 = load i32, ptr @RVU_INVALID_VF_ID, align 4, !tbaa !11
br label %20
20: ; preds = %16, %18
%21 = phi i32 [ 0, %16 ], [ %19, %18 ]
ret i32 %21
}
declare i32 @rvu_read64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RVU_PRIV_PFX_CFG(i32 noundef) local_unnamed_addr #1
declare i32 @rvu_get_pf(i32 noundef) local_unnamed_addr #1
declare i32 @__rvu_flr_handler(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"msg_req", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/octeontx2/af/extr_rvu.c_rvu_mbox_handler_vf_flr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/octeontx2/af/extr_rvu.c_rvu_mbox_handler_vf_flr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RVU_PFVF_FUNC_MASK = common local_unnamed_addr global i32 0, align 4
@BLKADDR_RVUM = common local_unnamed_addr global i32 0, align 4
@RVU_INVALID_VF_ID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rvu_mbox_handler_vf_flr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rvu_mbox_handler_vf_flr(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = load i32, ptr @RVU_PFVF_FUNC_MASK, align 4, !tbaa !12
%6 = and i32 %5, %4
%7 = load i32, ptr @BLKADDR_RVUM, align 4, !tbaa !12
%8 = tail call i32 @rvu_get_pf(i32 noundef %4) #2
%9 = tail call i32 @RVU_PRIV_PFX_CFG(i32 noundef %8) #2
%10 = tail call i32 @rvu_read64(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2
%11 = icmp eq i32 %6, 0
br i1 %11, label %18, label %12
12: ; preds = %3
%13 = lshr i32 %10, 12
%14 = and i32 %13, 255
%15 = icmp sgt i32 %6, %14
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @__rvu_flr_handler(ptr noundef %0, i32 noundef %4) #2
br label %20
18: ; preds = %12, %3
%19 = load i32, ptr @RVU_INVALID_VF_ID, align 4, !tbaa !12
br label %20
20: ; preds = %16, %18
%21 = phi i32 [ 0, %16 ], [ %19, %18 ]
ret i32 %21
}
declare i32 @rvu_read64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RVU_PRIV_PFX_CFG(i32 noundef) local_unnamed_addr #1
declare i32 @rvu_get_pf(i32 noundef) local_unnamed_addr #1
declare i32 @__rvu_flr_handler(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"msg_req", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| linux_drivers_net_ethernet_marvell_octeontx2_af_extr_rvu.c_rvu_mbox_handler_vf_flr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_mcf.c_mcf_enable_ms.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_mcf.c_mcf_enable_ms.c"
target datalayout = "e-m:e-p270:32:32-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 @mcf_enable_ms], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @mcf_enable_ms(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/fastsocket/kernel/drivers/serial/extr_mcf.c_mcf_enable_ms.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_mcf.c_mcf_enable_ms.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 @mcf_enable_ms], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @mcf_enable_ms(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)"}
| fastsocket_kernel_drivers_serial_extr_mcf.c_mcf_enable_ms |
; ModuleID = 'AnghaBench/sqlcipher/ext/repair/extr_checkindex.c_cidxOpen.c'
source_filename = "AnghaBench/sqlcipher/ext/repair/extr_checkindex.c_cidxOpen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cidxOpen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cidxOpen(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
%5 = call ptr @cidxMalloc(ptr noundef nonnull %3, i32 noundef 4) #3
store ptr %5, ptr %1, align 8, !tbaa !9
%6 = load i32, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @cidxMalloc(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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/repair/extr_checkindex.c_cidxOpen.c'
source_filename = "AnghaBench/sqlcipher/ext/repair/extr_checkindex.c_cidxOpen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cidxOpen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cidxOpen(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
%5 = call ptr @cidxMalloc(ptr noundef nonnull %3, i32 noundef 4) #3
store ptr %5, ptr %1, align 8, !tbaa !10
%6 = load i32, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @cidxMalloc(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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| sqlcipher_ext_repair_extr_checkindex.c_cidxOpen |
; ModuleID = 'AnghaBench/lede/package/network/services/ead/src/extr_pw_encrypt_md5.c___md5_Final.c'
source_filename = "AnghaBench/lede/package/network/services/ead/src/extr_pw_encrypt_md5.c___md5_Final.c"
target datalayout = "e-m:e-p270:32:32-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 @__md5_Final], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__md5_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__md5_Pad(ptr noundef %1) #2
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call i32 @__md5_Encode(ptr noundef %0, i32 noundef %4, i32 noundef 16) #2
%6 = tail call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 4) #2
ret void
}
declare i32 @__md5_Pad(ptr noundef) local_unnamed_addr #1
declare i32 @__md5_Encode(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"MD5Context", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lede/package/network/services/ead/src/extr_pw_encrypt_md5.c___md5_Final.c'
source_filename = "AnghaBench/lede/package/network/services/ead/src/extr_pw_encrypt_md5.c___md5_Final.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 @__md5_Final], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__md5_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__md5_Pad(ptr noundef %1) #2
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call i32 @__md5_Encode(ptr noundef %0, i32 noundef %4, i32 noundef 16) #2
%6 = tail call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 4) #2
ret void
}
declare i32 @__md5_Pad(ptr noundef) local_unnamed_addr #1
declare i32 @__md5_Encode(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"MD5Context", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| lede_package_network_services_ead_src_extr_pw_encrypt_md5.c___md5_Final |
; ModuleID = 'AnghaBench/linux/tools/lib/traceevent/extr_event-parse.c_field_is_string.c'
source_filename = "AnghaBench/linux/tools/lib/traceevent/extr_event-parse.c_field_is_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.tep_format_field = type { i32, i32 }
@TEP_FIELD_IS_ARRAY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"char\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"u8\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"s8\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @field_is_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @field_is_string(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @TEP_FIELD_IS_ARRAY, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.tep_format_field, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i64 @strstr(i32 noundef %8, ptr noundef nonnull @.str) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %6
%12 = load i32, ptr %7, align 4, !tbaa !11
%13 = tail call i64 @strstr(i32 noundef %12, ptr noundef nonnull @.str.1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr %7, align 4, !tbaa !11
%17 = tail call i64 @strstr(i32 noundef %16, ptr noundef nonnull @.str.2) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15, %1
br label %20
20: ; preds = %6, %11, %15, %19
%21 = phi i32 [ 0, %19 ], [ 1, %15 ], [ 1, %11 ], [ 1, %6 ]
ret i32 %21
}
declare i64 @strstr(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 = !{!"tep_format_field", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/tools/lib/traceevent/extr_event-parse.c_field_is_string.c'
source_filename = "AnghaBench/linux/tools/lib/traceevent/extr_event-parse.c_field_is_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TEP_FIELD_IS_ARRAY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"char\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"u8\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"s8\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @field_is_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @field_is_string(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @TEP_FIELD_IS_ARRAY, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i64 @strstr(i32 noundef %8, ptr noundef nonnull @.str) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %6
%12 = load i32, ptr %7, align 4, !tbaa !12
%13 = tail call i64 @strstr(i32 noundef %12, ptr noundef nonnull @.str.1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr %7, align 4, !tbaa !12
%17 = tail call i64 @strstr(i32 noundef %16, ptr noundef nonnull @.str.2) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15, %1
br label %20
20: ; preds = %6, %11, %15, %19
%21 = phi i32 [ 0, %19 ], [ 1, %15 ], [ 1, %11 ], [ 1, %6 ]
ret i32 %21
}
declare i64 @strstr(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 = !{!"tep_format_field", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| linux_tools_lib_traceevent_extr_event-parse.c_field_is_string |
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-dma-sg.c_videobuf_dma_init.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-dma-sg.c_videobuf_dma_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAGIC_DMABUF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @videobuf_dma_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @videobuf_dma_init(ptr noundef %0) #0 {
%2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2
%3 = load i32, ptr @MAGIC_DMABUF, align 4, !tbaa !5
store i32 %3, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"videobuf_dmabuf", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-dma-sg.c_videobuf_dma_init.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-dma-sg.c_videobuf_dma_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAGIC_DMABUF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @videobuf_dma_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @videobuf_dma_init(ptr noundef %0) #0 {
%2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2
%3 = load i32, ptr @MAGIC_DMABUF, align 4, !tbaa !6
store i32 %3, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"videobuf_dmabuf", !7, i64 0}
| linux_drivers_media_v4l2-core_extr_videobuf-dma-sg.c_videobuf_dma_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ppa.c_ppa_c_pulse.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ppa.c_ppa_c_pulse.c"
target datalayout = "e-m:e-p270:32:32-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 @ppa_c_pulse], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ppa_c_pulse(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = tail call i32 @w_dtr(i16 noundef zeroext %0, i8 noundef zeroext %1) #2
%4 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 4) #2
%5 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 6) #2
%6 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 4) #2
%7 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 12) #2
ret void
}
declare i32 @w_dtr(i16 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @w_ctr(i16 noundef zeroext, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ppa.c_ppa_c_pulse.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ppa.c_ppa_c_pulse.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 @ppa_c_pulse], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ppa_c_pulse(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = tail call i32 @w_dtr(i16 noundef zeroext %0, i8 noundef zeroext %1) #2
%4 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 4) #2
%5 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 6) #2
%6 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 4) #2
%7 = tail call i32 @w_ctr(i16 noundef zeroext %0, i32 noundef 12) #2
ret void
}
declare i32 @w_dtr(i16 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @w_ctr(i16 noundef zeroext, 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)"}
| fastsocket_kernel_drivers_scsi_extr_ppa.c_ppa_c_pulse |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_musb.c_musbotg_clocks_off.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_musb.c_musbotg_clocks_off.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USB_CTRL = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @musbotg_clocks_off], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @musbotg_clocks_off(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load ptr, ptr @USB_CTRL, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !9
%5 = getelementptr inbounds i32, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = call i32 @ti_scm_reg_read_4(i32 noundef %6, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !12
%9 = or i32 %8, 3
%10 = call i32 @ti_scm_reg_write_4(i32 noundef %6, i32 noundef %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ti_scm_reg_read_4(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ti_scm_reg_write_4(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"musbotg_softc", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_musb.c_musbotg_clocks_off.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_musb.c_musbotg_clocks_off.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_CTRL = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @musbotg_clocks_off], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @musbotg_clocks_off(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load ptr, ptr @USB_CTRL, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !10
%5 = getelementptr inbounds i32, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = call i32 @ti_scm_reg_read_4(i32 noundef %6, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !13
%9 = or i32 %8, 3
%10 = call i32 @ti_scm_reg_write_4(i32 noundef %6, i32 noundef %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ti_scm_reg_read_4(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ti_scm_reg_write_4(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"musbotg_softc", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| freebsd_sys_arm_ti_am335x_extr_am335x_musb.c_musbotg_clocks_off |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_fold-const.c_fold_ignored_result.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_fold-const.c_fold_ignored_result.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@integer_zero_node = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @fold_ignored_result(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = load i32, ptr @integer_zero_node, align 4, !tbaa !5
br label %37
6: ; preds = %1, %35
%7 = phi i32 [ %36, %35 ], [ %0, %1 ]
%8 = tail call i32 @TREE_CODE(i32 noundef %7) #2
%9 = tail call i32 @TREE_CODE_CLASS(i32 noundef %8) #2
switch i32 %9, label %37 [
i32 128, label %32
i32 131, label %10
i32 130, label %10
i32 129, label %18
]
10: ; preds = %6, %6
%11 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%12 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 0) #2
br i1 %13, label %35, label %15
15: ; preds = %10
%16 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %14) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %32, label %37
18: ; preds = %6
%19 = tail call i32 @TREE_CODE(i32 noundef %7) #2
switch i32 %19, label %37 [
i32 133, label %20
i32 132, label %24
]
20: ; preds = %18
%21 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%22 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %32, label %37
24: ; preds = %18
%25 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%26 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 2) #2
%30 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28, %20, %15, %6
%33 = phi i32 [ 0, %6 ], [ 1, %15 ], [ 0, %20 ], [ 0, %28 ]
%34 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef %33) #2
br label %35
35: ; preds = %32, %10
%36 = phi i32 [ %14, %10 ], [ %34, %32 ]
br label %6
37: ; preds = %6, %18, %24, %28, %20, %15, %4
%38 = phi i32 [ %5, %4 ], [ %7, %15 ], [ %7, %20 ], [ %7, %28 ], [ %7, %24 ], [ %7, %18 ], [ %7, %6 ]
ret i32 %38
}
declare i64 @TREE_SIDE_EFFECTS(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE_CLASS(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_fold-const.c_fold_ignored_result.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_fold-const.c_fold_ignored_result.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@integer_zero_node = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fold_ignored_result(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = load i32, ptr @integer_zero_node, align 4, !tbaa !6
br label %37
6: ; preds = %1, %35
%7 = phi i32 [ %36, %35 ], [ %0, %1 ]
%8 = tail call i32 @TREE_CODE(i32 noundef %7) #2
%9 = tail call i32 @TREE_CODE_CLASS(i32 noundef %8) #2
switch i32 %9, label %37 [
i32 128, label %32
i32 131, label %10
i32 130, label %10
i32 129, label %18
]
10: ; preds = %6, %6
%11 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%12 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 0) #2
br i1 %13, label %35, label %15
15: ; preds = %10
%16 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %14) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %32, label %37
18: ; preds = %6
%19 = tail call i32 @TREE_CODE(i32 noundef %7) #2
switch i32 %19, label %37 [
i32 133, label %20
i32 132, label %24
]
20: ; preds = %18
%21 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%22 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %32, label %37
24: ; preds = %18
%25 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 1) #2
%26 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef 2) #2
%30 = tail call i64 @TREE_SIDE_EFFECTS(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28, %20, %15, %6
%33 = phi i32 [ 0, %6 ], [ 1, %15 ], [ 0, %20 ], [ 0, %28 ]
%34 = tail call i32 @TREE_OPERAND(i32 noundef %7, i32 noundef %33) #2
br label %35
35: ; preds = %32, %10
%36 = phi i32 [ %14, %10 ], [ %34, %32 ]
br label %6
37: ; preds = %6, %18, %24, %28, %20, %15, %4
%38 = phi i32 [ %5, %4 ], [ %7, %15 ], [ %7, %20 ], [ %7, %28 ], [ %7, %24 ], [ %7, %18 ], [ %7, %6 ]
ret i32 %38
}
declare i64 @TREE_SIDE_EFFECTS(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE_CLASS(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_extr_fold-const.c_fold_ignored_result |
; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmci/extr_vmci_driver.c_vmci_get_context_id.c'
source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmci/extr_vmci_driver.c_vmci_get_context_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vmci_datagram = type { i64, i32, i32 }
@vm_context_id = dso_local global i32 0, align 4
@VMCI_INVALID_ID = dso_local local_unnamed_addr global i64 0, align 8
@VMCI_HYPERVISOR_CONTEXT_ID = dso_local local_unnamed_addr global i32 0, align 4
@VMCI_GET_CONTEXT_ID = dso_local local_unnamed_addr global i32 0, align 4
@VMCI_ANON_SRC_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @vmci_get_context_id() local_unnamed_addr #0 {
%1 = alloca %struct.vmci_datagram, align 8
%2 = tail call i64 @atomic_load_int(ptr noundef nonnull @vm_context_id) #3
%3 = load i64, ptr @VMCI_INVALID_ID, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %14
5: ; preds = %0
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
%6 = load i32, ptr @VMCI_HYPERVISOR_CONTEXT_ID, align 4, !tbaa !9
%7 = load i32, ptr @VMCI_GET_CONTEXT_ID, align 4, !tbaa !9
%8 = tail call i32 @VMCI_MAKE_HANDLE(i32 noundef %6, i32 noundef %7) #3
%9 = getelementptr inbounds %struct.vmci_datagram, ptr %1, i64 0, i32 2
store i32 %8, ptr %9, align 4, !tbaa !11
%10 = load i32, ptr @VMCI_ANON_SRC_HANDLE, align 4, !tbaa !9
%11 = getelementptr inbounds %struct.vmci_datagram, ptr %1, i64 0, i32 1
store i32 %10, ptr %11, align 8, !tbaa !13
store i64 0, ptr %1, align 8, !tbaa !14
%12 = call i32 @vmci_send_datagram(ptr noundef nonnull %1) #3
%13 = call i32 @atomic_store_int(ptr noundef nonnull @vm_context_id, i32 noundef %12) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3
br label %14
14: ; preds = %5, %0
%15 = call i64 @atomic_load_int(ptr noundef nonnull @vm_context_id) #3
ret i64 %15
}
declare i64 @atomic_load_int(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @VMCI_MAKE_HANDLE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vmci_send_datagram(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_store_int(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 12}
!12 = !{!"vmci_datagram", !6, i64 0, !10, i64 8, !10, i64 12}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmci/extr_vmci_driver.c_vmci_get_context_id.c'
source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmci/extr_vmci_driver.c_vmci_get_context_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.vmci_datagram = type { i64, i32, i32 }
@vm_context_id = common global i32 0, align 4
@VMCI_INVALID_ID = common local_unnamed_addr global i64 0, align 8
@VMCI_HYPERVISOR_CONTEXT_ID = common local_unnamed_addr global i32 0, align 4
@VMCI_GET_CONTEXT_ID = common local_unnamed_addr global i32 0, align 4
@VMCI_ANON_SRC_HANDLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @vmci_get_context_id() local_unnamed_addr #0 {
%1 = alloca %struct.vmci_datagram, align 8
%2 = tail call i64 @atomic_load_int(ptr noundef nonnull @vm_context_id) #3
%3 = load i64, ptr @VMCI_INVALID_ID, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %14
5: ; preds = %0
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
%6 = load i32, ptr @VMCI_HYPERVISOR_CONTEXT_ID, align 4, !tbaa !10
%7 = load i32, ptr @VMCI_GET_CONTEXT_ID, align 4, !tbaa !10
%8 = tail call i32 @VMCI_MAKE_HANDLE(i32 noundef %6, i32 noundef %7) #3
%9 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %8, ptr %9, align 4, !tbaa !12
%10 = load i32, ptr @VMCI_ANON_SRC_HANDLE, align 4, !tbaa !10
%11 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %10, ptr %11, align 8, !tbaa !14
store i64 0, ptr %1, align 8, !tbaa !15
%12 = call i32 @vmci_send_datagram(ptr noundef nonnull %1) #3
%13 = call i32 @atomic_store_int(ptr noundef nonnull @vm_context_id, i32 noundef %12) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3
br label %14
14: ; preds = %5, %0
%15 = call i64 @atomic_load_int(ptr noundef nonnull @vm_context_id) #3
ret i64 %15
}
declare i64 @atomic_load_int(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @VMCI_MAKE_HANDLE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vmci_send_datagram(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_store_int(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 12}
!13 = !{!"vmci_datagram", !7, i64 0, !11, i64 8, !11, i64 12}
!14 = !{!13, !11, i64 8}
!15 = !{!13, !7, i64 0}
| freebsd_sys_dev_vmware_vmci_extr_vmci_driver.c_vmci_get_context_id |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_prioq.c_snd_seq_prioq_delete.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_prioq.c_snd_seq_prioq_delete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"oops: snd_seq_prioq_delete() called with NULL prioq\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @snd_seq_prioq_delete(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
store ptr null, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @snd_printd(ptr noundef nonnull @.str) #2
br label %16
6: ; preds = %1
%7 = load i64, ptr %2, align 8, !tbaa !9
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6, %9
%10 = tail call i32 @snd_seq_prioq_cell_out(ptr noundef nonnull %2) #2
%11 = tail call i32 @snd_seq_cell_free(i32 noundef %10) #2
%12 = load i64, ptr %2, align 8, !tbaa !9
%13 = icmp sgt i64 %12, 0
br i1 %13, label %9, label %14, !llvm.loop !12
14: ; preds = %9, %6
%15 = tail call i32 @kfree(ptr noundef nonnull %2) #2
br label %16
16: ; preds = %14, %4
ret void
}
declare i32 @snd_printd(ptr noundef) local_unnamed_addr #1
declare i32 @snd_seq_cell_free(i32 noundef) local_unnamed_addr #1
declare i32 @snd_seq_prioq_cell_out(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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_seq_prioq", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_prioq.c_snd_seq_prioq_delete.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_prioq.c_snd_seq_prioq_delete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [53 x i8] c"oops: snd_seq_prioq_delete() called with NULL prioq\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @snd_seq_prioq_delete(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
store ptr null, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @snd_printd(ptr noundef nonnull @.str) #2
br label %16
6: ; preds = %1
%7 = load i64, ptr %2, align 8, !tbaa !10
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6, %9
%10 = tail call i32 @snd_seq_prioq_cell_out(ptr noundef nonnull %2) #2
%11 = tail call i32 @snd_seq_cell_free(i32 noundef %10) #2
%12 = load i64, ptr %2, align 8, !tbaa !10
%13 = icmp sgt i64 %12, 0
br i1 %13, label %9, label %14, !llvm.loop !13
14: ; preds = %9, %6
%15 = tail call i32 @kfree(ptr noundef nonnull %2) #2
br label %16
16: ; preds = %14, %4
ret void
}
declare i32 @snd_printd(ptr noundef) local_unnamed_addr #1
declare i32 @snd_seq_cell_free(i32 noundef) local_unnamed_addr #1
declare i32 @snd_seq_prioq_cell_out(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, !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 = !{!"snd_seq_prioq", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_sound_core_seq_extr_seq_prioq.c_snd_seq_prioq_delete |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_amd_iommu_init.c_iommu_set_exclusion_range.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_amd_iommu_init.c_iommu_set_exclusion_range.c"
target datalayout = "e-m:e-p270:32:32-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.amd_iommu = type { i32, i32, i64 }
@PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MMIO_EXCL_ENABLE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MMIO_EXCL_BASE_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@MMIO_EXCL_LIMIT_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @iommu_set_exclusion_range], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @iommu_set_exclusion_range(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @PAGE_MASK, align 4, !tbaa !11
%5 = getelementptr inbounds %struct.amd_iommu, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%7 = icmp eq i32 %3, 0
br i1 %7, label %24, label %8
8: ; preds = %1
%9 = and i32 %4, %3
%10 = add i32 %6, -1
%11 = add i32 %10, %9
%12 = and i32 %11, %4
%13 = load i32, ptr @MMIO_EXCL_ENABLE_MASK, align 4, !tbaa !11
%14 = or i32 %13, %9
store i32 %14, ptr %2, align 4, !tbaa !11
%15 = getelementptr inbounds %struct.amd_iommu, ptr %0, i64 0, i32 2
%16 = load i64, ptr %15, align 8, !tbaa !13
%17 = load i64, ptr @MMIO_EXCL_BASE_OFFSET, align 8, !tbaa !14
%18 = add nsw i64 %17, %16
%19 = call i32 @memcpy_toio(i64 noundef %18, ptr noundef nonnull %2, i32 noundef 4) #3
store i32 %12, ptr %2, align 4, !tbaa !11
%20 = load i64, ptr %15, align 8, !tbaa !13
%21 = load i64, ptr @MMIO_EXCL_LIMIT_OFFSET, align 8, !tbaa !14
%22 = add nsw i64 %21, %20
%23 = call i32 @memcpy_toio(i64 noundef %22, ptr noundef nonnull %2, i32 noundef 4) #3
br label %24
24: ; preds = %1, %8
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 @memcpy_toio(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"amd_iommu", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_amd_iommu_init.c_iommu_set_exclusion_range.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_amd_iommu_init.c_iommu_set_exclusion_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_MASK = common local_unnamed_addr global i32 0, align 4
@MMIO_EXCL_ENABLE_MASK = common local_unnamed_addr global i32 0, align 4
@MMIO_EXCL_BASE_OFFSET = common local_unnamed_addr global i64 0, align 8
@MMIO_EXCL_LIMIT_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @iommu_set_exclusion_range], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @iommu_set_exclusion_range(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @PAGE_MASK, align 4, !tbaa !12
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%7 = icmp eq i32 %3, 0
br i1 %7, label %24, label %8
8: ; preds = %1
%9 = and i32 %4, %3
%10 = add i32 %6, -1
%11 = add i32 %10, %9
%12 = and i32 %11, %4
%13 = load i32, ptr @MMIO_EXCL_ENABLE_MASK, align 4, !tbaa !12
%14 = or i32 %13, %9
store i32 %14, ptr %2, align 4, !tbaa !12
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = load i64, ptr @MMIO_EXCL_BASE_OFFSET, align 8, !tbaa !15
%18 = add nsw i64 %17, %16
%19 = call i32 @memcpy_toio(i64 noundef %18, ptr noundef nonnull %2, i32 noundef 4) #3
store i32 %12, ptr %2, align 4, !tbaa !12
%20 = load i64, ptr %15, align 8, !tbaa !14
%21 = load i64, ptr @MMIO_EXCL_LIMIT_OFFSET, align 8, !tbaa !15
%22 = add nsw i64 %21, %20
%23 = call i32 @memcpy_toio(i64 noundef %22, ptr noundef nonnull %2, i32 noundef 4) #3
br label %24
24: ; preds = %1, %8
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 @memcpy_toio(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"amd_iommu", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
| linux_drivers_iommu_extr_amd_iommu_init.c_iommu_set_exclusion_range |
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_decssasub.c_ssa_read.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_decssasub.c_ssa_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_6__ = type { i64, i64, i32, ptr }
%struct.TYPE_5__ = type { i64, i64, i64 }
@AV_NOPTS_VALUE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ssa_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ssa_read(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @AV_NOPTS_VALUE, align 8, !tbaa !14
%8 = icmp eq i64 %6, %7
br i1 %8, label %51, label %9
9: ; preds = %1
%10 = load i64, ptr %0, align 8, !tbaa !15
%11 = icmp eq i64 %10, %7
br i1 %11, label %12, label %21
12: ; preds = %9
store i64 %6, ptr %0, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !17
%19 = add nsw i64 %18, %14
%20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
store i64 %19, ptr %20, align 8, !tbaa !18
br label %21
21: ; preds = %12, %16, %9
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%23 = load i32, ptr %22, align 8, !tbaa !19
%24 = tail call i32 @feof(i32 noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %49
26: ; preds = %21, %45
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr null, ptr %2, align 8, !tbaa !20
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !14
%27 = load i32, ptr %22, align 8, !tbaa !19
%28 = call i64 @hb_getline(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %27) #3
%29 = icmp sgt i64 %28, 0
%30 = load ptr, ptr %2, align 8
%31 = icmp ne ptr %30, null
%32 = select i1 %29, i1 %31, i1 false
br i1 %32, label %33, label %38
33: ; preds = %26
%34 = call ptr @decode_line_to_mkv_ssa(ptr noundef nonnull %0, ptr noundef nonnull %30, i64 noundef %28) #3
%35 = icmp eq ptr %34, null
%36 = load ptr, ptr %2, align 8, !tbaa !20
%37 = call i32 @free(ptr noundef %36) #3
br i1 %35, label %45, label %43
38: ; preds = %26
%39 = call i32 @free(ptr noundef %30) #3
%40 = icmp slt i64 %28, 0
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = call ptr (...) @hb_buffer_eof_init() #3
br label %43
43: ; preds = %33, %41
%44 = phi ptr [ %42, %41 ], [ %34, %33 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
br label %51
45: ; preds = %33, %38
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
%46 = load i32, ptr %22, align 8, !tbaa !19
%47 = call i32 @feof(i32 noundef %46) #3
%48 = icmp eq i32 %47, 0
br i1 %48, label %26, label %49, !llvm.loop !21
49: ; preds = %45, %21
%50 = call ptr (...) @hb_buffer_eof_init() #3
br label %51
51: ; preds = %43, %1, %49
%52 = phi ptr [ %50, %49 ], [ null, %1 ], [ %44, %43 ]
ret ptr %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @feof(i32 noundef) local_unnamed_addr #2
declare i64 @hb_getline(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @decode_line_to_mkv_ssa(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare ptr @hb_buffer_eof_init(...) 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, !11, i64 24}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!13, !7, i64 8}
!17 = !{!13, !7, i64 16}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !10, i64 16}
!20 = !{!11, !11, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/HandBrake/libhb/extr_decssasub.c_ssa_read.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_decssasub.c_ssa_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_NOPTS_VALUE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ssa_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ssa_read(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @AV_NOPTS_VALUE, align 8, !tbaa !15
%8 = icmp eq i64 %6, %7
br i1 %8, label %51, label %9
9: ; preds = %1
%10 = load i64, ptr %0, align 8, !tbaa !16
%11 = icmp eq i64 %10, %7
br i1 %11, label %12, label %21
12: ; preds = %9
store i64 %6, ptr %0, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %5, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %5, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !18
%19 = add nsw i64 %18, %14
%20 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %19, ptr %20, align 8, !tbaa !19
br label %21
21: ; preds = %12, %16, %9
%22 = getelementptr inbounds i8, ptr %0, i64 16
%23 = load i32, ptr %22, align 8, !tbaa !20
%24 = tail call i32 @feof(i32 noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %49
26: ; preds = %21, %45
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr null, ptr %2, align 8, !tbaa !21
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !15
%27 = load i32, ptr %22, align 8, !tbaa !20
%28 = call i64 @hb_getline(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %27) #3
%29 = icmp sgt i64 %28, 0
%30 = load ptr, ptr %2, align 8
%31 = icmp ne ptr %30, null
%32 = select i1 %29, i1 %31, i1 false
br i1 %32, label %33, label %38
33: ; preds = %26
%34 = call ptr @decode_line_to_mkv_ssa(ptr noundef nonnull %0, ptr noundef nonnull %30, i64 noundef %28) #3
%35 = icmp eq ptr %34, null
%36 = load ptr, ptr %2, align 8, !tbaa !21
%37 = call i32 @free(ptr noundef %36) #3
br i1 %35, label %45, label %43
38: ; preds = %26
%39 = call i32 @free(ptr noundef %30) #3
%40 = icmp slt i64 %28, 0
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = call ptr @hb_buffer_eof_init() #3
br label %43
43: ; preds = %33, %41
%44 = phi ptr [ %42, %41 ], [ %34, %33 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
br label %51
45: ; preds = %33, %38
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
%46 = load i32, ptr %22, align 8, !tbaa !20
%47 = call i32 @feof(i32 noundef %46) #3
%48 = icmp eq i32 %47, 0
br i1 %48, label %26, label %49, !llvm.loop !22
49: ; preds = %45, %21
%50 = call ptr @hb_buffer_eof_init() #3
br label %51
51: ; preds = %43, %1, %49
%52 = phi ptr [ %50, %49 ], [ null, %1 ], [ %44, %43 ]
ret ptr %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @feof(i32 noundef) local_unnamed_addr #2
declare i64 @hb_getline(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @decode_line_to_mkv_ssa(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare ptr @hb_buffer_eof_init(...) 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, !12, i64 24}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!14, !8, i64 8}
!18 = !{!14, !8, i64 16}
!19 = !{!7, !8, i64 8}
!20 = !{!7, !11, i64 16}
!21 = !{!12, !12, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| HandBrake_libhb_extr_decssasub.c_ssa_read |
; ModuleID = 'AnghaBench/redis/src/extr_ae.c_aeSetDontWait.c'
source_filename = "AnghaBench/redis/src/extr_ae.c_aeSetDontWait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AE_DONT_WAIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @aeSetDontWait(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @AE_DONT_WAIT, align 4, !tbaa !5
br i1 %3, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = or i32 %6, %4
br label %12
8: ; preds = %2
%9 = xor i32 %4, -1
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = and i32 %10, %9
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ %11, %8 ], [ %7, %5 ]
store i32 %13, ptr %0, align 4, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/redis/src/extr_ae.c_aeSetDontWait.c'
source_filename = "AnghaBench/redis/src/extr_ae.c_aeSetDontWait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AE_DONT_WAIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @aeSetDontWait(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @AE_DONT_WAIT, align 4, !tbaa !6
br i1 %3, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = or i32 %6, %4
br label %12
8: ; preds = %2
%9 = xor i32 %4, -1
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = and i32 %10, %9
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ %11, %8 ], [ %7, %5 ]
store i32 %13, ptr %0, align 4, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
| redis_src_extr_ae.c_aeSetDontWait |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/x25/extr_af_x25.c_x25_remove_socket.c'
source_filename = "AnghaBench/fastsocket/kernel/net/x25/extr_af_x25.c_x25_remove_socket.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@x25_list_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x25_remove_socket], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @x25_remove_socket(ptr noundef %0) #0 {
%2 = tail call i32 @write_lock_bh(ptr noundef nonnull @x25_list_lock) #2
%3 = tail call i32 @sk_del_node_init(ptr noundef %0) #2
%4 = tail call i32 @write_unlock_bh(ptr noundef nonnull @x25_list_lock) #2
ret void
}
declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @sk_del_node_init(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_bh(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/net/x25/extr_af_x25.c_x25_remove_socket.c'
source_filename = "AnghaBench/fastsocket/kernel/net/x25/extr_af_x25.c_x25_remove_socket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@x25_list_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x25_remove_socket], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @x25_remove_socket(ptr noundef %0) #0 {
%2 = tail call i32 @write_lock_bh(ptr noundef nonnull @x25_list_lock) #2
%3 = tail call i32 @sk_del_node_init(ptr noundef %0) #2
%4 = tail call i32 @write_unlock_bh(ptr noundef nonnull @x25_list_lock) #2
ret void
}
declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @sk_del_node_init(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_bh(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_net_x25_extr_af_x25.c_x25_remove_socket |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_swapout.c_vm_thread_swapout.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_swapout.c_vm_thread_swapout.c"
target datalayout = "e-m:e-p270:32:32-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.thread = type { i32, i32, i32 }
@.str = private unnamed_addr constant [43 x i8] c"vm_thread_swapout: kstack already missing?\00", align 1
@PQ_LAUNDRY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vm_thread_swapout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vm_thread_swapout(ptr noundef %0) #0 {
%2 = tail call i32 @cpu_thread_swapout(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i32 @pmap_qremove(i32 noundef %7, i32 noundef %3) #2
%9 = tail call i32 @VM_OBJECT_WLOCK(i32 noundef %5) #2
%10 = icmp sgt i32 %3, 0
br i1 %10, label %11, label %23
11: ; preds = %1, %17
%12 = phi i32 [ %21, %17 ], [ 0, %1 ]
%13 = tail call ptr @vm_page_lookup(i32 noundef %5, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %17
17: ; preds = %15, %11
%18 = tail call i32 @vm_page_dirty(ptr noundef %13) #2
%19 = load i32, ptr @PQ_LAUNDRY, align 4, !tbaa !12
%20 = tail call i32 @vm_page_unwire(ptr noundef %13, i32 noundef %19) #2
%21 = add nuw nsw i32 %12, 1
%22 = icmp eq i32 %21, %3
br i1 %22, label %23, label %11, !llvm.loop !13
23: ; preds = %17, %1
%24 = tail call i32 @VM_OBJECT_WUNLOCK(i32 noundef %5) #2
ret void
}
declare i32 @cpu_thread_swapout(ptr noundef) local_unnamed_addr #1
declare i32 @pmap_qremove(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VM_OBJECT_WLOCK(i32 noundef) local_unnamed_addr #1
declare ptr @vm_page_lookup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @vm_page_dirty(ptr noundef) local_unnamed_addr #1
declare i32 @vm_page_unwire(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VM_OBJECT_WUNLOCK(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 = !{!"thread", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_swapout.c_vm_thread_swapout.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_swapout.c_vm_thread_swapout.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 [43 x i8] c"vm_thread_swapout: kstack already missing?\00", align 1
@PQ_LAUNDRY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vm_thread_swapout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vm_thread_swapout(ptr noundef %0) #0 {
%2 = tail call i32 @cpu_thread_swapout(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @pmap_qremove(i32 noundef %7, i32 noundef %3) #2
%9 = tail call i32 @VM_OBJECT_WLOCK(i32 noundef %5) #2
%10 = icmp sgt i32 %3, 0
br i1 %10, label %11, label %23
11: ; preds = %1, %17
%12 = phi i32 [ %21, %17 ], [ 0, %1 ]
%13 = tail call ptr @vm_page_lookup(i32 noundef %5, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %17
17: ; preds = %15, %11
%18 = tail call i32 @vm_page_dirty(ptr noundef %13) #2
%19 = load i32, ptr @PQ_LAUNDRY, align 4, !tbaa !13
%20 = tail call i32 @vm_page_unwire(ptr noundef %13, i32 noundef %19) #2
%21 = add nuw nsw i32 %12, 1
%22 = icmp eq i32 %21, %3
br i1 %22, label %23, label %11, !llvm.loop !14
23: ; preds = %17, %1
%24 = tail call i32 @VM_OBJECT_WUNLOCK(i32 noundef %5) #2
ret void
}
declare i32 @cpu_thread_swapout(ptr noundef) local_unnamed_addr #1
declare i32 @pmap_qremove(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VM_OBJECT_WLOCK(i32 noundef) local_unnamed_addr #1
declare ptr @vm_page_lookup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @vm_page_dirty(ptr noundef) local_unnamed_addr #1
declare i32 @vm_page_unwire(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VM_OBJECT_WUNLOCK(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 = !{!"thread", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_vm_extr_vm_swapout.c_vm_thread_swapout |
; ModuleID = 'AnghaBench/freebsd/sys/dev/rtwn/rtl8192e/extr_r92e_chan.c_r92e_set_txpower.c'
source_filename = "AnghaBench/freebsd/sys/dev/rtwn/rtl8192e/extr_r92e_chan.c_r92e_set_txpower.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RTWN_RIDX_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r92e_set_txpower], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @r92e_set_txpower(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @RTWN_RIDX_COUNT, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 16
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = shl i32 %3, 2
br label %10
10: ; preds = %8, %10
%11 = phi i32 [ 0, %8 ], [ %15, %10 ]
%12 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %9) #2
%13 = call i32 @r92e_get_txpower(ptr noundef nonnull %0, i32 noundef %11, ptr noundef %1, ptr noundef nonnull %5) #2
%14 = call i32 @r92c_write_txpower(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %5) #2
%15 = add nuw nsw i32 %11, 1
%16 = load i32, ptr %0, align 4, !tbaa !9
%17 = icmp slt i32 %15, %16
br i1 %17, label %10, label %18, !llvm.loop !11
18: ; preds = %10, %2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r92e_get_txpower(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r92c_write_txpower(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"rtwn_softc", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/rtwn/rtl8192e/extr_r92e_chan.c_r92e_set_txpower.c'
source_filename = "AnghaBench/freebsd/sys/dev/rtwn/rtl8192e/extr_r92e_chan.c_r92e_set_txpower.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTWN_RIDX_COUNT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r92e_set_txpower], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @r92e_set_txpower(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @RTWN_RIDX_COUNT, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 4
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = shl i32 %3, 2
br label %10
10: ; preds = %8, %10
%11 = phi i32 [ 0, %8 ], [ %15, %10 ]
%12 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %9) #2
%13 = call i32 @r92e_get_txpower(ptr noundef nonnull %0, i32 noundef %11, ptr noundef %1, ptr noundef nonnull %5) #2
%14 = call i32 @r92c_write_txpower(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %5) #2
%15 = add nuw nsw i32 %11, 1
%16 = load i32, ptr %0, align 4, !tbaa !10
%17 = icmp slt i32 %15, %16
br i1 %17, label %10, label %18, !llvm.loop !12
18: ; preds = %10, %2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r92e_get_txpower(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r92c_write_txpower(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"rtwn_softc", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_rtwn_rtl8192e_extr_r92e_chan.c_r92e_set_txpower |
; ModuleID = 'AnghaBench/linux/drivers/block/extr_rbd.c_rbd_dev_image_probe.c'
source_filename = "AnghaBench/linux/drivers/block/extr_rbd.c_rbd_dev_image_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.TYPE_6__ = type { i64, ptr, i32, i32, i64, i32 }
%struct.rbd_device = type { ptr, i64, %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_4__ = type { i32 }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"image %s/%s%s%s does not exist\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"snap %s/%s%s%s@%s does not exist\0A\00", align 1
@CEPH_NOSNAP = dso_local local_unnamed_addr global i64 0, align 8
@RBD_FEATURE_OBJECT_MAP = dso_local local_unnamed_addr global i32 0, align 4
@RBD_FEATURE_LAYERING = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [47 x i8] c"discovered format %u image, header name is %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rbd_dev_image_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rbd_dev_image_probe(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @rbd_dev_image_id(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %112
5: ; preds = %2
%6 = tail call i32 @rbd_dev_header_name(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %103
8: ; preds = %5
%9 = icmp eq i32 %1, 0
br i1 %9, label %10, label %33
10: ; preds = %8
%11 = tail call i32 @rbd_register_watch(ptr noundef %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %10
%14 = load i32, ptr @ENOENT, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
%16 = icmp eq i32 %11, %15
br i1 %16, label %17, label %103
17: ; preds = %13
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 0, i32 5
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 0, i32 4
%22 = load i64, ptr %21, align 8, !tbaa !17
%23 = icmp eq i64 %22, 0
%24 = inttoptr i64 %22 to ptr
%25 = select i1 %23, ptr @.str.1, ptr %24
%26 = select i1 %23, ptr @.str.1, ptr @.str.2
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 0, i32 3
%28 = load i32, ptr %27, align 4, !tbaa !18
%29 = tail call i32 (ptr, i32, ptr, ptr, i32, ...) @pr_info(ptr noundef nonnull @.str, i32 noundef %20, ptr noundef %25, ptr noundef nonnull %26, i32 noundef %28) #2
br label %103
30: ; preds = %10
%31 = tail call i32 @rbd_dev_header_info(ptr noundef %0) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %36, label %100
33: ; preds = %8
%34 = tail call i32 @rbd_dev_header_info(ptr noundef %0) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %103
36: ; preds = %30
%37 = tail call i32 @rbd_spec_fill_snap_id(ptr noundef %0) #2
br label %40
38: ; preds = %33
%39 = tail call i32 @rbd_spec_fill_names(ptr noundef %0) #2
br label %40
40: ; preds = %38, %36
%41 = phi i32 [ %39, %38 ], [ %37, %36 ]
%42 = icmp eq i32 %41, 0
br i1 %42, label %62, label %43
43: ; preds = %40
%44 = load i32, ptr @ENOENT, align 4, !tbaa !5
%45 = sub nsw i32 0, %44
%46 = icmp eq i32 %41, %45
br i1 %46, label %47, label %97
47: ; preds = %43
%48 = load ptr, ptr %0, align 8, !tbaa !9
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 0, i32 5
%50 = load i32, ptr %49, align 8, !tbaa !15
%51 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 0, i32 4
%52 = load i64, ptr %51, align 8, !tbaa !17
%53 = icmp eq i64 %52, 0
%54 = inttoptr i64 %52 to ptr
%55 = select i1 %53, ptr @.str.1, ptr %54
%56 = select i1 %53, ptr @.str.1, ptr @.str.2
%57 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 0, i32 3
%58 = load i32, ptr %57, align 4, !tbaa !18
%59 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 0, i32 2
%60 = load i32, ptr %59, align 8, !tbaa !19
%61 = tail call i32 (ptr, i32, ptr, ptr, i32, ...) @pr_info(ptr noundef nonnull @.str.3, i32 noundef %50, ptr noundef %55, ptr noundef nonnull %56, i32 noundef %58, i32 noundef %60) #2
br label %97
62: ; preds = %40
%63 = tail call i32 @rbd_dev_mapping_set(ptr noundef %0) #2
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %97
65: ; preds = %62
%66 = load ptr, ptr %0, align 8, !tbaa !9
%67 = load i64, ptr %66, align 8, !tbaa !20
%68 = load i64, ptr @CEPH_NOSNAP, align 8, !tbaa !21
%69 = icmp eq i64 %67, %68
br i1 %69, label %79, label %70
70: ; preds = %65
%71 = getelementptr inbounds %struct.rbd_device, ptr %0, i64 0, i32 3
%72 = load i32, ptr %71, align 4, !tbaa !22
%73 = load i32, ptr @RBD_FEATURE_OBJECT_MAP, align 4, !tbaa !5
%74 = and i32 %73, %72
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %70
%77 = tail call i32 @rbd_object_map_load(ptr noundef nonnull %0) #2
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %97
79: ; preds = %76, %70, %65
%80 = getelementptr inbounds %struct.rbd_device, ptr %0, i64 0, i32 3
%81 = load i32, ptr %80, align 4, !tbaa !22
%82 = load i32, ptr @RBD_FEATURE_LAYERING, align 4, !tbaa !5
%83 = and i32 %82, %81
%84 = icmp eq i32 %83, 0
br i1 %84, label %88, label %85
85: ; preds = %79
%86 = tail call i32 @rbd_dev_v2_parent_info(ptr noundef nonnull %0) #2
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %97
88: ; preds = %85, %79
%89 = tail call i32 @rbd_dev_probe_parent(ptr noundef nonnull %0, i32 noundef %1) #2
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %97
91: ; preds = %88
%92 = getelementptr inbounds %struct.rbd_device, ptr %0, i64 0, i32 1
%93 = load i64, ptr %92, align 8, !tbaa !23
%94 = getelementptr inbounds %struct.rbd_device, ptr %0, i64 0, i32 2
%95 = load i32, ptr %94, align 8, !tbaa !24
%96 = tail call i32 @dout(ptr noundef nonnull @.str.4, i64 noundef %93, i32 noundef %95) #2
br label %112
97: ; preds = %47, %43, %62, %76, %85, %88
%98 = phi i32 [ %41, %47 ], [ %41, %43 ], [ %63, %62 ], [ %77, %76 ], [ %86, %85 ], [ %89, %88 ]
%99 = tail call i32 @rbd_dev_unprobe(ptr noundef %0) #2
br i1 %9, label %100, label %103
100: ; preds = %30, %97
%101 = phi i32 [ %98, %97 ], [ %31, %30 ]
%102 = tail call i32 @rbd_unregister_watch(ptr noundef %0) #2
br label %103
103: ; preds = %33, %97, %100, %13, %17, %5
%104 = phi i32 [ %6, %5 ], [ %98, %97 ], [ %101, %100 ], [ %11, %17 ], [ %11, %13 ], [ %34, %33 ]
%105 = getelementptr inbounds %struct.rbd_device, ptr %0, i64 0, i32 1
store i64 0, ptr %105, align 8, !tbaa !23
%106 = load ptr, ptr %0, align 8, !tbaa !9
%107 = getelementptr inbounds %struct.TYPE_6__, ptr %106, i64 0, i32 1
%108 = load ptr, ptr %107, align 8, !tbaa !25
%109 = tail call i32 @kfree(ptr noundef %108) #2
%110 = load ptr, ptr %0, align 8, !tbaa !9
%111 = getelementptr inbounds %struct.TYPE_6__, ptr %110, i64 0, i32 1
store ptr null, ptr %111, align 8, !tbaa !25
br label %112
112: ; preds = %2, %103, %91
%113 = phi i32 [ %104, %103 ], [ 0, %91 ], [ %3, %2 ]
ret i32 %113
}
declare i32 @rbd_dev_image_id(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_header_name(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_register_watch(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @rbd_dev_header_info(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_spec_fill_snap_id(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_spec_fill_names(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_mapping_set(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_object_map_load(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_v2_parent_info(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_probe_parent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dout(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rbd_dev_unprobe(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_unregister_watch(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, !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 = !{!"rbd_device", !11, i64 0, !12, i64 8, !13, i64 16, !14, i64 20}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"TYPE_5__", !6, i64 0}
!14 = !{!"TYPE_4__", !6, i64 0}
!15 = !{!16, !6, i64 32}
!16 = !{!"TYPE_6__", !12, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !12, i64 24, !6, i64 32}
!17 = !{!16, !12, i64 24}
!18 = !{!16, !6, i64 20}
!19 = !{!16, !6, i64 16}
!20 = !{!16, !12, i64 0}
!21 = !{!12, !12, i64 0}
!22 = !{!10, !6, i64 20}
!23 = !{!10, !12, i64 8}
!24 = !{!10, !6, i64 16}
!25 = !{!16, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/block/extr_rbd.c_rbd_dev_image_probe.c'
source_filename = "AnghaBench/linux/drivers/block/extr_rbd.c_rbd_dev_image_probe.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 i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"image %s/%s%s%s does not exist\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"snap %s/%s%s%s@%s does not exist\0A\00", align 1
@CEPH_NOSNAP = common local_unnamed_addr global i64 0, align 8
@RBD_FEATURE_OBJECT_MAP = common local_unnamed_addr global i32 0, align 4
@RBD_FEATURE_LAYERING = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [47 x i8] c"discovered format %u image, header name is %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rbd_dev_image_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rbd_dev_image_probe(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @rbd_dev_image_id(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %112
5: ; preds = %2
%6 = tail call i32 @rbd_dev_header_name(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %103
8: ; preds = %5
%9 = icmp eq i32 %1, 0
br i1 %9, label %10, label %33
10: ; preds = %8
%11 = tail call i32 @rbd_register_watch(ptr noundef %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %10
%14 = load i32, ptr @ENOENT, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
%16 = icmp eq i32 %11, %15
br i1 %16, label %17, label %103
17: ; preds = %13
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = getelementptr inbounds i8, ptr %18, i64 32
%20 = load i32, ptr %19, align 8, !tbaa !16
%21 = getelementptr inbounds i8, ptr %18, i64 24
%22 = load i64, ptr %21, align 8, !tbaa !18
%23 = icmp eq i64 %22, 0
%24 = inttoptr i64 %22 to ptr
%25 = select i1 %23, ptr @.str.1, ptr %24
%26 = select i1 %23, ptr @.str.1, ptr @.str.2
%27 = getelementptr inbounds i8, ptr %18, i64 20
%28 = load i32, ptr %27, align 4, !tbaa !19
%29 = tail call i32 (ptr, i32, ptr, ptr, i32, ...) @pr_info(ptr noundef nonnull @.str, i32 noundef %20, ptr noundef %25, ptr noundef nonnull %26, i32 noundef %28) #2
br label %103
30: ; preds = %10
%31 = tail call i32 @rbd_dev_header_info(ptr noundef %0) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %36, label %100
33: ; preds = %8
%34 = tail call i32 @rbd_dev_header_info(ptr noundef %0) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %103
36: ; preds = %30
%37 = tail call i32 @rbd_spec_fill_snap_id(ptr noundef %0) #2
br label %40
38: ; preds = %33
%39 = tail call i32 @rbd_spec_fill_names(ptr noundef %0) #2
br label %40
40: ; preds = %38, %36
%41 = phi i32 [ %39, %38 ], [ %37, %36 ]
%42 = icmp eq i32 %41, 0
br i1 %42, label %62, label %43
43: ; preds = %40
%44 = load i32, ptr @ENOENT, align 4, !tbaa !6
%45 = sub nsw i32 0, %44
%46 = icmp eq i32 %41, %45
br i1 %46, label %47, label %97
47: ; preds = %43
%48 = load ptr, ptr %0, align 8, !tbaa !10
%49 = getelementptr inbounds i8, ptr %48, i64 32
%50 = load i32, ptr %49, align 8, !tbaa !16
%51 = getelementptr inbounds i8, ptr %48, i64 24
%52 = load i64, ptr %51, align 8, !tbaa !18
%53 = icmp eq i64 %52, 0
%54 = inttoptr i64 %52 to ptr
%55 = select i1 %53, ptr @.str.1, ptr %54
%56 = select i1 %53, ptr @.str.1, ptr @.str.2
%57 = getelementptr inbounds i8, ptr %48, i64 20
%58 = load i32, ptr %57, align 4, !tbaa !19
%59 = getelementptr inbounds i8, ptr %48, i64 16
%60 = load i32, ptr %59, align 8, !tbaa !20
%61 = tail call i32 (ptr, i32, ptr, ptr, i32, ...) @pr_info(ptr noundef nonnull @.str.3, i32 noundef %50, ptr noundef %55, ptr noundef nonnull %56, i32 noundef %58, i32 noundef %60) #2
br label %97
62: ; preds = %40
%63 = tail call i32 @rbd_dev_mapping_set(ptr noundef %0) #2
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %97
65: ; preds = %62
%66 = load ptr, ptr %0, align 8, !tbaa !10
%67 = load i64, ptr %66, align 8, !tbaa !21
%68 = load i64, ptr @CEPH_NOSNAP, align 8, !tbaa !22
%69 = icmp eq i64 %67, %68
br i1 %69, label %79, label %70
70: ; preds = %65
%71 = getelementptr inbounds i8, ptr %0, i64 20
%72 = load i32, ptr %71, align 4, !tbaa !23
%73 = load i32, ptr @RBD_FEATURE_OBJECT_MAP, align 4, !tbaa !6
%74 = and i32 %73, %72
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %70
%77 = tail call i32 @rbd_object_map_load(ptr noundef nonnull %0) #2
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %97
79: ; preds = %76, %70, %65
%80 = getelementptr inbounds i8, ptr %0, i64 20
%81 = load i32, ptr %80, align 4, !tbaa !23
%82 = load i32, ptr @RBD_FEATURE_LAYERING, align 4, !tbaa !6
%83 = and i32 %82, %81
%84 = icmp eq i32 %83, 0
br i1 %84, label %88, label %85
85: ; preds = %79
%86 = tail call i32 @rbd_dev_v2_parent_info(ptr noundef nonnull %0) #2
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %97
88: ; preds = %85, %79
%89 = tail call i32 @rbd_dev_probe_parent(ptr noundef nonnull %0, i32 noundef %1) #2
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %97
91: ; preds = %88
%92 = getelementptr inbounds i8, ptr %0, i64 8
%93 = load i64, ptr %92, align 8, !tbaa !24
%94 = getelementptr inbounds i8, ptr %0, i64 16
%95 = load i32, ptr %94, align 8, !tbaa !25
%96 = tail call i32 @dout(ptr noundef nonnull @.str.4, i64 noundef %93, i32 noundef %95) #2
br label %112
97: ; preds = %47, %43, %62, %76, %85, %88
%98 = phi i32 [ %41, %47 ], [ %41, %43 ], [ %63, %62 ], [ %77, %76 ], [ %86, %85 ], [ %89, %88 ]
%99 = tail call i32 @rbd_dev_unprobe(ptr noundef %0) #2
br i1 %9, label %100, label %103
100: ; preds = %30, %97
%101 = phi i32 [ %98, %97 ], [ %31, %30 ]
%102 = tail call i32 @rbd_unregister_watch(ptr noundef %0) #2
br label %103
103: ; preds = %33, %97, %100, %13, %17, %5
%104 = phi i32 [ %6, %5 ], [ %98, %97 ], [ %101, %100 ], [ %11, %17 ], [ %11, %13 ], [ %34, %33 ]
%105 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %105, align 8, !tbaa !24
%106 = load ptr, ptr %0, align 8, !tbaa !10
%107 = getelementptr inbounds i8, ptr %106, i64 8
%108 = load ptr, ptr %107, align 8, !tbaa !26
%109 = tail call i32 @kfree(ptr noundef %108) #2
%110 = load ptr, ptr %0, align 8, !tbaa !10
%111 = getelementptr inbounds i8, ptr %110, i64 8
store ptr null, ptr %111, align 8, !tbaa !26
br label %112
112: ; preds = %2, %103, %91
%113 = phi i32 [ %104, %103 ], [ 0, %91 ], [ %3, %2 ]
ret i32 %113
}
declare i32 @rbd_dev_image_id(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_header_name(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_register_watch(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @rbd_dev_header_info(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_spec_fill_snap_id(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_spec_fill_names(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_mapping_set(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_object_map_load(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_v2_parent_info(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_dev_probe_parent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dout(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rbd_dev_unprobe(ptr noundef) local_unnamed_addr #1
declare i32 @rbd_unregister_watch(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, !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 = !{!"rbd_device", !12, i64 0, !13, i64 8, !14, i64 16, !15, i64 20}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!17, !7, i64 32}
!17 = !{!"TYPE_6__", !13, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !13, i64 24, !7, i64 32}
!18 = !{!17, !13, i64 24}
!19 = !{!17, !7, i64 20}
!20 = !{!17, !7, i64 16}
!21 = !{!17, !13, i64 0}
!22 = !{!13, !13, i64 0}
!23 = !{!11, !7, i64 20}
!24 = !{!11, !13, i64 8}
!25 = !{!11, !7, i64 16}
!26 = !{!17, !12, i64 8}
| linux_drivers_block_extr_rbd.c_rbd_dev_image_probe |
; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_prog.c_show_prog_maps.c'
source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_prog.c_show_prog_maps.c"
target datalayout = "e-m:e-p270:32:32-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.bpf_prog_info = type { i32, i32 }
@json_output = dso_local local_unnamed_addr global i64 0, align 8
@json_wtr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"map_ids\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" map_ids \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%u%s\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [2 x i8] c",\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_prog_maps], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @show_prog_maps(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.bpf_prog_info, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
store i32 8, ptr %4, align 4, !tbaa !5
%5 = zext i32 %1 to i64
%6 = tail call ptr @llvm.stacksave.p0()
%7 = alloca i32, i64 %5, align 16
store i32 %1, ptr %3, align 4, !tbaa !9
%8 = call i32 @ptr_to_u64(ptr noundef nonnull %7) #5
%9 = getelementptr inbounds %struct.bpf_prog_info, ptr %3, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !11
%10 = call i32 @bpf_obj_get_info_by_fd(i32 noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #5
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
%14 = select i1 %11, i1 %13, i1 false
br i1 %14, label %15, label %56
15: ; preds = %2
%16 = load i64, ptr @json_output, align 8, !tbaa !12
%17 = icmp eq i64 %16, 0
br i1 %17, label %38, label %18
18: ; preds = %15
%19 = load i32, ptr @json_wtr, align 4, !tbaa !5
%20 = call i32 @jsonw_name(i32 noundef %19, ptr noundef nonnull @.str) #5
%21 = load i32, ptr @json_wtr, align 4, !tbaa !5
%22 = call i32 @jsonw_start_array(i32 noundef %21) #5
%23 = load i32, ptr %3, align 4, !tbaa !9
%24 = icmp eq i32 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %18, %25
%26 = phi i64 [ %31, %25 ], [ 0, %18 ]
%27 = load i32, ptr @json_wtr, align 4, !tbaa !5
%28 = getelementptr inbounds i32, ptr %7, i64 %26
%29 = load i32, ptr %28, align 4, !tbaa !5
%30 = call i32 @jsonw_uint(i32 noundef %27, i32 noundef %29) #5
%31 = add nuw nsw i64 %26, 1
%32 = load i32, ptr %3, align 4, !tbaa !9
%33 = zext i32 %32 to i64
%34 = icmp ult i64 %31, %33
br i1 %34, label %25, label %35, !llvm.loop !14
35: ; preds = %25, %18
%36 = load i32, ptr @json_wtr, align 4, !tbaa !5
%37 = call i32 @jsonw_end_array(i32 noundef %36) #5
br label %56
38: ; preds = %15
%39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%40 = load i32, ptr %3, align 4, !tbaa !9
%41 = icmp eq i32 %40, 0
br i1 %41, label %56, label %42
42: ; preds = %38, %42
%43 = phi i64 [ %52, %42 ], [ 0, %38 ]
%44 = phi i32 [ %53, %42 ], [ %40, %38 ]
%45 = getelementptr inbounds i32, ptr %7, i64 %43
%46 = load i32, ptr %45, align 4, !tbaa !5
%47 = add nsw i32 %44, -1
%48 = zext i32 %47 to i64
%49 = icmp eq i64 %43, %48
%50 = select i1 %49, ptr @.str.3, ptr @.str.4
%51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %46, ptr noundef nonnull %50)
%52 = add nuw nsw i64 %43, 1
%53 = load i32, ptr %3, align 4, !tbaa !9
%54 = zext i32 %53 to i64
%55 = icmp ult i64 %52, %54
br i1 %55, label %42, label %56, !llvm.loop !16
56: ; preds = %42, %38, %35, %2
call void @llvm.stackrestore.p0(ptr %6)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @ptr_to_u64(ptr noundef) local_unnamed_addr #3
declare i32 @bpf_obj_get_info_by_fd(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @jsonw_name(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @jsonw_start_array(i32 noundef) local_unnamed_addr #3
declare i32 @jsonw_uint(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @jsonw_end_array(i32 noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"bpf_prog_info", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| ; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_prog.c_show_prog_maps.c'
source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_prog.c_show_prog_maps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bpf_prog_info = type { i32, i32 }
@json_output = common local_unnamed_addr global i64 0, align 8
@json_wtr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"map_ids\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" map_ids \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%u%s\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [2 x i8] c",\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_prog_maps], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @show_prog_maps(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.bpf_prog_info, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
store i32 8, ptr %4, align 4, !tbaa !6
%5 = zext i32 %1 to i64
%6 = tail call ptr @llvm.stacksave.p0()
%7 = alloca i32, i64 %5, align 4
store i32 %1, ptr %3, align 4, !tbaa !10
%8 = call i32 @ptr_to_u64(ptr noundef nonnull %7) #5
%9 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %8, ptr %9, align 4, !tbaa !12
%10 = call i32 @bpf_obj_get_info_by_fd(i32 noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #5
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
%14 = select i1 %11, i1 %13, i1 false
br i1 %14, label %15, label %56
15: ; preds = %2
%16 = load i64, ptr @json_output, align 8, !tbaa !13
%17 = icmp eq i64 %16, 0
br i1 %17, label %38, label %18
18: ; preds = %15
%19 = load i32, ptr @json_wtr, align 4, !tbaa !6
%20 = call i32 @jsonw_name(i32 noundef %19, ptr noundef nonnull @.str) #5
%21 = load i32, ptr @json_wtr, align 4, !tbaa !6
%22 = call i32 @jsonw_start_array(i32 noundef %21) #5
%23 = load i32, ptr %3, align 4, !tbaa !10
%24 = icmp eq i32 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %18, %25
%26 = phi i64 [ %31, %25 ], [ 0, %18 ]
%27 = load i32, ptr @json_wtr, align 4, !tbaa !6
%28 = getelementptr inbounds i32, ptr %7, i64 %26
%29 = load i32, ptr %28, align 4, !tbaa !6
%30 = call i32 @jsonw_uint(i32 noundef %27, i32 noundef %29) #5
%31 = add nuw nsw i64 %26, 1
%32 = load i32, ptr %3, align 4, !tbaa !10
%33 = zext i32 %32 to i64
%34 = icmp ult i64 %31, %33
br i1 %34, label %25, label %35, !llvm.loop !15
35: ; preds = %25, %18
%36 = load i32, ptr @json_wtr, align 4, !tbaa !6
%37 = call i32 @jsonw_end_array(i32 noundef %36) #5
br label %56
38: ; preds = %15
%39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%40 = load i32, ptr %3, align 4, !tbaa !10
%41 = icmp eq i32 %40, 0
br i1 %41, label %56, label %42
42: ; preds = %38, %42
%43 = phi i64 [ %52, %42 ], [ 0, %38 ]
%44 = phi i32 [ %53, %42 ], [ %40, %38 ]
%45 = getelementptr inbounds i32, ptr %7, i64 %43
%46 = load i32, ptr %45, align 4, !tbaa !6
%47 = add nsw i32 %44, -1
%48 = zext i32 %47 to i64
%49 = icmp eq i64 %43, %48
%50 = select i1 %49, ptr @.str.3, ptr @.str.4
%51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %46, ptr noundef nonnull %50)
%52 = add nuw nsw i64 %43, 1
%53 = load i32, ptr %3, align 4, !tbaa !10
%54 = zext i32 %53 to i64
%55 = icmp ult i64 %52, %54
br i1 %55, label %42, label %56, !llvm.loop !17
56: ; preds = %42, %38, %35, %2
call void @llvm.stackrestore.p0(ptr %6)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @ptr_to_u64(ptr noundef) local_unnamed_addr #3
declare i32 @bpf_obj_get_info_by_fd(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @jsonw_name(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @jsonw_start_array(i32 noundef) local_unnamed_addr #3
declare i32 @jsonw_uint(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @jsonw_end_array(i32 noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"bpf_prog_info", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| linux_tools_bpf_bpftool_extr_prog.c_show_prog_maps |
; ModuleID = 'AnghaBench/vlc/modules/services_discovery/extr_pulse.c_Open.c'
source_filename = "AnghaBench/vlc/modules/services_discovery/extr_pulse.c_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_7__ = type { i32, ptr }
%struct.TYPE_8__ = type { i32, ptr, ptr }
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Audio capture\00", align 1
@PA_SUBSCRIPTION_MASK_SOURCE = dso_local local_unnamed_addr global i32 0, align 4
@ContextCallback = dso_local local_unnamed_addr global i32 0, align 4
@SourceCallback = dso_local local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Open(ptr noundef %0) #0 {
%2 = tail call ptr @malloc(i32 noundef 24) #2
%3 = icmp eq ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %41
7: ; preds = %1
%8 = tail call ptr @vlc_pa_connect(ptr noundef %0, ptr noundef %2) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = tail call i32 @free(ptr noundef %2) #2
br label %41
12: ; preds = %7
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
store ptr %2, ptr %13, align 8, !tbaa !5
%14 = tail call i32 @_(ptr noundef nonnull @.str) #2
store i32 %14, ptr %0, align 8, !tbaa !11
%15 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 2
store ptr %8, ptr %15, align 8, !tbaa !12
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
store ptr null, ptr %16, align 8, !tbaa !14
%17 = load i32, ptr @PA_SUBSCRIPTION_MASK_SOURCE, align 4, !tbaa !15
%18 = load i32, ptr %2, align 8, !tbaa !16
%19 = tail call i32 @pa_threaded_mainloop_lock(i32 noundef %18) #2
%20 = load i32, ptr @ContextCallback, align 4, !tbaa !15
%21 = tail call i32 @pa_context_set_subscribe_callback(ptr noundef nonnull %8, i32 noundef %20, ptr noundef nonnull %0) #2
%22 = tail call ptr @pa_context_subscribe(ptr noundef nonnull %8, i32 noundef %17, ptr noundef null, ptr noundef null) #2
%23 = icmp ne ptr %22, null
%24 = zext i1 %23 to i32
%25 = tail call i64 @likely(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %12
%28 = tail call i32 @pa_operation_unref(ptr noundef %22) #2
br label %29
29: ; preds = %27, %12
%30 = load i32, ptr @SourceCallback, align 4, !tbaa !15
%31 = tail call ptr @pa_context_get_source_info_list(ptr noundef nonnull %8, i32 noundef %30, ptr noundef nonnull %0) #2
%32 = icmp ne ptr %31, null
%33 = zext i1 %32 to i32
%34 = tail call i64 @likely(i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %29
%37 = tail call i32 @pa_operation_unref(ptr noundef %31) #2
br label %38
38: ; preds = %36, %29
%39 = load i32, ptr %2, align 8, !tbaa !16
%40 = tail call i32 @pa_threaded_mainloop_unlock(i32 noundef %39) #2
br label %41
41: ; preds = %1, %38, %10
%42 = phi ptr [ @VLC_EGENERIC, %10 ], [ @VLC_SUCCESS, %38 ], [ @VLC_ENOMEM, %1 ]
%43 = load i32, ptr %42, align 4, !tbaa !15
ret i32 %43
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @vlc_pa_connect(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_lock(i32 noundef) local_unnamed_addr #1
declare i32 @pa_context_set_subscribe_callback(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @pa_context_subscribe(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @pa_operation_unref(ptr noundef) local_unnamed_addr #1
declare ptr @pa_context_get_source_info_list(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_unlock(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 8}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !10, i64 16}
!14 = !{!13, !10, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/services_discovery/extr_pulse.c_Open.c'
source_filename = "AnghaBench/vlc/modules/services_discovery/extr_pulse.c_Open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Audio capture\00", align 1
@PA_SUBSCRIPTION_MASK_SOURCE = common local_unnamed_addr global i32 0, align 4
@ContextCallback = common local_unnamed_addr global i32 0, align 4
@SourceCallback = common local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Open(ptr noundef %0) #0 {
%2 = tail call ptr @malloc(i32 noundef 24) #2
%3 = icmp eq ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %41
7: ; preds = %1
%8 = tail call ptr @vlc_pa_connect(ptr noundef %0, ptr noundef %2) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = tail call i32 @free(ptr noundef %2) #2
br label %41
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %2, ptr %13, align 8, !tbaa !6
%14 = tail call i32 @_(ptr noundef nonnull @.str) #2
store i32 %14, ptr %0, align 8, !tbaa !12
%15 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %8, ptr %15, align 8, !tbaa !13
%16 = getelementptr inbounds i8, ptr %2, i64 8
store ptr null, ptr %16, align 8, !tbaa !15
%17 = load i32, ptr @PA_SUBSCRIPTION_MASK_SOURCE, align 4, !tbaa !16
%18 = load i32, ptr %2, align 8, !tbaa !17
%19 = tail call i32 @pa_threaded_mainloop_lock(i32 noundef %18) #2
%20 = load i32, ptr @ContextCallback, align 4, !tbaa !16
%21 = tail call i32 @pa_context_set_subscribe_callback(ptr noundef nonnull %8, i32 noundef %20, ptr noundef nonnull %0) #2
%22 = tail call ptr @pa_context_subscribe(ptr noundef nonnull %8, i32 noundef %17, ptr noundef null, ptr noundef null) #2
%23 = icmp ne ptr %22, null
%24 = zext i1 %23 to i32
%25 = tail call i64 @likely(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %12
%28 = tail call i32 @pa_operation_unref(ptr noundef %22) #2
br label %29
29: ; preds = %27, %12
%30 = load i32, ptr @SourceCallback, align 4, !tbaa !16
%31 = tail call ptr @pa_context_get_source_info_list(ptr noundef nonnull %8, i32 noundef %30, ptr noundef nonnull %0) #2
%32 = icmp ne ptr %31, null
%33 = zext i1 %32 to i32
%34 = tail call i64 @likely(i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %29
%37 = tail call i32 @pa_operation_unref(ptr noundef %31) #2
br label %38
38: ; preds = %36, %29
%39 = load i32, ptr %2, align 8, !tbaa !17
%40 = tail call i32 @pa_threaded_mainloop_unlock(i32 noundef %39) #2
br label %41
41: ; preds = %1, %38, %10
%42 = phi ptr [ @VLC_EGENERIC, %10 ], [ @VLC_SUCCESS, %38 ], [ @VLC_ENOMEM, %1 ]
%43 = load i32, ptr %42, align 4, !tbaa !16
ret i32 %43
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @vlc_pa_connect(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_lock(i32 noundef) local_unnamed_addr #1
declare i32 @pa_context_set_subscribe_callback(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @pa_context_subscribe(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @pa_operation_unref(ptr noundef) local_unnamed_addr #1
declare ptr @pa_context_get_source_info_list(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_unlock(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 8}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!14, !11, i64 8}
!16 = !{!8, !8, i64 0}
!17 = !{!14, !8, i64 0}
| vlc_modules_services_discovery_extr_pulse.c_Open |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_kpi_vfs.c_vnode_setnocache.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_kpi_vfs.c_vnode_setnocache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VNOCACHE_DATA = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vnode_setnocache(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vnode_lock_spin(ptr noundef %0) #2
%3 = load i32, ptr @VNOCACHE_DATA, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = or i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !9
%6 = tail call i32 @vnode_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @vnode_lock_spin(ptr noundef) local_unnamed_addr #1
declare i32 @vnode_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_kpi_vfs.c_vnode_setnocache.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_kpi_vfs.c_vnode_setnocache.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VNOCACHE_DATA = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vnode_setnocache(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vnode_lock_spin(ptr noundef %0) #2
%3 = load i32, ptr @VNOCACHE_DATA, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = or i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !10
%6 = tail call i32 @vnode_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @vnode_lock_spin(ptr noundef) local_unnamed_addr #1
declare i32 @vnode_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
| darwin-xnu_bsd_vfs_extr_kpi_vfs.c_vnode_setnocache |
; ModuleID = 'AnghaBench/linux/tools/perf/examples/bpf/extr_augmented_raw_syscalls.c_augmented__output.c'
source_filename = "AnghaBench/linux/tools/perf/examples/bpf/extr_augmented_raw_syscalls.c_augmented__output.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__augmented_syscalls__ = dso_local global i32 0, align 4
@BPF_F_CURRENT_CPU = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @augmented__output], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @augmented__output(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @BPF_F_CURRENT_CPU, align 4, !tbaa !5
%5 = tail call i32 @perf_event_output(ptr noundef %0, ptr noundef nonnull @__augmented_syscalls__, i32 noundef %4, ptr noundef %1, i32 noundef %2) #2
ret i32 %5
}
declare i32 @perf_event_output(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/examples/bpf/extr_augmented_raw_syscalls.c_augmented__output.c'
source_filename = "AnghaBench/linux/tools/perf/examples/bpf/extr_augmented_raw_syscalls.c_augmented__output.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__augmented_syscalls__ = common global i32 0, align 4
@BPF_F_CURRENT_CPU = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @augmented__output], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @augmented__output(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @BPF_F_CURRENT_CPU, align 4, !tbaa !6
%5 = tail call i32 @perf_event_output(ptr noundef %0, ptr noundef nonnull @__augmented_syscalls__, i32 noundef %4, ptr noundef %1, i32 noundef %2) #2
ret i32 %5
}
declare i32 @perf_event_output(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_tools_perf_examples_bpf_extr_augmented_raw_syscalls.c_augmented__output |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_alloc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_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"
@mlx5_devlink_ops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @mlx5_devlink_alloc() local_unnamed_addr #0 {
%1 = tail call ptr @devlink_alloc(ptr noundef nonnull @mlx5_devlink_ops, i32 noundef 4) #2
ret ptr %1
}
declare ptr @devlink_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_alloc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_alloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mlx5_devlink_ops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mlx5_devlink_alloc() local_unnamed_addr #0 {
%1 = tail call ptr @devlink_alloc(ptr noundef nonnull @mlx5_devlink_ops, i32 noundef 4) #2
ret ptr %1
}
declare ptr @devlink_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_devlink.c_mlx5_devlink_alloc |
; ModuleID = 'AnghaBench/linux/drivers/usb/c67x00/extr_c67x00-ll-hpi.c_c67x00_ll_fetch_siemsg.c'
source_filename = "AnghaBench/linux/drivers/usb/c67x00/extr_c67x00-ll-hpi.c_c67x00_ll_fetch_siemsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @c67x00_ll_fetch_siemsg(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SIEMSG_REG(i32 noundef %1) #2
%4 = tail call i32 @hpi_read_word(ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 @SIEMSG_REG(i32 noundef %1) #2
%6 = tail call i32 @hpi_write_word(ptr noundef %0, i32 noundef %5, i32 noundef 0) #2
ret i32 %4
}
declare i32 @hpi_read_word(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SIEMSG_REG(i32 noundef) local_unnamed_addr #1
declare i32 @hpi_write_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/c67x00/extr_c67x00-ll-hpi.c_c67x00_ll_fetch_siemsg.c'
source_filename = "AnghaBench/linux/drivers/usb/c67x00/extr_c67x00-ll-hpi.c_c67x00_ll_fetch_siemsg.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 @c67x00_ll_fetch_siemsg(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SIEMSG_REG(i32 noundef %1) #2
%4 = tail call i32 @hpi_read_word(ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 @SIEMSG_REG(i32 noundef %1) #2
%6 = tail call i32 @hpi_write_word(ptr noundef %0, i32 noundef %5, i32 noundef 0) #2
ret i32 %4
}
declare i32 @hpi_read_word(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SIEMSG_REG(i32 noundef) local_unnamed_addr #1
declare i32 @hpi_write_word(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)"}
| linux_drivers_usb_c67x00_extr_c67x00-ll-hpi.c_c67x00_ll_fetch_siemsg |
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_tetrahedron.c_TH_FindOrCreateVertex.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_tetrahedron.c_TH_FindOrCreateVertex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @TH_FindOrCreateVertex(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @TH_FindVertex(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @TH_CreateVertex(i32 noundef %0) #2
br label %6
6: ; preds = %4, %1
%7 = phi i32 [ %2, %1 ], [ %5, %4 ]
ret i32 %7
}
declare i32 @TH_FindVertex(i32 noundef) local_unnamed_addr #1
declare i32 @TH_CreateVertex(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/lab/engine/code/bspc/extr_tetrahedron.c_TH_FindOrCreateVertex.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_tetrahedron.c_TH_FindOrCreateVertex.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 @TH_FindOrCreateVertex(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @TH_FindVertex(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @TH_CreateVertex(i32 noundef %0) #2
br label %6
6: ; preds = %4, %1
%7 = phi i32 [ %2, %1 ], [ %5, %4 ]
ret i32 %7
}
declare i32 @TH_FindVertex(i32 noundef) local_unnamed_addr #1
declare i32 @TH_CreateVertex(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)"}
| lab_engine_code_bspc_extr_tetrahedron.c_TH_FindOrCreateVertex |
; ModuleID = 'AnghaBench/Quake-III-Arena/lcc/src/extr_expr.c_expr0.c'
source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_expr.c_expr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @expr0(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @expr(i32 noundef %0) #2
%3 = tail call i32 @root(i32 noundef %2) #2
ret i32 %3
}
declare i32 @root(i32 noundef) local_unnamed_addr #1
declare i32 @expr(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/Quake-III-Arena/lcc/src/extr_expr.c_expr0.c'
source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_expr.c_expr0.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 @expr0(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @expr(i32 noundef %0) #2
%3 = tail call i32 @root(i32 noundef %2) #2
ret i32 %3
}
declare i32 @root(i32 noundef) local_unnamed_addr #1
declare i32 @expr(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)"}
| Quake-III-Arena_lcc_src_extr_expr.c_expr0 |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_transmit_on_demand.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_transmit_on_demand.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UCC_FAST_TOD = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ucc_fast_transmit_on_demand(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @UCC_FAST_TOD, align 4, !tbaa !10
%4 = tail call i32 @out_be16(ptr noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @out_be16(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 = !{!"ucc_fast_private", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_transmit_on_demand.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_transmit_on_demand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UCC_FAST_TOD = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ucc_fast_transmit_on_demand(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @UCC_FAST_TOD, align 4, !tbaa !11
%4 = tail call i32 @out_be16(ptr noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @out_be16(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 = !{!"ucc_fast_private", !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}
| fastsocket_kernel_arch_powerpc_sysdev_qe_lib_extr_ucc_fast.c_ucc_fast_transmit_on_demand |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/tm6000/extr_tm6000-video.c_vidioc_streamon.c'
source_filename = "AnghaBench/linux/drivers/media/usb/tm6000/extr_tm6000-video.c_vidioc_streamon.c"
target datalayout = "e-m:e-p270:32:32-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.tm6000_fh = type { i64, i32, ptr }
@V4L2_BUF_TYPE_VIDEO_CAPTURE = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_streamon], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vidioc_streamon(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.tm6000_fh, ptr %1, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %1, align 8, !tbaa !12
%7 = load i64, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !14
%11 = sub nsw i32 0, %10
br label %27
12: ; preds = %3
%13 = zext i32 %2 to i64
%14 = icmp eq i64 %6, %13
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EINVAL, align 4, !tbaa !14
%17 = sub nsw i32 0, %16
br label %27
18: ; preds = %12
%19 = tail call i32 @res_get(ptr noundef %5, ptr noundef nonnull %1, i32 noundef 0) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr @EBUSY, align 4, !tbaa !14
%23 = sub nsw i32 0, %22
br label %27
24: ; preds = %18
%25 = getelementptr inbounds %struct.tm6000_fh, ptr %1, i64 0, i32 1
%26 = tail call i32 @videobuf_streamon(ptr noundef nonnull %25) #2
br label %27
27: ; preds = %24, %21, %15, %9
%28 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %26, %24 ], [ %23, %21 ]
ret i32 %28
}
declare i32 @res_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @videobuf_streamon(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"tm6000_fh", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/tm6000/extr_tm6000-video.c_vidioc_streamon.c'
source_filename = "AnghaBench/linux/drivers/media/usb/tm6000/extr_tm6000-video.c_vidioc_streamon.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V4L2_BUF_TYPE_VIDEO_CAPTURE = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vidioc_streamon], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vidioc_streamon(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %1, align 8, !tbaa !13
%7 = load i64, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 8, !tbaa !14
%8 = icmp eq i64 %6, %7
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !15
%11 = sub nsw i32 0, %10
br label %27
12: ; preds = %3
%13 = zext i32 %2 to i64
%14 = icmp eq i64 %6, %13
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EINVAL, align 4, !tbaa !15
%17 = sub nsw i32 0, %16
br label %27
18: ; preds = %12
%19 = tail call i32 @res_get(ptr noundef %5, ptr noundef nonnull %1, i32 noundef 0) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr @EBUSY, align 4, !tbaa !15
%23 = sub nsw i32 0, %22
br label %27
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %1, i64 8
%26 = tail call i32 @videobuf_streamon(ptr noundef nonnull %25) #2
br label %27
27: ; preds = %24, %21, %15, %9
%28 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %26, %24 ], [ %23, %21 ]
ret i32 %28
}
declare i32 @res_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @videobuf_streamon(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"tm6000_fh", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!11, !11, i64 0}
| linux_drivers_media_usb_tm6000_extr_tm6000-video.c_vidioc_streamon |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_main.c_snd_sb16_get_dma_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_main.c_snd_sb16_get_dma_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.snd_sb = type { i64, i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_sb16_get_dma_mode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @snd_sb16_get_dma_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp slt i64 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.snd_sb, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp slt i64 %6, 0
br i1 %7, label %15, label %8
8: ; preds = %4
%9 = getelementptr inbounds %struct.snd_sb, ptr %0, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = icmp eq i32 %10, 129
%12 = select i1 %11, i32 2, i32 0
%13 = icmp eq i32 %10, 128
%14 = select i1 %13, i32 1, i32 %12
br label %15
15: ; preds = %8, %1, %4
%16 = phi i32 [ 0, %4 ], [ 0, %1 ], [ %14, %8 ]
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_sb", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_main.c_snd_sb16_get_dma_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_main.c_snd_sb16_get_dma_mode.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 @snd_sb16_get_dma_mode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 3) i32 @snd_sb16_get_dma_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp slt i64 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp slt i64 %6, 0
br i1 %7, label %15, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = icmp eq i32 %10, 129
%12 = select i1 %11, i32 2, i32 0
%13 = icmp eq i32 %10, 128
%14 = select i1 %13, i32 1, i32 %12
br label %15
15: ; preds = %8, %1, %4
%16 = phi i32 [ 0, %4 ], [ 0, %1 ], [ %14, %8 ]
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_sb", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !11, i64 16}
| fastsocket_kernel_sound_isa_sb_extr_sb16_main.c_snd_sb16_get_dma_mode |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_nto-procfs.c_nto_interrupt.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_nto-procfs.c_nto_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nto_interrupt_twice = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nto_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nto_interrupt(i32 noundef %0) #0 {
%2 = load i32, ptr @nto_interrupt_twice, align 4, !tbaa !5
%3 = tail call i32 @signal(i32 noundef %0, i32 noundef %2) #2
%4 = tail call i32 (...) @target_stop() #2
ret void
}
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @target_stop(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_nto-procfs.c_nto_interrupt.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_nto-procfs.c_nto_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nto_interrupt_twice = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nto_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nto_interrupt(i32 noundef %0) #0 {
%2 = load i32, ptr @nto_interrupt_twice, align 4, !tbaa !6
%3 = tail call i32 @signal(i32 noundef %0, i32 noundef %2) #2
%4 = tail call i32 @target_stop() #2
ret void
}
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @target_stop(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_nto-procfs.c_nto_interrupt |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_write.c_nfs_flush_multi.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_write.c_nfs_flush_multi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nfs_commit_info = type { i32 }
%struct.nfs_pgio_header = type { i32, i32, ptr }
%struct.nfs_pageio_descriptor = type { i32, i64, ptr, i64, i32, i32 }
%struct.nfs_write_data = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@FLUSH_COND_STABLE = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@nfs_write_common_ops = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs_flush_multi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nfs_flush_multi(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.nfs_commit_info, align 4
%4 = getelementptr inbounds %struct.nfs_pgio_header, ptr %1, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 5
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call ptr @NFS_SERVER(i32 noundef %8) #3
%10 = load i64, ptr %9, align 8, !tbaa !16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%11 = load i32, ptr %7, align 4, !tbaa !13
%12 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 4
%13 = load i32, ptr %12, align 8, !tbaa !18
%14 = call i32 @nfs_init_cinfo(ptr noundef nonnull %3, i32 noundef %11, i32 noundef %13) #3
%15 = load i32, ptr %0, align 8, !tbaa !19
%16 = load i32, ptr @FLUSH_COND_STABLE, align 4, !tbaa !20
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %35, label %19
19: ; preds = %2
%20 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 3
%21 = load i64, ptr %20, align 8, !tbaa !21
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = call i64 @nfs_reqs_to_commit(ptr noundef nonnull %3) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 1
%28 = load i64, ptr %27, align 8, !tbaa !22
%29 = icmp ugt i64 %28, %10
br i1 %29, label %30, label %35
30: ; preds = %26, %23, %19
%31 = load i32, ptr @FLUSH_COND_STABLE, align 4, !tbaa !20
%32 = xor i32 %31, -1
%33 = load i32, ptr %0, align 8, !tbaa !19
%34 = and i32 %33, %32
store i32 %34, ptr %0, align 8, !tbaa !19
br label %35
35: ; preds = %30, %26, %2
%36 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 1
%37 = load i64, ptr %36, align 8, !tbaa !22
%38 = getelementptr inbounds %struct.nfs_pgio_header, ptr %1, i64 0, i32 1
br label %39
39: ; preds = %49, %35
%40 = phi i64 [ %37, %35 ], [ %55, %49 ]
%41 = phi i32 [ 0, %35 ], [ %57, %49 ]
%42 = call i64 @min(i64 noundef %40, i64 noundef %10) #3
%43 = call ptr @nfs_writedata_alloc(ptr noundef %1, i32 noundef 1) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %49
45: ; preds = %39
%46 = call i32 @nfs_flush_error(ptr noundef nonnull %0, ptr noundef %1) #3
%47 = load i32, ptr @ENOMEM, align 4, !tbaa !20
%48 = sub nsw i32 0, %47
br label %63
49: ; preds = %39
%50 = getelementptr inbounds %struct.nfs_write_data, ptr %43, i64 0, i32 1
%51 = load ptr, ptr %50, align 8, !tbaa !23
store ptr %6, ptr %51, align 8, !tbaa !26
%52 = load i32, ptr %0, align 8, !tbaa !19
%53 = call i32 @nfs_write_rpcsetup(ptr noundef nonnull %43, i64 noundef %42, i32 noundef %41, i32 noundef %52, ptr noundef nonnull %3) #3
%54 = call i32 @list_add(ptr noundef nonnull %43, ptr noundef nonnull %38) #3
%55 = sub i64 %40, %42
%56 = trunc i64 %42 to i32
%57 = add i32 %41, %56
%58 = icmp eq i64 %55, 0
br i1 %58, label %59, label %39, !llvm.loop !27
59: ; preds = %49
%60 = call i32 @nfs_list_remove_request(ptr noundef nonnull %5) #3
%61 = call i32 @nfs_list_add_request(ptr noundef nonnull %5, ptr noundef %1) #3
%62 = getelementptr inbounds %struct.nfs_pageio_descriptor, ptr %0, i64 0, i32 2
store ptr @nfs_write_common_ops, ptr %62, align 8, !tbaa !29
br label %63
63: ; preds = %45, %59
%64 = phi i32 [ 0, %59 ], [ %48, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NFS_SERVER(i32 noundef) local_unnamed_addr #2
declare i32 @nfs_init_cinfo(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @nfs_reqs_to_commit(ptr noundef) local_unnamed_addr #2
declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2
declare ptr @nfs_writedata_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfs_flush_error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_write_rpcsetup(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs_list_remove_request(ptr noundef) local_unnamed_addr #2
declare i32 @nfs_list_add_request(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 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 8}
!6 = !{!"nfs_pgio_header", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"nfs_page", !10, i64 0}
!13 = !{!14, !7, i64 36}
!14 = !{!"nfs_pageio_descriptor", !7, i64 0, !15, i64 8, !10, i64 16, !15, i64 24, !7, i64 32, !7, i64 36}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"TYPE_4__", !15, i64 0}
!18 = !{!14, !7, i64 32}
!19 = !{!14, !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!14, !15, i64 24}
!22 = !{!14, !15, i64 8}
!23 = !{!24, !10, i64 8}
!24 = !{!"nfs_write_data", !7, i64 0, !25, i64 8}
!25 = !{!"TYPE_3__", !10, i64 0}
!26 = !{!10, !10, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!14, !10, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_write.c_nfs_flush_multi.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_write.c_nfs_flush_multi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nfs_commit_info = type { i32 }
@FLUSH_COND_STABLE = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@nfs_write_common_ops = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nfs_flush_multi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nfs_flush_multi(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.nfs_commit_info, align 4
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 36
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = tail call ptr @NFS_SERVER(i32 noundef %8) #3
%10 = load i64, ptr %9, align 8, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%11 = load i32, ptr %7, align 4, !tbaa !14
%12 = getelementptr inbounds i8, ptr %0, i64 32
%13 = load i32, ptr %12, align 8, !tbaa !19
%14 = call i32 @nfs_init_cinfo(ptr noundef nonnull %3, i32 noundef %11, i32 noundef %13) #3
%15 = load i32, ptr %0, align 8, !tbaa !20
%16 = load i32, ptr @FLUSH_COND_STABLE, align 4, !tbaa !21
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %35, label %19
19: ; preds = %2
%20 = getelementptr inbounds i8, ptr %0, i64 24
%21 = load i64, ptr %20, align 8, !tbaa !22
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = call i64 @nfs_reqs_to_commit(ptr noundef nonnull %3) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i64, ptr %27, align 8, !tbaa !23
%29 = icmp ugt i64 %28, %10
br i1 %29, label %30, label %35
30: ; preds = %26, %23, %19
%31 = load i32, ptr @FLUSH_COND_STABLE, align 4, !tbaa !21
%32 = xor i32 %31, -1
%33 = load i32, ptr %0, align 8, !tbaa !20
%34 = and i32 %33, %32
store i32 %34, ptr %0, align 8, !tbaa !20
br label %35
35: ; preds = %30, %26, %2
%36 = getelementptr inbounds i8, ptr %0, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !23
%38 = getelementptr inbounds i8, ptr %1, i64 4
br label %39
39: ; preds = %49, %35
%40 = phi i64 [ %37, %35 ], [ %55, %49 ]
%41 = phi i32 [ 0, %35 ], [ %57, %49 ]
%42 = call i64 @min(i64 noundef %40, i64 noundef %10) #3
%43 = call ptr @nfs_writedata_alloc(ptr noundef %1, i32 noundef 1) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %49
45: ; preds = %39
%46 = call i32 @nfs_flush_error(ptr noundef nonnull %0, ptr noundef %1) #3
%47 = load i32, ptr @ENOMEM, align 4, !tbaa !21
%48 = sub nsw i32 0, %47
br label %63
49: ; preds = %39
%50 = getelementptr inbounds i8, ptr %43, i64 8
%51 = load ptr, ptr %50, align 8, !tbaa !24
store ptr %6, ptr %51, align 8, !tbaa !27
%52 = load i32, ptr %0, align 8, !tbaa !20
%53 = call i32 @nfs_write_rpcsetup(ptr noundef nonnull %43, i64 noundef %42, i32 noundef %41, i32 noundef %52, ptr noundef nonnull %3) #3
%54 = call i32 @list_add(ptr noundef nonnull %43, ptr noundef nonnull %38) #3
%55 = sub i64 %40, %42
%56 = trunc i64 %42 to i32
%57 = add i32 %41, %56
%58 = icmp eq i64 %55, 0
br i1 %58, label %59, label %39, !llvm.loop !28
59: ; preds = %49
%60 = call i32 @nfs_list_remove_request(ptr noundef nonnull %5) #3
%61 = call i32 @nfs_list_add_request(ptr noundef nonnull %5, ptr noundef %1) #3
%62 = getelementptr inbounds i8, ptr %0, i64 16
store ptr @nfs_write_common_ops, ptr %62, align 8, !tbaa !30
br label %63
63: ; preds = %45, %59
%64 = phi i32 [ 0, %59 ], [ %48, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NFS_SERVER(i32 noundef) local_unnamed_addr #2
declare i32 @nfs_init_cinfo(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @nfs_reqs_to_commit(ptr noundef) local_unnamed_addr #2
declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2
declare ptr @nfs_writedata_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfs_flush_error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_write_rpcsetup(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs_list_remove_request(ptr noundef) local_unnamed_addr #2
declare i32 @nfs_list_add_request(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 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 8}
!7 = !{!"nfs_pgio_header", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"nfs_page", !11, i64 0}
!14 = !{!15, !8, i64 36}
!15 = !{!"nfs_pageio_descriptor", !8, i64 0, !16, i64 8, !11, i64 16, !16, i64 24, !8, i64 32, !8, i64 36}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"TYPE_4__", !16, i64 0}
!19 = !{!15, !8, i64 32}
!20 = !{!15, !8, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!15, !16, i64 24}
!23 = !{!15, !16, i64 8}
!24 = !{!25, !11, i64 8}
!25 = !{!"nfs_write_data", !8, i64 0, !26, i64 8}
!26 = !{!"TYPE_3__", !11, i64 0}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!15, !11, i64 16}
| fastsocket_kernel_fs_nfs_extr_write.c_nfs_flush_multi |
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x04_sync.h_host1x_sync_syncpt_thresh_int_disable_r.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x04_sync.h_host1x_sync_syncpt_thresh_int_disable_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REGISTER_STRIDE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @host1x_sync_syncpt_thresh_int_disable_r], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @host1x_sync_syncpt_thresh_int_disable_r(i32 noundef %0) #0 {
%2 = load i32, ptr @REGISTER_STRIDE, align 4, !tbaa !5
%3 = mul i32 %2, %0
%4 = add i32 %3, 3840
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x04_sync.h_host1x_sync_syncpt_thresh_int_disable_r.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x04_sync.h_host1x_sync_syncpt_thresh_int_disable_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REGISTER_STRIDE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @host1x_sync_syncpt_thresh_int_disable_r], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @host1x_sync_syncpt_thresh_int_disable_r(i32 noundef %0) #0 {
%2 = load i32, ptr @REGISTER_STRIDE, align 4, !tbaa !6
%3 = mul i32 %2, %0
%4 = add i32 %3, 3840
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_host1x_hw_extr_hw_host1x04_sync.h_host1x_sync_syncpt_thresh_int_disable_r |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_update_changeattr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_update_changeattr.c"
target datalayout = "e-m:e-p270:32:32-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.nfs4_change_info = type { i64, i64, i32 }
%struct.nfs_inode = type { i32, i64 }
@NFS_INO_INVALID_ATTR = dso_local local_unnamed_addr global i32 0, align 4
@NFS_INO_REVAL_PAGECACHE = dso_local local_unnamed_addr global i32 0, align 4
@NFS_INO_INVALID_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_changeattr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @update_changeattr(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @NFS_I(ptr noundef %0) #2
%4 = tail call i32 @spin_lock(ptr noundef %0) #2
%5 = load i32, ptr @NFS_INO_INVALID_ATTR, align 4, !tbaa !5
%6 = load i32, ptr @NFS_INO_REVAL_PAGECACHE, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @NFS_INO_INVALID_DATA, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = load i32, ptr %3, align 8, !tbaa !9
%11 = or i32 %9, %10
store i32 %11, ptr %3, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.nfs4_change_info, ptr %1, i64 0, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %2
%16 = load i64, ptr %1, align 8, !tbaa !14
%17 = getelementptr inbounds %struct.nfs_inode, ptr %3, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp eq i64 %16, %18
br i1 %19, label %22, label %20
20: ; preds = %15, %2
%21 = tail call i32 @nfs_force_lookup_revalidate(ptr noundef %0) #2
br label %22
22: ; preds = %20, %15
%23 = getelementptr inbounds %struct.nfs4_change_info, ptr %1, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !16
%25 = getelementptr inbounds %struct.nfs_inode, ptr %3, i64 0, i32 1
store i64 %24, ptr %25, align 8, !tbaa !15
%26 = tail call i32 @nfs_fscache_invalidate(ptr noundef %0) #2
%27 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare ptr @NFS_I(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nfs_force_lookup_revalidate(ptr noundef) local_unnamed_addr #1
declare i32 @nfs_fscache_invalidate(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, !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 = !{!"nfs_inode", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"nfs4_change_info", !11, i64 0, !11, i64 8, !6, i64 16}
!14 = !{!13, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!13, !11, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_update_changeattr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_update_changeattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFS_INO_INVALID_ATTR = common local_unnamed_addr global i32 0, align 4
@NFS_INO_REVAL_PAGECACHE = common local_unnamed_addr global i32 0, align 4
@NFS_INO_INVALID_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @update_changeattr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @update_changeattr(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @NFS_I(ptr noundef %0) #2
%4 = tail call i32 @spin_lock(ptr noundef %0) #2
%5 = load i32, ptr @NFS_INO_INVALID_ATTR, align 4, !tbaa !6
%6 = load i32, ptr @NFS_INO_REVAL_PAGECACHE, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @NFS_INO_INVALID_DATA, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = load i32, ptr %3, align 8, !tbaa !10
%11 = or i32 %9, %10
store i32 %11, ptr %3, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %2
%16 = load i64, ptr %1, align 8, !tbaa !15
%17 = getelementptr inbounds i8, ptr %3, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = icmp eq i64 %16, %18
br i1 %19, label %22, label %20
20: ; preds = %15, %2
%21 = tail call i32 @nfs_force_lookup_revalidate(ptr noundef %0) #2
br label %22
22: ; preds = %20, %15
%23 = getelementptr inbounds i8, ptr %1, i64 8
%24 = load i64, ptr %23, align 8, !tbaa !17
%25 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %24, ptr %25, align 8, !tbaa !16
%26 = tail call i32 @nfs_fscache_invalidate(ptr noundef %0) #2
%27 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare ptr @NFS_I(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nfs_force_lookup_revalidate(ptr noundef) local_unnamed_addr #1
declare i32 @nfs_fscache_invalidate(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, !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 = !{!"nfs_inode", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"nfs4_change_info", !12, i64 0, !12, i64 8, !7, i64 16}
!15 = !{!14, !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!14, !12, i64 8}
| fastsocket_kernel_fs_nfs_extr_nfs4proc.c_update_changeattr |
; ModuleID = 'AnghaBench/linux/security/selinux/extr_hooks.c_selinux_task_setnice.c'
source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_selinux_task_setnice.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@selinux_state = dso_local global i32 0, align 4
@SECCLASS_PROCESS = dso_local local_unnamed_addr global i32 0, align 4
@PROCESS__SETSCHED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @selinux_task_setnice], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @selinux_task_setnice(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 (...) @current_sid() #2
%4 = tail call i32 @task_sid(ptr noundef %0) #2
%5 = load i32, ptr @SECCLASS_PROCESS, align 4, !tbaa !5
%6 = load i32, ptr @PROCESS__SETSCHED, align 4, !tbaa !5
%7 = tail call i32 @avc_has_perm(ptr noundef nonnull @selinux_state, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null) #2
ret i32 %7
}
declare i32 @avc_has_perm(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @current_sid(...) local_unnamed_addr #1
declare i32 @task_sid(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/security/selinux/extr_hooks.c_selinux_task_setnice.c'
source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_selinux_task_setnice.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@selinux_state = common global i32 0, align 4
@SECCLASS_PROCESS = common local_unnamed_addr global i32 0, align 4
@PROCESS__SETSCHED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @selinux_task_setnice], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @selinux_task_setnice(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @current_sid() #2
%4 = tail call i32 @task_sid(ptr noundef %0) #2
%5 = load i32, ptr @SECCLASS_PROCESS, align 4, !tbaa !6
%6 = load i32, ptr @PROCESS__SETSCHED, align 4, !tbaa !6
%7 = tail call i32 @avc_has_perm(ptr noundef nonnull @selinux_state, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null) #2
ret i32 %7
}
declare i32 @avc_has_perm(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @current_sid(...) local_unnamed_addr #1
declare i32 @task_sid(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_security_selinux_extr_hooks.c_selinux_task_setnice |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_fwd.c_read_forwards.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_fwd.c_read_forwards.c"
target datalayout = "e-m:e-p270:32:32-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.config_stub = type { i64, i32, i32, ptr }
%struct.delegpt = type { ptr, i32, ptr }
@VERB_QUERY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Forward zone server list:\00", align 1
@LDNS_RR_CLASS_IN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_forwards], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @read_forwards(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %40, label %9
5: ; preds = %21
%6 = getelementptr inbounds %struct.config_stub, ptr %10, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %40, label %9, !llvm.loop !9
9: ; preds = %2, %5
%10 = phi ptr [ %7, %5 ], [ %3, %2 ]
%11 = tail call ptr @read_fwds_name(ptr noundef nonnull %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %40, label %13
13: ; preds = %9
%14 = tail call i32 @read_fwds_host(ptr noundef nonnull %10, ptr noundef nonnull %11) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = tail call i32 @read_fwds_addr(ptr noundef nonnull %10, ptr noundef nonnull %11) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16, %13
%20 = tail call i32 @delegpt_free_mlc(ptr noundef nonnull %11) #2
br label %40
21: ; preds = %16
%22 = getelementptr inbounds %struct.config_stub, ptr %10, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !11
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds %struct.delegpt, ptr %11, i64 0, i32 2
store ptr %26, ptr %27, align 8, !tbaa !15
%28 = getelementptr inbounds %struct.config_stub, ptr %10, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !17
%30 = getelementptr inbounds %struct.delegpt, ptr %11, i64 0, i32 1
store i32 %29, ptr %30, align 8, !tbaa !18
%31 = load i64, ptr %10, align 8, !tbaa !19
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %11, align 8, !tbaa !20
%33 = load i32, ptr @VERB_QUERY, align 4, !tbaa !21
%34 = tail call i32 @verbose(i32 noundef %33, ptr noundef nonnull @.str) #2
%35 = load i32, ptr @VERB_QUERY, align 4, !tbaa !21
%36 = tail call i32 @delegpt_log(i32 noundef %35, ptr noundef nonnull %11) #2
%37 = load i32, ptr @LDNS_RR_CLASS_IN, align 4, !tbaa !21
%38 = tail call i32 @forwards_insert(ptr noundef %0, i32 noundef %37, ptr noundef nonnull %11) #2
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %5
40: ; preds = %21, %5, %9, %2, %19
%41 = phi i32 [ 0, %19 ], [ 1, %2 ], [ 0, %21 ], [ 1, %5 ], [ 0, %9 ]
ret i32 %41
}
declare ptr @read_fwds_name(ptr noundef) local_unnamed_addr #1
declare i32 @read_fwds_host(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_fwds_addr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @delegpt_free_mlc(ptr noundef) local_unnamed_addr #1
declare i32 @verbose(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @delegpt_log(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @forwards_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 12}
!12 = !{!"config_stub", !13, i64 0, !14, i64 8, !14, i64 12, !6, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !6, i64 16}
!16 = !{!"delegpt", !6, i64 0, !14, i64 8, !6, i64 16}
!17 = !{!12, !14, i64 8}
!18 = !{!16, !14, i64 8}
!19 = !{!12, !13, i64 0}
!20 = !{!16, !6, i64 0}
!21 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_fwd.c_read_forwards.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_fwd.c_read_forwards.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VERB_QUERY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Forward zone server list:\00", align 1
@LDNS_RR_CLASS_IN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_forwards], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @read_forwards(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %40, label %9
5: ; preds = %21
%6 = getelementptr inbounds i8, ptr %10, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %40, label %9, !llvm.loop !10
9: ; preds = %2, %5
%10 = phi ptr [ %7, %5 ], [ %3, %2 ]
%11 = tail call ptr @read_fwds_name(ptr noundef nonnull %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %40, label %13
13: ; preds = %9
%14 = tail call i32 @read_fwds_host(ptr noundef nonnull %10, ptr noundef nonnull %11) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = tail call i32 @read_fwds_addr(ptr noundef nonnull %10, ptr noundef nonnull %11) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16, %13
%20 = tail call i32 @delegpt_free_mlc(ptr noundef nonnull %11) #2
br label %40
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %10, i64 12
%23 = load i32, ptr %22, align 4, !tbaa !12
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds i8, ptr %11, i64 16
store ptr %26, ptr %27, align 8, !tbaa !16
%28 = getelementptr inbounds i8, ptr %10, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !18
%30 = getelementptr inbounds i8, ptr %11, i64 8
store i32 %29, ptr %30, align 8, !tbaa !19
%31 = load i64, ptr %10, align 8, !tbaa !20
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %11, align 8, !tbaa !21
%33 = load i32, ptr @VERB_QUERY, align 4, !tbaa !22
%34 = tail call i32 @verbose(i32 noundef %33, ptr noundef nonnull @.str) #2
%35 = load i32, ptr @VERB_QUERY, align 4, !tbaa !22
%36 = tail call i32 @delegpt_log(i32 noundef %35, ptr noundef nonnull %11) #2
%37 = load i32, ptr @LDNS_RR_CLASS_IN, align 4, !tbaa !22
%38 = tail call i32 @forwards_insert(ptr noundef %0, i32 noundef %37, ptr noundef nonnull %11) #2
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %5
40: ; preds = %21, %5, %9, %2, %19
%41 = phi i32 [ 0, %19 ], [ 1, %2 ], [ 0, %21 ], [ 1, %5 ], [ 0, %9 ]
ret i32 %41
}
declare ptr @read_fwds_name(ptr noundef) local_unnamed_addr #1
declare i32 @read_fwds_host(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_fwds_addr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @delegpt_free_mlc(ptr noundef) local_unnamed_addr #1
declare i32 @verbose(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @delegpt_log(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @forwards_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !15, i64 12}
!13 = !{!"config_stub", !14, i64 0, !15, i64 8, !15, i64 12, !7, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 16}
!17 = !{!"delegpt", !7, i64 0, !15, i64 8, !7, i64 16}
!18 = !{!13, !15, i64 8}
!19 = !{!17, !15, i64 8}
!20 = !{!13, !14, i64 0}
!21 = !{!17, !7, i64 0}
!22 = !{!15, !15, i64 0}
| freebsd_contrib_unbound_iterator_extr_iter_fwd.c_read_forwards |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_con_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_con_shutdown.c"
target datalayout = "e-m:e-p270:32:32-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 @con_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @con_shutdown(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i32 @BUG_ON(i32 noundef %4) #2
%6 = tail call i32 (...) @acquire_console_sem() #2
store ptr null, ptr %2, align 8, !tbaa !10
%7 = tail call i32 (...) @release_console_sem() #2
%8 = tail call i32 @tty_shutdown(ptr noundef nonnull %0) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @acquire_console_sem(...) local_unnamed_addr #1
declare i32 @release_console_sem(...) local_unnamed_addr #1
declare i32 @tty_shutdown(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tty_struct", !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 = !{!"vc_data", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_con_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_con_shutdown.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 @con_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @con_shutdown(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i32 @BUG_ON(i32 noundef %4) #2
%6 = tail call i32 @acquire_console_sem() #2
store ptr null, ptr %2, align 8, !tbaa !11
%7 = tail call i32 @release_console_sem() #2
%8 = tail call i32 @tty_shutdown(ptr noundef nonnull %0) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @acquire_console_sem(...) local_unnamed_addr #1
declare i32 @release_console_sem(...) local_unnamed_addr #1
declare i32 @tty_shutdown(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tty_struct", !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 = !{!"vc_data", !8, i64 0}
| fastsocket_kernel_drivers_char_extr_vt.c_con_shutdown |
; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_dlci.c_dlci_close.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_dlci.c_dlci_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @dlci_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dlci_close(ptr noundef %0) #0 {
%2 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @netdev_priv(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %3, align 8, !tbaa !5
%8 = tail call i32 %6(ptr noundef %7, ptr noundef %0) #2
ret i32 0
}
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
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 = !{!"dlci_local", !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 = !{!"frad_local", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_dlci.c_dlci_close.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_dlci.c_dlci_close.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 @dlci_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dlci_close(ptr noundef %0) #0 {
%2 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @netdev_priv(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %3, align 8, !tbaa !6
%8 = tail call i32 %6(ptr noundef %7, ptr noundef %0) #2
ret i32 0
}
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
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 = !{!"dlci_local", !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 = !{!"frad_local", !8, i64 0}
| linux_drivers_net_wan_extr_dlci.c_dlci_close |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_set_timeout.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_set_timeout.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @usbd_xfer_set_timeout(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
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, !7, i64 0}
!6 = !{!"usb_xfer", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_set_timeout.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_set_timeout.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 void @usbd_xfer_set_timeout(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
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, !8, i64 0}
!7 = !{!"usb_xfer", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_usb_extr_usb_transfer.c_usbd_xfer_set_timeout |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_lcebr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_lcebr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_6__ = type { i32 }
@SA = dso_local local_unnamed_addr global i32 0, align 4
@SR = dso_local local_unnamed_addr global i32 0, align 4
@FP_DECL_EX = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global ptr null, align 8
@SR_c = dso_local local_unnamed_addr global i32 0, align 4
@SR_s = dso_local local_unnamed_addr global i32 0, align 4
@_fex = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emu_lcebr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @emu_lcebr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @SA, align 4, !tbaa !5
%5 = tail call i32 @FP_DECL_S(i32 noundef %4) #2
%6 = load i32, ptr @SR, align 4, !tbaa !5
%7 = tail call i32 @FP_DECL_S(i32 noundef %6) #2
%8 = load ptr, ptr @current, align 8, !tbaa !9
%9 = load i32, ptr @SA, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = sext i32 %2 to i64
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 %12
%14 = tail call i32 @FP_UNPACK_SP(i32 noundef %9, ptr noundef %13) #2
%15 = load i32, ptr @SR, align 4, !tbaa !5
%16 = load i32, ptr @SA, align 4, !tbaa !5
%17 = tail call i32 @FP_NEG_S(i32 noundef %15, i32 noundef %16) #2
%18 = load ptr, ptr @current, align 8, !tbaa !9
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !11
%21 = sext i32 %1 to i64
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 %21
%23 = load i32, ptr @SR, align 4, !tbaa !5
%24 = tail call i32 @FP_PACK_SP(ptr noundef %22, i32 noundef %23) #2
%25 = load i32, ptr @SR_c, align 4, !tbaa !5
%26 = load i32, ptr @SR_s, align 4, !tbaa !5
%27 = tail call i32 @emu_set_CC_cs(ptr noundef %0, i32 noundef %25, i32 noundef %26) #2
%28 = load i32, ptr @_fex, align 4, !tbaa !5
ret i32 %28
}
declare i32 @FP_DECL_S(i32 noundef) local_unnamed_addr #1
declare i32 @FP_UNPACK_SP(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FP_NEG_S(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FP_PACK_SP(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emu_set_CC_cs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0}
!14 = !{!"TYPE_5__", !6, i64 0, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_lcebr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_lcebr.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 }
@SA = common local_unnamed_addr global i32 0, align 4
@SR = common local_unnamed_addr global i32 0, align 4
@FP_DECL_EX = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global ptr null, align 8
@SR_c = common local_unnamed_addr global i32 0, align 4
@SR_s = common local_unnamed_addr global i32 0, align 4
@_fex = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emu_lcebr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @emu_lcebr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @SA, align 4, !tbaa !6
%5 = tail call i32 @FP_DECL_S(i32 noundef %4) #2
%6 = load i32, ptr @SR, align 4, !tbaa !6
%7 = tail call i32 @FP_DECL_S(i32 noundef %6) #2
%8 = load ptr, ptr @current, align 8, !tbaa !10
%9 = load i32, ptr @SA, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %8, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = sext i32 %2 to i64
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 %12
%14 = tail call i32 @FP_UNPACK_SP(i32 noundef %9, ptr noundef %13) #2
%15 = load i32, ptr @SR, align 4, !tbaa !6
%16 = load i32, ptr @SA, align 4, !tbaa !6
%17 = tail call i32 @FP_NEG_S(i32 noundef %15, i32 noundef %16) #2
%18 = load ptr, ptr @current, align 8, !tbaa !10
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !12
%21 = sext i32 %1 to i64
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 %21
%23 = load i32, ptr @SR, align 4, !tbaa !6
%24 = tail call i32 @FP_PACK_SP(ptr noundef %22, i32 noundef %23) #2
%25 = load i32, ptr @SR_c, align 4, !tbaa !6
%26 = load i32, ptr @SR_s, align 4, !tbaa !6
%27 = tail call i32 @emu_set_CC_cs(ptr noundef %0, i32 noundef %25, i32 noundef %26) #2
%28 = load i32, ptr @_fex, align 4, !tbaa !6
ret i32 %28
}
declare i32 @FP_DECL_S(i32 noundef) local_unnamed_addr #1
declare i32 @FP_UNPACK_SP(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FP_NEG_S(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FP_PACK_SP(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emu_set_CC_cs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"TYPE_7__", !15, i64 0}
!15 = !{!"TYPE_5__", !7, i64 0, !11, i64 8}
| fastsocket_kernel_arch_s390_math-emu_extr_math.c_emu_lcebr |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity_fixture.c_UnityPointer_Set.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity_fixture.c_UnityPointer_Set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr }
@pointer_index = dso_local local_unnamed_addr global i64 0, align 8
@MAX_POINTERS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"Too many pointers set\00", align 1
@pointer_store = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @UnityPointer_Set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @pointer_index, align 8, !tbaa !5
%4 = load i64, ptr @MAX_POINTERS, align 8, !tbaa !5
%5 = icmp ult i64 %3, %4
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @TEST_FAIL_MESSAGE(ptr noundef nonnull @.str) #2
%8 = load i64, ptr @pointer_index, align 8, !tbaa !5
br label %9
9: ; preds = %6, %2
%10 = phi i64 [ %8, %6 ], [ %3, %2 ]
%11 = load ptr, ptr @pointer_store, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10
store ptr %0, ptr %12, align 8, !tbaa !11
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = load ptr, ptr @pointer_store, align 8, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %10, i32 1
store ptr %13, ptr %15, align 8, !tbaa !13
store ptr %1, ptr %0, align 8, !tbaa !9
%16 = add i64 %10, 1
store i64 %16, ptr @pointer_index, align 8, !tbaa !5
ret void
}
declare i32 @TEST_FAIL_MESSAGE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity_fixture.c_UnityPointer_Set.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity_fixture.c_UnityPointer_Set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, ptr }
@pointer_index = common local_unnamed_addr global i64 0, align 8
@MAX_POINTERS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"Too many pointers set\00", align 1
@pointer_store = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @UnityPointer_Set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @pointer_index, align 8, !tbaa !6
%4 = load i64, ptr @MAX_POINTERS, align 8, !tbaa !6
%5 = icmp ult i64 %3, %4
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @TEST_FAIL_MESSAGE(ptr noundef nonnull @.str) #2
%8 = load i64, ptr @pointer_index, align 8, !tbaa !6
br label %9
9: ; preds = %6, %2
%10 = phi i64 [ %8, %6 ], [ %3, %2 ]
%11 = load ptr, ptr @pointer_store, align 8, !tbaa !10
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10
store ptr %0, ptr %12, align 8, !tbaa !12
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = load ptr, ptr @pointer_store, align 8, !tbaa !10
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %10, i32 1
store ptr %13, ptr %15, align 8, !tbaa !14
store ptr %1, ptr %0, align 8, !tbaa !10
%16 = add i64 %10, 1
store i64 %16, ptr @pointer_index, align 8, !tbaa !6
ret void
}
declare i32 @TEST_FAIL_MESSAGE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| freebsd_contrib_ntp_sntp_unity_extr_unity_fixture.c_UnityPointer_Set |
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-slot.c_sd_netlink_slot_set_userdata.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-slot.c_sd_netlink_slot_set_userdata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @sd_netlink_slot_set_userdata(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert_return(ptr noundef %0, ptr noundef null) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
store ptr %1, ptr %0, align 8, !tbaa !5
ret ptr %4
}
declare i32 @assert_return(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_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-slot.c_sd_netlink_slot_set_userdata.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-slot.c_sd_netlink_slot_set_userdata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @sd_netlink_slot_set_userdata(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert_return(ptr noundef %0, ptr noundef null) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
store ptr %1, ptr %0, align 8, !tbaa !6
ret ptr %4
}
declare i32 @assert_return(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_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| systemd_src_libsystemd_sd-netlink_extr_netlink-slot.c_sd_netlink_slot_set_userdata |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc_cbdr.c_enetc_clear_mac_flt_entry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc_cbdr.c_enetc_clear_mac_flt_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.enetc_cbd = type { i32, i32, i32 }
@ENETC_CBD_FLAGS_SF = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @enetc_clear_mac_flt_entry(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.enetc_cbd, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 12) #3
store i32 1, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @ENETC_CBD_FLAGS_SF, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.enetc_cbd, ptr %3, i64 0, i32 2
store i32 %5, ptr %6, align 4, !tbaa !11
%7 = call i32 @cpu_to_le16(i32 noundef %1) #3
%8 = getelementptr inbounds %struct.enetc_cbd, ptr %3, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !12
%9 = call i32 @enetc_send_cmd(ptr noundef %0, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret i32 %9
}
; 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 @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @enetc_send_cmd(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 = !{!"enetc_cbd", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc_cbdr.c_enetc_clear_mac_flt_entry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc_cbdr.c_enetc_clear_mac_flt_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.enetc_cbd = type { i32, i32, i32 }
@ENETC_CBD_FLAGS_SF = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @enetc_clear_mac_flt_entry(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.enetc_cbd, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 12) #3
store i32 1, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @ENETC_CBD_FLAGS_SF, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = call i32 @cpu_to_le16(i32 noundef %1) #3
%8 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = call i32 @enetc_send_cmd(ptr noundef %0, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret i32 %9
}
; 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 @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @enetc_send_cmd(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 = !{!"enetc_cbd", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
| linux_drivers_net_ethernet_freescale_enetc_extr_enetc_cbdr.c_enetc_clear_mac_flt_entry |
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x02_uclass.h_host1x_uclass_indoff_indbe_f.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x02_uclass.h_host1x_uclass_indoff_indbe_f.c"
target datalayout = "e-m:e-p270:32:32-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 @host1x_uclass_indoff_indbe_f], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @host1x_uclass_indoff_indbe_f(i32 noundef %0) #0 {
%2 = shl i32 %0, 28
ret i32 %2
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x02_uclass.h_host1x_uclass_indoff_indbe_f.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x02_uclass.h_host1x_uclass_indoff_indbe_f.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 @host1x_uclass_indoff_indbe_f], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef range(i32 0, -268435455) i32 @host1x_uclass_indoff_indbe_f(i32 noundef %0) #0 {
%2 = shl i32 %0, 28
ret i32 %2
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_host1x_hw_extr_hw_host1x02_uclass.h_host1x_uclass_indoff_indbe_f |
; ModuleID = 'AnghaBench/linux/drivers/tty/ipwireless/extr_tty.c_ipw_close.c'
source_filename = "AnghaBench/linux/drivers/tty/ipwireless/extr_tty.c_ipw_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipw_close(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call i32 @ipw_hangup(ptr noundef %0) #2
ret void
}
declare i32 @ipw_hangup(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/tty/ipwireless/extr_tty.c_ipw_close.c'
source_filename = "AnghaBench/linux/drivers/tty/ipwireless/extr_tty.c_ipw_close.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 @ipw_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipw_close(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call i32 @ipw_hangup(ptr noundef %0) #2
ret void
}
declare i32 @ipw_hangup(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_tty_ipwireless_extr_tty.c_ipw_close |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-ioctl.c_list_version_get_info.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-ioctl.c_list_version_get_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vers_iter = type { ptr, ptr, ptr, i32 }
%struct.TYPE_2__ = type { i32, i64, ptr }
%struct.target_type = type { i32, ptr }
@DM_BUFFER_FULL_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @list_version_get_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @list_version_get_info(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.vers_iter, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i32, ptr %0, align 8, !tbaa !11
%7 = tail call i32 @strlen(i32 noundef %6) #2
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load ptr, ptr %1, align 8, !tbaa !13
%12 = icmp ugt ptr %10, %11
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @DM_BUFFER_FULL_FLAG, align 4, !tbaa !14
%15 = getelementptr inbounds %struct.vers_iter, ptr %1, i64 0, i32 3
store i32 %14, ptr %15, align 8, !tbaa !15
br label %50
16: ; preds = %2
%17 = getelementptr inbounds %struct.vers_iter, ptr %1, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = icmp eq ptr %18, null
%20 = load ptr, ptr %3, align 8, !tbaa !5
br i1 %19, label %26, label %21
21: ; preds = %16
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %18 to i64
%24 = sub i64 %22, %23
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 0, i32 1
store i64 %24, ptr %25, align 8, !tbaa !17
br label %26
26: ; preds = %21, %16
%27 = getelementptr inbounds %struct.target_type, ptr %0, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !20
%29 = load i32, ptr %28, align 4, !tbaa !14
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 0, i32 2
%31 = load ptr, ptr %30, align 8, !tbaa !21
store i32 %29, ptr %31, align 4, !tbaa !14
%32 = getelementptr inbounds i32, ptr %28, i64 1
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = getelementptr inbounds i32, ptr %31, i64 1
store i32 %33, ptr %34, align 4, !tbaa !14
%35 = getelementptr inbounds i32, ptr %28, i64 2
%36 = load i32, ptr %35, align 4, !tbaa !14
%37 = getelementptr inbounds i32, ptr %31, i64 2
store i32 %36, ptr %37, align 4, !tbaa !14
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 0, i32 1
store i64 0, ptr %38, align 8, !tbaa !17
%39 = load i32, ptr %20, align 8, !tbaa !22
%40 = load i32, ptr %0, align 8, !tbaa !11
%41 = tail call i32 @strcpy(i32 noundef %39, i32 noundef %40) #2
%42 = load ptr, ptr %3, align 8, !tbaa !5
store ptr %42, ptr %17, align 8, !tbaa !16
%43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 1
store ptr %43, ptr %3, align 8, !tbaa !5
%44 = load i32, ptr %0, align 8, !tbaa !11
%45 = tail call i32 @strlen(i32 noundef %44) #2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = tail call ptr @align_ptr(ptr noundef nonnull %48) #2
store ptr %49, ptr %3, align 8, !tbaa !5
br label %50
50: ; preds = %26, %13
ret void
}
declare i32 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @align_ptr(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 = !{!"vers_iter", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"target_type", !10, i64 0, !7, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 24}
!16 = !{!6, !7, i64 16}
!17 = !{!18, !19, i64 8}
!18 = !{!"TYPE_2__", !10, i64 0, !19, i64 8, !7, i64 16}
!19 = !{!"long", !8, i64 0}
!20 = !{!12, !7, i64 8}
!21 = !{!18, !7, i64 16}
!22 = !{!18, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-ioctl.c_list_version_get_info.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-ioctl.c_list_version_get_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DM_BUFFER_FULL_FLAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @list_version_get_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @list_version_get_info(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = tail call i32 @strlen(i32 noundef %6) #2
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load ptr, ptr %1, align 8, !tbaa !14
%12 = icmp ugt ptr %10, %11
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @DM_BUFFER_FULL_FLAG, align 4, !tbaa !15
%15 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %14, ptr %15, align 8, !tbaa !16
br label %50
16: ; preds = %2
%17 = getelementptr inbounds i8, ptr %1, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = icmp eq ptr %18, null
%20 = load ptr, ptr %3, align 8, !tbaa !6
br i1 %19, label %26, label %21
21: ; preds = %16
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %18 to i64
%24 = sub i64 %22, %23
%25 = getelementptr inbounds i8, ptr %18, i64 8
store i64 %24, ptr %25, align 8, !tbaa !18
br label %26
26: ; preds = %21, %16
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !21
%29 = load i32, ptr %28, align 4, !tbaa !15
%30 = getelementptr inbounds i8, ptr %20, i64 16
%31 = load ptr, ptr %30, align 8, !tbaa !22
store i32 %29, ptr %31, align 4, !tbaa !15
%32 = getelementptr inbounds i8, ptr %28, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !15
%34 = getelementptr inbounds i8, ptr %31, i64 4
store i32 %33, ptr %34, align 4, !tbaa !15
%35 = getelementptr inbounds i8, ptr %28, i64 8
%36 = load i32, ptr %35, align 4, !tbaa !15
%37 = getelementptr inbounds i8, ptr %31, i64 8
store i32 %36, ptr %37, align 4, !tbaa !15
%38 = getelementptr inbounds i8, ptr %20, i64 8
store i64 0, ptr %38, align 8, !tbaa !18
%39 = load i32, ptr %20, align 8, !tbaa !23
%40 = load i32, ptr %0, align 8, !tbaa !12
%41 = tail call i32 @strcpy(i32 noundef %39, i32 noundef %40) #2
%42 = load ptr, ptr %3, align 8, !tbaa !6
store ptr %42, ptr %17, align 8, !tbaa !17
%43 = getelementptr inbounds i8, ptr %42, i64 24
store ptr %43, ptr %3, align 8, !tbaa !6
%44 = load i32, ptr %0, align 8, !tbaa !12
%45 = tail call i32 @strlen(i32 noundef %44) #2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = tail call ptr @align_ptr(ptr noundef nonnull %48) #2
store ptr %49, ptr %3, align 8, !tbaa !6
br label %50
50: ; preds = %26, %13
ret void
}
declare i32 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @align_ptr(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 = !{!"vers_iter", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"target_type", !11, i64 0, !8, i64 8}
!14 = !{!7, !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !11, i64 24}
!17 = !{!7, !8, i64 16}
!18 = !{!19, !20, i64 8}
!19 = !{!"TYPE_2__", !11, i64 0, !20, i64 8, !8, i64 16}
!20 = !{!"long", !9, i64 0}
!21 = !{!13, !8, i64 8}
!22 = !{!19, !8, i64 16}
!23 = !{!19, !11, i64 0}
| linux_drivers_md_extr_dm-ioctl.c_list_version_get_info |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_pma_set_opa_errorinfo.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_pma_set_opa_errorinfo.c"
target datalayout = "e-m:e-p270:32:32-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.opa_pma_mad = type { %struct.TYPE_5__, i64 }
%struct.TYPE_5__ = type { i32, i32 }
%struct.opa_port_error_info_msg = type { i32, ptr, ptr }
%struct.hfi1_devdata = type { i32, i32, %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@IB_SMP_INVALID_FIELD = dso_local local_unnamed_addr global i32 0, align 4
@ES_PORT_RCV_ERROR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@OPA_EI_STATUS_SMASK = dso_local local_unnamed_addr global i32 0, align 4
@ES_EXCESSIVE_BUFFER_OVERRUN_INFO = dso_local local_unnamed_addr global i32 0, align 4
@RCV_ERR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@RCV_ERR_INFO_RCV_EXCESS_BUFFER_OVERRUN_SMASK = dso_local local_unnamed_addr global i32 0, align 4
@ES_PORT_XMIT_CONSTRAINT_ERROR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@ES_PORT_RCV_CONSTRAINT_ERROR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@ES_UNCORRECTABLE_ERROR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@ES_FM_CONFIG_ERROR_INFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pma_set_opa_errorinfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pma_set_opa_errorinfo(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @dd_from_ibdev(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = getelementptr inbounds %struct.opa_pma_mad, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds %struct.opa_port_error_info_msg, ptr %9, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = tail call i32 @be32_to_cpu(i32 noundef %13) #3
%15 = tail call i32 @OPA_AM_NPORT(i32 noundef %14) #3
%16 = getelementptr inbounds %struct.opa_port_error_info_msg, ptr %9, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = getelementptr inbounds i32, ptr %17, i64 3
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = tail call i32 @be64_to_cpu(i32 noundef %19) #3
%21 = tail call i32 @hweight64(i32 noundef %20) #3
%22 = tail call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 4) #3
%23 = icmp eq i32 %15, 1
%24 = icmp eq i32 %21, 1
%25 = select i1 %23, i1 %24, i1 false
br i1 %25, label %31, label %26
26: ; preds = %4
%27 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !17
%28 = load i32, ptr %0, align 8, !tbaa !18
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 8, !tbaa !18
%30 = tail call i32 @reply(ptr noundef nonnull %0) #3
br label %109
31: ; preds = %4
%32 = load ptr, ptr %16, align 8, !tbaa !16
%33 = getelementptr inbounds i32, ptr %32, i64 3
%34 = load i32, ptr %33, align 4, !tbaa !17
%35 = tail call i32 @be64_to_cpu(i32 noundef %34) #3
store i32 %35, ptr %5, align 4, !tbaa !17
%36 = call i32 @find_first_bit(ptr noundef nonnull %5, i32 noundef 32) #3
%37 = icmp eq i32 %36, %2
br i1 %37, label %43, label %38
38: ; preds = %31
%39 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !17
%40 = load i32, ptr %0, align 8, !tbaa !18
%41 = or i32 %40, %39
store i32 %41, ptr %0, align 8, !tbaa !18
%42 = call i32 @reply(ptr noundef nonnull %0) #3
br label %109
43: ; preds = %31
%44 = load i32, ptr %9, align 8, !tbaa !19
%45 = call i32 @be32_to_cpu(i32 noundef %44) #3
%46 = load i32, ptr @ES_PORT_RCV_ERROR_INFO, align 4, !tbaa !17
%47 = and i32 %46, %45
%48 = icmp eq i32 %47, 0
br i1 %48, label %55, label %49
49: ; preds = %43
%50 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !17
%51 = xor i32 %50, -1
%52 = getelementptr inbounds %struct.hfi1_devdata, ptr %6, i64 0, i32 4
%53 = load i32, ptr %52, align 4, !tbaa !20
%54 = and i32 %53, %51
store i32 %54, ptr %52, align 4, !tbaa !20
br label %55
55: ; preds = %49, %43
%56 = load i32, ptr @ES_EXCESSIVE_BUFFER_OVERRUN_INFO, align 4, !tbaa !17
%57 = and i32 %56, %45
%58 = icmp eq i32 %57, 0
br i1 %58, label %63, label %59
59: ; preds = %55
%60 = load i32, ptr @RCV_ERR_INFO, align 4, !tbaa !17
%61 = load i32, ptr @RCV_ERR_INFO_RCV_EXCESS_BUFFER_OVERRUN_SMASK, align 4, !tbaa !17
%62 = call i32 @write_csr(ptr noundef %6, i32 noundef %60, i32 noundef %61) #3
br label %63
63: ; preds = %59, %55
%64 = load i32, ptr @ES_PORT_XMIT_CONSTRAINT_ERROR_INFO, align 4, !tbaa !17
%65 = and i32 %64, %45
%66 = icmp eq i32 %65, 0
br i1 %66, label %73, label %67
67: ; preds = %63
%68 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !17
%69 = xor i32 %68, -1
%70 = getelementptr inbounds %struct.hfi1_devdata, ptr %6, i64 0, i32 3
%71 = load i32, ptr %70, align 4, !tbaa !25
%72 = and i32 %71, %69
store i32 %72, ptr %70, align 4, !tbaa !25
br label %73
73: ; preds = %67, %63
%74 = load i32, ptr @ES_PORT_RCV_CONSTRAINT_ERROR_INFO, align 4, !tbaa !17
%75 = and i32 %74, %45
%76 = icmp eq i32 %75, 0
br i1 %76, label %83, label %77
77: ; preds = %73
%78 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !17
%79 = xor i32 %78, -1
%80 = getelementptr inbounds %struct.hfi1_devdata, ptr %6, i64 0, i32 2
%81 = load i32, ptr %80, align 4, !tbaa !26
%82 = and i32 %81, %79
store i32 %82, ptr %80, align 4, !tbaa !26
br label %83
83: ; preds = %77, %73
%84 = load i32, ptr @ES_UNCORRECTABLE_ERROR_INFO, align 4, !tbaa !17
%85 = and i32 %84, %45
%86 = icmp eq i32 %85, 0
br i1 %86, label %93, label %87
87: ; preds = %83
%88 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !17
%89 = xor i32 %88, -1
%90 = getelementptr inbounds %struct.hfi1_devdata, ptr %6, i64 0, i32 1
%91 = load i32, ptr %90, align 4, !tbaa !27
%92 = and i32 %91, %89
store i32 %92, ptr %90, align 4, !tbaa !27
br label %93
93: ; preds = %87, %83
%94 = load i32, ptr @ES_FM_CONFIG_ERROR_INFO, align 4, !tbaa !17
%95 = and i32 %94, %45
%96 = icmp eq i32 %95, 0
br i1 %96, label %102, label %97
97: ; preds = %93
%98 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !17
%99 = xor i32 %98, -1
%100 = load i32, ptr %6, align 4, !tbaa !28
%101 = and i32 %100, %99
store i32 %101, ptr %6, align 4, !tbaa !28
br label %102
102: ; preds = %97, %93
%103 = icmp eq ptr %3, null
br i1 %103, label %107, label %104
104: ; preds = %102
%105 = load i32, ptr %3, align 4, !tbaa !17
%106 = add i32 %105, 24
store i32 %106, ptr %3, align 4, !tbaa !17
br label %107
107: ; preds = %104, %102
%108 = call i32 @reply(ptr noundef nonnull %0) #3
br label %109
109: ; preds = %107, %38, %26
%110 = phi i32 [ %30, %26 ], [ %42, %38 ], [ %108, %107 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %110
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dd_from_ibdev(ptr noundef) local_unnamed_addr #2
declare i32 @OPA_AM_NPORT(i32 noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @hweight64(i32 noundef) local_unnamed_addr #2
declare i32 @be64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reply(ptr noundef) local_unnamed_addr #2
declare i32 @find_first_bit(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write_csr(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, !11, i64 8}
!6 = !{!"opa_pma_mad", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !14, i64 16}
!13 = !{!"opa_port_error_info_msg", !8, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!6, !8, i64 4}
!16 = !{!13, !14, i64 8}
!17 = !{!8, !8, i64 0}
!18 = !{!6, !8, i64 0}
!19 = !{!13, !8, i64 0}
!20 = !{!21, !8, i64 16}
!21 = !{!"hfi1_devdata", !8, i64 0, !8, i64 4, !22, i64 8, !23, i64 12, !24, i64 16}
!22 = !{!"TYPE_8__", !8, i64 0}
!23 = !{!"TYPE_7__", !8, i64 0}
!24 = !{!"TYPE_6__", !8, i64 0}
!25 = !{!21, !8, i64 12}
!26 = !{!21, !8, i64 8}
!27 = !{!21, !8, i64 4}
!28 = !{!21, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_pma_set_opa_errorinfo.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_pma_set_opa_errorinfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IB_SMP_INVALID_FIELD = common local_unnamed_addr global i32 0, align 4
@ES_PORT_RCV_ERROR_INFO = common local_unnamed_addr global i32 0, align 4
@OPA_EI_STATUS_SMASK = common local_unnamed_addr global i32 0, align 4
@ES_EXCESSIVE_BUFFER_OVERRUN_INFO = common local_unnamed_addr global i32 0, align 4
@RCV_ERR_INFO = common local_unnamed_addr global i32 0, align 4
@RCV_ERR_INFO_RCV_EXCESS_BUFFER_OVERRUN_SMASK = common local_unnamed_addr global i32 0, align 4
@ES_PORT_XMIT_CONSTRAINT_ERROR_INFO = common local_unnamed_addr global i32 0, align 4
@ES_PORT_RCV_CONSTRAINT_ERROR_INFO = common local_unnamed_addr global i32 0, align 4
@ES_UNCORRECTABLE_ERROR_INFO = common local_unnamed_addr global i32 0, align 4
@ES_FM_CONFIG_ERROR_INFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pma_set_opa_errorinfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pma_set_opa_errorinfo(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @dd_from_ibdev(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i8, ptr %9, i64 16
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = tail call i32 @be32_to_cpu(i32 noundef %13) #3
%15 = tail call i32 @OPA_AM_NPORT(i32 noundef %14) #3
%16 = getelementptr inbounds i8, ptr %9, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = getelementptr inbounds i8, ptr %17, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = tail call i32 @be64_to_cpu(i32 noundef %19) #3
%21 = tail call i32 @hweight64(i32 noundef %20) #3
%22 = tail call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 4) #3
%23 = icmp eq i32 %15, 1
%24 = icmp eq i32 %21, 1
%25 = select i1 %23, i1 %24, i1 false
br i1 %25, label %31, label %26
26: ; preds = %4
%27 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !18
%28 = load i32, ptr %0, align 8, !tbaa !19
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 8, !tbaa !19
%30 = tail call i32 @reply(ptr noundef nonnull %0) #3
br label %109
31: ; preds = %4
%32 = load ptr, ptr %16, align 8, !tbaa !17
%33 = getelementptr inbounds i8, ptr %32, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !18
%35 = tail call i32 @be64_to_cpu(i32 noundef %34) #3
store i32 %35, ptr %5, align 4, !tbaa !18
%36 = call i32 @find_first_bit(ptr noundef nonnull %5, i32 noundef 32) #3
%37 = icmp eq i32 %36, %2
br i1 %37, label %43, label %38
38: ; preds = %31
%39 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !18
%40 = load i32, ptr %0, align 8, !tbaa !19
%41 = or i32 %40, %39
store i32 %41, ptr %0, align 8, !tbaa !19
%42 = call i32 @reply(ptr noundef nonnull %0) #3
br label %109
43: ; preds = %31
%44 = load i32, ptr %9, align 8, !tbaa !20
%45 = call i32 @be32_to_cpu(i32 noundef %44) #3
%46 = load i32, ptr @ES_PORT_RCV_ERROR_INFO, align 4, !tbaa !18
%47 = and i32 %46, %45
%48 = icmp eq i32 %47, 0
br i1 %48, label %55, label %49
49: ; preds = %43
%50 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !18
%51 = xor i32 %50, -1
%52 = getelementptr inbounds i8, ptr %6, i64 16
%53 = load i32, ptr %52, align 4, !tbaa !21
%54 = and i32 %53, %51
store i32 %54, ptr %52, align 4, !tbaa !21
br label %55
55: ; preds = %49, %43
%56 = load i32, ptr @ES_EXCESSIVE_BUFFER_OVERRUN_INFO, align 4, !tbaa !18
%57 = and i32 %56, %45
%58 = icmp eq i32 %57, 0
br i1 %58, label %63, label %59
59: ; preds = %55
%60 = load i32, ptr @RCV_ERR_INFO, align 4, !tbaa !18
%61 = load i32, ptr @RCV_ERR_INFO_RCV_EXCESS_BUFFER_OVERRUN_SMASK, align 4, !tbaa !18
%62 = call i32 @write_csr(ptr noundef %6, i32 noundef %60, i32 noundef %61) #3
br label %63
63: ; preds = %59, %55
%64 = load i32, ptr @ES_PORT_XMIT_CONSTRAINT_ERROR_INFO, align 4, !tbaa !18
%65 = and i32 %64, %45
%66 = icmp eq i32 %65, 0
br i1 %66, label %73, label %67
67: ; preds = %63
%68 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !18
%69 = xor i32 %68, -1
%70 = getelementptr inbounds i8, ptr %6, i64 12
%71 = load i32, ptr %70, align 4, !tbaa !26
%72 = and i32 %71, %69
store i32 %72, ptr %70, align 4, !tbaa !26
br label %73
73: ; preds = %67, %63
%74 = load i32, ptr @ES_PORT_RCV_CONSTRAINT_ERROR_INFO, align 4, !tbaa !18
%75 = and i32 %74, %45
%76 = icmp eq i32 %75, 0
br i1 %76, label %83, label %77
77: ; preds = %73
%78 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !18
%79 = xor i32 %78, -1
%80 = getelementptr inbounds i8, ptr %6, i64 8
%81 = load i32, ptr %80, align 4, !tbaa !27
%82 = and i32 %81, %79
store i32 %82, ptr %80, align 4, !tbaa !27
br label %83
83: ; preds = %77, %73
%84 = load i32, ptr @ES_UNCORRECTABLE_ERROR_INFO, align 4, !tbaa !18
%85 = and i32 %84, %45
%86 = icmp eq i32 %85, 0
br i1 %86, label %93, label %87
87: ; preds = %83
%88 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !18
%89 = xor i32 %88, -1
%90 = getelementptr inbounds i8, ptr %6, i64 4
%91 = load i32, ptr %90, align 4, !tbaa !28
%92 = and i32 %91, %89
store i32 %92, ptr %90, align 4, !tbaa !28
br label %93
93: ; preds = %87, %83
%94 = load i32, ptr @ES_FM_CONFIG_ERROR_INFO, align 4, !tbaa !18
%95 = and i32 %94, %45
%96 = icmp eq i32 %95, 0
br i1 %96, label %102, label %97
97: ; preds = %93
%98 = load i32, ptr @OPA_EI_STATUS_SMASK, align 4, !tbaa !18
%99 = xor i32 %98, -1
%100 = load i32, ptr %6, align 4, !tbaa !29
%101 = and i32 %100, %99
store i32 %101, ptr %6, align 4, !tbaa !29
br label %102
102: ; preds = %97, %93
%103 = icmp eq ptr %3, null
br i1 %103, label %107, label %104
104: ; preds = %102
%105 = load i32, ptr %3, align 4, !tbaa !18
%106 = add i32 %105, 24
store i32 %106, ptr %3, align 4, !tbaa !18
br label %107
107: ; preds = %104, %102
%108 = call i32 @reply(ptr noundef nonnull %0) #3
br label %109
109: ; preds = %107, %38, %26
%110 = phi i32 [ %30, %26 ], [ %42, %38 ], [ %108, %107 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %110
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dd_from_ibdev(ptr noundef) local_unnamed_addr #2
declare i32 @OPA_AM_NPORT(i32 noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @hweight64(i32 noundef) local_unnamed_addr #2
declare i32 @be64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reply(ptr noundef) local_unnamed_addr #2
declare i32 @find_first_bit(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write_csr(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, !12, i64 8}
!7 = !{!"opa_pma_mad", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_5__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"opa_port_error_info_msg", !9, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!7, !9, i64 4}
!17 = !{!14, !15, i64 8}
!18 = !{!9, !9, i64 0}
!19 = !{!7, !9, i64 0}
!20 = !{!14, !9, i64 0}
!21 = !{!22, !9, i64 16}
!22 = !{!"hfi1_devdata", !9, i64 0, !9, i64 4, !23, i64 8, !24, i64 12, !25, i64 16}
!23 = !{!"TYPE_8__", !9, i64 0}
!24 = !{!"TYPE_7__", !9, i64 0}
!25 = !{!"TYPE_6__", !9, i64 0}
!26 = !{!22, !9, i64 12}
!27 = !{!22, !9, i64 8}
!28 = !{!22, !9, i64 4}
!29 = !{!22, !9, i64 0}
| linux_drivers_infiniband_hw_hfi1_extr_mad.c_pma_set_opa_errorinfo |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_wr32_fast.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_wr32_fast.c"
target datalayout = "e-m:e-p270:32:32-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 @nvkm_gpuobj_wr32_fast], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nvkm_gpuobj_wr32_fast(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = add nsw i64 %4, %1
%6 = tail call i32 @iowrite32_native(i64 noundef %2, i64 noundef %5) #2
ret void
}
declare i32 @iowrite32_native(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nvkm_gpuobj", !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/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_wr32_fast.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_wr32_fast.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 @nvkm_gpuobj_wr32_fast], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nvkm_gpuobj_wr32_fast(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = add nsw i64 %4, %1
%6 = tail call i32 @iowrite32_native(i64 noundef %2, i64 noundef %5) #2
ret void
}
declare i32 @iowrite32_native(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nvkm_gpuobj", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_nouveau_nvkm_core_extr_gpuobj.c_nvkm_gpuobj_wr32_fast |
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_ohci.c_ar71xx_ohci_detach.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_ohci.c_ar71xx_ohci_detach.c"
target datalayout = "e-m:e-p270:32:32-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, i64, ptr, ptr, ptr }
@OHCI_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@SYS_RES_IRQ = dso_local local_unnamed_addr global i32 0, align 4
@SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@ohci_iterate_hw_softc = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar71xx_ohci_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ar71xx_ohci_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #3
%3 = tail call i32 @device_delete_children(i32 noundef %0) #3
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr @OHCI_CONTROL, align 4, !tbaa !14
%9 = tail call i32 @bus_space_write_4(i64 noundef %5, i64 noundef %7, i32 noundef %8, i32 noundef 0) #3
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 5
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = icmp eq ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 4
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = tail call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %15, ptr noundef nonnull %11) #3
store ptr null, ptr %10, align 8, !tbaa !15
br label %17
17: ; preds = %1, %13
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !14
%23 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %22, i32 noundef 0, ptr noundef nonnull %19) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, i8 0, i64 24, i1 false)
br label %24
24: ; preds = %21, %17
%25 = tail call i32 @usb_bus_mem_free_all(ptr noundef nonnull %2, ptr noundef nonnull @ohci_iterate_hw_softc) #3
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1
declare i32 @bus_space_write_4(i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_bus_mem_free_all(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, !11, i64 16}
!6 = !{!"ar71xx_ohci_softc", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!6, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !12, i64 40}
!16 = !{!6, !12, i64 32}
!17 = !{!6, !12, i64 24}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_ohci.c_ar71xx_ohci_detach.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_ohci.c_ar71xx_ohci_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OHCI_CONTROL = common local_unnamed_addr global i32 0, align 4
@SYS_RES_IRQ = common local_unnamed_addr global i32 0, align 4
@SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4
@ohci_iterate_hw_softc = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar71xx_ohci_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ar71xx_ohci_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #3
%3 = tail call i32 @device_delete_children(i32 noundef %0) #3
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr @OHCI_CONTROL, align 4, !tbaa !15
%9 = tail call i32 @bus_space_write_4(i64 noundef %5, i64 noundef %7, i32 noundef %8, i32 noundef 0) #3
%10 = getelementptr inbounds i8, ptr %2, i64 40
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = icmp eq ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %2, i64 32
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = tail call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %15, ptr noundef nonnull %11) #3
store ptr null, ptr %10, align 8, !tbaa !16
br label %17
17: ; preds = %1, %13
%18 = getelementptr inbounds i8, ptr %2, i64 24
%19 = load ptr, ptr %18, align 8, !tbaa !18
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !15
%23 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %22, i32 noundef 0, ptr noundef nonnull %19) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, i8 0, i64 24, i1 false)
br label %24
24: ; preds = %21, %17
%25 = tail call i32 @usb_bus_mem_free_all(ptr noundef nonnull %2, ptr noundef nonnull @ohci_iterate_hw_softc) #3
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1
declare i32 @bus_space_write_4(i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_bus_mem_free_all(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, !12, i64 16}
!7 = !{!"ar71xx_ohci_softc", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!7, !12, i64 8}
!15 = !{!9, !9, i64 0}
!16 = !{!7, !13, i64 40}
!17 = !{!7, !13, i64 32}
!18 = !{!7, !13, i64 24}
| freebsd_sys_mips_atheros_extr_ar71xx_ohci.c_ar71xx_ohci_detach |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_sn9c20x.c_do_autoexposure.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_sn9c20x.c_do_autoexposure.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sd = type { i32, i32, i32, ptr }
%struct.TYPE_3__ = type { i64, i64 }
@MIN_AVG_LUM = dso_local local_unnamed_addr global i64 0, align 8
@MAX_AVG_LUM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_autoexposure], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_autoexposure(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i64 @v4l2_ctrl_g_ctrl(ptr noundef %4) #3
%6 = load ptr, ptr %3, align 8, !tbaa !5
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr %0, align 8, !tbaa !14
%9 = sext i32 %8 to i64
%10 = sub nsw i64 %7, %9
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = add nsw i64 %12, %9
%14 = load i64, ptr @MIN_AVG_LUM, align 8, !tbaa !16
%15 = icmp sgt i64 %14, %1
br i1 %15, label %16, label %34
16: ; preds = %2
%17 = icmp sgt i64 %5, %10
br i1 %17, label %58, label %18
18: ; preds = %16
%19 = add nsw i64 %5, %9
%20 = tail call i64 @llvm.smin.i64(i64 %19, i64 %10)
%21 = tail call i64 @llvm.smax.i64(i64 %20, i64 %13)
%22 = tail call i32 @v4l2_ctrl_s_ctrl(ptr noundef nonnull %6, i64 noundef %21) #3
%23 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1
store i32 %24, ptr %25, align 4, !tbaa !18
store i32 1, ptr %23, align 8, !tbaa !17
%26 = icmp eq i32 %24, 1
%27 = load i32, ptr %0, align 8, !tbaa !14
br i1 %26, label %30, label %28
28: ; preds = %18
%29 = sdiv i32 %27, 2
br label %32
30: ; preds = %18
%31 = add nsw i32 %27, 2
br label %32
32: ; preds = %30, %28
%33 = phi i32 [ %29, %28 ], [ %31, %30 ]
store i32 %33, ptr %0, align 8, !tbaa !14
br label %34
34: ; preds = %32, %2
%35 = phi i32 [ %8, %2 ], [ %33, %32 ]
%36 = load i64, ptr @MAX_AVG_LUM, align 8, !tbaa !16
%37 = icmp sge i64 %36, %1
%38 = icmp slt i64 %5, %13
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %58, label %40
40: ; preds = %34
%41 = sext i32 %35 to i64
%42 = sub nsw i64 %5, %41
%43 = tail call i64 @llvm.smin.i64(i64 %42, i64 %10)
%44 = tail call i64 @llvm.smax.i64(i64 %43, i64 %13)
%45 = load ptr, ptr %3, align 8, !tbaa !5
%46 = tail call i32 @v4l2_ctrl_s_ctrl(ptr noundef %45, i64 noundef %44) #3
%47 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 2
%48 = load i32, ptr %47, align 8, !tbaa !17
%49 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1
store i32 %48, ptr %49, align 4, !tbaa !18
store i32 0, ptr %47, align 8, !tbaa !17
%50 = icmp eq i32 %48, 0
%51 = load i32, ptr %0, align 8, !tbaa !14
br i1 %50, label %54, label %52
52: ; preds = %40
%53 = sdiv i32 %51, 2
br label %56
54: ; preds = %40
%55 = add nsw i32 %51, 2
br label %56
56: ; preds = %52, %54
%57 = phi i32 [ %55, %54 ], [ %53, %52 ]
store i32 %57, ptr %0, align 8, !tbaa !14
br label %58
58: ; preds = %56, %34, %16
ret void
}
declare i64 @v4l2_ctrl_g_ctrl(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_s_ctrl(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"sd", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!13, !13, i64 0}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_sn9c20x.c_do_autoexposure.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_sn9c20x.c_do_autoexposure.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MIN_AVG_LUM = common local_unnamed_addr global i64 0, align 8
@MAX_AVG_LUM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @do_autoexposure], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_autoexposure(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i64 @v4l2_ctrl_g_ctrl(ptr noundef %4) #3
%6 = load ptr, ptr %3, align 8, !tbaa !6
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr %0, align 8, !tbaa !15
%9 = sext i32 %8 to i64
%10 = sub nsw i64 %7, %9
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = add nsw i64 %12, %9
%14 = load i64, ptr @MIN_AVG_LUM, align 8, !tbaa !17
%15 = icmp sgt i64 %14, %1
br i1 %15, label %16, label %34
16: ; preds = %2
%17 = icmp sgt i64 %5, %10
br i1 %17, label %58, label %18
18: ; preds = %16
%19 = add nsw i64 %5, %9
%20 = tail call i64 @llvm.smin.i64(i64 %19, i64 %10)
%21 = tail call i64 @llvm.smax.i64(i64 %20, i64 %13)
%22 = tail call i32 @v4l2_ctrl_s_ctrl(ptr noundef nonnull %6, i64 noundef %21) #3
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %24, ptr %25, align 4, !tbaa !19
store i32 1, ptr %23, align 8, !tbaa !18
%26 = icmp eq i32 %24, 1
%27 = load i32, ptr %0, align 8, !tbaa !15
br i1 %26, label %30, label %28
28: ; preds = %18
%29 = sdiv i32 %27, 2
br label %32
30: ; preds = %18
%31 = add nsw i32 %27, 2
br label %32
32: ; preds = %30, %28
%33 = phi i32 [ %29, %28 ], [ %31, %30 ]
store i32 %33, ptr %0, align 8, !tbaa !15
br label %34
34: ; preds = %32, %2
%35 = phi i32 [ %8, %2 ], [ %33, %32 ]
%36 = load i64, ptr @MAX_AVG_LUM, align 8, !tbaa !17
%37 = icmp sge i64 %36, %1
%38 = icmp slt i64 %5, %13
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %58, label %40
40: ; preds = %34
%41 = sext i32 %35 to i64
%42 = sub nsw i64 %5, %41
%43 = tail call i64 @llvm.smin.i64(i64 %42, i64 %10)
%44 = tail call i64 @llvm.smax.i64(i64 %43, i64 %13)
%45 = load ptr, ptr %3, align 8, !tbaa !6
%46 = tail call i32 @v4l2_ctrl_s_ctrl(ptr noundef %45, i64 noundef %44) #3
%47 = getelementptr inbounds i8, ptr %0, i64 8
%48 = load i32, ptr %47, align 8, !tbaa !18
%49 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %48, ptr %49, align 4, !tbaa !19
store i32 0, ptr %47, align 8, !tbaa !18
%50 = icmp eq i32 %48, 0
%51 = load i32, ptr %0, align 8, !tbaa !15
br i1 %50, label %54, label %52
52: ; preds = %40
%53 = sdiv i32 %51, 2
br label %56
54: ; preds = %40
%55 = add nsw i32 %51, 2
br label %56
56: ; preds = %52, %54
%57 = phi i32 [ %55, %54 ], [ %53, %52 ]
store i32 %57, ptr %0, align 8, !tbaa !15
br label %58
58: ; preds = %56, %34, %16
ret void
}
declare i64 @v4l2_ctrl_g_ctrl(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_s_ctrl(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"sd", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!13, !14, i64 8}
!17 = !{!14, !14, i64 0}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !8, i64 4}
| linux_drivers_media_usb_gspca_extr_sn9c20x.c_do_autoexposure |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_omap-des.c_omap_des_dma_cleanup.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-des.c_omap_des_dma_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.omap_des_dev = type { i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_des_dma_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @omap_des_dma_cleanup(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.omap_des_dev, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %1
%6 = getelementptr inbounds %struct.omap_des_dev, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i32 @dma_release_channel(i32 noundef %7) #2
%9 = load i32, ptr %0, align 8, !tbaa !12
%10 = tail call i32 @dma_release_channel(i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
ret void
}
declare i32 @dma_release_channel(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 8}
!6 = !{!"omap_des_dev", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_omap-des.c_omap_des_dma_cleanup.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-des.c_omap_des_dma_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @omap_des_dma_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @omap_des_dma_cleanup(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @dma_release_channel(i32 noundef %7) #2
%9 = load i32, ptr %0, align 8, !tbaa !13
%10 = tail call i32 @dma_release_channel(i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
ret void
}
declare i32 @dma_release_channel(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 8}
!7 = !{!"omap_des_dev", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
| linux_drivers_crypto_extr_omap-des.c_omap_des_dma_cleanup |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dvb-bt8xx.c_dvb_bt8xx_stop_feed.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dvb-bt8xx.c_dvb_bt8xx_stop_feed.c"
target datalayout = "e-m:e-p270:32:32-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.dvb_demux = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
%struct.dvb_bt8xx_card = type { i64, i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c"dvb_bt8xx: stop_feed\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dvb_bt8xx_stop_feed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dvb_bt8xx_stop_feed(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.dvb_demux, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = tail call i32 @dprintk(ptr noundef nonnull @.str) #2
%6 = load i32, ptr %2, align 8, !tbaa !14
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @EINVAL, align 4, !tbaa !15
%10 = sub nsw i32 0, %9
br label %23
11: ; preds = %1
%12 = getelementptr inbounds %struct.dvb_bt8xx_card, ptr %4, i64 0, i32 1
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #2
%14 = load i64, ptr %4, align 8, !tbaa !16
%15 = add nsw i64 %14, -1
store i64 %15, ptr %4, align 8, !tbaa !16
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = getelementptr inbounds %struct.dvb_bt8xx_card, ptr %4, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = tail call i32 @bt878_stop(i32 noundef %19) #2
br label %21
21: ; preds = %17, %11
%22 = tail call i32 @mutex_unlock(ptr noundef nonnull %12) #2
br label %23
23: ; preds = %21, %8
%24 = phi i32 [ 0, %21 ], [ %10, %8 ]
ret i32 %24
}
declare i32 @dprintk(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @bt878_stop(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dvb_demux_feed", !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 = !{!"dvb_demux", !12, i64 0, !7, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"dvb_bt8xx_card", !18, i64 0, !13, i64 8, !13, i64 12}
!18 = !{!"long", !8, i64 0}
!19 = !{!17, !13, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dvb-bt8xx.c_dvb_bt8xx_stop_feed.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dvb-bt8xx.c_dvb_bt8xx_stop_feed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [22 x i8] c"dvb_bt8xx: stop_feed\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dvb_bt8xx_stop_feed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @dvb_bt8xx_stop_feed(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 ptr, ptr %3, align 8, !tbaa !11
%5 = tail call i32 @dprintk(ptr noundef nonnull @.str) #2
%6 = load i32, ptr %2, align 8, !tbaa !15
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @EINVAL, align 4, !tbaa !16
%10 = sub nsw i32 0, %9
br label %23
11: ; preds = %1
%12 = getelementptr inbounds i8, ptr %4, i64 8
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #2
%14 = load i64, ptr %4, align 8, !tbaa !17
%15 = add nsw i64 %14, -1
store i64 %15, ptr %4, align 8, !tbaa !17
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = getelementptr inbounds i8, ptr %4, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !20
%20 = tail call i32 @bt878_stop(i32 noundef %19) #2
br label %21
21: ; preds = %17, %11
%22 = tail call i32 @mutex_unlock(ptr noundef nonnull %12) #2
br label %23
23: ; preds = %21, %8
%24 = phi i32 [ 0, %21 ], [ %10, %8 ]
ret i32 %24
}
declare i32 @dprintk(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @bt878_stop(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dvb_demux_feed", !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 = !{!"dvb_demux", !13, i64 0, !8, i64 8}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !14, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"dvb_bt8xx_card", !19, i64 0, !14, i64 8, !14, i64 12}
!19 = !{!"long", !9, i64 0}
!20 = !{!18, !14, i64 12}
| linux_drivers_media_pci_bt8xx_extr_dvb-bt8xx.c_dvb_bt8xx_stop_feed |
; ModuleID = 'AnghaBench/vlc/modules/hw/vaapi/extr_chroma.c_CreateFallbackImage.c'
source_filename = "AnghaBench/vlc/modules/hw/vaapi/extr_chroma.c_CreateFallbackImage.c"
target datalayout = "e-m:e-p270:32:32-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 { i64 }
%struct.TYPE_9__ = type { i32, i32 }
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4
@VA_FOURCC_NV12 = dso_local local_unnamed_addr global i64 0, align 8
@VA_FOURCC_P010 = dso_local local_unnamed_addr global i64 0, align 8
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CreateFallbackImage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @CreateFallbackImage(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 @vaMaxNumImageFormats(i32 noundef %2) #3
store i32 %6, ptr %5, align 4, !tbaa !5
%7 = tail call ptr @vlc_alloc(i32 noundef %6, i32 noundef 8) #3
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
%10 = tail call i64 @unlikely(i32 noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %4
%13 = load i32, ptr @VLC_ENOMEM, align 4, !tbaa !5
br label %61
14: ; preds = %4
%15 = call i64 @vaQueryImageFormats(i32 noundef %2, ptr noundef %7, ptr noundef nonnull %5) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %5, align 4, !tbaa !5
%19 = icmp sgt i32 %18, 0
%20 = load i64, ptr @VA_FOURCC_NV12, align 8, !tbaa !9
%21 = load i64, ptr @VA_FOURCC_P010, align 8
br i1 %19, label %22, label %42
22: ; preds = %17
%23 = zext nneg i32 %18 to i64
br label %27
24: ; preds = %14
%25 = call i32 @free(ptr noundef %7) #3
%26 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !5
br label %61
27: ; preds = %22, %34
%28 = phi i64 [ 0, %22 ], [ %35, %34 ]
%29 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 %28
%30 = load i64, ptr %29, align 8, !tbaa !11
%31 = icmp eq i64 %30, %20
%32 = icmp eq i64 %30, %21
%33 = select i1 %31, i1 true, i1 %32
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = add nuw nsw i64 %28, 1
%36 = icmp eq i64 %35, %23
br i1 %36, label %39, label %27, !llvm.loop !13
37: ; preds = %27
%38 = trunc i64 %28 to i32
br label %39
39: ; preds = %34, %37
%40 = phi i32 [ %38, %37 ], [ %18, %34 ]
%41 = zext nneg i32 %40 to i64
br label %42
42: ; preds = %39, %17
%43 = phi i64 [ 0, %17 ], [ %41, %39 ]
%44 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 %43
%45 = load i64, ptr %44, align 8, !tbaa !11
%46 = icmp eq i64 %45, %20
%47 = icmp eq i64 %45, %21
%48 = select i1 %46, i1 true, i1 %47
br i1 %48, label %49, label %56
49: ; preds = %42
%50 = call i32 @VLC_OBJECT(ptr noundef %0) #3
%51 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
%52 = load i32, ptr %51, align 4, !tbaa !15
%53 = load i32, ptr %1, align 4, !tbaa !18
%54 = call i32 @vlc_vaapi_CreateImage(i32 noundef %50, i32 noundef %2, ptr noundef nonnull %44, i32 noundef %52, i32 noundef %53, ptr noundef %3) #3
%55 = icmp eq i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %42, %49
br label %57
57: ; preds = %49, %56
%58 = phi ptr [ @VLC_EGENERIC, %56 ], [ @VLC_SUCCESS, %49 ]
%59 = load i32, ptr %58, align 4, !tbaa !5
%60 = call i32 @free(ptr noundef nonnull %7) #3
br label %61
61: ; preds = %57, %24, %12
%62 = phi i32 [ %13, %12 ], [ %26, %24 ], [ %59, %57 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vaMaxNumImageFormats(i32 noundef) local_unnamed_addr #2
declare ptr @vlc_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @vaQueryImageFormats(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_vaapi_CreateImage(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @VLC_OBJECT(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, !10, i64 0}
!12 = !{!"TYPE_11__", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 4}
!16 = !{!"TYPE_10__", !17, i64 0}
!17 = !{!"TYPE_9__", !6, i64 0, !6, i64 4}
!18 = !{!16, !6, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/hw/vaapi/extr_chroma.c_CreateFallbackImage.c'
source_filename = "AnghaBench/vlc/modules/hw/vaapi/extr_chroma.c_CreateFallbackImage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i64 }
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4
@VA_FOURCC_NV12 = common local_unnamed_addr global i64 0, align 8
@VA_FOURCC_P010 = common local_unnamed_addr global i64 0, align 8
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CreateFallbackImage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @CreateFallbackImage(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 @vaMaxNumImageFormats(i32 noundef %2) #3
store i32 %6, ptr %5, align 4, !tbaa !6
%7 = tail call ptr @vlc_alloc(i32 noundef %6, i32 noundef 8) #3
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
%10 = tail call i64 @unlikely(i32 noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %4
%13 = load i32, ptr @VLC_ENOMEM, align 4, !tbaa !6
br label %61
14: ; preds = %4
%15 = call i64 @vaQueryImageFormats(i32 noundef %2, ptr noundef %7, ptr noundef nonnull %5) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %5, align 4, !tbaa !6
%19 = icmp sgt i32 %18, 0
%20 = load i64, ptr @VA_FOURCC_NV12, align 8, !tbaa !10
%21 = load i64, ptr @VA_FOURCC_P010, align 8
br i1 %19, label %22, label %42
22: ; preds = %17
%23 = zext nneg i32 %18 to i64
br label %27
24: ; preds = %14
%25 = call i32 @free(ptr noundef %7) #3
%26 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !6
br label %61
27: ; preds = %22, %34
%28 = phi i64 [ 0, %22 ], [ %35, %34 ]
%29 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 %28
%30 = load i64, ptr %29, align 8, !tbaa !12
%31 = icmp eq i64 %30, %20
%32 = icmp eq i64 %30, %21
%33 = select i1 %31, i1 true, i1 %32
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = add nuw nsw i64 %28, 1
%36 = icmp eq i64 %35, %23
br i1 %36, label %39, label %27, !llvm.loop !14
37: ; preds = %27
%38 = trunc nuw nsw i64 %28 to i32
br label %39
39: ; preds = %34, %37
%40 = phi i32 [ %38, %37 ], [ %18, %34 ]
%41 = zext nneg i32 %40 to i64
br label %42
42: ; preds = %39, %17
%43 = phi i64 [ 0, %17 ], [ %41, %39 ]
%44 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 %43
%45 = load i64, ptr %44, align 8, !tbaa !12
%46 = icmp eq i64 %45, %20
%47 = icmp eq i64 %45, %21
%48 = select i1 %46, i1 true, i1 %47
br i1 %48, label %49, label %56
49: ; preds = %42
%50 = call i32 @VLC_OBJECT(ptr noundef %0) #3
%51 = getelementptr inbounds i8, ptr %1, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !16
%53 = load i32, ptr %1, align 4, !tbaa !19
%54 = call i32 @vlc_vaapi_CreateImage(i32 noundef %50, i32 noundef %2, ptr noundef nonnull %44, i32 noundef %52, i32 noundef %53, ptr noundef %3) #3
%55 = icmp eq i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %42, %49
br label %57
57: ; preds = %49, %56
%58 = phi ptr [ @VLC_EGENERIC, %56 ], [ @VLC_SUCCESS, %49 ]
%59 = load i32, ptr %58, align 4, !tbaa !6
%60 = call i32 @free(ptr noundef nonnull %7) #3
br label %61
61: ; preds = %57, %24, %12
%62 = phi i32 [ %13, %12 ], [ %26, %24 ], [ %59, %57 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vaMaxNumImageFormats(i32 noundef) local_unnamed_addr #2
declare ptr @vlc_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @vaQueryImageFormats(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_vaapi_CreateImage(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @VLC_OBJECT(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, !11, i64 0}
!13 = !{!"TYPE_11__", !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !7, i64 4}
!17 = !{!"TYPE_10__", !18, i64 0}
!18 = !{!"TYPE_9__", !7, i64 0, !7, i64 4}
!19 = !{!17, !7, i64 0}
| vlc_modules_hw_vaapi_extr_chroma.c_CreateFallbackImage |
; ModuleID = 'AnghaBench/freebsd/sys/fs/unionfs/extr_union_vnops.c_unionfs_getwritemount.c'
source_filename = "AnghaBench/freebsd/sys/fs/unionfs/extr_union_vnops.c_unionfs_getwritemount.c"
target datalayout = "e-m:e-p270:32:32-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.vop_getwritemount_args = type { i32, ptr }
%struct.vnode = type { i64, i32, ptr }
@.str = private unnamed_addr constant [30 x i8] c"unionfs_getwritemount: enter\0A\00", align 1
@NULLVP = dso_local local_unnamed_addr global ptr null, align 8
@MNT_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@EACCES = dso_local local_unnamed_addr global i32 0, align 4
@VREG = dso_local local_unnamed_addr global i64 0, align 8
@VI_FREE = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"unionfs_getwritemount: leave (%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @unionfs_getwritemount], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @unionfs_getwritemount(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 (ptr, ...) @UNIONFS_INTERNAL_DEBUG(ptr noundef nonnull @.str) #2
%3 = getelementptr inbounds %struct.vop_getwritemount_args, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr @NULLVP, align 8, !tbaa !11
%6 = icmp eq ptr %4, %5
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.vnode, ptr %4, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = load i32, ptr @MNT_RDONLY, align 4, !tbaa !17
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %7, %1
%15 = load i32, ptr @EACCES, align 4, !tbaa !17
br label %51
16: ; preds = %7
%17 = tail call i32 @KASSERT_UNIONFS_VNODE(ptr noundef nonnull %4) #2
%18 = tail call ptr @UNIONFSVPTOUPPERVP(ptr noundef nonnull %4) #2
%19 = load ptr, ptr @NULLVP, align 8, !tbaa !11
%20 = icmp eq ptr %18, %19
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load i64, ptr @VREG, align 8, !tbaa !18
%23 = load i64, ptr %4, align 8, !tbaa !19
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %37
25: ; preds = %21
%26 = tail call ptr @VTOUNIONFS(ptr noundef nonnull %4) #2
%27 = load ptr, ptr %26, align 8, !tbaa !20
%28 = tail call ptr @UNIONFSVPTOUPPERVP(ptr noundef %27) #2
%29 = load ptr, ptr @NULLVP, align 8, !tbaa !11
br label %30
30: ; preds = %25, %16
%31 = phi ptr [ %29, %25 ], [ %19, %16 ]
%32 = phi ptr [ %28, %25 ], [ %18, %16 ]
%33 = icmp eq ptr %32, %31
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load i32, ptr %0, align 8, !tbaa !22
%36 = tail call i32 @VOP_GETWRITEMOUNT(ptr noundef %32, i32 noundef %35) #2
br label %48
37: ; preds = %21, %30
%38 = tail call i32 @VI_LOCK(ptr noundef nonnull %4) #2
%39 = getelementptr inbounds %struct.vnode, ptr %4, i64 0, i32 1
%40 = load i32, ptr %39, align 8, !tbaa !23
%41 = load i32, ptr @VI_FREE, align 4, !tbaa !17
%42 = and i32 %41, %40
%43 = icmp eq i32 %42, 0
%44 = load i32, ptr @EACCES, align 4
%45 = load i32, ptr @EOPNOTSUPP, align 4
%46 = select i1 %43, i32 %44, i32 %45
%47 = tail call i32 @VI_UNLOCK(ptr noundef nonnull %4) #2
br label %48
48: ; preds = %37, %34
%49 = phi i32 [ %36, %34 ], [ %46, %37 ]
%50 = tail call i32 (ptr, ...) @UNIONFS_INTERNAL_DEBUG(ptr noundef nonnull @.str.1, i32 noundef %49) #2
br label %51
51: ; preds = %48, %14
%52 = phi i32 [ %15, %14 ], [ %49, %48 ]
ret i32 %52
}
declare i32 @UNIONFS_INTERNAL_DEBUG(ptr noundef, ...) local_unnamed_addr #1
declare i32 @KASSERT_UNIONFS_VNODE(ptr noundef) local_unnamed_addr #1
declare ptr @UNIONFSVPTOUPPERVP(ptr noundef) local_unnamed_addr #1
declare ptr @VTOUNIONFS(ptr noundef) local_unnamed_addr #1
declare i32 @VOP_GETWRITEMOUNT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VI_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @VI_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, !10, i64 8}
!6 = !{!"vop_getwritemount_args", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"vnode", !14, i64 0, !7, i64 8, !10, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!13, !14, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"TYPE_4__", !10, i64 0}
!22 = !{!6, !7, i64 0}
!23 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/fs/unionfs/extr_union_vnops.c_unionfs_getwritemount.c'
source_filename = "AnghaBench/freebsd/sys/fs/unionfs/extr_union_vnops.c_unionfs_getwritemount.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 [30 x i8] c"unionfs_getwritemount: enter\0A\00", align 1
@NULLVP = common local_unnamed_addr global ptr null, align 8
@MNT_RDONLY = common local_unnamed_addr global i32 0, align 4
@EACCES = common local_unnamed_addr global i32 0, align 4
@VREG = common local_unnamed_addr global i64 0, align 8
@VI_FREE = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"unionfs_getwritemount: leave (%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @unionfs_getwritemount], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @unionfs_getwritemount(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 (ptr, ...) @UNIONFS_INTERNAL_DEBUG(ptr noundef nonnull @.str) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr @NULLVP, align 8, !tbaa !12
%6 = icmp eq ptr %4, %5
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %4, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = load i32, ptr @MNT_RDONLY, align 4, !tbaa !18
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %7, %1
%15 = load i32, ptr @EACCES, align 4, !tbaa !18
br label %51
16: ; preds = %7
%17 = tail call i32 @KASSERT_UNIONFS_VNODE(ptr noundef nonnull %4) #2
%18 = tail call ptr @UNIONFSVPTOUPPERVP(ptr noundef nonnull %4) #2
%19 = load ptr, ptr @NULLVP, align 8, !tbaa !12
%20 = icmp eq ptr %18, %19
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load i64, ptr @VREG, align 8, !tbaa !19
%23 = load i64, ptr %4, align 8, !tbaa !20
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %37
25: ; preds = %21
%26 = tail call ptr @VTOUNIONFS(ptr noundef nonnull %4) #2
%27 = load ptr, ptr %26, align 8, !tbaa !21
%28 = tail call ptr @UNIONFSVPTOUPPERVP(ptr noundef %27) #2
%29 = load ptr, ptr @NULLVP, align 8, !tbaa !12
br label %30
30: ; preds = %25, %16
%31 = phi ptr [ %29, %25 ], [ %19, %16 ]
%32 = phi ptr [ %28, %25 ], [ %18, %16 ]
%33 = icmp eq ptr %32, %31
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load i32, ptr %0, align 8, !tbaa !23
%36 = tail call i32 @VOP_GETWRITEMOUNT(ptr noundef %32, i32 noundef %35) #2
br label %48
37: ; preds = %21, %30
%38 = tail call i32 @VI_LOCK(ptr noundef nonnull %4) #2
%39 = getelementptr inbounds i8, ptr %4, i64 8
%40 = load i32, ptr %39, align 8, !tbaa !24
%41 = load i32, ptr @VI_FREE, align 4, !tbaa !18
%42 = and i32 %41, %40
%43 = icmp eq i32 %42, 0
%44 = load i32, ptr @EACCES, align 4
%45 = load i32, ptr @EOPNOTSUPP, align 4
%46 = select i1 %43, i32 %44, i32 %45
%47 = tail call i32 @VI_UNLOCK(ptr noundef nonnull %4) #2
br label %48
48: ; preds = %37, %34
%49 = phi i32 [ %36, %34 ], [ %46, %37 ]
%50 = tail call i32 (ptr, ...) @UNIONFS_INTERNAL_DEBUG(ptr noundef nonnull @.str.1, i32 noundef %49) #2
br label %51
51: ; preds = %48, %14
%52 = phi i32 [ %15, %14 ], [ %49, %48 ]
ret i32 %52
}
declare i32 @UNIONFS_INTERNAL_DEBUG(ptr noundef, ...) local_unnamed_addr #1
declare i32 @KASSERT_UNIONFS_VNODE(ptr noundef) local_unnamed_addr #1
declare ptr @UNIONFSVPTOUPPERVP(ptr noundef) local_unnamed_addr #1
declare ptr @VTOUNIONFS(ptr noundef) local_unnamed_addr #1
declare i32 @VOP_GETWRITEMOUNT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VI_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @VI_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, !11, i64 8}
!7 = !{!"vop_getwritemount_args", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"vnode", !15, i64 0, !8, i64 8, !11, i64 16}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!14, !15, i64 0}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_4__", !11, i64 0}
!23 = !{!7, !8, i64 0}
!24 = !{!14, !8, i64 8}
| freebsd_sys_fs_unionfs_extr_union_vnops.c_unionfs_getwritemount |
; ModuleID = 'AnghaBench/libevent/extr_evdns.c_request_find_from_trans_id.c'
source_filename = "AnghaBench/libevent/extr_evdns.c_request_find_from_trans_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.request = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @request_find_from_trans_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @request_find_from_trans_id(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @REQ_HEAD(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @ASSERT_LOCKED(ptr noundef %0) #2
%5 = icmp eq ptr %3, null
br i1 %5, label %14, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %12, %11 ], [ %3, %2 ]
%8 = getelementptr inbounds %struct.request, ptr %7, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !5
%10 = icmp eq i32 %9, %1
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = load ptr, ptr %7, align 8, !tbaa !11
%13 = icmp eq ptr %12, %3
br i1 %13, label %14, label %6, !llvm.loop !12
14: ; preds = %11, %6, %2
%15 = phi ptr [ null, %2 ], [ null, %11 ], [ %7, %6 ]
ret ptr %15
}
declare ptr @REQ_HEAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ASSERT_LOCKED(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 = !{!"request", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/libevent/extr_evdns.c_request_find_from_trans_id.c'
source_filename = "AnghaBench/libevent/extr_evdns.c_request_find_from_trans_id.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 @request_find_from_trans_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @request_find_from_trans_id(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @REQ_HEAD(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @ASSERT_LOCKED(ptr noundef %0) #2
%5 = icmp eq ptr %3, null
br i1 %5, label %14, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %12, %11 ], [ %3, %2 ]
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !6
%10 = icmp eq i32 %9, %1
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = load ptr, ptr %7, align 8, !tbaa !12
%13 = icmp eq ptr %12, %3
br i1 %13, label %14, label %6, !llvm.loop !13
14: ; preds = %11, %6, %2
%15 = phi ptr [ null, %2 ], [ null, %11 ], [ %7, %6 ]
ret ptr %15
}
declare ptr @REQ_HEAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ASSERT_LOCKED(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 = !{!"request", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| libevent_extr_evdns.c_request_find_from_trans_id |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pcie-altera-msi.c_msi_readl.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pcie-altera-msi.c_msi_readl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @msi_readl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @msi_readl(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl_relaxed(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"altera_msi", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pcie-altera-msi.c_msi_readl.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pcie-altera-msi.c_msi_readl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @msi_readl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @msi_readl(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl_relaxed(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"altera_msi", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_pci_controller_extr_pcie-altera-msi.c_msi_readl |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcimio.c_pcimio_attach.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcimio.c_pcimio_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.TYPE_12__ = type { i32, i32 }
%struct.comedi_device = type { i64, ptr, i32, i32 }
%struct.TYPE_11__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_9__ = type { ptr }
@.str = private unnamed_addr constant [21 x i8] c"comedi%d: ni_pcimio:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@boardtype = dso_local local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 4
@ni_reg_m_series_mask = dso_local local_unnamed_addr global i32 0, align 4
@m_series_stc_writew = dso_local global i32 0, align 4
@devpriv = dso_local local_unnamed_addr global ptr null, align 8
@m_series_stc_readw = dso_local global i32 0, align 4
@m_series_stc_writel = dso_local global i32 0, align 4
@m_series_stc_readl = dso_local global i32 0, align 4
@e_series_win_out = dso_local global i32 0, align 4
@e_series_win_in = dso_local global i32 0, align 4
@win_out2 = dso_local global i32 0, align 4
@win_in2 = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c" error setting up mite\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ni_reg_6143 = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c" unknown irq (bad)\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c" ( irq = %u )\00", align 1
@ni_E_interrupt = dso_local local_unnamed_addr global i32 0, align 4
@NI_E_IRQ_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@DRV_NAME = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c" irq not available\0A\00", align 1
@pcimio_ai_change = dso_local global i32 0, align 4
@NI_AI_SUBDEV = dso_local local_unnamed_addr global i64 0, align 8
@pcimio_ao_change = dso_local global i32 0, align 4
@NI_AO_SUBDEV = dso_local local_unnamed_addr global i64 0, align 8
@pcimio_gpct0_change = dso_local global i32 0, align 4
@pcimio_gpct1_change = dso_local global i32 0, align 4
@pcimio_dio_change = dso_local global i32 0, align 4
@NI_DIO_SUBDEV = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcimio_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pcimio_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %4) #2
%6 = tail call i32 @ni_alloc_private(ptr noundef %0) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %147, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = getelementptr inbounds i32, ptr %9, i64 1
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @pcimio_find_device(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %12) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %147, label %15
15: ; preds = %8
%16 = load i32, ptr getelementptr inbounds (%struct.TYPE_12__, ptr @boardtype, i64 0, i32 1), align 4, !tbaa !15
%17 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %16) #2
%18 = load i32, ptr getelementptr inbounds (%struct.TYPE_12__, ptr @boardtype, i64 0, i32 1), align 4, !tbaa !15
%19 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 2
store i32 %18, ptr %19, align 8, !tbaa !17
%20 = load i32, ptr @boardtype, align 4, !tbaa !18
%21 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !14
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
%24 = load ptr, ptr @devpriv, align 8, !tbaa !19
%25 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 0, i32 8
%26 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 0, i32 7
%27 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 0, i32 6
%28 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 0, i32 5
%29 = select i1 %23, ptr @e_series_win_out, ptr @m_series_stc_writew
%30 = select i1 %23, ptr @e_series_win_in, ptr @m_series_stc_readw
%31 = select i1 %23, ptr @win_out2, ptr @m_series_stc_writel
%32 = select i1 %23, ptr @win_in2, ptr @m_series_stc_readl
store ptr %29, ptr %25, align 8, !tbaa !20
store ptr %30, ptr %26, align 8, !tbaa !22
store ptr %31, ptr %27, align 8, !tbaa !23
store ptr %32, ptr %28, align 8, !tbaa !24
%33 = load ptr, ptr %24, align 8, !tbaa !25
%34 = tail call i32 @mite_setup(ptr noundef %33) #2
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %15
%37 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2) #2
br label %147
38: ; preds = %15
%39 = load ptr, ptr @devpriv, align 8, !tbaa !19
%40 = load ptr, ptr %39, align 8, !tbaa !25
%41 = load ptr, ptr %40, align 8, !tbaa !26
%42 = tail call i32 @comedi_set_hw_dev(ptr noundef nonnull %0, ptr noundef %41) #2
%43 = load ptr, ptr @devpriv, align 8, !tbaa !19
%44 = load ptr, ptr %43, align 8, !tbaa !25
%45 = tail call ptr @mite_alloc_ring(ptr noundef %44) #2
%46 = load ptr, ptr @devpriv, align 8, !tbaa !19
%47 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 0, i32 4
store ptr %45, ptr %47, align 8, !tbaa !28
%48 = icmp eq ptr %45, null
br i1 %48, label %49, label %52
49: ; preds = %38
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%51 = sub nsw i32 0, %50
br label %147
52: ; preds = %38
%53 = load ptr, ptr %46, align 8, !tbaa !25
%54 = tail call ptr @mite_alloc_ring(ptr noundef %53) #2
%55 = load ptr, ptr @devpriv, align 8, !tbaa !19
%56 = getelementptr inbounds %struct.TYPE_11__, ptr %55, i64 0, i32 3
store ptr %54, ptr %56, align 8, !tbaa !29
%57 = icmp eq ptr %54, null
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%60 = sub nsw i32 0, %59
br label %147
61: ; preds = %52
%62 = load ptr, ptr %55, align 8, !tbaa !25
%63 = tail call ptr @mite_alloc_ring(ptr noundef %62) #2
%64 = load ptr, ptr @devpriv, align 8, !tbaa !19
%65 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 0, i32 2
store ptr %63, ptr %65, align 8, !tbaa !30
%66 = icmp eq ptr %63, null
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%69 = sub nsw i32 0, %68
br label %147
70: ; preds = %61
%71 = load ptr, ptr %64, align 8, !tbaa !25
%72 = tail call ptr @mite_alloc_ring(ptr noundef %71) #2
%73 = load ptr, ptr @devpriv, align 8, !tbaa !19
%74 = getelementptr inbounds %struct.TYPE_11__, ptr %73, i64 0, i32 1
%75 = load ptr, ptr %74, align 8, !tbaa !31
store ptr %72, ptr %75, align 8, !tbaa !19
%76 = load ptr, ptr @devpriv, align 8, !tbaa !19
%77 = getelementptr inbounds %struct.TYPE_11__, ptr %76, i64 0, i32 1
%78 = load ptr, ptr %77, align 8, !tbaa !31
%79 = load ptr, ptr %78, align 8, !tbaa !19
%80 = icmp eq ptr %79, null
br i1 %80, label %81, label %84
81: ; preds = %70
%82 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%83 = sub nsw i32 0, %82
br label %147
84: ; preds = %70
%85 = load ptr, ptr %76, align 8, !tbaa !25
%86 = tail call ptr @mite_alloc_ring(ptr noundef %85) #2
%87 = load ptr, ptr @devpriv, align 8, !tbaa !19
%88 = getelementptr inbounds %struct.TYPE_11__, ptr %87, i64 0, i32 1
%89 = load ptr, ptr %88, align 8, !tbaa !31
%90 = getelementptr inbounds ptr, ptr %89, i64 1
store ptr %86, ptr %90, align 8, !tbaa !19
%91 = load ptr, ptr %88, align 8, !tbaa !31
%92 = getelementptr inbounds ptr, ptr %91, i64 1
%93 = load ptr, ptr %92, align 8, !tbaa !19
%94 = icmp eq ptr %93, null
br i1 %94, label %95, label %98
95: ; preds = %84
%96 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%97 = sub nsw i32 0, %96
br label %147
98: ; preds = %84
%99 = load i32, ptr @boardtype, align 4, !tbaa !18
%100 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !14
%101 = and i32 %100, %99
%102 = icmp eq i32 %101, 0
br i1 %102, label %106, label %103
103: ; preds = %98
%104 = tail call i32 @m_series_init_eeprom_buffer(ptr noundef nonnull %0) #2
%105 = load i32, ptr @boardtype, align 4, !tbaa !18
br label %106
106: ; preds = %103, %98
%107 = phi i32 [ %105, %103 ], [ %99, %98 ]
%108 = load i32, ptr @ni_reg_6143, align 4, !tbaa !14
%109 = icmp eq i32 %107, %108
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = tail call i32 @init_6143(ptr noundef nonnull %0) #2
br label %112
112: ; preds = %110, %106
%113 = load ptr, ptr @devpriv, align 8, !tbaa !19
%114 = load ptr, ptr %113, align 8, !tbaa !25
%115 = tail call i64 @mite_irq(ptr noundef %114) #2
store i64 %115, ptr %0, align 8, !tbaa !32
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %119
117: ; preds = %112
%118 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.3) #2
br label %129
119: ; preds = %112
%120 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i64 noundef %115) #2
%121 = load i64, ptr %0, align 8, !tbaa !32
%122 = load i32, ptr @ni_E_interrupt, align 4, !tbaa !14
%123 = load i32, ptr @NI_E_IRQ_FLAGS, align 4, !tbaa !14
%124 = load i32, ptr @DRV_NAME, align 4, !tbaa !14
%125 = tail call i32 @request_irq(i64 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124, ptr noundef nonnull %0) #2
%126 = icmp slt i32 %125, 0
br i1 %126, label %127, label %129
127: ; preds = %119
%128 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.5) #2
store i64 0, ptr %0, align 8, !tbaa !32
br label %129
129: ; preds = %119, %127, %117
%130 = tail call i32 @ni_E_init(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%131 = icmp slt i32 %130, 0
br i1 %131, label %147, label %132
132: ; preds = %129
%133 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 1
%134 = load ptr, ptr %133, align 8, !tbaa !33
%135 = load i64, ptr @NI_AI_SUBDEV, align 8, !tbaa !34
%136 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %135
store ptr @pcimio_ai_change, ptr %136, align 8, !tbaa !35
%137 = load i64, ptr @NI_AO_SUBDEV, align 8, !tbaa !34
%138 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %137
store ptr @pcimio_ao_change, ptr %138, align 8, !tbaa !35
%139 = tail call i64 @NI_GPCT_SUBDEV(i32 noundef 0) #2
%140 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %139
store ptr @pcimio_gpct0_change, ptr %140, align 8, !tbaa !35
%141 = load ptr, ptr %133, align 8, !tbaa !33
%142 = tail call i64 @NI_GPCT_SUBDEV(i32 noundef 1) #2
%143 = getelementptr inbounds %struct.TYPE_9__, ptr %141, i64 %142
store ptr @pcimio_gpct1_change, ptr %143, align 8, !tbaa !35
%144 = load ptr, ptr %133, align 8, !tbaa !33
%145 = load i64, ptr @NI_DIO_SUBDEV, align 8, !tbaa !34
%146 = getelementptr inbounds %struct.TYPE_9__, ptr %144, i64 %145
store ptr @pcimio_dio_change, ptr %146, align 8, !tbaa !35
br label %147
147: ; preds = %129, %8, %2, %132, %95, %81, %67, %58, %49, %36
%148 = phi i32 [ %34, %36 ], [ %51, %49 ], [ %60, %58 ], [ %69, %67 ], [ %83, %81 ], [ %97, %95 ], [ %130, %132 ], [ %6, %2 ], [ %13, %8 ], [ %130, %129 ]
ret i32 %148
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
declare i32 @ni_alloc_private(ptr noundef) local_unnamed_addr #1
declare i32 @pcimio_find_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mite_setup(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_set_hw_dev(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @mite_alloc_ring(ptr noundef) local_unnamed_addr #1
declare i32 @m_series_init_eeprom_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @init_6143(ptr noundef) local_unnamed_addr #1
declare i64 @mite_irq(ptr noundef) local_unnamed_addr #1
declare i32 @request_irq(i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_E_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @NI_GPCT_SUBDEV(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 20}
!6 = !{!"comedi_device", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"comedi_devconfig", !10, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !11, i64 4}
!16 = !{!"TYPE_12__", !11, i64 0, !11, i64 4}
!17 = !{!6, !11, i64 16}
!18 = !{!16, !11, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!21, !10, i64 64}
!21 = !{!"TYPE_11__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64}
!22 = !{!21, !10, i64 56}
!23 = !{!21, !10, i64 48}
!24 = !{!21, !10, i64 40}
!25 = !{!21, !10, i64 0}
!26 = !{!27, !10, i64 0}
!27 = !{!"TYPE_10__", !10, i64 0}
!28 = !{!21, !10, i64 32}
!29 = !{!21, !10, i64 24}
!30 = !{!21, !10, i64 16}
!31 = !{!21, !10, i64 8}
!32 = !{!6, !7, i64 0}
!33 = !{!6, !10, i64 8}
!34 = !{!7, !7, i64 0}
!35 = !{!36, !10, i64 0}
!36 = !{!"TYPE_9__", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcimio.c_pcimio_attach.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcimio.c_pcimio_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_9__ = type { ptr }
@.str = private unnamed_addr constant [21 x i8] c"comedi%d: ni_pcimio:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@boardtype = common local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 4
@ni_reg_m_series_mask = common local_unnamed_addr global i32 0, align 4
@m_series_stc_writew = common global i32 0, align 4
@devpriv = common local_unnamed_addr global ptr null, align 8
@m_series_stc_readw = common global i32 0, align 4
@m_series_stc_writel = common global i32 0, align 4
@m_series_stc_readl = common global i32 0, align 4
@e_series_win_out = common global i32 0, align 4
@e_series_win_in = common global i32 0, align 4
@win_out2 = common global i32 0, align 4
@win_in2 = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c" error setting up mite\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ni_reg_6143 = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c" unknown irq (bad)\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c" ( irq = %u )\00", align 1
@ni_E_interrupt = common local_unnamed_addr global i32 0, align 4
@NI_E_IRQ_FLAGS = common local_unnamed_addr global i32 0, align 4
@DRV_NAME = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c" irq not available\0A\00", align 1
@pcimio_ai_change = common global i32 0, align 4
@NI_AI_SUBDEV = common local_unnamed_addr global i64 0, align 8
@pcimio_ao_change = common global i32 0, align 4
@NI_AO_SUBDEV = common local_unnamed_addr global i64 0, align 8
@pcimio_gpct0_change = common global i32 0, align 4
@pcimio_gpct1_change = common global i32 0, align 4
@pcimio_dio_change = common global i32 0, align 4
@NI_DIO_SUBDEV = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @pcimio_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pcimio_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 20
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %4) #2
%6 = tail call i32 @ni_alloc_private(ptr noundef %0) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %147, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = getelementptr inbounds i8, ptr %9, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = tail call i32 @pcimio_find_device(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %12) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %147, label %15
15: ; preds = %8
%16 = load i32, ptr getelementptr inbounds (i8, ptr @boardtype, i64 4), align 4, !tbaa !16
%17 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %16) #2
%18 = load i32, ptr getelementptr inbounds (i8, ptr @boardtype, i64 4), align 4, !tbaa !16
%19 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %18, ptr %19, align 8, !tbaa !18
%20 = load i32, ptr @boardtype, align 4, !tbaa !19
%21 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !15
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
%24 = load ptr, ptr @devpriv, align 8, !tbaa !20
%25 = getelementptr inbounds i8, ptr %24, i64 64
%26 = getelementptr inbounds i8, ptr %24, i64 56
%27 = getelementptr inbounds i8, ptr %24, i64 48
%28 = getelementptr inbounds i8, ptr %24, i64 40
%29 = select i1 %23, ptr @e_series_win_out, ptr @m_series_stc_writew
%30 = select i1 %23, ptr @e_series_win_in, ptr @m_series_stc_readw
%31 = select i1 %23, ptr @win_out2, ptr @m_series_stc_writel
%32 = select i1 %23, ptr @win_in2, ptr @m_series_stc_readl
store ptr %29, ptr %25, align 8, !tbaa !21
store ptr %30, ptr %26, align 8, !tbaa !23
store ptr %31, ptr %27, align 8, !tbaa !24
store ptr %32, ptr %28, align 8, !tbaa !25
%33 = load ptr, ptr %24, align 8, !tbaa !26
%34 = tail call i32 @mite_setup(ptr noundef %33) #2
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %15
%37 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2) #2
br label %147
38: ; preds = %15
%39 = load ptr, ptr @devpriv, align 8, !tbaa !20
%40 = load ptr, ptr %39, align 8, !tbaa !26
%41 = load ptr, ptr %40, align 8, !tbaa !27
%42 = tail call i32 @comedi_set_hw_dev(ptr noundef nonnull %0, ptr noundef %41) #2
%43 = load ptr, ptr @devpriv, align 8, !tbaa !20
%44 = load ptr, ptr %43, align 8, !tbaa !26
%45 = tail call ptr @mite_alloc_ring(ptr noundef %44) #2
%46 = load ptr, ptr @devpriv, align 8, !tbaa !20
%47 = getelementptr inbounds i8, ptr %46, i64 32
store ptr %45, ptr %47, align 8, !tbaa !29
%48 = icmp eq ptr %45, null
br i1 %48, label %49, label %52
49: ; preds = %38
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%51 = sub nsw i32 0, %50
br label %147
52: ; preds = %38
%53 = load ptr, ptr %46, align 8, !tbaa !26
%54 = tail call ptr @mite_alloc_ring(ptr noundef %53) #2
%55 = load ptr, ptr @devpriv, align 8, !tbaa !20
%56 = getelementptr inbounds i8, ptr %55, i64 24
store ptr %54, ptr %56, align 8, !tbaa !30
%57 = icmp eq ptr %54, null
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%60 = sub nsw i32 0, %59
br label %147
61: ; preds = %52
%62 = load ptr, ptr %55, align 8, !tbaa !26
%63 = tail call ptr @mite_alloc_ring(ptr noundef %62) #2
%64 = load ptr, ptr @devpriv, align 8, !tbaa !20
%65 = getelementptr inbounds i8, ptr %64, i64 16
store ptr %63, ptr %65, align 8, !tbaa !31
%66 = icmp eq ptr %63, null
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%69 = sub nsw i32 0, %68
br label %147
70: ; preds = %61
%71 = load ptr, ptr %64, align 8, !tbaa !26
%72 = tail call ptr @mite_alloc_ring(ptr noundef %71) #2
%73 = load ptr, ptr @devpriv, align 8, !tbaa !20
%74 = getelementptr inbounds i8, ptr %73, i64 8
%75 = load ptr, ptr %74, align 8, !tbaa !32
store ptr %72, ptr %75, align 8, !tbaa !20
%76 = load ptr, ptr @devpriv, align 8, !tbaa !20
%77 = getelementptr inbounds i8, ptr %76, i64 8
%78 = load ptr, ptr %77, align 8, !tbaa !32
%79 = load ptr, ptr %78, align 8, !tbaa !20
%80 = icmp eq ptr %79, null
br i1 %80, label %81, label %84
81: ; preds = %70
%82 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%83 = sub nsw i32 0, %82
br label %147
84: ; preds = %70
%85 = load ptr, ptr %76, align 8, !tbaa !26
%86 = tail call ptr @mite_alloc_ring(ptr noundef %85) #2
%87 = load ptr, ptr @devpriv, align 8, !tbaa !20
%88 = getelementptr inbounds i8, ptr %87, i64 8
%89 = load ptr, ptr %88, align 8, !tbaa !32
%90 = getelementptr inbounds i8, ptr %89, i64 8
store ptr %86, ptr %90, align 8, !tbaa !20
%91 = load ptr, ptr %88, align 8, !tbaa !32
%92 = getelementptr inbounds i8, ptr %91, i64 8
%93 = load ptr, ptr %92, align 8, !tbaa !20
%94 = icmp eq ptr %93, null
br i1 %94, label %95, label %98
95: ; preds = %84
%96 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%97 = sub nsw i32 0, %96
br label %147
98: ; preds = %84
%99 = load i32, ptr @boardtype, align 4, !tbaa !19
%100 = load i32, ptr @ni_reg_m_series_mask, align 4, !tbaa !15
%101 = and i32 %100, %99
%102 = icmp eq i32 %101, 0
br i1 %102, label %106, label %103
103: ; preds = %98
%104 = tail call i32 @m_series_init_eeprom_buffer(ptr noundef nonnull %0) #2
%105 = load i32, ptr @boardtype, align 4, !tbaa !19
br label %106
106: ; preds = %103, %98
%107 = phi i32 [ %105, %103 ], [ %99, %98 ]
%108 = load i32, ptr @ni_reg_6143, align 4, !tbaa !15
%109 = icmp eq i32 %107, %108
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = tail call i32 @init_6143(ptr noundef nonnull %0) #2
br label %112
112: ; preds = %110, %106
%113 = load ptr, ptr @devpriv, align 8, !tbaa !20
%114 = load ptr, ptr %113, align 8, !tbaa !26
%115 = tail call i64 @mite_irq(ptr noundef %114) #2
store i64 %115, ptr %0, align 8, !tbaa !33
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %119
117: ; preds = %112
%118 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.3) #2
br label %129
119: ; preds = %112
%120 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i64 noundef %115) #2
%121 = load i64, ptr %0, align 8, !tbaa !33
%122 = load i32, ptr @ni_E_interrupt, align 4, !tbaa !15
%123 = load i32, ptr @NI_E_IRQ_FLAGS, align 4, !tbaa !15
%124 = load i32, ptr @DRV_NAME, align 4, !tbaa !15
%125 = tail call i32 @request_irq(i64 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124, ptr noundef nonnull %0) #2
%126 = icmp slt i32 %125, 0
br i1 %126, label %127, label %129
127: ; preds = %119
%128 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.5) #2
store i64 0, ptr %0, align 8, !tbaa !33
br label %129
129: ; preds = %119, %127, %117
%130 = tail call i32 @ni_E_init(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%131 = icmp slt i32 %130, 0
br i1 %131, label %147, label %132
132: ; preds = %129
%133 = getelementptr inbounds i8, ptr %0, i64 8
%134 = load ptr, ptr %133, align 8, !tbaa !34
%135 = load i64, ptr @NI_AI_SUBDEV, align 8, !tbaa !35
%136 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %135
store ptr @pcimio_ai_change, ptr %136, align 8, !tbaa !36
%137 = load i64, ptr @NI_AO_SUBDEV, align 8, !tbaa !35
%138 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %137
store ptr @pcimio_ao_change, ptr %138, align 8, !tbaa !36
%139 = tail call i64 @NI_GPCT_SUBDEV(i32 noundef 0) #2
%140 = getelementptr inbounds %struct.TYPE_9__, ptr %134, i64 %139
store ptr @pcimio_gpct0_change, ptr %140, align 8, !tbaa !36
%141 = load ptr, ptr %133, align 8, !tbaa !34
%142 = tail call i64 @NI_GPCT_SUBDEV(i32 noundef 1) #2
%143 = getelementptr inbounds %struct.TYPE_9__, ptr %141, i64 %142
store ptr @pcimio_gpct1_change, ptr %143, align 8, !tbaa !36
%144 = load ptr, ptr %133, align 8, !tbaa !34
%145 = load i64, ptr @NI_DIO_SUBDEV, align 8, !tbaa !35
%146 = getelementptr inbounds %struct.TYPE_9__, ptr %144, i64 %145
store ptr @pcimio_dio_change, ptr %146, align 8, !tbaa !36
br label %147
147: ; preds = %129, %8, %2, %132, %95, %81, %67, %58, %49, %36
%148 = phi i32 [ %34, %36 ], [ %51, %49 ], [ %60, %58 ], [ %69, %67 ], [ %83, %81 ], [ %97, %95 ], [ %130, %132 ], [ %6, %2 ], [ %13, %8 ], [ %130, %129 ]
ret i32 %148
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
declare i32 @ni_alloc_private(ptr noundef) local_unnamed_addr #1
declare i32 @pcimio_find_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mite_setup(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_set_hw_dev(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @mite_alloc_ring(ptr noundef) local_unnamed_addr #1
declare i32 @m_series_init_eeprom_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @init_6143(ptr noundef) local_unnamed_addr #1
declare i64 @mite_irq(ptr noundef) local_unnamed_addr #1
declare i32 @request_irq(i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_E_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @NI_GPCT_SUBDEV(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 20}
!7 = !{!"comedi_device", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"comedi_devconfig", !11, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 4}
!17 = !{!"TYPE_12__", !12, i64 0, !12, i64 4}
!18 = !{!7, !12, i64 16}
!19 = !{!17, !12, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!22, !11, i64 64}
!22 = !{!"TYPE_11__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!23 = !{!22, !11, i64 56}
!24 = !{!22, !11, i64 48}
!25 = !{!22, !11, i64 40}
!26 = !{!22, !11, i64 0}
!27 = !{!28, !11, i64 0}
!28 = !{!"TYPE_10__", !11, i64 0}
!29 = !{!22, !11, i64 32}
!30 = !{!22, !11, i64 24}
!31 = !{!22, !11, i64 16}
!32 = !{!22, !11, i64 8}
!33 = !{!7, !8, i64 0}
!34 = !{!7, !11, i64 8}
!35 = !{!8, !8, i64 0}
!36 = !{!37, !11, i64 0}
!37 = !{!"TYPE_9__", !11, i64 0}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_ni_pcimio.c_pcimio_attach |
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_data.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
@.str = private unnamed_addr constant [6 x i8] c"trunc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"100%\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@VISITORS = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"date\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"string\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"unique\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Total\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"numeric\00", align 1
@MTRC_DATA_LBL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_def_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_def_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
store ptr @.str, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
store ptr @.str.1, ptr %5, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 2
store ptr @.str.2, ptr %6, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 3
%8 = load i32, ptr @VISITORS, align 4, !tbaa !13
%9 = icmp eq i32 %8, %1
%10 = select i1 %9, ptr @.str.3, ptr @.str.4
store ptr %10, ptr %7, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 4
store ptr @.str.5, ptr %11, align 8, !tbaa !15
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 5
store ptr @.str.6, ptr %12, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 6
store ptr @.str.7, ptr %13, align 8, !tbaa !17
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 7
%15 = load i32, ptr @MTRC_DATA_LBL, align 4, !tbaa !13
store i32 %15, ptr %14, align 8, !tbaa !18
%16 = tail call i32 @print_def_block(ptr noundef %0, ptr noundef nonnull byval(%struct.TYPE_3__) align 8 %4, i32 noundef %2, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @print_def_block(ptr noundef, ptr noundef byval(%struct.TYPE_3__) align 8, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 32}
!16 = !{!6, !7, i64 40}
!17 = !{!6, !7, i64 48}
!18 = !{!6, !10, i64 56}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_data.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_data.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 { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
@.str = private unnamed_addr constant [6 x i8] c"trunc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"100%\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@VISITORS = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"date\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"string\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"unique\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Total\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"numeric\00", align 1
@MTRC_DATA_LBL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @print_def_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_def_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_3__, align 8
%5 = load i32, ptr @VISITORS, align 4, !tbaa !6
%6 = icmp eq i32 %5, %1
%7 = select i1 %6, ptr @.str.3, ptr @.str.4
%8 = load i32, ptr @MTRC_DATA_LBL, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
store ptr @.str, ptr %4, align 8, !tbaa !10
%9 = getelementptr inbounds i8, ptr %4, i64 8
store ptr @.str.1, ptr %9, align 8, !tbaa !10
%10 = getelementptr inbounds i8, ptr %4, i64 16
store ptr @.str.2, ptr %10, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %4, i64 24
store ptr %7, ptr %11, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %4, i64 32
store ptr @.str.5, ptr %12, align 8, !tbaa !10
%13 = getelementptr inbounds i8, ptr %4, i64 40
store ptr @.str.6, ptr %13, align 8, !tbaa !10
%14 = getelementptr inbounds i8, ptr %4, i64 48
store ptr @.str.7, ptr %14, align 8, !tbaa !10
%15 = getelementptr inbounds i8, ptr %4, i64 56
store i32 %8, ptr %15, align 8, !tbaa !6
%16 = call i32 @print_def_block(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %2, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @print_def_block(ptr noundef, 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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| goaccess_src_extr_output.c_print_def_data |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_hab_send_request.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_hab_send_request.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_7__, i64, i32, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32, i32 }
%struct.TYPE_6__ = type { i64 }
@.str = private unnamed_addr constant [39 x i8] c"HAB is running already - clearing it.\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"waiting for HAB to complete\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"send_request execution timed out.\0A\00", align 1
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcm3510_hab_send_request], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcm3510_hab_send_request(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_8__, align 8
%5 = alloca %struct.TYPE_8__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
%6 = call i32 @bcm3510_readB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %4) #3
%7 = icmp slt i32 %6, 0
br i1 %7, label %58, label %8
8: ; preds = %3
%9 = load i32, ptr %4, align 8, !tbaa !5
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = call i32 @deb_info(ptr noundef nonnull @.str) #3
store i32 0, ptr %4, align 8, !tbaa !5
%13 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull byval(%struct.TYPE_8__) align 8 %4) #3
br label %14
14: ; preds = %11, %8
%15 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 3
store i64 0, ptr %15, align 8, !tbaa !13
%16 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 166, ptr noundef nonnull byval(%struct.TYPE_8__) align 8 %5) #3
%17 = icmp slt i32 %16, 0
br i1 %17, label %58, label %18
18: ; preds = %14
%19 = icmp sgt i32 %2, 0
br i1 %19, label %20, label %32
20: ; preds = %18
%21 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 2
%22 = zext nneg i32 %2 to i64
br label %26
23: ; preds = %26
%24 = add nuw nsw i64 %27, 1
%25 = icmp eq i64 %24, %22
br i1 %25, label %32, label %26, !llvm.loop !14
26: ; preds = %20, %23
%27 = phi i64 [ 0, %20 ], [ %24, %23 ]
%28 = getelementptr inbounds i32, ptr %1, i64 %27
%29 = load i32, ptr %28, align 4, !tbaa !16
store i32 %29, ptr %21, align 8, !tbaa !17
%30 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 167, ptr noundef nonnull byval(%struct.TYPE_8__) align 8 %5) #3
%31 = icmp slt i32 %30, 0
br i1 %31, label %58, label %23
32: ; preds = %23, %18
%33 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
store i64 0, ptr %33, align 8, !tbaa !18
store i32 1, ptr %4, align 8, !tbaa !5
%34 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
store i32 1, ptr %34, align 4, !tbaa !19
%35 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull byval(%struct.TYPE_8__) align 8 %4) #3
%36 = icmp slt i32 %35, 0
br i1 %36, label %58, label %37
37: ; preds = %32
%38 = load i32, ptr @jiffies, align 4, !tbaa !16
%39 = load i32, ptr @HZ, align 4, !tbaa !16
%40 = add nsw i32 %39, %38
%41 = sext i32 %40 to i64
br label %42
42: ; preds = %51, %37
%43 = load i32, ptr @jiffies, align 4, !tbaa !16
%44 = call i64 @time_before(i32 noundef %43, i64 noundef %41) #3
%45 = icmp eq i64 %44, 0
br i1 %45, label %54, label %46
46: ; preds = %42
%47 = call i32 @deb_info(ptr noundef nonnull @.str.1) #3
%48 = call i32 @msleep(i32 noundef 10) #3
%49 = call i32 @bcm3510_readB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %4) #3
%50 = icmp slt i32 %49, 0
br i1 %50, label %58, label %51
51: ; preds = %46
%52 = load i32, ptr %4, align 8, !tbaa !5
%53 = icmp eq i32 %52, 0
br i1 %53, label %58, label %42, !llvm.loop !20
54: ; preds = %42
%55 = call i32 @deb_info(ptr noundef nonnull @.str.2) #3
%56 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !16
%57 = sub nsw i32 0, %56
br label %58
58: ; preds = %26, %51, %46, %32, %14, %3, %54
%59 = phi i32 [ %57, %54 ], [ %6, %3 ], [ %16, %14 ], [ %35, %32 ], [ 0, %51 ], [ %49, %46 ], [ %30, %26 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcm3510_readB(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @deb_info(ptr noundef) local_unnamed_addr #2
declare i32 @bcm3510_writeB(ptr noundef, i32 noundef, ptr noundef byval(%struct.TYPE_8__) align 8) local_unnamed_addr #2
declare i64 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0, !11, i64 8, !8, i64 16, !12, i64 24}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_6__", !11, i64 0}
!13 = !{!6, !11, i64 24}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!8, !8, i64 0}
!17 = !{!6, !8, i64 16}
!18 = !{!6, !11, i64 8}
!19 = !{!6, !8, i64 4}
!20 = distinct !{!20, !15}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_hab_send_request.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_hab_send_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { %struct.TYPE_7__, i64, i32, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32, i32 }
%struct.TYPE_6__ = type { i64 }
@.str = private unnamed_addr constant [39 x i8] c"HAB is running already - clearing it.\0A\00", align 1
@jiffies = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"waiting for HAB to complete\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"send_request execution timed out.\0A\00", align 1
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bcm3510_hab_send_request], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcm3510_hab_send_request(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_8__, align 8
%5 = alloca %struct.TYPE_8__, align 8
%6 = alloca %struct.TYPE_8__, align 8
%7 = alloca %struct.TYPE_8__, align 8
%8 = alloca %struct.TYPE_8__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
%9 = call i32 @bcm3510_readB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %4) #4
%10 = icmp slt i32 %9, 0
br i1 %10, label %61, label %11
11: ; preds = %3
%12 = load i32, ptr %4, align 8, !tbaa !6
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = call i32 @deb_info(ptr noundef nonnull @.str) #4
store i32 0, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 32, i1 false), !tbaa.struct !14
%16 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
br label %17
17: ; preds = %14, %11
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4
%18 = getelementptr inbounds i8, ptr %6, i64 24
store i64 0, ptr %18, align 8, !tbaa !16
%19 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 166, ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
%20 = icmp slt i32 %19, 0
br i1 %20, label %61, label %21
21: ; preds = %17
%22 = icmp sgt i32 %2, 0
br i1 %22, label %23, label %36
23: ; preds = %21
%24 = getelementptr inbounds i8, ptr %7, i64 16
%25 = getelementptr inbounds i8, ptr %7, i64 24
%26 = zext nneg i32 %2 to i64
br label %30
27: ; preds = %30
%28 = add nuw nsw i64 %31, 1
%29 = icmp eq i64 %28, %26
br i1 %29, label %36, label %30, !llvm.loop !17
30: ; preds = %23, %27
%31 = phi i64 [ 0, %23 ], [ %28, %27 ]
%32 = getelementptr inbounds i32, ptr %1, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !15
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
store i32 %33, ptr %24, align 8, !tbaa !15
store i64 0, ptr %25, align 8, !tbaa !16
%34 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 167, ptr noundef nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
%35 = icmp slt i32 %34, 0
br i1 %35, label %61, label %27
36: ; preds = %27, %21
%37 = getelementptr inbounds i8, ptr %4, i64 8
store i64 0, ptr %37, align 8, !tbaa !19
store <2 x i32> <i32 1, i32 1>, ptr %4, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 32, i1 false), !tbaa.struct !14
%38 = call i32 @bcm3510_writeB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
%39 = icmp slt i32 %38, 0
br i1 %39, label %61, label %40
40: ; preds = %36
%41 = load i32, ptr @jiffies, align 4, !tbaa !15
%42 = load i32, ptr @HZ, align 4, !tbaa !15
%43 = add nsw i32 %42, %41
%44 = sext i32 %43 to i64
br label %45
45: ; preds = %54, %40
%46 = load i32, ptr @jiffies, align 4, !tbaa !15
%47 = call i64 @time_before(i32 noundef %46, i64 noundef %44) #4
%48 = icmp eq i64 %47, 0
br i1 %48, label %57, label %49
49: ; preds = %45
%50 = call i32 @deb_info(ptr noundef nonnull @.str.1) #4
%51 = call i32 @msleep(i32 noundef 10) #4
%52 = call i32 @bcm3510_readB(ptr noundef %0, i32 noundef 168, ptr noundef nonnull %4) #4
%53 = icmp slt i32 %52, 0
br i1 %53, label %61, label %54
54: ; preds = %49
%55 = load i32, ptr %4, align 8, !tbaa !6
%56 = icmp eq i32 %55, 0
br i1 %56, label %61, label %45, !llvm.loop !20
57: ; preds = %45
%58 = call i32 @deb_info(ptr noundef nonnull @.str.2) #4
%59 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !15
%60 = sub nsw i32 0, %59
br label %61
61: ; preds = %30, %54, %49, %36, %17, %3, %57
%62 = phi i32 [ %60, %57 ], [ %9, %3 ], [ %19, %17 ], [ %38, %36 ], [ 0, %54 ], [ %52, %49 ], [ %34, %30 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcm3510_readB(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @deb_info(ptr noundef) local_unnamed_addr #2
declare i32 @bcm3510_writeB(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0, !12, i64 8, !9, i64 16, !13, i64 24}
!8 = !{!"TYPE_7__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"TYPE_6__", !12, i64 0}
!14 = !{i64 0, i64 4, !15, i64 4, i64 4, !15, i64 8, i64 8, !16, i64 16, i64 4, !15, i64 24, i64 8, !16}
!15 = !{!9, !9, i64 0}
!16 = !{!12, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !12, i64 8}
!20 = distinct !{!20, !18}
| fastsocket_kernel_drivers_media_dvb_frontends_extr_bcm3510.c_bcm3510_hab_send_request |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_optabs.c_emit_indirect_jump.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_optabs.c_emit_indirect_jump.c"
target datalayout = "e-m:e-p270:32:32-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 }
@insn_data = dso_local local_unnamed_addr global ptr null, align 8
@CODE_FOR_indirect_jump = dso_local local_unnamed_addr global i64 0, align 8
@Pmode = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @emit_indirect_jump(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @insn_data, align 8, !tbaa !5
%3 = load i64, ptr @CODE_FOR_indirect_jump, align 8, !tbaa !9
%4 = shl i64 %3, 32
%5 = ashr exact i64 %4, 32
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr @Pmode, align 4, !tbaa !15
%10 = tail call i32 %8(i32 noundef %0, i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @Pmode, align 4, !tbaa !15
%14 = tail call i32 @copy_to_mode_reg(i32 noundef %13, i32 noundef %0) #2
br label %15
15: ; preds = %12, %1
%16 = phi i32 [ %0, %1 ], [ %14, %12 ]
%17 = tail call i32 @gen_indirect_jump(i32 noundef %16) #2
%18 = tail call i32 @emit_jump_insn(i32 noundef %17) #2
%19 = tail call i32 (...) @emit_barrier() #2
ret void
}
declare i32 @copy_to_mode_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_jump_insn(i32 noundef) local_unnamed_addr #1
declare i32 @gen_indirect_jump(i32 noundef) local_unnamed_addr #1
declare i32 @emit_barrier(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_4__", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_3__", !6, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_optabs.c_emit_indirect_jump.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_optabs.c_emit_indirect_jump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@insn_data = common local_unnamed_addr global ptr null, align 8
@CODE_FOR_indirect_jump = common local_unnamed_addr global i64 0, align 8
@Pmode = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @emit_indirect_jump(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @insn_data, align 8, !tbaa !6
%3 = load i64, ptr @CODE_FOR_indirect_jump, align 8, !tbaa !10
%4 = shl i64 %3, 32
%5 = ashr exact i64 %4, 29
%6 = getelementptr inbounds i8, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load i32, ptr @Pmode, align 4, !tbaa !16
%10 = tail call i32 %8(i32 noundef %0, i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @Pmode, align 4, !tbaa !16
%14 = tail call i32 @copy_to_mode_reg(i32 noundef %13, i32 noundef %0) #2
br label %15
15: ; preds = %12, %1
%16 = phi i32 [ %0, %1 ], [ %14, %12 ]
%17 = tail call i32 @gen_indirect_jump(i32 noundef %16) #2
%18 = tail call i32 @emit_jump_insn(i32 noundef %17) #2
%19 = tail call i32 @emit_barrier() #2
ret void
}
declare i32 @copy_to_mode_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_jump_insn(i32 noundef) local_unnamed_addr #1
declare i32 @gen_indirect_jump(i32 noundef) local_unnamed_addr #1
declare i32 @emit_barrier(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
| freebsd_contrib_gcc_extr_optabs.c_emit_indirect_jump |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_sge.c_write_tx_desc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_sge.c_write_tx_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cmdQ_e = type { i32, i32, i32, i64 }
@SGE_TX_DESC_MAX_PLEN = dso_local local_unnamed_addr global i32 0, align 4
@F_CMD_DATAVALID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_tx_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @write_tx_desc(ptr nocapture noundef writeonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @SGE_TX_DESC_MAX_PLEN, align 4, !tbaa !5
%7 = icmp ult i32 %6, %2
%8 = zext i1 %7 to i32
%9 = tail call i32 @BUG_ON(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.cmdQ_e, ptr %0, i64 0, i32 3
store i64 %1, ptr %10, align 8, !tbaa !9
%11 = tail call i32 @V_CMD_LEN(i32 noundef %2) #2
%12 = tail call i32 @V_CMD_GEN1(i32 noundef %3) #2
%13 = or i32 %12, %11
%14 = getelementptr inbounds %struct.cmdQ_e, ptr %0, i64 0, i32 1
store i32 %13, ptr %14, align 4, !tbaa !12
%15 = load i32, ptr @F_CMD_DATAVALID, align 4, !tbaa !5
%16 = tail call i32 @V_CMD_EOP(i32 noundef %4) #2
%17 = or i32 %16, %15
%18 = tail call i32 @V_CMD_GEN2(i32 noundef %3) #2
%19 = or i32 %17, %18
%20 = getelementptr inbounds %struct.cmdQ_e, ptr %0, i64 0, i32 2
store i32 %19, ptr %20, align 8, !tbaa !13
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_LEN(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_GEN1(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_EOP(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_GEN2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"cmdQ_e", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_sge.c_write_tx_desc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_sge.c_write_tx_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SGE_TX_DESC_MAX_PLEN = common local_unnamed_addr global i32 0, align 4
@F_CMD_DATAVALID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @write_tx_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @write_tx_desc(ptr nocapture noundef writeonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @SGE_TX_DESC_MAX_PLEN, align 4, !tbaa !6
%7 = icmp ult i32 %6, %2
%8 = zext i1 %7 to i32
%9 = tail call i32 @BUG_ON(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %1, ptr %10, align 8, !tbaa !10
%11 = tail call i32 @V_CMD_LEN(i32 noundef %2) #2
%12 = tail call i32 @V_CMD_GEN1(i32 noundef %3) #2
%13 = or i32 %12, %11
%14 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %13, ptr %14, align 4, !tbaa !13
%15 = load i32, ptr @F_CMD_DATAVALID, align 4, !tbaa !6
%16 = tail call i32 @V_CMD_EOP(i32 noundef %4) #2
%17 = or i32 %16, %15
%18 = tail call i32 @V_CMD_GEN2(i32 noundef %3) #2
%19 = or i32 %17, %18
%20 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %19, ptr %20, align 8, !tbaa !14
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_LEN(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_GEN1(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_EOP(i32 noundef) local_unnamed_addr #1
declare i32 @V_CMD_GEN2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"cmdQ_e", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 8}
| fastsocket_kernel_drivers_net_chelsio_extr_sge.c_write_tx_desc |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_tls.c_mlx5_fpga_tls_set_aes_gcm128_ctx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_tls.c_mlx5_fpga_tls_set_aes_gcm128_ctx.c"
target datalayout = "e-m:e-p270:32:32-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.tls12_crypto_info_aes_gcm_128 = type { i32, i32, i32 }
@tls_cmd = dso_local local_unnamed_addr global i32 0, align 4
@tls_rcd_sn = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@tls_implicit_iv = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_SALT_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@encryption_key = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_KEY_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@alg = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_TLS_ALG_AES_GCM_128 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_fpga_tls_set_aes_gcm128_ctx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx5_fpga_tls_set_aes_gcm128_ctx(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @tls_cmd, align 4, !tbaa !5
%5 = load i32, ptr @tls_rcd_sn, align 4, !tbaa !5
%6 = tail call i64 @MLX5_ADDR_OF(i32 noundef %4, ptr noundef %0, i32 noundef %5) #2
%7 = getelementptr inbounds %struct.tls12_crypto_info_aes_gcm_128, ptr %1, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = load i64, ptr @TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE, align 8, !tbaa !11
%10 = tail call i32 @memcpy(i64 noundef %6, i32 noundef %8, i64 noundef %9) #2
%11 = load i32, ptr @tls_cmd, align 4, !tbaa !5
%12 = load i32, ptr @tls_implicit_iv, align 4, !tbaa !5
%13 = tail call i64 @MLX5_ADDR_OF(i32 noundef %11, ptr noundef %0, i32 noundef %12) #2
%14 = getelementptr inbounds %struct.tls12_crypto_info_aes_gcm_128, ptr %1, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = load i64, ptr @TLS_CIPHER_AES_GCM_128_SALT_SIZE, align 8, !tbaa !11
%17 = tail call i32 @memcpy(i64 noundef %13, i32 noundef %15, i64 noundef %16) #2
%18 = load i32, ptr @tls_cmd, align 4, !tbaa !5
%19 = load i32, ptr @encryption_key, align 4, !tbaa !5
%20 = tail call i64 @MLX5_ADDR_OF(i32 noundef %18, ptr noundef %0, i32 noundef %19) #2
%21 = load i32, ptr %1, align 4, !tbaa !14
%22 = load i64, ptr @TLS_CIPHER_AES_GCM_128_KEY_SIZE, align 8, !tbaa !11
%23 = tail call i32 @memcpy(i64 noundef %20, i32 noundef %21, i64 noundef %22) #2
%24 = load i32, ptr @tls_cmd, align 4, !tbaa !5
%25 = load i32, ptr @encryption_key, align 4, !tbaa !5
%26 = tail call i64 @MLX5_ADDR_OF(i32 noundef %24, ptr noundef %0, i32 noundef %25) #2
%27 = load i64, ptr @TLS_CIPHER_AES_GCM_128_KEY_SIZE, align 8, !tbaa !11
%28 = add nsw i64 %27, %26
%29 = load i32, ptr %1, align 4, !tbaa !14
%30 = tail call i32 @memcpy(i64 noundef %28, i32 noundef %29, i64 noundef %27) #2
%31 = load i32, ptr @tls_cmd, align 4, !tbaa !5
%32 = load i32, ptr @alg, align 4, !tbaa !5
%33 = load i32, ptr @MLX5_TLS_ALG_AES_GCM_128, align 4, !tbaa !5
%34 = tail call i32 @MLX5_SET(i32 noundef %31, ptr noundef %0, i32 noundef %32, i32 noundef %33) #2
ret void
}
declare i32 @memcpy(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"tls12_crypto_info_aes_gcm_128", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_tls.c_mlx5_fpga_tls_set_aes_gcm128_ctx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_tls.c_mlx5_fpga_tls_set_aes_gcm128_ctx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tls_cmd = common local_unnamed_addr global i32 0, align 4
@tls_rcd_sn = common local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE = common local_unnamed_addr global i64 0, align 8
@tls_implicit_iv = common local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_SALT_SIZE = common local_unnamed_addr global i64 0, align 8
@encryption_key = common local_unnamed_addr global i32 0, align 4
@TLS_CIPHER_AES_GCM_128_KEY_SIZE = common local_unnamed_addr global i64 0, align 8
@alg = common local_unnamed_addr global i32 0, align 4
@MLX5_TLS_ALG_AES_GCM_128 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5_fpga_tls_set_aes_gcm128_ctx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx5_fpga_tls_set_aes_gcm128_ctx(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @tls_cmd, align 4, !tbaa !6
%5 = load i32, ptr @tls_rcd_sn, align 4, !tbaa !6
%6 = tail call i64 @MLX5_ADDR_OF(i32 noundef %4, ptr noundef %0, i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = load i64, ptr @TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE, align 8, !tbaa !12
%10 = tail call i32 @memcpy(i64 noundef %6, i32 noundef %8, i64 noundef %9) #2
%11 = load i32, ptr @tls_cmd, align 4, !tbaa !6
%12 = load i32, ptr @tls_implicit_iv, align 4, !tbaa !6
%13 = tail call i64 @MLX5_ADDR_OF(i32 noundef %11, ptr noundef %0, i32 noundef %12) #2
%14 = getelementptr inbounds i8, ptr %1, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = load i64, ptr @TLS_CIPHER_AES_GCM_128_SALT_SIZE, align 8, !tbaa !12
%17 = tail call i32 @memcpy(i64 noundef %13, i32 noundef %15, i64 noundef %16) #2
%18 = load i32, ptr @tls_cmd, align 4, !tbaa !6
%19 = load i32, ptr @encryption_key, align 4, !tbaa !6
%20 = tail call i64 @MLX5_ADDR_OF(i32 noundef %18, ptr noundef %0, i32 noundef %19) #2
%21 = load i32, ptr %1, align 4, !tbaa !15
%22 = load i64, ptr @TLS_CIPHER_AES_GCM_128_KEY_SIZE, align 8, !tbaa !12
%23 = tail call i32 @memcpy(i64 noundef %20, i32 noundef %21, i64 noundef %22) #2
%24 = load i32, ptr @tls_cmd, align 4, !tbaa !6
%25 = load i32, ptr @encryption_key, align 4, !tbaa !6
%26 = tail call i64 @MLX5_ADDR_OF(i32 noundef %24, ptr noundef %0, i32 noundef %25) #2
%27 = load i64, ptr @TLS_CIPHER_AES_GCM_128_KEY_SIZE, align 8, !tbaa !12
%28 = add nsw i64 %27, %26
%29 = load i32, ptr %1, align 4, !tbaa !15
%30 = tail call i32 @memcpy(i64 noundef %28, i32 noundef %29, i64 noundef %27) #2
%31 = load i32, ptr @tls_cmd, align 4, !tbaa !6
%32 = load i32, ptr @alg, align 4, !tbaa !6
%33 = load i32, ptr @MLX5_TLS_ALG_AES_GCM_128, align 4, !tbaa !6
%34 = tail call i32 @MLX5_SET(i32 noundef %31, ptr noundef %0, i32 noundef %32, i32 noundef %33) #2
ret void
}
declare i32 @memcpy(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"tls12_crypto_info_aes_gcm_128", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 0}
| linux_drivers_net_ethernet_mellanox_mlx5_core_fpga_extr_tls.c_mlx5_fpga_tls_set_aes_gcm128_ctx |
; ModuleID = 'AnghaBench/sqlcipher/src/extr_pcache.c_sqlite3HeaderSizePcache.c'
source_filename = "AnghaBench/sqlcipher/src/extr_pcache.c_sqlite3HeaderSizePcache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3HeaderSizePcache() local_unnamed_addr #0 {
%1 = tail call i32 @ROUND8(i32 noundef 4) #2
ret i32 %1
}
declare i32 @ROUND8(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/sqlcipher/src/extr_pcache.c_sqlite3HeaderSizePcache.c'
source_filename = "AnghaBench/sqlcipher/src/extr_pcache.c_sqlite3HeaderSizePcache.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 @sqlite3HeaderSizePcache() local_unnamed_addr #0 {
%1 = tail call i32 @ROUND8(i32 noundef 4) #2
ret i32 %1
}
declare i32 @ROUND8(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)"}
| sqlcipher_src_extr_pcache.c_sqlite3HeaderSizePcache |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_scan.c_orinoco_add_extscan_result.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_scan.c_orinoco_add_extscan_result.c"
target datalayout = "e-m:e-p270:32:32-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.agere_ext_scan_info = type { ptr, i32, i32, i32, i32, i32 }
@WLAN_EID_DS_PARAMS = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @orinoco_add_extscan_result(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @priv_to_wiphy(ptr noundef %0) #2
%5 = add i64 %2, -32
%6 = load i32, ptr @WLAN_EID_DS_PARAMS, align 4, !tbaa !5
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = tail call ptr @cfg80211_find_ie(i32 noundef %6, ptr noundef %7, i64 noundef %5) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = getelementptr inbounds i32, ptr %8, i64 2
%12 = load i32, ptr %11, align 4, !tbaa !5
br label %13
13: ; preds = %3, %10
%14 = phi i32 [ %12, %10 ], [ 0, %3 ]
%15 = tail call i32 @ieee80211_dsss_chan_to_freq(i32 noundef %14) #2
%16 = tail call ptr @ieee80211_get_channel(ptr noundef %4, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.agere_ext_scan_info, ptr %1, i64 0, i32 5
%18 = load i32, ptr %17, align 8, !tbaa !12
%19 = tail call i32 @le64_to_cpu(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.agere_ext_scan_info, ptr %1, i64 0, i32 4
%21 = load i32, ptr %20, align 4, !tbaa !13
%22 = tail call i32 @le16_to_cpu(i32 noundef %21) #2
%23 = getelementptr inbounds %struct.agere_ext_scan_info, ptr %1, i64 0, i32 3
%24 = load i32, ptr %23, align 8, !tbaa !14
%25 = tail call i32 @le16_to_cpu(i32 noundef %24) #2
%26 = load ptr, ptr %1, align 8, !tbaa !9
%27 = getelementptr inbounds %struct.agere_ext_scan_info, ptr %1, i64 0, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = tail call i32 @SIGNAL_TO_MBM(i32 noundef %28) #2
%30 = getelementptr inbounds %struct.agere_ext_scan_info, ptr %1, i64 0, i32 1
%31 = load i32, ptr %30, align 8, !tbaa !16
%32 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%33 = tail call ptr @cfg80211_inform_bss(ptr noundef %4, ptr noundef %16, i32 noundef %31, i32 noundef %19, i32 noundef %22, i32 noundef %25, ptr noundef %26, i64 noundef %5, i32 noundef %29, i32 noundef %32) #2
%34 = tail call i32 @cfg80211_put_bss(ptr noundef %4, ptr noundef %33) #2
ret void
}
declare ptr @priv_to_wiphy(ptr noundef) local_unnamed_addr #1
declare ptr @cfg80211_find_ie(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ieee80211_dsss_chan_to_freq(i32 noundef) local_unnamed_addr #1
declare ptr @ieee80211_get_channel(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @SIGNAL_TO_MBM(i32 noundef) local_unnamed_addr #1
declare ptr @cfg80211_inform_bss(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cfg80211_put_bss(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 = !{!"agere_ext_scan_info", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !6, i64 20}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 12}
!16 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_scan.c_orinoco_add_extscan_result.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_scan.c_orinoco_add_extscan_result.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WLAN_EID_DS_PARAMS = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @orinoco_add_extscan_result(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @priv_to_wiphy(ptr noundef %0) #2
%5 = add i64 %2, -32
%6 = load i32, ptr @WLAN_EID_DS_PARAMS, align 4, !tbaa !6
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = tail call ptr @cfg80211_find_ie(i32 noundef %6, ptr noundef %7, i64 noundef %5) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %8, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !6
br label %13
13: ; preds = %3, %10
%14 = phi i32 [ %12, %10 ], [ 0, %3 ]
%15 = tail call i32 @ieee80211_dsss_chan_to_freq(i32 noundef %14) #2
%16 = tail call ptr @ieee80211_get_channel(ptr noundef %4, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %1, i64 24
%18 = load i32, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @le64_to_cpu(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %1, i64 20
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = tail call i32 @le16_to_cpu(i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %1, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !15
%25 = tail call i32 @le16_to_cpu(i32 noundef %24) #2
%26 = load ptr, ptr %1, align 8, !tbaa !10
%27 = getelementptr inbounds i8, ptr %1, i64 12
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @SIGNAL_TO_MBM(i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load i32, ptr %30, align 8, !tbaa !17
%32 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%33 = tail call ptr @cfg80211_inform_bss(ptr noundef %4, ptr noundef %16, i32 noundef %31, i32 noundef %19, i32 noundef %22, i32 noundef %25, ptr noundef %26, i64 noundef %5, i32 noundef %29, i32 noundef %32) #2
%34 = tail call i32 @cfg80211_put_bss(ptr noundef %4, ptr noundef %33) #2
ret void
}
declare ptr @priv_to_wiphy(ptr noundef) local_unnamed_addr #1
declare ptr @cfg80211_find_ie(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ieee80211_dsss_chan_to_freq(i32 noundef) local_unnamed_addr #1
declare ptr @ieee80211_get_channel(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @SIGNAL_TO_MBM(i32 noundef) local_unnamed_addr #1
declare ptr @cfg80211_inform_bss(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cfg80211_put_bss(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 = !{!"agere_ext_scan_info", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 24}
!14 = !{!11, !7, i64 20}
!15 = !{!11, !7, i64 16}
!16 = !{!11, !7, i64 12}
!17 = !{!11, !7, i64 8}
| fastsocket_kernel_drivers_net_wireless_orinoco_extr_scan.c_orinoco_add_extscan_result |
; ModuleID = 'AnghaBench/vim.js/src/extr_gui_gtk.c_gui_mch_destroy_menu.c'
source_filename = "AnghaBench/vim.js/src/extr_gui_gtk.c_gui_mch_destroy_menu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, ptr }
%struct.TYPE_7__ = type { ptr, ptr, i32, ptr }
@gui = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local void @gui_mch_destroy_menu(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %19, label %4
4: ; preds = %1
%5 = tail call i32 @g_object_ref(ptr noundef nonnull %2) #3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = icmp ne ptr %6, null
%8 = load ptr, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @gui, i64 0, i32 1), align 8
%9 = icmp ne ptr %8, null
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = tail call ptr @gtk_widget_get_parent(ptr noundef nonnull %6) #3
%13 = load ptr, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @gui, i64 0, i32 1), align 8, !tbaa !11
%14 = icmp eq ptr %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = tail call i32 @GTK_CONTAINER(ptr noundef %12) #3
%17 = load ptr, ptr %0, align 8, !tbaa !5
%18 = tail call i32 @gtk_container_remove(i32 noundef %16, ptr noundef %17) #3
br label %19
19: ; preds = %1, %15, %11, %4
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !13
%22 = icmp eq ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = tail call i32 @gtk_widget_destroy(ptr noundef nonnull %21) #3
br label %25
25: ; preds = %23, %19
%26 = load ptr, ptr %0, align 8, !tbaa !5
%27 = icmp eq ptr %26, null
br i1 %27, label %34, label %28
28: ; preds = %25
%29 = tail call i32 @gtk_widget_destroy(ptr noundef nonnull %26) #3
%30 = load ptr, ptr %0, align 8, !tbaa !5
%31 = icmp eq ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = tail call i32 @g_object_unref(ptr noundef nonnull %30) #3
br label %34
34: ; preds = %25, %32, %28
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @g_object_ref(ptr noundef) local_unnamed_addr #1
declare ptr @gtk_widget_get_parent(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_container_remove(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GTK_CONTAINER(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_widget_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @g_object_unref(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 0}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"TYPE_8__", !10, i64 0, !7, i64 8}
!13 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/vim.js/src/extr_gui_gtk.c_gui_mch_destroy_menu.c'
source_filename = "AnghaBench/vim.js/src/extr_gui_gtk.c_gui_mch_destroy_menu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32, ptr }
@gui = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @gui_mch_destroy_menu(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %19, label %4
4: ; preds = %1
%5 = tail call i32 @g_object_ref(ptr noundef nonnull %2) #3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = icmp ne ptr %6, null
%8 = load ptr, ptr getelementptr inbounds (i8, ptr @gui, i64 8), align 8
%9 = icmp ne ptr %8, null
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = tail call ptr @gtk_widget_get_parent(ptr noundef nonnull %6) #3
%13 = load ptr, ptr getelementptr inbounds (i8, ptr @gui, i64 8), align 8, !tbaa !12
%14 = icmp eq ptr %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = tail call i32 @GTK_CONTAINER(ptr noundef %13) #3
%17 = load ptr, ptr %0, align 8, !tbaa !6
%18 = tail call i32 @gtk_container_remove(i32 noundef %16, ptr noundef %17) #3
br label %19
19: ; preds = %1, %15, %11, %4
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !14
%22 = icmp eq ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = tail call i32 @gtk_widget_destroy(ptr noundef nonnull %21) #3
br label %25
25: ; preds = %23, %19
%26 = load ptr, ptr %0, align 8, !tbaa !6
%27 = icmp eq ptr %26, null
br i1 %27, label %34, label %28
28: ; preds = %25
%29 = tail call i32 @gtk_widget_destroy(ptr noundef nonnull %26) #3
%30 = load ptr, ptr %0, align 8, !tbaa !6
%31 = icmp eq ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = tail call i32 @g_object_unref(ptr noundef nonnull %30) #3
br label %34
34: ; preds = %25, %32, %28
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @g_object_ref(ptr noundef) local_unnamed_addr #1
declare ptr @gtk_widget_get_parent(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_container_remove(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GTK_CONTAINER(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_widget_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @g_object_unref(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 0}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"TYPE_8__", !11, i64 0, !8, i64 8}
!14 = !{!7, !8, i64 8}
| vim.js_src_extr_gui_gtk.c_gui_mch_destroy_menu |
; ModuleID = 'AnghaBench/systemd/src/hwdb/extr_hwdb.c_verb_query.c'
source_filename = "AnghaBench/systemd/src/hwdb/extr_hwdb.c_verb_query.c"
target datalayout = "e-m:e-p270:32:32-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 @verb_query], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @verb_query(i32 %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds ptr, ptr %1, i64 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @hwdb_query(ptr noundef %5) #2
ret i32 %6
}
declare i32 @hwdb_query(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/systemd/src/hwdb/extr_hwdb.c_verb_query.c'
source_filename = "AnghaBench/systemd/src/hwdb/extr_hwdb.c_verb_query.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 @verb_query], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @verb_query(i32 %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @hwdb_query(ptr noundef %5) #2
ret i32 %6
}
declare i32 @hwdb_query(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"}
| systemd_src_hwdb_extr_hwdb.c_verb_query |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_u_serial.c_userial_cleanup.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_u_serial.c_userial_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@gs_tty_driver = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @userial_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @userial_cleanup() #0 {
%1 = load ptr, ptr @gs_tty_driver, align 8, !tbaa !5
%2 = tail call i32 @tty_unregister_driver(ptr noundef %1) #2
%3 = load ptr, ptr @gs_tty_driver, align 8, !tbaa !5
%4 = tail call i32 @put_tty_driver(ptr noundef %3) #2
store ptr null, ptr @gs_tty_driver, align 8, !tbaa !5
ret void
}
declare i32 @tty_unregister_driver(ptr noundef) local_unnamed_addr #1
declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_u_serial.c_userial_cleanup.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_u_serial.c_userial_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gs_tty_driver = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @userial_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @userial_cleanup() #0 {
%1 = load ptr, ptr @gs_tty_driver, align 8, !tbaa !6
%2 = tail call i32 @tty_unregister_driver(ptr noundef %1) #2
%3 = load ptr, ptr @gs_tty_driver, align 8, !tbaa !6
%4 = tail call i32 @put_tty_driver(ptr noundef %3) #2
store ptr null, ptr @gs_tty_driver, align 8, !tbaa !6
ret void
}
declare i32 @tty_unregister_driver(ptr noundef) local_unnamed_addr #1
declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_gadget_function_extr_u_serial.c_userial_cleanup |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_crash_dump.c_nt_s390_prefix.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_crash_dump.c_nt_s390_prefix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NT_S390_PREFIX = dso_local local_unnamed_addr global i32 0, align 4
@KEXEC_CORE_NOTE_NAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nt_s390_prefix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @nt_s390_prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @NT_S390_PREFIX, align 4, !tbaa !5
%4 = load i32, ptr @KEXEC_CORE_NOTE_NAME, align 4, !tbaa !5
%5 = tail call ptr @nt_init(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef 4, i32 noundef %4) #2
ret ptr %5
}
declare ptr @nt_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_crash_dump.c_nt_s390_prefix.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_crash_dump.c_nt_s390_prefix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NT_S390_PREFIX = common local_unnamed_addr global i32 0, align 4
@KEXEC_CORE_NOTE_NAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nt_s390_prefix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @nt_s390_prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @NT_S390_PREFIX, align 4, !tbaa !6
%4 = load i32, ptr @KEXEC_CORE_NOTE_NAME, align 4, !tbaa !6
%5 = tail call ptr @nt_init(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef 4, i32 noundef %4) #2
ret ptr %5
}
declare ptr @nt_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_s390_kernel_extr_crash_dump.c_nt_s390_prefix |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_negx_32_aw.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_negx_32_aw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_X = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_negx_32_aw() local_unnamed_addr #0 {
%1 = tail call i32 (...) @EA_AW_32() #2
%2 = tail call i32 @m68ki_read_32(i32 noundef %1) #2
%3 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %2) #2
%4 = tail call i32 (...) @XFLAG_AS_1() #2
%5 = add i32 %3, %4
%6 = sub i32 0, %5
%7 = tail call i32 @NFLAG_32(i32 noundef %6) #2
store i32 %7, ptr @FLAG_N, align 4, !tbaa !5
%8 = tail call i32 @CFLAG_SUB_32(i32 noundef %2, i32 noundef 0, i32 noundef %6) #2
store i32 %8, ptr @FLAG_C, align 4, !tbaa !5
store i32 %8, ptr @FLAG_X, align 4, !tbaa !5
%9 = and i32 %2, %6
%10 = ashr i32 %9, 24
store i32 %10, ptr @FLAG_V, align 4, !tbaa !5
%11 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %6) #2
%12 = load i32, ptr @FLAG_Z, align 4, !tbaa !5
%13 = or i32 %12, %11
store i32 %13, ptr @FLAG_Z, align 4, !tbaa !5
%14 = tail call i32 @m68ki_write_32(i32 noundef %1, i32 noundef %11) #2
ret void
}
declare i32 @EA_AW_32(...) local_unnamed_addr #1
declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1
declare i32 @XFLAG_AS_1(...) local_unnamed_addr #1
declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_32(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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_negx_32_aw.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_negx_32_aw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@FLAG_X = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_negx_32_aw() local_unnamed_addr #0 {
%1 = tail call i32 @EA_AW_32() #2
%2 = tail call i32 @m68ki_read_32(i32 noundef %1) #2
%3 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %2) #2
%4 = tail call i32 @XFLAG_AS_1() #2
%5 = add i32 %3, %4
%6 = sub i32 0, %5
%7 = tail call i32 @NFLAG_32(i32 noundef %6) #2
store i32 %7, ptr @FLAG_N, align 4, !tbaa !6
%8 = tail call i32 @CFLAG_SUB_32(i32 noundef %2, i32 noundef 0, i32 noundef %6) #2
store i32 %8, ptr @FLAG_C, align 4, !tbaa !6
store i32 %8, ptr @FLAG_X, align 4, !tbaa !6
%9 = and i32 %2, %6
%10 = ashr i32 %9, 24
store i32 %10, ptr @FLAG_V, align 4, !tbaa !6
%11 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %6) #2
%12 = load i32, ptr @FLAG_Z, align 4, !tbaa !6
%13 = or i32 %12, %11
store i32 %13, ptr @FLAG_Z, align 4, !tbaa !6
%14 = tail call i32 @m68ki_write_32(i32 noundef %1, i32 noundef %11) #2
ret void
}
declare i32 @EA_AW_32(...) local_unnamed_addr #1
declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1
declare i32 @XFLAG_AS_1(...) local_unnamed_addr #1
declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_32(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"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopnz.c_m68k_op_negx_32_aw |
; ModuleID = 'AnghaBench/i3/i3-config-wizard/extr_main.c_get_string.c'
source_filename = "AnghaBench/i3/i3-config-wizard/extr_main.c_get_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_4__ = type { %struct.TYPE_3__, ptr }
%struct.TYPE_3__ = type { ptr }
@stack = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_string(ptr noundef %0) #0 {
%2 = load ptr, ptr @stack, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %86, label %78
6: ; preds = %78
%7 = load ptr, ptr @stack, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 1, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %86, label %11
11: ; preds = %6
%12 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %81, label %14
14: ; preds = %11
%15 = load ptr, ptr @stack, align 8, !tbaa !5
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 2, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !9
%18 = icmp eq ptr %17, null
br i1 %18, label %86, label %19
19: ; preds = %14
%20 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %17) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %81, label %22
22: ; preds = %19
%23 = load ptr, ptr @stack, align 8, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 3, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !9
%26 = icmp eq ptr %25, null
br i1 %26, label %86, label %27
27: ; preds = %22
%28 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %25) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %81, label %30
30: ; preds = %27
%31 = load ptr, ptr @stack, align 8, !tbaa !5
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %31, i64 4, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !9
%34 = icmp eq ptr %33, null
br i1 %34, label %86, label %35
35: ; preds = %30
%36 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %33) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %81, label %38
38: ; preds = %35
%39 = load ptr, ptr @stack, align 8, !tbaa !5
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 5, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !9
%42 = icmp eq ptr %41, null
br i1 %42, label %86, label %43
43: ; preds = %38
%44 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %41) #2
%45 = icmp eq i64 %44, 0
br i1 %45, label %81, label %46
46: ; preds = %43
%47 = load ptr, ptr @stack, align 8, !tbaa !5
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %47, i64 6, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !9
%50 = icmp eq ptr %49, null
br i1 %50, label %86, label %51
51: ; preds = %46
%52 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %49) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %81, label %54
54: ; preds = %51
%55 = load ptr, ptr @stack, align 8, !tbaa !5
%56 = getelementptr inbounds %struct.TYPE_4__, ptr %55, i64 7, i32 1
%57 = load ptr, ptr %56, align 8, !tbaa !9
%58 = icmp eq ptr %57, null
br i1 %58, label %86, label %59
59: ; preds = %54
%60 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %57) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %81, label %62
62: ; preds = %59
%63 = load ptr, ptr @stack, align 8, !tbaa !5
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i64 8, i32 1
%65 = load ptr, ptr %64, align 8, !tbaa !9
%66 = icmp eq ptr %65, null
br i1 %66, label %86, label %67
67: ; preds = %62
%68 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %65) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %81, label %70
70: ; preds = %67
%71 = load ptr, ptr @stack, align 8, !tbaa !5
%72 = getelementptr inbounds %struct.TYPE_4__, ptr %71, i64 9, i32 1
%73 = load ptr, ptr %72, align 8, !tbaa !9
%74 = icmp eq ptr %73, null
br i1 %74, label %86, label %75
75: ; preds = %70
%76 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %73) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %81, label %86
78: ; preds = %1
%79 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %4) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %6
81: ; preds = %75, %67, %59, %51, %43, %35, %27, %19, %11, %78
%82 = phi i64 [ 0, %78 ], [ 1, %11 ], [ 2, %19 ], [ 3, %27 ], [ 4, %35 ], [ 5, %43 ], [ 6, %51 ], [ 7, %59 ], [ 8, %67 ], [ 9, %75 ]
%83 = load ptr, ptr @stack, align 8, !tbaa !5
%84 = getelementptr inbounds %struct.TYPE_4__, ptr %83, i64 %82
%85 = load ptr, ptr %84, align 8, !tbaa !12
br label %86
86: ; preds = %1, %6, %14, %22, %30, %38, %46, %54, %62, %70, %75, %81
%87 = phi ptr [ %85, %81 ], [ null, %75 ], [ null, %70 ], [ null, %62 ], [ null, %54 ], [ null, %46 ], [ null, %38 ], [ null, %30 ], [ null, %22 ], [ null, %14 ], [ null, %6 ], [ null, %1 ]
ret ptr %87
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 8}
!10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8}
!11 = !{!"TYPE_3__", !6, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/i3/i3-config-wizard/extr_main.c_get_string.c'
source_filename = "AnghaBench/i3/i3-config-wizard/extr_main.c_get_string.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 { %struct.TYPE_3__, ptr }
%struct.TYPE_3__ = type { ptr }
@stack = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @get_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_string(ptr noundef %0) #0 {
%2 = load ptr, ptr @stack, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %86, label %78
6: ; preds = %78
%7 = load ptr, ptr @stack, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 24
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %86, label %11
11: ; preds = %6
%12 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %81, label %14
14: ; preds = %11
%15 = load ptr, ptr @stack, align 8, !tbaa !6
%16 = getelementptr inbounds i8, ptr %15, i64 40
%17 = load ptr, ptr %16, align 8, !tbaa !10
%18 = icmp eq ptr %17, null
br i1 %18, label %86, label %19
19: ; preds = %14
%20 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %17) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %81, label %22
22: ; preds = %19
%23 = load ptr, ptr @stack, align 8, !tbaa !6
%24 = getelementptr inbounds i8, ptr %23, i64 56
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = icmp eq ptr %25, null
br i1 %26, label %86, label %27
27: ; preds = %22
%28 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %25) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %81, label %30
30: ; preds = %27
%31 = load ptr, ptr @stack, align 8, !tbaa !6
%32 = getelementptr inbounds i8, ptr %31, i64 72
%33 = load ptr, ptr %32, align 8, !tbaa !10
%34 = icmp eq ptr %33, null
br i1 %34, label %86, label %35
35: ; preds = %30
%36 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %33) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %81, label %38
38: ; preds = %35
%39 = load ptr, ptr @stack, align 8, !tbaa !6
%40 = getelementptr inbounds i8, ptr %39, i64 88
%41 = load ptr, ptr %40, align 8, !tbaa !10
%42 = icmp eq ptr %41, null
br i1 %42, label %86, label %43
43: ; preds = %38
%44 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %41) #2
%45 = icmp eq i64 %44, 0
br i1 %45, label %81, label %46
46: ; preds = %43
%47 = load ptr, ptr @stack, align 8, !tbaa !6
%48 = getelementptr inbounds i8, ptr %47, i64 104
%49 = load ptr, ptr %48, align 8, !tbaa !10
%50 = icmp eq ptr %49, null
br i1 %50, label %86, label %51
51: ; preds = %46
%52 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %49) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %81, label %54
54: ; preds = %51
%55 = load ptr, ptr @stack, align 8, !tbaa !6
%56 = getelementptr inbounds i8, ptr %55, i64 120
%57 = load ptr, ptr %56, align 8, !tbaa !10
%58 = icmp eq ptr %57, null
br i1 %58, label %86, label %59
59: ; preds = %54
%60 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %57) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %81, label %62
62: ; preds = %59
%63 = load ptr, ptr @stack, align 8, !tbaa !6
%64 = getelementptr inbounds i8, ptr %63, i64 136
%65 = load ptr, ptr %64, align 8, !tbaa !10
%66 = icmp eq ptr %65, null
br i1 %66, label %86, label %67
67: ; preds = %62
%68 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %65) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %81, label %70
70: ; preds = %67
%71 = load ptr, ptr @stack, align 8, !tbaa !6
%72 = getelementptr inbounds i8, ptr %71, i64 152
%73 = load ptr, ptr %72, align 8, !tbaa !10
%74 = icmp eq ptr %73, null
br i1 %74, label %86, label %75
75: ; preds = %70
%76 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %73) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %81, label %86
78: ; preds = %1
%79 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %4) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %6
81: ; preds = %75, %67, %59, %51, %43, %35, %27, %19, %11, %78
%82 = phi i64 [ 0, %78 ], [ 1, %11 ], [ 2, %19 ], [ 3, %27 ], [ 4, %35 ], [ 5, %43 ], [ 6, %51 ], [ 7, %59 ], [ 8, %67 ], [ 9, %75 ]
%83 = load ptr, ptr @stack, align 8, !tbaa !6
%84 = getelementptr inbounds %struct.TYPE_4__, ptr %83, i64 %82
%85 = load ptr, ptr %84, align 8, !tbaa !13
br label %86
86: ; preds = %1, %6, %14, %22, %30, %38, %46, %54, %62, %70, %75, %81
%87 = phi ptr [ %85, %81 ], [ null, %75 ], [ null, %70 ], [ null, %62 ], [ null, %54 ], [ null, %46 ], [ null, %38 ], [ null, %30 ], [ null, %22 ], [ null, %14 ], [ null, %6 ], [ null, %1 ]
ret ptr %87
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 8}
!11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!11, !7, i64 0}
| i3_i3-config-wizard_extr_main.c_get_string |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-samsung.c_samsung_irda_report_fixup.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-samsung.c_samsung_irda_report_fixup.c"
target datalayout = "e-m:e-p270:32:32-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 @samsung_irda_report_fixup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @samsung_irda_report_fixup(ptr noundef %0, ptr noundef returned %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
switch i32 %4, label %89 [
i32 184, label %5
i32 203, label %35
i32 135, label %53
i32 171, label %71
]
5: ; preds = %3
%6 = getelementptr inbounds i32, ptr %1, i64 175
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = icmp eq i32 %7, 37
br i1 %8, label %9, label %89
9: ; preds = %5
%10 = getelementptr inbounds i32, ptr %1, i64 176
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = icmp eq i32 %11, 64
br i1 %12, label %13, label %89
13: ; preds = %9
%14 = getelementptr inbounds i32, ptr %1, i64 177
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = icmp eq i32 %15, 117
br i1 %16, label %17, label %89
17: ; preds = %13
%18 = getelementptr inbounds i32, ptr %1, i64 178
%19 = load i32, ptr %18, align 4, !tbaa !5
%20 = icmp eq i32 %19, 48
br i1 %20, label %21, label %89
21: ; preds = %17
%22 = getelementptr inbounds i32, ptr %1, i64 179
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = icmp eq i32 %23, 149
br i1 %24, label %25, label %89
25: ; preds = %21
%26 = getelementptr inbounds i32, ptr %1, i64 180
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %89
29: ; preds = %25
%30 = getelementptr inbounds i32, ptr %1, i64 182
%31 = load i32, ptr %30, align 4, !tbaa !5
%32 = icmp eq i32 %31, 64
br i1 %32, label %33, label %89
33: ; preds = %29
%34 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 184) #2
store i32 255, ptr %10, align 4, !tbaa !5
store i32 8, ptr %18, align 4, !tbaa !5
store i32 6, ptr %26, align 4, !tbaa !5
store i32 66, ptr %30, align 4, !tbaa !5
br label %89
35: ; preds = %3
%36 = getelementptr inbounds i32, ptr %1, i64 192
%37 = load i32, ptr %36, align 4, !tbaa !5
%38 = icmp eq i32 %37, 21
br i1 %38, label %39, label %89
39: ; preds = %35
%40 = getelementptr inbounds i32, ptr %1, i64 193
%41 = load i32, ptr %40, align 4, !tbaa !5
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %89
43: ; preds = %39
%44 = getelementptr inbounds i32, ptr %1, i64 194
%45 = load i32, ptr %44, align 4, !tbaa !5
%46 = icmp eq i32 %45, 37
br i1 %46, label %47, label %89
47: ; preds = %43
%48 = getelementptr inbounds i32, ptr %1, i64 195
%49 = load i32, ptr %48, align 4, !tbaa !5
%50 = icmp eq i32 %49, 18
br i1 %50, label %51, label %89
51: ; preds = %47
%52 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 203) #2
store i32 1, ptr %40, align 4, !tbaa !5
store i32 15, ptr %48, align 4, !tbaa !5
br label %89
53: ; preds = %3
%54 = getelementptr inbounds i32, ptr %1, i64 124
%55 = load i32, ptr %54, align 4, !tbaa !5
%56 = icmp eq i32 %55, 21
br i1 %56, label %57, label %89
57: ; preds = %53
%58 = getelementptr inbounds i32, ptr %1, i64 125
%59 = load i32, ptr %58, align 4, !tbaa !5
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %89
61: ; preds = %57
%62 = getelementptr inbounds i32, ptr %1, i64 126
%63 = load i32, ptr %62, align 4, !tbaa !5
%64 = icmp eq i32 %63, 37
br i1 %64, label %65, label %89
65: ; preds = %61
%66 = getelementptr inbounds i32, ptr %1, i64 127
%67 = load i32, ptr %66, align 4, !tbaa !5
%68 = icmp eq i32 %67, 17
br i1 %68, label %69, label %89
69: ; preds = %65
%70 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 135) #2
store i32 1, ptr %58, align 4, !tbaa !5
store i32 14, ptr %66, align 4, !tbaa !5
br label %89
71: ; preds = %3
%72 = getelementptr inbounds i32, ptr %1, i64 160
%73 = load i32, ptr %72, align 4, !tbaa !5
%74 = icmp eq i32 %73, 21
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = getelementptr inbounds i32, ptr %1, i64 161
%77 = load i32, ptr %76, align 4, !tbaa !5
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %89
79: ; preds = %75
%80 = getelementptr inbounds i32, ptr %1, i64 162
%81 = load i32, ptr %80, align 4, !tbaa !5
%82 = icmp eq i32 %81, 37
br i1 %82, label %83, label %89
83: ; preds = %79
%84 = getelementptr inbounds i32, ptr %1, i64 163
%85 = load i32, ptr %84, align 4, !tbaa !5
%86 = icmp eq i32 %85, 1
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 171) #2
store i32 1, ptr %76, align 4, !tbaa !5
store i32 3, ptr %84, align 4, !tbaa !5
br label %89
89: ; preds = %3, %5, %9, %13, %17, %21, %25, %29, %35, %39, %43, %47, %53, %57, %61, %65, %51, %71, %75, %79, %83, %87, %69, %33
ret ptr %1
}
declare i32 @samsung_irda_dev_trace(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/hid/extr_hid-samsung.c_samsung_irda_report_fixup.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-samsung.c_samsung_irda_report_fixup.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 @samsung_irda_report_fixup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @samsung_irda_report_fixup(ptr noundef %0, ptr noundef returned %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
switch i32 %4, label %89 [
i32 184, label %5
i32 203, label %35
i32 135, label %53
i32 171, label %71
]
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %1, i64 700
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = icmp eq i32 %7, 37
br i1 %8, label %9, label %89
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %1, i64 704
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = icmp eq i32 %11, 64
br i1 %12, label %13, label %89
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %1, i64 708
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = icmp eq i32 %15, 117
br i1 %16, label %17, label %89
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %1, i64 712
%19 = load i32, ptr %18, align 4, !tbaa !6
%20 = icmp eq i32 %19, 48
br i1 %20, label %21, label %89
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %1, i64 716
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = icmp eq i32 %23, 149
br i1 %24, label %25, label %89
25: ; preds = %21
%26 = getelementptr inbounds i8, ptr %1, i64 720
%27 = load i32, ptr %26, align 4, !tbaa !6
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %89
29: ; preds = %25
%30 = getelementptr inbounds i8, ptr %1, i64 728
%31 = load i32, ptr %30, align 4, !tbaa !6
%32 = icmp eq i32 %31, 64
br i1 %32, label %33, label %89
33: ; preds = %29
%34 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 184) #2
store i32 255, ptr %10, align 4, !tbaa !6
store i32 8, ptr %18, align 4, !tbaa !6
store i32 6, ptr %26, align 4, !tbaa !6
store i32 66, ptr %30, align 4, !tbaa !6
br label %89
35: ; preds = %3
%36 = getelementptr inbounds i8, ptr %1, i64 768
%37 = load i32, ptr %36, align 4, !tbaa !6
%38 = icmp eq i32 %37, 21
br i1 %38, label %39, label %89
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %1, i64 772
%41 = load i32, ptr %40, align 4, !tbaa !6
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %89
43: ; preds = %39
%44 = getelementptr inbounds i8, ptr %1, i64 776
%45 = load i32, ptr %44, align 4, !tbaa !6
%46 = icmp eq i32 %45, 37
br i1 %46, label %47, label %89
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %1, i64 780
%49 = load i32, ptr %48, align 4, !tbaa !6
%50 = icmp eq i32 %49, 18
br i1 %50, label %51, label %89
51: ; preds = %47
%52 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 203) #2
store i32 1, ptr %40, align 4, !tbaa !6
store i32 15, ptr %48, align 4, !tbaa !6
br label %89
53: ; preds = %3
%54 = getelementptr inbounds i8, ptr %1, i64 496
%55 = load i32, ptr %54, align 4, !tbaa !6
%56 = icmp eq i32 %55, 21
br i1 %56, label %57, label %89
57: ; preds = %53
%58 = getelementptr inbounds i8, ptr %1, i64 500
%59 = load i32, ptr %58, align 4, !tbaa !6
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %89
61: ; preds = %57
%62 = getelementptr inbounds i8, ptr %1, i64 504
%63 = load i32, ptr %62, align 4, !tbaa !6
%64 = icmp eq i32 %63, 37
br i1 %64, label %65, label %89
65: ; preds = %61
%66 = getelementptr inbounds i8, ptr %1, i64 508
%67 = load i32, ptr %66, align 4, !tbaa !6
%68 = icmp eq i32 %67, 17
br i1 %68, label %69, label %89
69: ; preds = %65
%70 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 135) #2
store i32 1, ptr %58, align 4, !tbaa !6
store i32 14, ptr %66, align 4, !tbaa !6
br label %89
71: ; preds = %3
%72 = getelementptr inbounds i8, ptr %1, i64 640
%73 = load i32, ptr %72, align 4, !tbaa !6
%74 = icmp eq i32 %73, 21
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = getelementptr inbounds i8, ptr %1, i64 644
%77 = load i32, ptr %76, align 4, !tbaa !6
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %89
79: ; preds = %75
%80 = getelementptr inbounds i8, ptr %1, i64 648
%81 = load i32, ptr %80, align 4, !tbaa !6
%82 = icmp eq i32 %81, 37
br i1 %82, label %83, label %89
83: ; preds = %79
%84 = getelementptr inbounds i8, ptr %1, i64 652
%85 = load i32, ptr %84, align 4, !tbaa !6
%86 = icmp eq i32 %85, 1
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = tail call i32 @samsung_irda_dev_trace(ptr noundef %0, i32 noundef 171) #2
store i32 1, ptr %76, align 4, !tbaa !6
store i32 3, ptr %84, align 4, !tbaa !6
br label %89
89: ; preds = %3, %5, %9, %13, %17, %21, %25, %29, %35, %39, %43, %47, %53, %57, %61, %65, %51, %71, %75, %79, %83, %87, %69, %33
ret ptr %1
}
declare i32 @samsung_irda_dev_trace(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_hid_extr_hid-samsung.c_samsung_irda_report_fixup |
; ModuleID = 'AnghaBench/vlc/modules/packetizer/extr_flac.c_FLACStartcodeMatcher.c'
source_filename = "AnghaBench/vlc/modules/packetizer/extr_flac.c_FLACStartcodeMatcher.c"
target datalayout = "e-m:e-p270:32:32-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 @FLACStartcodeMatcher], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @FLACStartcodeMatcher(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @VLC_UNUSED(ptr noundef %2) #2
%5 = icmp eq i64 %1, 0
%6 = icmp eq i32 %0, 255
%7 = and i32 %0, 254
%8 = icmp eq i32 %7, 248
%9 = select i1 %5, i1 %6, i1 %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/vlc/modules/packetizer/extr_flac.c_FLACStartcodeMatcher.c'
source_filename = "AnghaBench/vlc/modules/packetizer/extr_flac.c_FLACStartcodeMatcher.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 @FLACStartcodeMatcher], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @FLACStartcodeMatcher(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @VLC_UNUSED(ptr noundef %2) #2
%5 = icmp eq i64 %1, 0
%6 = icmp eq i32 %0, 255
%7 = and i32 %0, 254
%8 = icmp eq i32 %7, 248
%9 = select i1 %5, i1 %6, i1 %8
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @VLC_UNUSED(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)"}
| vlc_modules_packetizer_extr_flac.c_FLACStartcodeMatcher |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_aty_get_crtc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_aty_get_crtc.c"
target datalayout = "e-m:e-p270:32:32-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.crtc = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
@CRTC_H_TOTAL_DISP = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_H_SYNC_STRT_WID = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_V_TOTAL_DISP = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_V_SYNC_STRT_WID = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_VLINE_CRNT_VLINE = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_OFF_PITCH = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_GEN_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@CNFG_PANEL = dso_local local_unnamed_addr global i32 0, align 4
@CRTC_RW_SELECT = dso_local local_unnamed_addr global i32 0, align 4
@EXT_VERT_STRETCH = dso_local local_unnamed_addr global i32 0, align 4
@HORZ_STRETCHING = dso_local local_unnamed_addr global i32 0, align 4
@LCD_GEN_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@LCD_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@LT_LCD_REGS = dso_local local_unnamed_addr global i32 0, align 4
@SHADOW_EN = dso_local local_unnamed_addr global i32 0, align 4
@SHADOW_RW_EN = dso_local local_unnamed_addr global i32 0, align 4
@VERT_STRETCHING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @aty_get_crtc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @aty_get_crtc(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @CRTC_H_TOTAL_DISP, align 4, !tbaa !5
%4 = tail call ptr @aty_ld_le32(i32 noundef %3, ptr noundef %0) #2
%5 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 12
store ptr %4, ptr %5, align 8, !tbaa !9
%6 = load i32, ptr @CRTC_H_SYNC_STRT_WID, align 4, !tbaa !5
%7 = tail call ptr @aty_ld_le32(i32 noundef %6, ptr noundef %0) #2
%8 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 11
store ptr %7, ptr %8, align 8, !tbaa !12
%9 = load i32, ptr @CRTC_V_TOTAL_DISP, align 4, !tbaa !5
%10 = tail call ptr @aty_ld_le32(i32 noundef %9, ptr noundef %0) #2
%11 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 10
store ptr %10, ptr %11, align 8, !tbaa !13
%12 = load i32, ptr @CRTC_V_SYNC_STRT_WID, align 4, !tbaa !5
%13 = tail call ptr @aty_ld_le32(i32 noundef %12, ptr noundef %0) #2
%14 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 9
store ptr %13, ptr %14, align 8, !tbaa !14
%15 = load i32, ptr @CRTC_VLINE_CRNT_VLINE, align 4, !tbaa !5
%16 = tail call ptr @aty_ld_le32(i32 noundef %15, ptr noundef %0) #2
%17 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 8
store ptr %16, ptr %17, align 8, !tbaa !15
%18 = load i32, ptr @CRTC_OFF_PITCH, align 4, !tbaa !5
%19 = tail call ptr @aty_ld_le32(i32 noundef %18, ptr noundef %0) #2
%20 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 7
store ptr %19, ptr %20, align 8, !tbaa !16
%21 = load i32, ptr @CRTC_GEN_CNTL, align 4, !tbaa !5
%22 = tail call ptr @aty_ld_le32(i32 noundef %21, ptr noundef %0) #2
%23 = getelementptr inbounds %struct.crtc, ptr %1, i64 0, i32 6
store ptr %22, ptr %23, align 8, !tbaa !17
ret void
}
declare ptr @aty_ld_le32(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 88}
!10 = !{!"crtc", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 80}
!13 = !{!10, !11, i64 72}
!14 = !{!10, !11, i64 64}
!15 = !{!10, !11, i64 56}
!16 = !{!10, !11, i64 48}
!17 = !{!10, !11, i64 40}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_aty_get_crtc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_aty_get_crtc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CRTC_H_TOTAL_DISP = common local_unnamed_addr global i32 0, align 4
@CRTC_H_SYNC_STRT_WID = common local_unnamed_addr global i32 0, align 4
@CRTC_V_TOTAL_DISP = common local_unnamed_addr global i32 0, align 4
@CRTC_V_SYNC_STRT_WID = common local_unnamed_addr global i32 0, align 4
@CRTC_VLINE_CRNT_VLINE = common local_unnamed_addr global i32 0, align 4
@CRTC_OFF_PITCH = common local_unnamed_addr global i32 0, align 4
@CRTC_GEN_CNTL = common local_unnamed_addr global i32 0, align 4
@CNFG_PANEL = common local_unnamed_addr global i32 0, align 4
@CRTC_RW_SELECT = common local_unnamed_addr global i32 0, align 4
@EXT_VERT_STRETCH = common local_unnamed_addr global i32 0, align 4
@HORZ_STRETCHING = common local_unnamed_addr global i32 0, align 4
@LCD_GEN_CNTL = common local_unnamed_addr global i32 0, align 4
@LCD_INDEX = common local_unnamed_addr global i32 0, align 4
@LT_LCD_REGS = common local_unnamed_addr global i32 0, align 4
@SHADOW_EN = common local_unnamed_addr global i32 0, align 4
@SHADOW_RW_EN = common local_unnamed_addr global i32 0, align 4
@VERT_STRETCHING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @aty_get_crtc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @aty_get_crtc(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @CRTC_H_TOTAL_DISP, align 4, !tbaa !6
%4 = tail call ptr @aty_ld_le32(i32 noundef %3, ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %1, i64 88
store ptr %4, ptr %5, align 8, !tbaa !10
%6 = load i32, ptr @CRTC_H_SYNC_STRT_WID, align 4, !tbaa !6
%7 = tail call ptr @aty_ld_le32(i32 noundef %6, ptr noundef %0) #2
%8 = getelementptr inbounds i8, ptr %1, i64 80
store ptr %7, ptr %8, align 8, !tbaa !13
%9 = load i32, ptr @CRTC_V_TOTAL_DISP, align 4, !tbaa !6
%10 = tail call ptr @aty_ld_le32(i32 noundef %9, ptr noundef %0) #2
%11 = getelementptr inbounds i8, ptr %1, i64 72
store ptr %10, ptr %11, align 8, !tbaa !14
%12 = load i32, ptr @CRTC_V_SYNC_STRT_WID, align 4, !tbaa !6
%13 = tail call ptr @aty_ld_le32(i32 noundef %12, ptr noundef %0) #2
%14 = getelementptr inbounds i8, ptr %1, i64 64
store ptr %13, ptr %14, align 8, !tbaa !15
%15 = load i32, ptr @CRTC_VLINE_CRNT_VLINE, align 4, !tbaa !6
%16 = tail call ptr @aty_ld_le32(i32 noundef %15, ptr noundef %0) #2
%17 = getelementptr inbounds i8, ptr %1, i64 56
store ptr %16, ptr %17, align 8, !tbaa !16
%18 = load i32, ptr @CRTC_OFF_PITCH, align 4, !tbaa !6
%19 = tail call ptr @aty_ld_le32(i32 noundef %18, ptr noundef %0) #2
%20 = getelementptr inbounds i8, ptr %1, i64 48
store ptr %19, ptr %20, align 8, !tbaa !17
%21 = load i32, ptr @CRTC_GEN_CNTL, align 4, !tbaa !6
%22 = tail call ptr @aty_ld_le32(i32 noundef %21, ptr noundef %0) #2
%23 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %22, ptr %23, align 8, !tbaa !18
ret void
}
declare ptr @aty_ld_le32(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 88}
!11 = !{!"crtc", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 80}
!14 = !{!11, !12, i64 72}
!15 = !{!11, !12, i64 64}
!16 = !{!11, !12, i64 56}
!17 = !{!11, !12, i64 48}
!18 = !{!11, !12, i64 40}
| fastsocket_kernel_drivers_video_aty_extr_atyfb_base.c_aty_get_crtc |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_ui_out_text.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_ui_out_text.c"
target datalayout = "e-m:e-p270:32:32-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 @ui_out_text(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @uo_text(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @uo_text(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/freebsd/contrib/gdb/gdb/extr_ui-out.c_ui_out_text.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_ui_out_text.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 @ui_out_text(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @uo_text(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @uo_text(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)"}
| freebsd_contrib_gdb_gdb_extr_ui-out.c_ui_out_text |
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_super.c_xfs_init_percpu_counters.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_super.c_xfs_init_percpu_counters.c"
target datalayout = "e-m:e-p270:32:32-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.xfs_mount = type { i32, i32, 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
@llvm.compiler.used = appending global [1 x ptr] [ptr @xfs_init_percpu_counters], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xfs_init_percpu_counters(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call i32 @percpu_counter_init(ptr noundef %0, i32 noundef 0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %31
8: ; preds = %1
%9 = getelementptr inbounds %struct.xfs_mount, ptr %0, i64 0, i32 1
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%11 = tail call i32 @percpu_counter_init(ptr noundef nonnull %9, i32 noundef 0, i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %8
%14 = getelementptr inbounds %struct.xfs_mount, ptr %0, i64 0, i32 2
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%16 = tail call i32 @percpu_counter_init(ptr noundef nonnull %14, i32 noundef 0, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = getelementptr inbounds %struct.xfs_mount, ptr %0, i64 0, i32 3
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%21 = tail call i32 @percpu_counter_init(ptr noundef nonnull %19, i32 noundef 0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %31, label %23
23: ; preds = %18
%24 = tail call i32 @percpu_counter_destroy(ptr noundef nonnull %14) #2
br label %25
25: ; preds = %13, %23
%26 = tail call i32 @percpu_counter_destroy(ptr noundef nonnull %9) #2
br label %27
27: ; preds = %8, %25
%28 = tail call i32 @percpu_counter_destroy(ptr noundef %0) #2
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %18, %27, %5
%32 = phi i32 [ %7, %5 ], [ %30, %27 ], [ 0, %18 ]
ret i32 %32
}
declare i32 @percpu_counter_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @percpu_counter_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_super.c_xfs_init_percpu_counters.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_super.c_xfs_init_percpu_counters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xfs_init_percpu_counters], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @xfs_init_percpu_counters(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call i32 @percpu_counter_init(ptr noundef %0, i32 noundef 0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %31
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%11 = tail call i32 @percpu_counter_init(ptr noundef nonnull %9, i32 noundef 0, i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%16 = tail call i32 @percpu_counter_init(ptr noundef nonnull %14, i32 noundef 0, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = getelementptr inbounds i8, ptr %0, i64 12
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%21 = tail call i32 @percpu_counter_init(ptr noundef nonnull %19, i32 noundef 0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %31, label %23
23: ; preds = %18
%24 = tail call i32 @percpu_counter_destroy(ptr noundef nonnull %14) #2
br label %25
25: ; preds = %13, %23
%26 = tail call i32 @percpu_counter_destroy(ptr noundef nonnull %9) #2
br label %27
27: ; preds = %8, %25
%28 = tail call i32 @percpu_counter_destroy(ptr noundef %0) #2
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %18, %27, %5
%32 = phi i32 [ %7, %5 ], [ %30, %27 ], [ 0, %18 ]
ret i32 %32
}
declare i32 @percpu_counter_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @percpu_counter_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_xfs_extr_xfs_super.c_xfs_init_percpu_counters |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_core.c_cache_alloc_hsw_probe.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_core.c_cache_alloc_hsw_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"
@rdt_resources_all = dso_local local_unnamed_addr global ptr null, align 8
@RDT_RESOURCE_L3 = dso_local local_unnamed_addr global i64 0, align 8
@MSR_IA32_L3_CBM_BASE = dso_local local_unnamed_addr global i32 0, align 4
@rdt_alloc_capable = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cache_alloc_hsw_probe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cache_alloc_hsw_probe() #0 {
%1 = tail call i64 @BIT_MASK(i32 noundef 20) #2
%2 = add nsw i64 %1, -1
%3 = load i32, ptr @MSR_IA32_L3_CBM_BASE, align 4, !tbaa !5
%4 = tail call i64 @wrmsr_safe(i32 noundef %3, i64 noundef %2, i32 noundef 0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @MSR_IA32_L3_CBM_BASE, align 4, !tbaa !5
%8 = tail call i32 @rdmsr(i32 noundef %7, i64 noundef undef, i64 noundef undef) #2
unreachable
9: ; preds = %0
ret void
}
declare i64 @BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i64 @wrmsr_safe(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdmsr(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_core.c_cache_alloc_hsw_probe.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_core.c_cache_alloc_hsw_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rdt_resources_all = common local_unnamed_addr global ptr null, align 8
@RDT_RESOURCE_L3 = common local_unnamed_addr global i64 0, align 8
@MSR_IA32_L3_CBM_BASE = common local_unnamed_addr global i32 0, align 4
@rdt_alloc_capable = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cache_alloc_hsw_probe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cache_alloc_hsw_probe() #0 {
%1 = tail call i64 @BIT_MASK(i32 noundef 20) #3
%2 = add nsw i64 %1, -1
%3 = load i32, ptr @MSR_IA32_L3_CBM_BASE, align 4, !tbaa !6
%4 = tail call i64 @wrmsr_safe(i32 noundef %3, i64 noundef %2, i32 noundef 0) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
call void @cache_alloc_hsw_probe.cold.1() #4
unreachable
7: ; preds = %0
ret void
}
declare i64 @BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i64 @wrmsr_safe(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdmsr(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: cold inlinehint minsize noreturn nounwind ssp uwtable(sync)
define internal void @cache_alloc_hsw_probe.cold.1() #2 {
br label %1
1: ; preds = %0
%2 = load i32, ptr @MSR_IA32_L3_CBM_BASE, align 4, !tbaa !6
%3 = tail call i32 @rdmsr(i32 noundef %2, i64 noundef undef, i64 noundef undef) #3
unreachable
}
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 = { cold inlinehint minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noinline }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_kernel_cpu_resctrl_extr_core.c_cache_alloc_hsw_probe |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_dp_aux_dev.c_alloc_drm_dp_aux_dev.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_dp_aux_dev.c_alloc_drm_dp_aux_dev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_dp_aux_dev = type { i32, i32, i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@aux_idr_mutex = dso_local global i32 0, align 4
@aux_idr = dso_local global i32 0, align 4
@DRM_AUX_MINORS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_drm_dp_aux_dev], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @alloc_drm_dp_aux_dev(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
%8 = tail call ptr @ERR_PTR(i32 noundef %7) #2
br label %25
9: ; preds = %1
%10 = getelementptr inbounds %struct.drm_dp_aux_dev, ptr %3, i64 0, i32 3
store ptr %0, ptr %10, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.drm_dp_aux_dev, ptr %3, i64 0, i32 2
%12 = tail call i32 @atomic_set(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = getelementptr inbounds %struct.drm_dp_aux_dev, ptr %3, i64 0, i32 1
%14 = tail call i32 @kref_init(ptr noundef nonnull %13) #2
%15 = tail call i32 @mutex_lock(ptr noundef nonnull @aux_idr_mutex) #2
%16 = load i32, ptr @DRM_AUX_MINORS, align 4, !tbaa !5
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%18 = tail call i32 @idr_alloc(ptr noundef nonnull @aux_idr, ptr noundef nonnull %3, i32 noundef 0, i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull @aux_idr_mutex) #2
%20 = icmp slt i32 %18, 0
br i1 %20, label %21, label %24
21: ; preds = %9
%22 = tail call i32 @kfree(ptr noundef nonnull %3) #2
%23 = tail call ptr @ERR_PTR(i32 noundef %18) #2
br label %25
24: ; preds = %9
store i32 %18, ptr %3, align 8, !tbaa !12
br label %25
25: ; preds = %24, %21, %5
%26 = phi ptr [ %23, %21 ], [ %3, %24 ], [ %8, %5 ]
ret ptr %26
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @idr_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"drm_dp_aux_dev", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_dp_aux_dev.c_alloc_drm_dp_aux_dev.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_dp_aux_dev.c_alloc_drm_dp_aux_dev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@aux_idr_mutex = common global i32 0, align 4
@aux_idr = common global i32 0, align 4
@DRM_AUX_MINORS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alloc_drm_dp_aux_dev], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @alloc_drm_dp_aux_dev(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
%8 = tail call ptr @ERR_PTR(i32 noundef %7) #2
br label %25
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %0, ptr %10, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %3, i64 8
%12 = tail call i32 @atomic_set(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = getelementptr inbounds i8, ptr %3, i64 4
%14 = tail call i32 @kref_init(ptr noundef nonnull %13) #2
%15 = tail call i32 @mutex_lock(ptr noundef nonnull @aux_idr_mutex) #2
%16 = load i32, ptr @DRM_AUX_MINORS, align 4, !tbaa !6
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%18 = tail call i32 @idr_alloc(ptr noundef nonnull @aux_idr, ptr noundef nonnull %3, i32 noundef 0, i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull @aux_idr_mutex) #2
%20 = icmp slt i32 %18, 0
br i1 %20, label %21, label %24
21: ; preds = %9
%22 = tail call i32 @kfree(ptr noundef nonnull %3) #2
%23 = tail call ptr @ERR_PTR(i32 noundef %18) #2
br label %25
24: ; preds = %9
store i32 %18, ptr %3, align 8, !tbaa !13
br label %25
25: ; preds = %24, %21, %5
%26 = phi ptr [ %23, %21 ], [ %3, %24 ], [ %8, %5 ]
ret ptr %26
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @idr_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"drm_dp_aux_dev", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
| linux_drivers_gpu_drm_extr_drm_dp_aux_dev.c_alloc_drm_dp_aux_dev |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_crypto_mode.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_crypto_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"
@R92S_KEY_ALGO_WEP40 = dso_local local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_WEP104 = dso_local local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_TKIP = dso_local local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_AES = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"unknown cipher %d\0A\00", align 1
@R92S_KEY_ALGO_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsu_crypto_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rsu_crypto_mode(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
switch i32 %1, label %13 [
i32 128, label %4
i32 129, label %9
i32 130, label %11
]
4: ; preds = %3
%5 = icmp slt i32 %2, 8
%6 = load i32, ptr @R92S_KEY_ALGO_WEP40, align 4
%7 = load i32, ptr @R92S_KEY_ALGO_WEP104, align 4
%8 = select i1 %5, i32 %6, i32 %7
br label %17
9: ; preds = %3
%10 = load i32, ptr @R92S_KEY_ALGO_TKIP, align 4, !tbaa !5
br label %17
11: ; preds = %3
%12 = load i32, ptr @R92S_KEY_ALGO_AES, align 4, !tbaa !5
br label %17
13: ; preds = %3
%14 = load i32, ptr %0, align 4, !tbaa !9
%15 = tail call i32 @device_printf(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %1) #2
%16 = load i32, ptr @R92S_KEY_ALGO_INVALID, align 4, !tbaa !5
br label %17
17: ; preds = %13, %11, %9, %4
%18 = phi i32 [ %16, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %4 ]
ret i32 %18
}
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, !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 = !{!"rsu_softc", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_crypto_mode.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_crypto_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@R92S_KEY_ALGO_WEP40 = common local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_WEP104 = common local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_TKIP = common local_unnamed_addr global i32 0, align 4
@R92S_KEY_ALGO_AES = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"unknown cipher %d\0A\00", align 1
@R92S_KEY_ALGO_INVALID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rsu_crypto_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rsu_crypto_mode(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
switch i32 %1, label %13 [
i32 128, label %4
i32 129, label %9
i32 130, label %11
]
4: ; preds = %3
%5 = icmp slt i32 %2, 8
%6 = load i32, ptr @R92S_KEY_ALGO_WEP40, align 4
%7 = load i32, ptr @R92S_KEY_ALGO_WEP104, align 4
%8 = select i1 %5, i32 %6, i32 %7
br label %17
9: ; preds = %3
%10 = load i32, ptr @R92S_KEY_ALGO_TKIP, align 4, !tbaa !6
br label %17
11: ; preds = %3
%12 = load i32, ptr @R92S_KEY_ALGO_AES, align 4, !tbaa !6
br label %17
13: ; preds = %3
%14 = load i32, ptr %0, align 4, !tbaa !10
%15 = tail call i32 @device_printf(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %1) #2
%16 = load i32, ptr @R92S_KEY_ALGO_INVALID, align 4, !tbaa !6
br label %17
17: ; preds = %13, %11, %9, %4
%18 = phi i32 [ %16, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %4 ]
ret i32 %18
}
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, !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 = !{!"rsu_softc", !7, i64 0}
| freebsd_sys_dev_usb_wlan_extr_if_rsu.c_rsu_crypto_mode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_setpreamble.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_setpreamble.c"
target datalayout = "e-m:e-p270:32:32-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.orinoco_private = type { i32, i32 }
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @orinoco_ioctl_setpreamble], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @orinoco_ioctl_setpreamble(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @ndev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = getelementptr inbounds %struct.orinoco_private, ptr %6, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %4
%11 = load i32, ptr %3, align 4, !tbaa !10
%12 = call i64 @orinoco_lock(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = icmp ne i32 %11, 0
%16 = zext i1 %15 to i32
store i32 %16, ptr %6, align 4, !tbaa !11
%17 = call i32 @orinoco_unlock(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
br label %18
18: ; preds = %10, %4, %14
%19 = phi ptr [ @EINPROGRESS, %14 ], [ @EOPNOTSUPP, %4 ], [ @EBUSY, %10 ]
%20 = load i32, ptr %19, align 4, !tbaa !10
%21 = sub nsw i32 0, %20
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ndev_priv(ptr noundef) local_unnamed_addr #2
declare i64 @orinoco_lock(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @orinoco_unlock(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"orinoco_private", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_setpreamble.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_setpreamble.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@EINPROGRESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @orinoco_ioctl_setpreamble], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @orinoco_ioctl_setpreamble(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @ndev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %4
%11 = load i32, ptr %3, align 4, !tbaa !11
%12 = call i64 @orinoco_lock(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = icmp ne i32 %11, 0
%16 = zext i1 %15 to i32
store i32 %16, ptr %6, align 4, !tbaa !12
%17 = call i32 @orinoco_unlock(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
br label %18
18: ; preds = %10, %4, %14
%19 = phi ptr [ @EINPROGRESS, %14 ], [ @EOPNOTSUPP, %4 ], [ @EBUSY, %10 ]
%20 = load i32, ptr %19, align 4, !tbaa !11
%21 = sub nsw i32 0, %20
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ndev_priv(ptr noundef) local_unnamed_addr #2
declare i64 @orinoco_lock(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @orinoco_unlock(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"orinoco_private", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_net_wireless_orinoco_extr_wext.c_orinoco_ioctl_setpreamble |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_setup_tc_qdisc_red_clean_stats.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_setup_tc_qdisc_red_clean_stats.c"
target datalayout = "e-m:e-p270:32:32-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.mlxsw_sp_qdisc = type { i64, i32, %struct.TYPE_4__, %struct.mlxsw_sp_qdisc_stats }
%struct.TYPE_4__ = type { %struct.red_stats }
%struct.red_stats = type { i64, i64, i64 }
%struct.mlxsw_sp_qdisc_stats = type { i64, i64, i64, i32, i32 }
%struct.mlxsw_sp_port_xstats = type { ptr, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp_setup_tc_qdisc_red_clean_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlxsw_sp_setup_tc_qdisc_red_clean_stats(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 3
%5 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 2
%6 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !14
%8 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 3, i32 4
%9 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 3, i32 3
%10 = tail call i32 @mlxsw_sp_qdisc_bstats_per_priority_get(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.mlxsw_sp_port_xstats, ptr %0, i64 0, i32 2
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 2, i32 0, i32 2
store i64 %12, ptr %13, align 8, !tbaa !18
%14 = getelementptr inbounds %struct.mlxsw_sp_port_xstats, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !19
%16 = getelementptr inbounds i64, ptr %15, i64 %3
%17 = load i64, ptr %16, align 8, !tbaa !20
%18 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 2, i32 0, i32 1
store i64 %17, ptr %18, align 8, !tbaa !21
%19 = load ptr, ptr %0, align 8, !tbaa !22
%20 = getelementptr inbounds i64, ptr %19, i64 %3
%21 = load i64, ptr %20, align 8, !tbaa !20
store i64 %21, ptr %5, align 8, !tbaa !23
%22 = add nsw i64 %17, %12
%23 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 3, i32 2
store i64 %22, ptr %23, align 8, !tbaa !24
%24 = add nsw i64 %21, %17
%25 = getelementptr inbounds %struct.mlxsw_sp_qdisc, ptr %1, i64 0, i32 3, i32 1
store i64 %24, ptr %25, align 8, !tbaa !25
store i64 0, ptr %4, align 8, !tbaa !26
ret void
}
declare i32 @mlxsw_sp_qdisc_bstats_per_priority_get(ptr noundef, 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, !7, i64 0}
!6 = !{!"mlxsw_sp_qdisc", !7, i64 0, !10, i64 8, !11, i64 16, !13, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"red_stats", !7, i64 0, !7, i64 8, !7, i64 16}
!13 = !{!"mlxsw_sp_qdisc_stats", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !7, i64 16}
!16 = !{!"mlxsw_sp_port_xstats", !17, i64 0, !17, i64 8, !7, i64 16}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!12, !7, i64 16}
!19 = !{!16, !17, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!12, !7, i64 8}
!22 = !{!16, !17, i64 0}
!23 = !{!12, !7, i64 0}
!24 = !{!13, !7, i64 16}
!25 = !{!13, !7, i64 8}
!26 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_setup_tc_qdisc_red_clean_stats.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_setup_tc_qdisc_red_clean_stats.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 @mlxsw_sp_setup_tc_qdisc_red_clean_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlxsw_sp_setup_tc_qdisc_red_clean_stats(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 40
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !15
%8 = getelementptr inbounds i8, ptr %1, i64 68
%9 = getelementptr inbounds i8, ptr %1, i64 64
%10 = tail call i32 @mlxsw_sp_qdisc_bstats_per_priority_get(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %1, i64 32
store i64 %12, ptr %13, align 8, !tbaa !19
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !20
%16 = getelementptr inbounds i64, ptr %15, i64 %3
%17 = load i64, ptr %16, align 8, !tbaa !21
%18 = getelementptr inbounds i8, ptr %1, i64 24
store i64 %17, ptr %18, align 8, !tbaa !22
%19 = load ptr, ptr %0, align 8, !tbaa !23
%20 = getelementptr inbounds i64, ptr %19, i64 %3
%21 = load i64, ptr %20, align 8, !tbaa !21
store i64 %21, ptr %5, align 8, !tbaa !24
%22 = add nsw i64 %17, %12
%23 = getelementptr inbounds i8, ptr %1, i64 56
store i64 %22, ptr %23, align 8, !tbaa !25
%24 = add nsw i64 %21, %17
%25 = getelementptr inbounds i8, ptr %1, i64 48
store i64 %24, ptr %25, align 8, !tbaa !26
store i64 0, ptr %4, align 8, !tbaa !27
ret void
}
declare i32 @mlxsw_sp_qdisc_bstats_per_priority_get(ptr noundef, 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, !8, i64 0}
!7 = !{!"mlxsw_sp_qdisc", !8, i64 0, !11, i64 8, !12, i64 16, !14, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"red_stats", !8, i64 0, !8, i64 8, !8, i64 16}
!14 = !{!"mlxsw_sp_qdisc_stats", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !8, i64 16}
!17 = !{!"mlxsw_sp_port_xstats", !18, i64 0, !18, i64 8, !8, i64 16}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!13, !8, i64 16}
!20 = !{!17, !18, i64 8}
!21 = !{!8, !8, i64 0}
!22 = !{!13, !8, i64 8}
!23 = !{!17, !18, i64 0}
!24 = !{!13, !8, i64 0}
!25 = !{!14, !8, i64 16}
!26 = !{!14, !8, i64 8}
!27 = !{!14, !8, i64 0}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_qdisc.c_mlxsw_sp_setup_tc_qdisc_red_clean_stats |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_cik.c_cik_uvd_ctx_wreg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_cik.c_cik_uvd_ctx_wreg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mmUVD_CTX_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@mmUVD_CTX_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cik_uvd_ctx_wreg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cik_uvd_ctx_wreg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%5 = load i32, ptr @mmUVD_CTX_INDEX, align 4, !tbaa !5
%6 = and i32 %1, 511
%7 = tail call i32 @WREG32(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @mmUVD_CTX_DATA, align 4, !tbaa !5
%9 = tail call i32 @WREG32(i32 noundef %8, i32 noundef %2) #2
%10 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_cik.c_cik_uvd_ctx_wreg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_cik.c_cik_uvd_ctx_wreg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmUVD_CTX_INDEX = common local_unnamed_addr global i32 0, align 4
@mmUVD_CTX_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cik_uvd_ctx_wreg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cik_uvd_ctx_wreg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%5 = load i32, ptr @mmUVD_CTX_INDEX, align 4, !tbaa !6
%6 = and i32 %1, 511
%7 = tail call i32 @WREG32(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @mmUVD_CTX_DATA, align 4, !tbaa !6
%9 = tail call i32 @WREG32(i32 noundef %8, i32 noundef %2) #2
%10 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_cik.c_cik_uvd_ctx_wreg |
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_set_sec_context_option.c_get_int32.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_set_sec_context_option.c_get_int32.c"
target datalayout = "e-m:e-p270:32:32-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 }
@GSS_S_UNAVAILABLE = dso_local local_unnamed_addr global i64 0, align 8
@GSS_S_COMPLETE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_int32], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @get_int32(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef %2) #0 {
store i64 0, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %1, null
br i1 %4, label %7, label %5
5: ; preds = %3
%6 = load i32, ptr %1, align 4, !tbaa !9
switch i32 %6, label %12 [
i32 0, label %7
i32 8, label %8
]
7: ; preds = %5, %3
store i64 0, ptr %2, align 8, !tbaa !5
br label %12
8: ; preds = %5
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %10, i32 noundef 8) #2
br label %12
12: ; preds = %7, %8, %5
%13 = phi ptr [ @GSS_S_UNAVAILABLE, %5 ], [ @GSS_S_COMPLETE, %8 ], [ @GSS_S_COMPLETE, %7 ]
%14 = load i64, ptr %13, align 8, !tbaa !5
ret i64 %14
}
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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_set_sec_context_option.c_get_int32.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_set_sec_context_option.c_get_int32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GSS_S_UNAVAILABLE = common local_unnamed_addr global i64 0, align 8
@GSS_S_COMPLETE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @get_int32], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @get_int32(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef %2) #0 {
store i64 0, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %1, null
br i1 %4, label %7, label %5
5: ; preds = %3
%6 = load i32, ptr %1, align 4, !tbaa !10
switch i32 %6, label %12 [
i32 0, label %7
i32 8, label %8
]
7: ; preds = %5, %3
store i64 0, ptr %2, align 8, !tbaa !6
br label %12
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %10, i32 noundef 8) #2
br label %12
12: ; preds = %7, %8, %5
%13 = phi ptr [ @GSS_S_UNAVAILABLE, %5 ], [ @GSS_S_COMPLETE, %8 ], [ @GSS_S_COMPLETE, %7 ]
%14 = load i64, ptr %13, align 8, !tbaa !6
ret i64 %14
}
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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
| freebsd_crypto_heimdal_lib_gssapi_krb5_extr_set_sec_context_option.c_get_int32 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ipr.c_ipr_reset_alert.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ipr.c_ipr_reset_alert.c"
target datalayout = "e-m:e-p270:32:32-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.ipr_cmnd = type { %struct.TYPE_4__, i32, ptr }
%struct.TYPE_4__ = type { i32 }
%struct.ipr_ioa_cfg = type { %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { i32 }
@ENTER = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@IPR_UPROCI_RESET_ALERT = dso_local local_unnamed_addr global i32 0, align 4
@ipr_reset_wait_to_start_bist = dso_local local_unnamed_addr global i32 0, align 4
@ipr_reset_block_config_access = dso_local local_unnamed_addr global i32 0, align 4
@IPR_WAIT_FOR_RESET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@IPR_CHECK_FOR_RESET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@LEAVE = dso_local local_unnamed_addr global i32 0, align 4
@IPR_RC_JOB_RETURN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipr_reset_alert], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ipr_reset_alert(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.ipr_cmnd, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = getelementptr inbounds %struct.ipr_ioa_cfg, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !15
%8 = call i32 @pci_read_config_word(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2) #3
%9 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !15
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %1
%12 = load i32, ptr %2, align 4, !tbaa !15
%13 = load i32, ptr @PCI_COMMAND_MEMORY, align 4, !tbaa !15
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = call i32 @ipr_mask_and_clear_interrupts(ptr noundef nonnull %4, i32 noundef -1) #3
%18 = load i32, ptr @IPR_UPROCI_RESET_ALERT, align 4, !tbaa !15
%19 = load i32, ptr %4, align 4, !tbaa !16
%20 = call i32 @writel(i32 noundef %18, i32 noundef %19) #3
br label %21
21: ; preds = %1, %11, %16
%22 = phi ptr [ @ipr_reset_wait_to_start_bist, %16 ], [ @ipr_reset_block_config_access, %11 ], [ @ipr_reset_block_config_access, %1 ]
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = getelementptr inbounds %struct.ipr_cmnd, ptr %0, i64 0, i32 1
store i32 %23, ptr %24, align 4, !tbaa !17
%25 = load i32, ptr @IPR_WAIT_FOR_RESET_TIMEOUT, align 4, !tbaa !15
store i32 %25, ptr %0, align 8, !tbaa !18
%26 = load i32, ptr @IPR_CHECK_FOR_RESET_TIMEOUT, align 4, !tbaa !15
%27 = call i32 @ipr_reset_start_timer(ptr noundef nonnull %0, i32 noundef %26) #3
%28 = load i32, ptr @IPR_RC_JOB_RETURN, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_read_config_word(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ipr_mask_and_clear_interrupts(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ipr_reset_start_timer(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, !11, i64 8}
!6 = !{!"ipr_cmnd", !7, i64 0, !8, i64 4, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 4}
!13 = !{!"ipr_ioa_cfg", !14, i64 0, !8, i64 4}
!14 = !{!"TYPE_3__", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!13, !8, i64 0}
!17 = !{!6, !8, i64 4}
!18 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ipr.c_ipr_reset_alert.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ipr.c_ipr_reset_alert.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENTER = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND = common local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MEMORY = common local_unnamed_addr global i32 0, align 4
@IPR_UPROCI_RESET_ALERT = common local_unnamed_addr global i32 0, align 4
@ipr_reset_wait_to_start_bist = common local_unnamed_addr global i32 0, align 4
@ipr_reset_block_config_access = common local_unnamed_addr global i32 0, align 4
@IPR_WAIT_FOR_RESET_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@IPR_CHECK_FOR_RESET_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@LEAVE = common local_unnamed_addr global i32 0, align 4
@IPR_RC_JOB_RETURN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipr_reset_alert], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ipr_reset_alert(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !16
%8 = call i32 @pci_read_config_word(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2) #3
%9 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !16
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %1
%12 = load i32, ptr %2, align 4, !tbaa !16
%13 = load i32, ptr @PCI_COMMAND_MEMORY, align 4, !tbaa !16
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = call i32 @ipr_mask_and_clear_interrupts(ptr noundef nonnull %4, i32 noundef -1) #3
%18 = load i32, ptr @IPR_UPROCI_RESET_ALERT, align 4, !tbaa !16
%19 = load i32, ptr %4, align 4, !tbaa !17
%20 = call i32 @writel(i32 noundef %18, i32 noundef %19) #3
br label %21
21: ; preds = %1, %11, %16
%22 = phi ptr [ @ipr_reset_wait_to_start_bist, %16 ], [ @ipr_reset_block_config_access, %11 ], [ @ipr_reset_block_config_access, %1 ]
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %23, ptr %24, align 4, !tbaa !18
%25 = load i32, ptr @IPR_WAIT_FOR_RESET_TIMEOUT, align 4, !tbaa !16
store i32 %25, ptr %0, align 8, !tbaa !19
%26 = load i32, ptr @IPR_CHECK_FOR_RESET_TIMEOUT, align 4, !tbaa !16
%27 = call i32 @ipr_reset_start_timer(ptr noundef nonnull %0, i32 noundef %26) #3
%28 = load i32, ptr @IPR_RC_JOB_RETURN, align 4, !tbaa !16
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_read_config_word(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ipr_mask_and_clear_interrupts(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ipr_reset_start_timer(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, !12, i64 8}
!7 = !{!"ipr_cmnd", !8, i64 0, !9, i64 4, !12, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !9, i64 4}
!14 = !{!"ipr_ioa_cfg", !15, i64 0, !9, i64 4}
!15 = !{!"TYPE_3__", !9, i64 0}
!16 = !{!9, !9, i64 0}
!17 = !{!14, !9, i64 0}
!18 = !{!7, !9, i64 4}
!19 = !{!7, !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_ipr.c_ipr_reset_alert |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-cuda.c_cuda_poll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-cuda.c_cuda_poll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cuda_irq = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cuda_poll() local_unnamed_addr #0 {
%1 = load i32, ptr @cuda_irq, align 4, !tbaa !5
%2 = tail call i32 @disable_irq(i32 noundef %1) #2
%3 = tail call i32 @cuda_interrupt(i32 noundef 0, ptr noundef null) #2
%4 = load i32, ptr @cuda_irq, align 4, !tbaa !5
%5 = tail call i32 @enable_irq(i32 noundef %4) #2
ret void
}
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @cuda_interrupt(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-cuda.c_cuda_poll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-cuda.c_cuda_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cuda_irq = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cuda_poll() local_unnamed_addr #0 {
%1 = load i32, ptr @cuda_irq, align 4, !tbaa !6
%2 = tail call i32 @disable_irq(i32 noundef %1) #2
%3 = tail call i32 @cuda_interrupt(i32 noundef 0, ptr noundef null) #2
%4 = load i32, ptr @cuda_irq, align 4, !tbaa !6
%5 = tail call i32 @enable_irq(i32 noundef %4) #2
ret void
}
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @cuda_interrupt(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_macintosh_extr_via-cuda.c_cuda_poll |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_create_hwdep.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_create_hwdep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_hwdep = type { %struct.TYPE_2__, i32, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [11 x i8] c"HDSP hwdep\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"HDSP hwdep interface\00", align 1
@snd_hdsp_hwdep_ioctl = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_hdsp_create_hwdep], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_hdsp_create_hwdep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @snd_hwdep_new(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load ptr, ptr %3, align 8, !tbaa !5
store ptr %7, ptr %1, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.snd_hwdep, ptr %7, i64 0, i32 2
store ptr %1, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.snd_hwdep, ptr %7, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = call i32 @strcpy(i32 noundef %10, ptr noundef nonnull @.str.1) #3
%12 = load i32, ptr @snd_hdsp_hwdep_ioctl, align 4, !tbaa !16
%13 = load ptr, ptr %3, align 8, !tbaa !5
store i32 %12, ptr %13, align 8, !tbaa !17
br label %14
14: ; preds = %2, %6
%15 = phi i32 [ 0, %6 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snd_hwdep_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"hdsp", !6, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"snd_hwdep", !13, i64 0, !14, i64 4, !6, i64 8}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !14, i64 4}
!16 = !{!14, !14, i64 0}
!17 = !{!12, !14, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_create_hwdep.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_create_hwdep.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 [11 x i8] c"HDSP hwdep\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"HDSP hwdep interface\00", align 1
@snd_hdsp_hwdep_ioctl = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_hdsp_create_hwdep], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @snd_hdsp_create_hwdep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @snd_hwdep_new(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load ptr, ptr %3, align 8, !tbaa !6
store ptr %7, ptr %1, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %1, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %7, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = call i32 @strcpy(i32 noundef %10, ptr noundef nonnull @.str.1) #3
%12 = load i32, ptr @snd_hdsp_hwdep_ioctl, align 4, !tbaa !17
%13 = load ptr, ptr %3, align 8, !tbaa !6
store i32 %12, ptr %13, align 8, !tbaa !18
br label %14
14: ; preds = %2, %6
%15 = phi i32 [ 0, %6 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snd_hwdep_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"hdsp", !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"snd_hwdep", !14, i64 0, !15, i64 4, !7, i64 8}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!13, !15, i64 4}
!17 = !{!15, !15, i64 0}
!18 = !{!13, !15, i64 0}
| fastsocket_kernel_sound_pci_rme9652_extr_hdsp.c_snd_hdsp_create_hwdep |
; ModuleID = 'AnghaBench/linux/drivers/base/extr_soc.c_soc_device_match_attr.c'
source_filename = "AnghaBench/linux/drivers/base/extr_soc.c_soc_device_match_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.soc_device_attribute = type { i64, i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @soc_device_match_attr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @soc_device_match_attr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.soc_device_attribute, ptr %1, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.soc_device_attribute, ptr %0, i64 0, i32 3
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %45, label %10
10: ; preds = %6
%11 = tail call i32 @glob_match(i64 noundef %4, i64 noundef %8) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %45, label %13
13: ; preds = %10, %2
%14 = getelementptr inbounds %struct.soc_device_attribute, ptr %1, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !10
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %13
%18 = getelementptr inbounds %struct.soc_device_attribute, ptr %0, i64 0, i32 2
%19 = load i64, ptr %18, align 8, !tbaa !10
%20 = icmp eq i64 %19, 0
br i1 %20, label %45, label %21
21: ; preds = %17
%22 = tail call i32 @glob_match(i64 noundef %15, i64 noundef %19) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %45, label %24
24: ; preds = %21, %13
%25 = getelementptr inbounds %struct.soc_device_attribute, ptr %1, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !11
%27 = icmp eq i64 %26, 0
br i1 %27, label %35, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.soc_device_attribute, ptr %0, i64 0, i32 1
%30 = load i64, ptr %29, align 8, !tbaa !11
%31 = icmp eq i64 %30, 0
br i1 %31, label %45, label %32
32: ; preds = %28
%33 = tail call i32 @glob_match(i64 noundef %26, i64 noundef %30) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %45, label %35
35: ; preds = %32, %24
%36 = load i64, ptr %1, align 8, !tbaa !12
%37 = icmp eq i64 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %35
%39 = load i64, ptr %0, align 8, !tbaa !12
%40 = icmp eq i64 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %38
%42 = tail call i32 @glob_match(i64 noundef %36, i64 noundef %39) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %41, %35
br label %45
45: ; preds = %38, %41, %28, %32, %17, %21, %6, %10, %44
%46 = phi i32 [ 1, %44 ], [ 0, %10 ], [ 0, %6 ], [ 0, %21 ], [ 0, %17 ], [ 0, %32 ], [ 0, %28 ], [ 0, %41 ], [ 0, %38 ]
ret i32 %46
}
declare i32 @glob_match(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"soc_device_attribute", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/base/extr_soc.c_soc_device_match_attr.c'
source_filename = "AnghaBench/linux/drivers/base/extr_soc.c_soc_device_match_attr.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 @soc_device_match_attr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @soc_device_match_attr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 24
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %45, label %10
10: ; preds = %6
%11 = tail call i32 @glob_match(i64 noundef %4, i64 noundef %8) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %45, label %13
13: ; preds = %10, %2
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !11
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load i64, ptr %18, align 8, !tbaa !11
%20 = icmp eq i64 %19, 0
br i1 %20, label %45, label %21
21: ; preds = %17
%22 = tail call i32 @glob_match(i64 noundef %15, i64 noundef %19) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %45, label %24
24: ; preds = %21, %13
%25 = getelementptr inbounds i8, ptr %1, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !12
%27 = icmp eq i64 %26, 0
br i1 %27, label %35, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !12
%31 = icmp eq i64 %30, 0
br i1 %31, label %45, label %32
32: ; preds = %28
%33 = tail call i32 @glob_match(i64 noundef %26, i64 noundef %30) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %45, label %35
35: ; preds = %32, %24
%36 = load i64, ptr %1, align 8, !tbaa !13
%37 = icmp eq i64 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %35
%39 = load i64, ptr %0, align 8, !tbaa !13
%40 = icmp eq i64 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %38
%42 = tail call i32 @glob_match(i64 noundef %36, i64 noundef %39) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %41, %35
br label %45
45: ; preds = %38, %41, %28, %32, %17, %21, %6, %10, %44
%46 = phi i32 [ 1, %44 ], [ 0, %10 ], [ 0, %6 ], [ 0, %21 ], [ 0, %17 ], [ 0, %32 ], [ 0, %28 ], [ 0, %41 ], [ 0, %38 ]
ret i32 %46
}
declare i32 @glob_match(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"soc_device_attribute", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 16}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 0}
| linux_drivers_base_extr_soc.c_soc_device_match_attr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_request_callback_itl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_request_callback_itl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IOPMU_QUEUE_ADDR_HOST_BIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hptiop_request_callback_itl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hptiop_request_callback_itl(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IOPMU_QUEUE_ADDR_HOST_BIT, align 4, !tbaa !5
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = xor i32 %3, -1
%8 = and i32 %7, %1
%9 = tail call i32 @hptiop_host_request_callback_itl(ptr noundef %0, i32 noundef %8) #2
br label %12
10: ; preds = %2
%11 = tail call i32 @hptiop_iop_request_callback_itl(ptr noundef %0, i32 noundef %1) #2
br label %12
12: ; preds = %10, %6
ret void
}
declare i32 @hptiop_host_request_callback_itl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hptiop_iop_request_callback_itl(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/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_request_callback_itl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_request_callback_itl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IOPMU_QUEUE_ADDR_HOST_BIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hptiop_request_callback_itl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hptiop_request_callback_itl(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IOPMU_QUEUE_ADDR_HOST_BIT, align 4, !tbaa !6
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = xor i32 %3, -1
%8 = and i32 %7, %1
%9 = tail call i32 @hptiop_host_request_callback_itl(ptr noundef %0, i32 noundef %8) #2
br label %12
10: ; preds = %2
%11 = tail call i32 @hptiop_iop_request_callback_itl(ptr noundef %0, i32 noundef %1) #2
br label %12
12: ; preds = %10, %6
ret void
}
declare i32 @hptiop_host_request_callback_itl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hptiop_iop_request_callback_itl(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"}
| fastsocket_kernel_drivers_scsi_extr_hptiop.c_hptiop_request_callback_itl |
; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_string.c_heap_string_free.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_string.c_heap_string_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 @heap_string_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @heap_string_free(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @heap_free(i32 noundef %2) #2
ret void
}
declare i32 @heap_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 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_string.c_heap_string_free.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_string.c_heap_string_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 @heap_string_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @heap_string_free(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @heap_free(i32 noundef %2) #2
ret void
}
declare i32 @heap_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 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| reactos_dll_win32_riched20_extr_string.c_heap_string_free |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_timbuart.c_timbuart_tx_empty.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_timbuart.c_timbuart_tx_empty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIMBUART_ISR = dso_local local_unnamed_addr global i64 0, align 8
@TXBE = dso_local local_unnamed_addr global i32 0, align 4
@TIOCSER_TEMT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @timbuart_tx_empty], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @timbuart_tx_empty(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @TIMBUART_ISR, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
%5 = tail call i32 @ioread32(i64 noundef %4) #2
%6 = load i32, ptr @TXBE, align 4, !tbaa !11
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @TIOCSER_TEMT, align 4
%10 = select i1 %8, i32 0, i32 %9
ret i32 %10
}
declare i32 @ioread32(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 = !{!"uart_port", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_timbuart.c_timbuart_tx_empty.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_timbuart.c_timbuart_tx_empty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIMBUART_ISR = common local_unnamed_addr global i64 0, align 8
@TXBE = common local_unnamed_addr global i32 0, align 4
@TIOCSER_TEMT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @timbuart_tx_empty], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @timbuart_tx_empty(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @TIMBUART_ISR, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
%5 = tail call i32 @ioread32(i64 noundef %4) #2
%6 = load i32, ptr @TXBE, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @TIOCSER_TEMT, align 4
%10 = select i1 %8, i32 0, i32 %9
ret i32 %10
}
declare i32 @ioread32(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 = !{!"uart_port", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_serial_extr_timbuart.c_timbuart_tx_empty |
; ModuleID = 'AnghaBench/lede/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/extr_cns3xxx_eth.c_eth_remove_one.c'
source_filename = "AnghaBench/lede/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/extr_cns3xxx_eth.c_eth_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.port = type { i32, ptr }
@switch_port_tab = dso_local local_unnamed_addr global ptr null, align 8
@napi_dev = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @eth_remove_one], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @eth_remove_one(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call ptr @netdev_priv(ptr noundef %2) #2
%4 = tail call i32 @destroy_rings(ptr noundef %3) #2
%5 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
%6 = getelementptr inbounds ptr, ptr %5, i64 3
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.port, ptr %7, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !9
%12 = tail call i32 @unregister_netdev(ptr noundef %11) #2
%13 = load i32, ptr %7, align 8, !tbaa !12
%14 = tail call i32 @phy_disconnect(i32 noundef %13) #2
%15 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
%16 = getelementptr inbounds ptr, ptr %15, i64 3
store ptr null, ptr %16, align 8, !tbaa !5
%17 = tail call i32 @free_netdev(ptr noundef %11) #2
%18 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
br label %19
19: ; preds = %1, %9
%20 = phi ptr [ %5, %1 ], [ %18, %9 ]
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8, !tbaa !5
%23 = icmp eq ptr %22, null
br i1 %23, label %34, label %24
24: ; preds = %19
%25 = getelementptr inbounds %struct.port, ptr %22, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !9
%27 = tail call i32 @unregister_netdev(ptr noundef %26) #2
%28 = load i32, ptr %22, align 8, !tbaa !12
%29 = tail call i32 @phy_disconnect(i32 noundef %28) #2
%30 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
%31 = getelementptr inbounds ptr, ptr %30, i64 2
store ptr null, ptr %31, align 8, !tbaa !5
%32 = tail call i32 @free_netdev(ptr noundef %26) #2
%33 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
br label %34
34: ; preds = %24, %19
%35 = phi ptr [ %33, %24 ], [ %20, %19 ]
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8, !tbaa !5
%38 = icmp eq ptr %37, null
br i1 %38, label %49, label %39
39: ; preds = %34
%40 = getelementptr inbounds %struct.port, ptr %37, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !9
%42 = tail call i32 @unregister_netdev(ptr noundef %41) #2
%43 = load i32, ptr %37, align 8, !tbaa !12
%44 = tail call i32 @phy_disconnect(i32 noundef %43) #2
%45 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
%46 = getelementptr inbounds ptr, ptr %45, i64 1
store ptr null, ptr %46, align 8, !tbaa !5
%47 = tail call i32 @free_netdev(ptr noundef %41) #2
%48 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
br label %49
49: ; preds = %39, %34
%50 = phi ptr [ %48, %39 ], [ %35, %34 ]
%51 = load ptr, ptr %50, align 8, !tbaa !5
%52 = icmp eq ptr %51, null
br i1 %52, label %61, label %53
53: ; preds = %49
%54 = getelementptr inbounds %struct.port, ptr %51, i64 0, i32 1
%55 = load ptr, ptr %54, align 8, !tbaa !9
%56 = tail call i32 @unregister_netdev(ptr noundef %55) #2
%57 = load i32, ptr %51, align 8, !tbaa !12
%58 = tail call i32 @phy_disconnect(i32 noundef %57) #2
%59 = load ptr, ptr @switch_port_tab, align 8, !tbaa !5
store ptr null, ptr %59, align 8, !tbaa !5
%60 = tail call i32 @free_netdev(ptr noundef %55) #2
br label %61
61: ; preds = %53, %49
%62 = load ptr, ptr @napi_dev, align 8, !tbaa !5
%63 = tail call i32 @free_netdev(ptr noundef %62) #2
%64 = tail call i32 (...) @cns3xxx_mdio_remove() #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_rings(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @phy_disconnect(i32 noundef) local_unnamed_addr #1
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @cns3xxx_mdio_remove(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 8}
!10 = !{!"port", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/lede/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/extr_cns3xxx_eth.c_eth_remove_one.c'
source_filename = "AnghaBench/lede/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/extr_cns3xxx_eth.c_eth_remove_one.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@switch_port_tab = common local_unnamed_addr global ptr null, align 8
@napi_dev = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @eth_remove_one], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @eth_remove_one(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call ptr @netdev_priv(ptr noundef %2) #2
%4 = tail call i32 @destroy_rings(ptr noundef %3) #2
%5 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %7, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = tail call i32 @unregister_netdev(ptr noundef %11) #2
%13 = load i32, ptr %7, align 8, !tbaa !13
%14 = tail call i32 @phy_disconnect(i32 noundef %13) #2
%15 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
%16 = getelementptr inbounds i8, ptr %15, i64 24
store ptr null, ptr %16, align 8, !tbaa !6
%17 = tail call i32 @free_netdev(ptr noundef %11) #2
%18 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
br label %19
19: ; preds = %1, %9
%20 = phi ptr [ %5, %1 ], [ %18, %9 ]
%21 = getelementptr inbounds i8, ptr %20, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !6
%23 = icmp eq ptr %22, null
br i1 %23, label %34, label %24
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %22, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !10
%27 = tail call i32 @unregister_netdev(ptr noundef %26) #2
%28 = load i32, ptr %22, align 8, !tbaa !13
%29 = tail call i32 @phy_disconnect(i32 noundef %28) #2
%30 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
%31 = getelementptr inbounds i8, ptr %30, i64 16
store ptr null, ptr %31, align 8, !tbaa !6
%32 = tail call i32 @free_netdev(ptr noundef %26) #2
%33 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
br label %34
34: ; preds = %24, %19
%35 = phi ptr [ %33, %24 ], [ %20, %19 ]
%36 = getelementptr inbounds i8, ptr %35, i64 8
%37 = load ptr, ptr %36, align 8, !tbaa !6
%38 = icmp eq ptr %37, null
br i1 %38, label %49, label %39
39: ; preds = %34
%40 = getelementptr inbounds i8, ptr %37, i64 8
%41 = load ptr, ptr %40, align 8, !tbaa !10
%42 = tail call i32 @unregister_netdev(ptr noundef %41) #2
%43 = load i32, ptr %37, align 8, !tbaa !13
%44 = tail call i32 @phy_disconnect(i32 noundef %43) #2
%45 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
%46 = getelementptr inbounds i8, ptr %45, i64 8
store ptr null, ptr %46, align 8, !tbaa !6
%47 = tail call i32 @free_netdev(ptr noundef %41) #2
%48 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
br label %49
49: ; preds = %39, %34
%50 = phi ptr [ %48, %39 ], [ %35, %34 ]
%51 = load ptr, ptr %50, align 8, !tbaa !6
%52 = icmp eq ptr %51, null
br i1 %52, label %61, label %53
53: ; preds = %49
%54 = getelementptr inbounds i8, ptr %51, i64 8
%55 = load ptr, ptr %54, align 8, !tbaa !10
%56 = tail call i32 @unregister_netdev(ptr noundef %55) #2
%57 = load i32, ptr %51, align 8, !tbaa !13
%58 = tail call i32 @phy_disconnect(i32 noundef %57) #2
%59 = load ptr, ptr @switch_port_tab, align 8, !tbaa !6
store ptr null, ptr %59, align 8, !tbaa !6
%60 = tail call i32 @free_netdev(ptr noundef %55) #2
br label %61
61: ; preds = %53, %49
%62 = load ptr, ptr @napi_dev, align 8, !tbaa !6
%63 = tail call i32 @free_netdev(ptr noundef %62) #2
%64 = tail call i32 @cns3xxx_mdio_remove() #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_rings(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @phy_disconnect(i32 noundef) local_unnamed_addr #1
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @cns3xxx_mdio_remove(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 8}
!11 = !{!"port", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
| lede_target_linux_cns3xxx_files_drivers_net_ethernet_cavium_extr_cns3xxx_eth.c_eth_remove_one |
; ModuleID = 'AnghaBench/esp-idf/components/esp_https_ota/src/extr_esp_https_ota.c_process_again.c'
source_filename = "AnghaBench/esp-idf/components/esp_https_ota/src/extr_esp_https_ota.c_process_again.c"
target datalayout = "e-m:e-p270:32:32-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 @process_again], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @process_again(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 3
%4 = zext i1 %3 to i32
ret i32 %4
}
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/esp-idf/components/esp_https_ota/src/extr_esp_https_ota.c_process_again.c'
source_filename = "AnghaBench/esp-idf/components/esp_https_ota/src/extr_esp_https_ota.c_process_again.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 @process_again], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @process_again(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 3
%4 = zext i1 %3 to i32
ret i32 %4
}
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)"}
| esp-idf_components_esp_https_ota_src_extr_esp_https_ota.c_process_again |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_rt.c_get_tcpmss.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_rt.c_get_tcpmss.c"
target datalayout = "e-m:e-p270:32:32-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.flowi = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@TCP_MSS_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_tcpmss], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_tcpmss(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.flowi, align 4
%5 = tail call i32 @dst_mtu(ptr noundef %1) #3
%6 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 8) #3
%8 = call i32 @nft_pf(ptr noundef nonnull %0) #3
switch i32 %8, label %16 [
i32 129, label %9
i32 128, label %13
]
9: ; preds = %2
%10 = call ptr @ip_hdr(ptr noundef %6) #3
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
store i32 %11, ptr %12, align 4, !tbaa !14
br label %16
13: ; preds = %2
%14 = call ptr @ipv6_hdr(ptr noundef %6) #3
%15 = load i32, ptr %14, align 4, !tbaa !19
store i32 %15, ptr %4, align 4, !tbaa !21
br label %16
16: ; preds = %2, %13, %9
%17 = phi i32 [ 4, %2 ], [ 8, %13 ], [ 8, %9 ]
%18 = call i32 @nft_net(ptr noundef nonnull %0) #3
%19 = call i32 @nft_pf(ptr noundef nonnull %0) #3
%20 = call i32 @nf_route(i32 noundef %18, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 0, i32 noundef %19) #3
%21 = load ptr, ptr %3, align 8, !tbaa !10
%22 = icmp eq ptr %21, null
br i1 %22, label %28, label %23
23: ; preds = %16
%24 = call i32 @dst_mtu(ptr noundef nonnull %21) #3
%25 = call i32 @min(i32 noundef %5, i32 noundef %24) #3
%26 = load ptr, ptr %3, align 8, !tbaa !10
%27 = call i32 @dst_release(ptr noundef %26) #3
br label %28
28: ; preds = %23, %16
%29 = phi i32 [ %25, %23 ], [ %5, %16 ]
%30 = icmp sle i32 %29, %17
%31 = icmp sgt i32 %29, 65535
%32 = or i1 %30, %31
%33 = load i32, ptr @TCP_MSS_DEFAULT, align 4
%34 = sub nsw i32 %29, %17
%35 = select i1 %32, i32 %33, i32 %34
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dst_mtu(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nft_pf(ptr noundef) local_unnamed_addr #2
declare ptr @ip_hdr(ptr noundef) local_unnamed_addr #2
declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #2
declare i32 @nf_route(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nft_net(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dst_release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nft_pktinfo", !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_10__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"flowi", !16, i64 0}
!16 = !{!"TYPE_8__", !17, i64 0, !18, i64 4}
!17 = !{!"TYPE_7__", !13, i64 0}
!18 = !{!"TYPE_6__", !13, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_9__", !13, i64 0}
!21 = !{!15, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_rt.c_get_tcpmss.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_rt.c_get_tcpmss.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.flowi = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@TCP_MSS_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_tcpmss], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_tcpmss(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.flowi, align 4
%5 = tail call i32 @dst_mtu(ptr noundef %1) #3
%6 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 8) #3
%8 = call i32 @nft_pf(ptr noundef nonnull %0) #3
switch i32 %8, label %16 [
i32 129, label %9
i32 128, label %13
]
9: ; preds = %2
%10 = call ptr @ip_hdr(ptr noundef %6) #3
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %11, ptr %12, align 4, !tbaa !15
br label %16
13: ; preds = %2
%14 = call ptr @ipv6_hdr(ptr noundef %6) #3
%15 = load i32, ptr %14, align 4, !tbaa !20
store i32 %15, ptr %4, align 4, !tbaa !22
br label %16
16: ; preds = %2, %13, %9
%17 = phi i32 [ 4, %2 ], [ 8, %13 ], [ 8, %9 ]
%18 = call i32 @nft_net(ptr noundef nonnull %0) #3
%19 = call i32 @nft_pf(ptr noundef nonnull %0) #3
%20 = call i32 @nf_route(i32 noundef %18, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 0, i32 noundef %19) #3
%21 = load ptr, ptr %3, align 8, !tbaa !11
%22 = icmp eq ptr %21, null
br i1 %22, label %28, label %23
23: ; preds = %16
%24 = call i32 @dst_mtu(ptr noundef nonnull %21) #3
%25 = call i32 @min(i32 noundef %5, i32 noundef %24) #3
%26 = load ptr, ptr %3, align 8, !tbaa !11
%27 = call i32 @dst_release(ptr noundef %26) #3
br label %28
28: ; preds = %23, %16
%29 = phi i32 [ %25, %23 ], [ %5, %16 ]
%30 = icmp sle i32 %29, %17
%31 = icmp sgt i32 %29, 65535
%32 = or i1 %30, %31
%33 = load i32, ptr @TCP_MSS_DEFAULT, align 4
%34 = sub nsw i32 %29, %17
%35 = select i1 %32, i32 %33, i32 %34
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dst_mtu(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nft_pf(ptr noundef) local_unnamed_addr #2
declare ptr @ip_hdr(ptr noundef) local_unnamed_addr #2
declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #2
declare i32 @nf_route(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nft_net(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dst_release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nft_pktinfo", !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_10__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"flowi", !17, i64 0}
!17 = !{!"TYPE_8__", !18, i64 0, !19, i64 4}
!18 = !{!"TYPE_7__", !14, i64 0}
!19 = !{!"TYPE_6__", !14, i64 0}
!20 = !{!21, !14, i64 0}
!21 = !{!"TYPE_9__", !14, i64 0}
!22 = !{!16, !14, i64 0}
| linux_net_netfilter_extr_nft_rt.c_get_tcpmss |
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_get_target.c'
source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_get_target.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FDT_ERR_BADPHANDLE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"target-path\00", align 1
@FDT_ERR_NOTFOUND = dso_local local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADOVERLAY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @overlay_get_target], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @overlay_get_target(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef writeonly %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !5
%6 = tail call i64 @overlay_get_target_phandle(ptr noundef %1, i32 noundef %2) #3
switch i64 %6, label %17 [
i64 -1, label %7
i64 0, label %10
]
7: ; preds = %4
%8 = load i32, ptr @FDT_ERR_BADPHANDLE, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %37
10: ; preds = %4
%11 = call ptr @fdt_getprop(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %5) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = call i32 @fdt_path_offset(ptr noundef %0, ptr noundef nonnull %11) #3
br label %19
15: ; preds = %10
%16 = load i32, ptr %5, align 4, !tbaa !5
br label %19
17: ; preds = %4
%18 = tail call i32 @fdt_node_offset_by_phandle(ptr noundef %0, i64 noundef %6) #3
br label %19
19: ; preds = %13, %15, %17
%20 = phi ptr [ null, %17 ], [ %11, %13 ], [ null, %15 ]
%21 = phi i32 [ %18, %17 ], [ %14, %13 ], [ %16, %15 ]
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = load i32, ptr %5, align 4, !tbaa !5
%25 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !5
%26 = sub nsw i32 0, %25
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %37
28: ; preds = %23
%29 = load i32, ptr @FDT_ERR_BADOVERLAY, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %28, %19
%32 = phi i32 [ %30, %28 ], [ %21, %19 ]
%33 = icmp slt i32 %32, 0
%34 = icmp eq ptr %3, null
%35 = or i1 %34, %33
br i1 %35, label %37, label %36
36: ; preds = %31
store ptr %20, ptr %3, align 8, !tbaa !9
br label %37
37: ; preds = %23, %36, %31, %7
%38 = phi i32 [ %9, %7 ], [ %32, %31 ], [ %32, %36 ], [ %21, %23 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @overlay_get_target_phandle(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @fdt_getprop(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fdt_path_offset(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fdt_node_offset_by_phandle(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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}
| ; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_get_target.c'
source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_get_target.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FDT_ERR_BADPHANDLE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"target-path\00", align 1
@FDT_ERR_NOTFOUND = common local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADOVERLAY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @overlay_get_target], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @overlay_get_target(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef writeonly %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !6
%6 = tail call i64 @overlay_get_target_phandle(ptr noundef %1, i32 noundef %2) #3
switch i64 %6, label %17 [
i64 -1, label %7
i64 0, label %10
]
7: ; preds = %4
%8 = load i32, ptr @FDT_ERR_BADPHANDLE, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %37
10: ; preds = %4
%11 = call ptr @fdt_getprop(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %5) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = call i32 @fdt_path_offset(ptr noundef %0, ptr noundef nonnull %11) #3
br label %19
15: ; preds = %10
%16 = load i32, ptr %5, align 4, !tbaa !6
br label %19
17: ; preds = %4
%18 = tail call i32 @fdt_node_offset_by_phandle(ptr noundef %0, i64 noundef %6) #3
br label %19
19: ; preds = %13, %15, %17
%20 = phi ptr [ null, %17 ], [ %11, %13 ], [ null, %15 ]
%21 = phi i32 [ %18, %17 ], [ %14, %13 ], [ %16, %15 ]
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = load i32, ptr %5, align 4, !tbaa !6
%25 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !6
%26 = sub nsw i32 0, %25
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %37
28: ; preds = %23
%29 = load i32, ptr @FDT_ERR_BADOVERLAY, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %28, %19
%32 = phi i32 [ %30, %28 ], [ %21, %19 ]
%33 = icmp slt i32 %32, 0
%34 = icmp eq ptr %3, null
%35 = or i1 %34, %33
br i1 %35, label %37, label %36
36: ; preds = %31
store ptr %20, ptr %3, align 8, !tbaa !10
br label %37
37: ; preds = %23, %36, %31, %7
%38 = phi i32 [ %9, %7 ], [ %32, %31 ], [ %32, %36 ], [ %21, %23 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @overlay_get_target_phandle(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @fdt_getprop(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fdt_path_offset(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fdt_node_offset_by_phandle(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| linux_scripts_dtc_libfdt_extr_fdt_overlay.c_overlay_get_target |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_chk_16_al.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_chk_16_al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DX = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@EXCEPTION_CHK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_chk_16_al() local_unnamed_addr #0 {
%1 = load i32, ptr @DX, align 4, !tbaa !5
%2 = tail call i64 @MAKE_INT_16(i32 noundef %1) #2
%3 = tail call i32 (...) @OPER_AL_16() #2
%4 = tail call i64 @MAKE_INT_16(i32 noundef %3) #2
%5 = tail call i32 @ZFLAG_16(i64 noundef %2) #2
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !5
%6 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %6, ptr @FLAG_V, align 4, !tbaa !5
%7 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5
store i32 %7, ptr @FLAG_C, align 4, !tbaa !5
%8 = icmp slt i64 %2, 0
%9 = icmp sgt i64 %2, %4
%10 = select i1 %8, i1 true, i1 %9
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = lshr i64 %2, 56
%13 = trunc i64 %12 to i32
%14 = and i32 %13, 128
store i32 %14, ptr @FLAG_N, align 4, !tbaa !5
%15 = load i32, ptr @EXCEPTION_CHK, align 4, !tbaa !5
%16 = tail call i32 @m68ki_exception_trap(i32 noundef %15) #2
br label %17
17: ; preds = %0, %11
ret void
}
declare i64 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_AL_16(...) local_unnamed_addr #1
declare i32 @ZFLAG_16(i64 noundef) local_unnamed_addr #1
declare i32 @m68ki_exception_trap(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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_chk_16_al.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_chk_16_al.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DX = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@EXCEPTION_CHK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_chk_16_al() local_unnamed_addr #0 {
%1 = load i32, ptr @DX, align 4, !tbaa !6
%2 = tail call i64 @MAKE_INT_16(i32 noundef %1) #2
%3 = tail call i32 @OPER_AL_16() #2
%4 = tail call i64 @MAKE_INT_16(i32 noundef %3) #2
%5 = tail call i32 @ZFLAG_16(i64 noundef %2) #2
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !6
%6 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %6, ptr @FLAG_V, align 4, !tbaa !6
%7 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6
store i32 %7, ptr @FLAG_C, align 4, !tbaa !6
%8 = icmp slt i64 %2, 0
%9 = icmp sgt i64 %2, %4
%10 = select i1 %8, i1 true, i1 %9
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = lshr i64 %2, 56
%13 = trunc nuw nsw i64 %12 to i32
%14 = and i32 %13, 128
store i32 %14, ptr @FLAG_N, align 4, !tbaa !6
%15 = load i32, ptr @EXCEPTION_CHK, align 4, !tbaa !6
%16 = tail call i32 @m68ki_exception_trap(i32 noundef %15) #2
br label %17
17: ; preds = %0, %11
ret void
}
declare i64 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_AL_16(...) local_unnamed_addr #1
declare i32 @ZFLAG_16(i64 noundef) local_unnamed_addr #1
declare i32 @m68ki_exception_trap(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"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_chk_16_al |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_init_recovery_area.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_init_recovery_area.c"
target datalayout = "e-m:e-p270:32:32-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.dlm_ctxt = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32, i32 }
%struct.dlm_reco_node_data = type { i32, i32, i32 }
@O2NM_MAX_NODES = dso_local local_unnamed_addr global i32 0, align 4
@GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@DLM_RECO_NODE_DATA_INIT = dso_local local_unnamed_addr global i32 0, align 4
@dlm_reco_state_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dlm_init_recovery_area], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dlm_init_recovery_area(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.dlm_ctxt, ptr %0, i64 0, i32 1
%4 = tail call i32 @spin_lock(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.dlm_ctxt, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i32 @memcpy(i32 noundef %6, i32 noundef %8, i32 noundef 4) #2
%10 = tail call i32 @spin_unlock(ptr noundef nonnull %3) #2
%11 = load i32, ptr %5, align 4, !tbaa !5
%12 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !12
%13 = tail call i32 @find_next_bit(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2
%14 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !12
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %41
16: ; preds = %2, %28
%17 = phi i32 [ %38, %28 ], [ %13, %2 ]
%18 = icmp eq i32 %17, %1
%19 = zext i1 %18 to i32
%20 = tail call i32 @BUG_ON(i32 noundef %19) #2
%21 = load i32, ptr @GFP_NOFS, align 4, !tbaa !12
%22 = tail call ptr @kzalloc(i32 noundef 12, i32 noundef %21) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %16
%25 = tail call i32 @dlm_destroy_recovery_area(ptr noundef nonnull %0, i32 noundef %1) #2
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%27 = sub nsw i32 0, %26
br label %41
28: ; preds = %16
store i32 %17, ptr %22, align 4, !tbaa !13
%29 = load i32, ptr @DLM_RECO_NODE_DATA_INIT, align 4, !tbaa !12
%30 = getelementptr inbounds %struct.dlm_reco_node_data, ptr %22, i64 0, i32 2
store i32 %29, ptr %30, align 4, !tbaa !15
%31 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_reco_state_lock) #2
%32 = getelementptr inbounds %struct.dlm_reco_node_data, ptr %22, i64 0, i32 1
%33 = tail call i32 @list_add_tail(ptr noundef nonnull %32, ptr noundef nonnull %0) #2
%34 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_reco_state_lock) #2
%35 = add nsw i32 %17, 1
%36 = load i32, ptr %5, align 4, !tbaa !5
%37 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !12
%38 = tail call i32 @find_next_bit(i32 noundef %36, i32 noundef %37, i32 noundef %35) #2
%39 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !12
%40 = icmp slt i32 %38, %39
br i1 %40, label %16, label %41
41: ; preds = %28, %2, %24
%42 = phi i32 [ %27, %24 ], [ 0, %2 ], [ 0, %28 ]
ret i32 %42
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dlm_destroy_recovery_area(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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, !8, i64 4}
!6 = !{!"dlm_ctxt", !7, i64 0, !8, i64 8, !8, i64 12}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 12}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"dlm_reco_node_data", !8, i64 0, !8, i64 4, !8, i64 8}
!15 = !{!14, !8, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_init_recovery_area.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_init_recovery_area.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O2NM_MAX_NODES = common local_unnamed_addr global i32 0, align 4
@GFP_NOFS = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@DLM_RECO_NODE_DATA_INIT = common local_unnamed_addr global i32 0, align 4
@dlm_reco_state_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dlm_init_recovery_area], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @dlm_init_recovery_area(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = tail call i32 @spin_lock(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @memcpy(i32 noundef %6, i32 noundef %8, i32 noundef 4) #2
%10 = tail call i32 @spin_unlock(ptr noundef nonnull %3) #2
%11 = load i32, ptr %5, align 4, !tbaa !6
%12 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !13
%13 = tail call i32 @find_next_bit(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2
%14 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !13
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %41
16: ; preds = %2, %28
%17 = phi i32 [ %38, %28 ], [ %13, %2 ]
%18 = icmp eq i32 %17, %1
%19 = zext i1 %18 to i32
%20 = tail call i32 @BUG_ON(i32 noundef %19) #2
%21 = load i32, ptr @GFP_NOFS, align 4, !tbaa !13
%22 = tail call ptr @kzalloc(i32 noundef 12, i32 noundef %21) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %28
24: ; preds = %16
%25 = tail call i32 @dlm_destroy_recovery_area(ptr noundef nonnull %0, i32 noundef %1) #2
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%27 = sub nsw i32 0, %26
br label %41
28: ; preds = %16
store i32 %17, ptr %22, align 4, !tbaa !14
%29 = load i32, ptr @DLM_RECO_NODE_DATA_INIT, align 4, !tbaa !13
%30 = getelementptr inbounds i8, ptr %22, i64 8
store i32 %29, ptr %30, align 4, !tbaa !16
%31 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_reco_state_lock) #2
%32 = getelementptr inbounds i8, ptr %22, i64 4
%33 = tail call i32 @list_add_tail(ptr noundef nonnull %32, ptr noundef nonnull %0) #2
%34 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_reco_state_lock) #2
%35 = add nsw i32 %17, 1
%36 = load i32, ptr %5, align 4, !tbaa !6
%37 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !13
%38 = tail call i32 @find_next_bit(i32 noundef %36, i32 noundef %37, i32 noundef %35) #2
%39 = load i32, ptr @O2NM_MAX_NODES, align 4, !tbaa !13
%40 = icmp slt i32 %38, %39
br i1 %40, label %16, label %41
41: ; preds = %28, %2, %24
%42 = phi i32 [ %27, %24 ], [ 0, %2 ], [ 0, %28 ]
ret i32 %42
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dlm_destroy_recovery_area(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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, !9, i64 4}
!7 = !{!"dlm_ctxt", !8, i64 0, !9, i64 8, !9, i64 12}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 12}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !9, i64 0}
!15 = !{!"dlm_reco_node_data", !9, i64 0, !9, i64 4, !9, i64 8}
!16 = !{!15, !9, i64 8}
| fastsocket_kernel_fs_ocfs2_dlm_extr_dlmrecovery.c_dlm_init_recovery_area |
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_driver-ops.h_drv_tdls_channel_switch.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_driver-ops.h_drv_tdls_channel_switch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_local = type { i32, ptr }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @drv_tdls_channel_switch], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @drv_tdls_channel_switch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = tail call i32 (...) @might_sleep() #2
%9 = tail call i32 @check_sdata_in_driver(ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @EIO, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %28
14: ; preds = %7
%15 = getelementptr inbounds %struct.ieee80211_local, ptr %0, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !9
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %28
22: ; preds = %14
%23 = tail call i32 @trace_drv_tdls_channel_switch(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2
%24 = load ptr, ptr %15, align 8, !tbaa !9
%25 = load ptr, ptr %24, align 8, !tbaa !12
%26 = tail call i32 %25(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
%27 = tail call i32 @trace_drv_return_int(ptr noundef nonnull %0, i32 noundef %26) #2
br label %28
28: ; preds = %22, %19, %11
%29 = phi i32 [ %26, %22 ], [ %21, %19 ], [ %13, %11 ]
ret i32 %29
}
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @check_sdata_in_driver(ptr noundef) local_unnamed_addr #1
declare i32 @trace_drv_tdls_channel_switch(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trace_drv_return_int(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"ieee80211_local", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/mac80211/extr_driver-ops.h_drv_tdls_channel_switch.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_driver-ops.h_drv_tdls_channel_switch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @drv_tdls_channel_switch], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @drv_tdls_channel_switch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = tail call i32 @might_sleep() #2
%9 = tail call i32 @check_sdata_in_driver(ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @EIO, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %28
14: ; preds = %7
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !10
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %28
22: ; preds = %14
%23 = tail call i32 @trace_drv_tdls_channel_switch(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2
%24 = load ptr, ptr %15, align 8, !tbaa !10
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = tail call i32 %25(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
%27 = tail call i32 @trace_drv_return_int(ptr noundef nonnull %0, i32 noundef %26) #2
br label %28
28: ; preds = %22, %19, %11
%29 = phi i32 [ %26, %22 ], [ %21, %19 ], [ %13, %11 ]
ret i32 %29
}
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @check_sdata_in_driver(ptr noundef) local_unnamed_addr #1
declare i32 @trace_drv_tdls_channel_switch(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trace_drv_return_int(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"ieee80211_local", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
| linux_net_mac80211_extr_driver-ops.h_drv_tdls_channel_switch |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_effect.c_d3dx9_base_effect_get_pixel_shader.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_effect.c_d3dx9_base_effect_get_pixel_shader.c"
target datalayout = "e-m:e-p270:32:32-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.d3dx_parameter = type { i64, i64, i32 }
@D3DXPT_PIXELSHADER = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"Returning %p.\0A\00", align 1
@D3D_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"Parameter not found.\0A\00", align 1
@D3DERR_INVALIDCALL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d3dx9_base_effect_get_pixel_shader], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @d3dx9_base_effect_get_pixel_shader(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @get_valid_parameter(ptr noundef %0, i32 noundef %1) #2
%5 = icmp ne ptr %2, null
%6 = icmp ne ptr %4, null
%7 = select i1 %5, i1 %6, i1 false
br i1 %7, label %8, label %28
8: ; preds = %3
%9 = getelementptr inbounds %struct.d3dx_parameter, ptr %4, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !5
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = load i64, ptr %4, align 8, !tbaa !11
%14 = load i64, ptr @D3DXPT_PIXELSHADER, align 8, !tbaa !12
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = getelementptr inbounds %struct.d3dx_parameter, ptr %4, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = inttoptr i64 %18 to ptr
%20 = load ptr, ptr %19, align 8, !tbaa !14
store ptr %20, ptr %2, align 8, !tbaa !14
%21 = icmp eq ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = tail call i32 @IDirect3DPixelShader9_AddRef(ptr noundef nonnull %20) #2
%24 = load ptr, ptr %2, align 8, !tbaa !14
br label %25
25: ; preds = %22, %16
%26 = phi ptr [ %24, %22 ], [ null, %16 ]
%27 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %26) #2
br label %30
28: ; preds = %12, %8, %3
%29 = tail call i32 @WARN(ptr noundef nonnull @.str.1) #2
br label %30
30: ; preds = %28, %25
%31 = phi ptr [ @D3DERR_INVALIDCALL, %28 ], [ @D3D_OK, %25 ]
%32 = load i32, ptr %31, align 4, !tbaa !16
ret i32 %32
}
declare ptr @get_valid_parameter(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IDirect3DPixelShader9_AddRef(ptr noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"d3dx_parameter", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_effect.c_d3dx9_base_effect_get_pixel_shader.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_effect.c_d3dx9_base_effect_get_pixel_shader.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D3DXPT_PIXELSHADER = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"Returning %p.\0A\00", align 1
@D3D_OK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"Parameter not found.\0A\00", align 1
@D3DERR_INVALIDCALL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d3dx9_base_effect_get_pixel_shader], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @d3dx9_base_effect_get_pixel_shader(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @get_valid_parameter(ptr noundef %0, i32 noundef %1) #2
%5 = icmp ne ptr %2, null
%6 = icmp ne ptr %4, null
%7 = select i1 %5, i1 %6, i1 false
br i1 %7, label %8, label %28
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %4, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !6
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = load i64, ptr %4, align 8, !tbaa !12
%14 = load i64, ptr @D3DXPT_PIXELSHADER, align 8, !tbaa !13
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %4, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = inttoptr i64 %18 to ptr
%20 = load ptr, ptr %19, align 8, !tbaa !15
store ptr %20, ptr %2, align 8, !tbaa !15
%21 = icmp eq ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = tail call i32 @IDirect3DPixelShader9_AddRef(ptr noundef nonnull %20) #2
%24 = load ptr, ptr %2, align 8, !tbaa !15
br label %25
25: ; preds = %22, %16
%26 = phi ptr [ %24, %22 ], [ null, %16 ]
%27 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %26) #2
br label %30
28: ; preds = %12, %8, %3
%29 = tail call i32 @WARN(ptr noundef nonnull @.str.1) #2
br label %30
30: ; preds = %28, %25
%31 = phi ptr [ @D3DERR_INVALIDCALL, %28 ], [ @D3D_OK, %25 ]
%32 = load i32, ptr %31, align 4, !tbaa !17
ret i32 %32
}
declare ptr @get_valid_parameter(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IDirect3DPixelShader9_AddRef(ptr noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN(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 16}
!7 = !{!"d3dx_parameter", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!11, !11, i64 0}
| reactos_dll_directx_wine_d3dx9_36_extr_effect.c_d3dx9_base_effect_get_pixel_shader |
; ModuleID = 'AnghaBench/freebsd/lib/libc/gen/extr_getgrent.c_is_comment_line.c'
source_filename = "AnghaBench/freebsd/lib/libc/gen/extr_getgrent.c_is_comment_line.c"
target datalayout = "e-m:e-p270:32:32-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 @is_comment_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_comment_line(ptr noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 %1
%4 = icmp sgt i64 %1, 0
br i1 %4, label %5, label %15
5: ; preds = %2, %12
%6 = phi ptr [ %13, %12 ], [ %0, %2 ]
%7 = load i8, ptr %6, align 1, !tbaa !5
%8 = icmp eq i8 %7, 35
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = tail call i32 @isspace(i8 noundef zeroext %7) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %6, i64 1
%14 = icmp ult ptr %13, %3
br i1 %14, label %5, label %15, !llvm.loop !8
15: ; preds = %12, %9, %5, %2
%16 = phi ptr [ %0, %2 ], [ %6, %5 ], [ %6, %9 ], [ %13, %12 ]
%17 = load i8, ptr %16, align 1, !tbaa !5
%18 = icmp eq i8 %17, 35
%19 = icmp eq ptr %16, %3
%20 = or i1 %19, %18
%21 = zext i1 %20 to i32
ret i32 %21
}
declare i32 @isspace(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/gen/extr_getgrent.c_is_comment_line.c'
source_filename = "AnghaBench/freebsd/lib/libc/gen/extr_getgrent.c_is_comment_line.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 @is_comment_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_comment_line(ptr noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 %1
%4 = icmp sgt i64 %1, 0
br i1 %4, label %5, label %15
5: ; preds = %2, %12
%6 = phi ptr [ %13, %12 ], [ %0, %2 ]
%7 = load i8, ptr %6, align 1, !tbaa !6
%8 = icmp eq i8 %7, 35
br i1 %8, label %15, label %9
9: ; preds = %5
%10 = tail call i32 @isspace(i8 noundef zeroext %7) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %6, i64 1
%14 = icmp ult ptr %13, %3
br i1 %14, label %5, label %15, !llvm.loop !9
15: ; preds = %12, %9, %5, %2
%16 = phi ptr [ %0, %2 ], [ %6, %5 ], [ %6, %9 ], [ %13, %12 ]
%17 = load i8, ptr %16, align 1, !tbaa !6
%18 = icmp eq i8 %17, 35
%19 = icmp eq ptr %16, %3
%20 = or i1 %19, %18
%21 = zext i1 %20 to i32
ret i32 %21
}
declare i32 @isspace(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| freebsd_lib_libc_gen_extr_getgrent.c_is_comment_line |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Tracking.c_LockTrackingList.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Tracking.c_LockTrackingList.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@obj_lock = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @LockTrackingList() local_unnamed_addr #0 {
%1 = load i32, ptr @obj_lock, align 4, !tbaa !5
%2 = tail call i32 @OSLock(i32 noundef %1) #2
ret void
}
declare i32 @OSLock(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/SoftEtherVPN/src/Mayaqua/extr_Tracking.c_LockTrackingList.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Tracking.c_LockTrackingList.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@obj_lock = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @LockTrackingList() local_unnamed_addr #0 {
%1 = load i32, ptr @obj_lock, align 4, !tbaa !6
%2 = tail call i32 @OSLock(i32 noundef %1) #2
ret void
}
declare i32 @OSLock(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"}
| SoftEtherVPN_src_Mayaqua_extr_Tracking.c_LockTrackingList |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.