IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/extr_dc.c_emfpathdrv_CreateDC.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/extr_dc.c_emfpathdrv_CreateDC.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emfpathdrv_CreateDC], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @emfpathdrv_CreateDC(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = tail call i32 @assert(i32 noundef 0) #2
%7 = load i32, ptr @TRUE, align 4, !tbaa !5
ret i32 %7
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/extr_dc.c_emfpathdrv_CreateDC.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/extr_dc.c_emfpathdrv_CreateDC.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emfpathdrv_CreateDC], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @emfpathdrv_CreateDC(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = tail call i32 @assert(i32 noundef 0) #2
%7 = load i32, ptr @TRUE, align 4, !tbaa !6
ret i32 %7
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
reactos_win32ss_gdi_gdi32_wine_enhmfdrv_extr_dc.c_emfpathdrv_CreateDC
|
; ModuleID = 'AnghaBench/nuklear/demo/x11_rawfb/extr_nuklear_rawfb.h_nk_rawfb_clear.c'
source_filename = "AnghaBench/nuklear/demo/x11_rawfb/extr_nuklear_rawfb.h_nk_rawfb_clear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nk_rawfb_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nk_rawfb_clear(ptr noundef %0, i32 %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = tail call i32 @nk_rawfb_fill_rect(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef 0, i32 %1) #2
ret void
}
declare i32 @nk_rawfb_fill_rect(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"rawfb_context", !7, i64 0}
!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 0}
|
; ModuleID = 'AnghaBench/nuklear/demo/x11_rawfb/extr_nuklear_rawfb.h_nk_rawfb_clear.c'
source_filename = "AnghaBench/nuklear/demo/x11_rawfb/extr_nuklear_rawfb.h_nk_rawfb_clear.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 @nk_rawfb_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nk_rawfb_clear(ptr noundef %0, i64 %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr %0, align 4, !tbaa !12
%6 = and i64 %1, 4294967295
%7 = tail call i32 @nk_rawfb_fill_rect(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef 0, i64 %6) #2
ret void
}
declare i32 @nk_rawfb_fill_rect(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"rawfb_context", !8, i64 0}
!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 0}
|
nuklear_demo_x11_rawfb_extr_nuklear_rawfb.h_nk_rawfb_clear
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_get_keys.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_get_keys.c"
target datalayout = "e-m:e-p270:32:32-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.radius_ms_mppe_keys = type { i64, i64, ptr, ptr }
%struct.TYPE_2__ = type { i64, i64, ptr, i32, ptr }
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"MS-MPPE-Send-Key\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"MS-MPPE-Recv-Key\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [65 x i8] c"MS-MPPE: 1x_get_keys, could not get keys: %p send: %p recv: %p\00", align 1
@RADIUS_ATTR_EAP_KEY_NAME = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [13 x i8] c"EAP-Key Name\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ieee802_1x_get_keys], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ieee802_1x_get_keys(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = load ptr, ptr %1, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %92, label %11
11: ; preds = %6
%12 = tail call ptr @radius_msg_get_ms_keys(ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #3
%13 = icmp eq ptr %12, null
br i1 %13, label %56, label %14
14: ; preds = %11
%15 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %12, i64 0, i32 3
%16 = load ptr, ptr %15, align 8, !tbaa !10
%17 = icmp eq ptr %16, null
%18 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %12, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !13
br i1 %17, label %59, label %20
20: ; preds = %14
%21 = icmp eq ptr %19, null
br i1 %21, label %59, label %22
22: ; preds = %20
%23 = load i64, ptr %12, align 8, !tbaa !14
%24 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %12, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = add i64 %25, %23
store i64 %26, ptr %8, align 8, !tbaa !16
%27 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !17
%28 = tail call i32 @wpa_hexdump_key(i32 noundef %27, ptr noundef nonnull @.str, ptr noundef nonnull %16, i64 noundef %23) #3
%29 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !17
%30 = load ptr, ptr %18, align 8, !tbaa !13
%31 = load i64, ptr %24, align 8, !tbaa !15
%32 = tail call i32 @wpa_hexdump_key(i32 noundef %29, ptr noundef nonnull @.str.1, ptr noundef %30, i64 noundef %31) #3
%33 = load ptr, ptr %9, align 8, !tbaa !19
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i64 0, i32 4
%35 = load ptr, ptr %34, align 8, !tbaa !21
%36 = tail call i32 @os_free(ptr noundef %35) #3
%37 = tail call ptr @os_malloc(i64 noundef %26) #3
%38 = load ptr, ptr %9, align 8, !tbaa !19
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i64 0, i32 4
store ptr %37, ptr %39, align 8, !tbaa !21
%40 = icmp eq ptr %37, null
br i1 %40, label %63, label %41
41: ; preds = %22
%42 = load ptr, ptr %18, align 8, !tbaa !13
%43 = load i64, ptr %24, align 8, !tbaa !15
%44 = tail call i32 @os_memcpy(ptr noundef nonnull %37, ptr noundef %42, i64 noundef %43) #3
%45 = load ptr, ptr %9, align 8, !tbaa !19
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i64 0, i32 4
%47 = load ptr, ptr %46, align 8, !tbaa !21
%48 = load i64, ptr %24, align 8, !tbaa !15
%49 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %47, i64 %48
%50 = load ptr, ptr %15, align 8, !tbaa !10
%51 = load i64, ptr %12, align 8, !tbaa !14
%52 = tail call i32 @os_memcpy(ptr noundef %49, ptr noundef %50, i64 noundef %51) #3
%53 = load ptr, ptr %9, align 8, !tbaa !19
store i64 %26, ptr %53, align 8, !tbaa !23
%54 = load i32, ptr @TRUE, align 4, !tbaa !17
%55 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 0, i32 3
store i32 %54, ptr %55, align 8, !tbaa !24
br label %63
56: ; preds = %11
%57 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !17
%58 = tail call i32 @wpa_printf(i32 noundef %57, ptr noundef nonnull @.str.2, ptr noundef null, ptr noundef null, ptr noundef null) #3
br label %70
59: ; preds = %14, %20
%60 = phi ptr [ null, %20 ], [ %19, %14 ]
%61 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !17
%62 = tail call i32 @wpa_printf(i32 noundef %61, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef %16, ptr noundef %60) #3
br label %63
63: ; preds = %41, %22, %59
%64 = load ptr, ptr %15, align 8, !tbaa !10
%65 = tail call i32 @os_free(ptr noundef %64) #3
%66 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %12, i64 0, i32 2
%67 = load ptr, ptr %66, align 8, !tbaa !13
%68 = tail call i32 @os_free(ptr noundef %67) #3
%69 = tail call i32 @os_free(ptr noundef nonnull %12) #3
br label %70
70: ; preds = %56, %63
%71 = load i32, ptr @RADIUS_ATTR_EAP_KEY_NAME, align 4, !tbaa !17
%72 = call i64 @radius_msg_get_attr_ptr(ptr noundef %2, i32 noundef %71, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef null) #3
%73 = icmp eq i64 %72, 0
%74 = load ptr, ptr %9, align 8, !tbaa !19
br i1 %73, label %75, label %90
75: ; preds = %70
%76 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i64 0, i32 2
%77 = load ptr, ptr %76, align 8, !tbaa !25
%78 = call i32 @os_free(ptr noundef %77) #3
%79 = load ptr, ptr %7, align 8, !tbaa !26
%80 = load i64, ptr %8, align 8, !tbaa !16
%81 = call ptr @os_memdup(ptr noundef %79, i64 noundef %80) #3
%82 = load ptr, ptr %9, align 8, !tbaa !19
%83 = getelementptr inbounds %struct.TYPE_2__, ptr %82, i64 0, i32 2
store ptr %81, ptr %83, align 8, !tbaa !25
%84 = icmp eq ptr %81, null
br i1 %84, label %92, label %85
85: ; preds = %75
%86 = load i64, ptr %8, align 8, !tbaa !16
%87 = getelementptr inbounds %struct.TYPE_2__, ptr %82, i64 0, i32 1
store i64 %86, ptr %87, align 8, !tbaa !27
%88 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !17
%89 = call i32 @wpa_hexdump(i32 noundef %88, ptr noundef nonnull @.str.3, ptr noundef nonnull %81, i64 noundef %86) #3
br label %92
90: ; preds = %70
%91 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i64 0, i32 1
store i64 0, ptr %91, align 8, !tbaa !27
br label %92
92: ; preds = %90, %85, %75, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @radius_msg_get_ms_keys(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_free(ptr noundef) local_unnamed_addr #2
declare ptr @os_malloc(i64 noundef) local_unnamed_addr #2
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @radius_msg_get_attr_ptr(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @os_memdup(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, 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, !7, i64 0}
!6 = !{!"sta_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"radius_ms_mppe_keys", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!11, !12, i64 0}
!15 = !{!11, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"eapol_state_machine", !7, i64 0}
!21 = !{!22, !7, i64 32}
!22 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !7, i64 16, !18, i64 24, !7, i64 32}
!23 = !{!22, !12, i64 0}
!24 = !{!22, !18, i64 24}
!25 = !{!22, !7, i64 16}
!26 = !{!7, !7, i64 0}
!27 = !{!22, !12, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_get_keys.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_get_keys.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.radius_ms_mppe_keys = type { i64, i64, ptr, ptr }
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"MS-MPPE-Send-Key\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"MS-MPPE-Recv-Key\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [65 x i8] c"MS-MPPE: 1x_get_keys, could not get keys: %p send: %p recv: %p\00", align 1
@RADIUS_ATTR_EAP_KEY_NAME = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [13 x i8] c"EAP-Key Name\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ieee802_1x_get_keys], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ieee802_1x_get_keys(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = load ptr, ptr %1, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %91, label %11
11: ; preds = %6
%12 = tail call ptr @radius_msg_get_ms_keys(ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #3
%13 = icmp eq ptr %12, null
br i1 %13, label %56, label %14
14: ; preds = %11
%15 = getelementptr inbounds i8, ptr %12, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !11
%17 = icmp eq ptr %16, null
%18 = getelementptr inbounds i8, ptr %12, i64 16
%19 = load ptr, ptr %18, align 8, !tbaa !14
br i1 %17, label %59, label %20
20: ; preds = %14
%21 = icmp eq ptr %19, null
br i1 %21, label %59, label %22
22: ; preds = %20
%23 = load i64, ptr %12, align 8, !tbaa !15
%24 = getelementptr inbounds i8, ptr %12, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !16
%26 = add i64 %25, %23
store i64 %26, ptr %8, align 8, !tbaa !17
%27 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !18
%28 = tail call i32 @wpa_hexdump_key(i32 noundef %27, ptr noundef nonnull @.str, ptr noundef nonnull %16, i64 noundef %23) #3
%29 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !18
%30 = load ptr, ptr %18, align 8, !tbaa !14
%31 = load i64, ptr %24, align 8, !tbaa !16
%32 = tail call i32 @wpa_hexdump_key(i32 noundef %29, ptr noundef nonnull @.str.1, ptr noundef %30, i64 noundef %31) #3
%33 = load ptr, ptr %9, align 8, !tbaa !20
%34 = getelementptr inbounds i8, ptr %33, i64 32
%35 = load ptr, ptr %34, align 8, !tbaa !22
%36 = tail call i32 @os_free(ptr noundef %35) #3
%37 = tail call ptr @os_malloc(i64 noundef %26) #3
%38 = load ptr, ptr %9, align 8, !tbaa !20
%39 = getelementptr inbounds i8, ptr %38, i64 32
store ptr %37, ptr %39, align 8, !tbaa !22
%40 = icmp eq ptr %37, null
br i1 %40, label %63, label %41
41: ; preds = %22
%42 = load ptr, ptr %18, align 8, !tbaa !14
%43 = load i64, ptr %24, align 8, !tbaa !16
%44 = tail call i32 @os_memcpy(ptr noundef nonnull %37, ptr noundef %42, i64 noundef %43) #3
%45 = load ptr, ptr %9, align 8, !tbaa !20
%46 = getelementptr inbounds i8, ptr %45, i64 32
%47 = load ptr, ptr %46, align 8, !tbaa !22
%48 = load i64, ptr %24, align 8, !tbaa !16
%49 = getelementptr inbounds %struct.radius_ms_mppe_keys, ptr %47, i64 %48
%50 = load ptr, ptr %15, align 8, !tbaa !11
%51 = load i64, ptr %12, align 8, !tbaa !15
%52 = tail call i32 @os_memcpy(ptr noundef %49, ptr noundef %50, i64 noundef %51) #3
%53 = load ptr, ptr %9, align 8, !tbaa !20
store i64 %26, ptr %53, align 8, !tbaa !24
%54 = load i32, ptr @TRUE, align 4, !tbaa !18
%55 = getelementptr inbounds i8, ptr %53, i64 24
store i32 %54, ptr %55, align 8, !tbaa !25
br label %63
56: ; preds = %11
%57 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !18
%58 = tail call i32 @wpa_printf(i32 noundef %57, ptr noundef nonnull @.str.2, ptr noundef null, ptr noundef null, ptr noundef null) #3
br label %69
59: ; preds = %14, %20
%60 = phi ptr [ null, %20 ], [ %19, %14 ]
%61 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !18
%62 = tail call i32 @wpa_printf(i32 noundef %61, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef %16, ptr noundef %60) #3
br label %63
63: ; preds = %41, %22, %59
%64 = load ptr, ptr %15, align 8, !tbaa !11
%65 = tail call i32 @os_free(ptr noundef %64) #3
%66 = load ptr, ptr %18, align 8, !tbaa !14
%67 = tail call i32 @os_free(ptr noundef %66) #3
%68 = tail call i32 @os_free(ptr noundef nonnull %12) #3
br label %69
69: ; preds = %56, %63
%70 = load i32, ptr @RADIUS_ATTR_EAP_KEY_NAME, align 4, !tbaa !18
%71 = call i64 @radius_msg_get_attr_ptr(ptr noundef %2, i32 noundef %70, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef null) #3
%72 = icmp eq i64 %71, 0
%73 = load ptr, ptr %9, align 8, !tbaa !20
br i1 %72, label %74, label %89
74: ; preds = %69
%75 = getelementptr inbounds i8, ptr %73, i64 16
%76 = load ptr, ptr %75, align 8, !tbaa !26
%77 = call i32 @os_free(ptr noundef %76) #3
%78 = load ptr, ptr %7, align 8, !tbaa !27
%79 = load i64, ptr %8, align 8, !tbaa !17
%80 = call ptr @os_memdup(ptr noundef %78, i64 noundef %79) #3
%81 = load ptr, ptr %9, align 8, !tbaa !20
%82 = getelementptr inbounds i8, ptr %81, i64 16
store ptr %80, ptr %82, align 8, !tbaa !26
%83 = icmp eq ptr %80, null
br i1 %83, label %91, label %84
84: ; preds = %74
%85 = load i64, ptr %8, align 8, !tbaa !17
%86 = getelementptr inbounds i8, ptr %81, i64 8
store i64 %85, ptr %86, align 8, !tbaa !28
%87 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !18
%88 = call i32 @wpa_hexdump(i32 noundef %87, ptr noundef nonnull @.str.3, ptr noundef nonnull %80, i64 noundef %85) #3
br label %91
89: ; preds = %69
%90 = getelementptr inbounds i8, ptr %73, i64 8
store i64 0, ptr %90, align 8, !tbaa !28
br label %91
91: ; preds = %89, %84, %74, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @radius_msg_get_ms_keys(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_free(ptr noundef) local_unnamed_addr #2
declare ptr @os_malloc(i64 noundef) local_unnamed_addr #2
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @radius_msg_get_attr_ptr(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @os_memdup(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, 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, !8, i64 0}
!7 = !{!"sta_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 24}
!12 = !{!"radius_ms_mppe_keys", !13, i64 0, !13, i64 8, !8, i64 16, !8, i64 24}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !8, i64 16}
!15 = !{!12, !13, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !9, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"eapol_state_machine", !8, i64 0}
!22 = !{!23, !8, i64 32}
!23 = !{!"TYPE_2__", !13, i64 0, !13, i64 8, !8, i64 16, !19, i64 24, !8, i64 32}
!24 = !{!23, !13, i64 0}
!25 = !{!23, !19, i64 24}
!26 = !{!23, !8, i64 16}
!27 = !{!8, !8, i64 0}
!28 = !{!23, !13, i64 8}
|
freebsd_contrib_wpa_src_ap_extr_ieee802_1x.c_ieee802_1x_get_keys
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_attrib.c_ntfs_attr_reinit_search_ctx.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_attrib.c_ntfs_attr_reinit_search_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.TYPE_6__ = type { i64, i32, i64, i32, ptr, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @ntfs_attr_reinit_search_ctx(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i64 @likely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %17, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
store i32 1, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = tail call i32 @le16_to_cpu(i32 noundef %11) #2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %10, i64 %13
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6
store ptr %14, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
store ptr null, ptr %16, align 8, !tbaa !17
br label %30
17: ; preds = %1
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%19 = load i64, ptr %18, align 8, !tbaa !18
%20 = load i64, ptr %0, align 8, !tbaa !5
%21 = icmp eq i64 %19, %20
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = tail call i32 @unmap_extent_mft_record(i64 noundef %19) #2
%24 = load i64, ptr %0, align 8, !tbaa !5
br label %25
25: ; preds = %22, %17
%26 = phi i64 [ %24, %22 ], [ %19, %17 ]
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%28 = load i32, ptr %27, align 8, !tbaa !19
%29 = tail call i32 @ntfs_attr_init_search_ctx(ptr noundef nonnull %0, i64 noundef %26, i32 noundef %28) #2
br label %30
30: ; preds = %25, %7
ret void
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @unmap_extent_mft_record(i64 noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_init_search_ctx(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !11, i64 40}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_5__", !10, i64 0}
!16 = !{!6, !11, i64 48}
!17 = !{!6, !11, i64 32}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !10, i64 24}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_attrib.c_ntfs_attr_reinit_search_ctx.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_attrib.c_ntfs_attr_reinit_search_ctx.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 @ntfs_attr_reinit_search_ctx(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i64 @likely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %17, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %8, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %0, i64 40
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = tail call i32 @le16_to_cpu(i32 noundef %11) #2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %10, i64 %13
%15 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %14, ptr %15, align 8, !tbaa !17
%16 = getelementptr inbounds i8, ptr %0, i64 32
store ptr null, ptr %16, align 8, !tbaa !18
br label %30
17: ; preds = %1
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load i64, ptr %18, align 8, !tbaa !19
%20 = load i64, ptr %0, align 8, !tbaa !6
%21 = icmp eq i64 %19, %20
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = tail call i32 @unmap_extent_mft_record(i64 noundef %19) #2
%24 = load i64, ptr %0, align 8, !tbaa !6
br label %25
25: ; preds = %22, %17
%26 = phi i64 [ %24, %22 ], [ %19, %17 ]
%27 = getelementptr inbounds i8, ptr %0, i64 24
%28 = load i32, ptr %27, align 8, !tbaa !20
%29 = tail call i32 @ntfs_attr_init_search_ctx(ptr noundef nonnull %0, i64 noundef %26, i32 noundef %28) #2
br label %30
30: ; preds = %25, %7
ret void
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @unmap_extent_mft_record(i64 noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_init_search_ctx(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !12, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !12, i64 40}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0}
!17 = !{!7, !12, i64 48}
!18 = !{!7, !12, i64 32}
!19 = !{!7, !8, i64 16}
!20 = !{!7, !11, i64 24}
|
fastsocket_kernel_fs_ntfs_extr_attrib.c_ntfs_attr_reinit_search_ctx
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_esp.c_rs_interrupt_single.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_esp.c_rs_interrupt_single.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.esp_struct = type { i32, i32, i64, i32, i32, %struct.TYPE_5__, %struct.TYPE_4__, i32 }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_4__ = type { ptr }
@UART_ESI_SID = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@UART_ESI_CMD1 = dso_local local_unnamed_addr global i32 0, align 4
@ESI_GET_ERR_STAT = dso_local local_unnamed_addr global i32 0, align 4
@UART_ESI_STAT1 = dso_local local_unnamed_addr global i32 0, align 4
@UART_ESI_STAT2 = dso_local local_unnamed_addr global i32 0, align 4
@ESP_STAT_RX_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@ESP_STAT_DMA_RX = dso_local local_unnamed_addr global i32 0, align 4
@ESP_STAT_DMA_TX = dso_local local_unnamed_addr global i32 0, align 4
@UART_IER_RDI = dso_local local_unnamed_addr global i32 0, align 4
@ESI_NO_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
@ESI_GET_RX_AVAIL = dso_local local_unnamed_addr global i32 0, align 4
@dma_bytes = dso_local local_unnamed_addr global i64 0, align 8
@ESP_STAT_USE_PIO = dso_local local_unnamed_addr global i32 0, align 4
@UART_IER_THRI = dso_local local_unnamed_addr global i32 0, align 4
@ESI_SET_SRV_MASK = dso_local local_unnamed_addr global i32 0, align 4
@UART_ESI_CMD2 = dso_local local_unnamed_addr global i32 0, align 4
@ESI_GET_TX_AVAIL = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rs_interrupt_single], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rs_interrupt_single(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UART_ESI_SID, align 4, !tbaa !5
%4 = tail call i32 @serial_in(ptr noundef %1, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 3
%6 = tail call i32 @spin_lock(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 6
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %181, label %10
10: ; preds = %2
%11 = and i32 %4, 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %38, label %13
13: ; preds = %10
%14 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%15 = load i32, ptr @ESI_GET_ERR_STAT, align 4, !tbaa !5
%16 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !5
%18 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %17) #2
%19 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !5
%20 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %19) #2
%21 = and i32 %18, 1
%22 = icmp eq i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %13
%24 = load i32, ptr @ESP_STAT_RX_TIMEOUT, align 4, !tbaa !5
%25 = load i32, ptr %1, align 8, !tbaa !15
%26 = or i32 %25, %24
store i32 %26, ptr %1, align 8, !tbaa !15
br label %27
27: ; preds = %23, %13
%28 = and i32 %18, 32
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 @check_modem_status(ptr noundef nonnull %1) #2
br label %32
32: ; preds = %30, %27
%33 = and i32 %18, 128
%34 = icmp eq i32 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %32
%36 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 7
%37 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %36) #2
br label %38
38: ; preds = %32, %35, %10
%39 = phi i32 [ %18, %35 ], [ %18, %32 ], [ 0, %10 ]
%40 = and i32 %4, 136
%41 = icmp eq i32 %40, 0
%42 = and i32 %39, 28
%43 = icmp eq i32 %42, 0
%44 = select i1 %41, i1 %43, i1 false
br i1 %44, label %58, label %45
45: ; preds = %38
%46 = load i32, ptr %1, align 8, !tbaa !15
%47 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !5
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = tail call i32 @receive_chars_dma_done(ptr noundef nonnull %1, i32 noundef %39) #2
br label %58
52: ; preds = %45
%53 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !5
%54 = and i32 %53, %46
%55 = icmp eq i32 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %52
%57 = tail call i32 @transmit_chars_dma_done(ptr noundef nonnull %1) #2
br label %58
58: ; preds = %38, %50, %56, %52
%59 = load i32, ptr %1, align 8, !tbaa !15
%60 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !5
%61 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !5
%62 = or i32 %61, %60
%63 = and i32 %62, %59
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %110
65: ; preds = %58
%66 = and i32 %4, 1
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %65
%69 = load i32, ptr @ESP_STAT_RX_TIMEOUT, align 4, !tbaa !5
%70 = and i32 %69, %59
%71 = icmp eq i32 %70, 0
br i1 %71, label %110, label %72
72: ; preds = %68, %65
%73 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 1
%74 = load i32, ptr %73, align 4, !tbaa !16
%75 = load i32, ptr @UART_IER_RDI, align 4, !tbaa !5
%76 = and i32 %75, %74
%77 = icmp eq i32 %76, 0
br i1 %77, label %110, label %78
78: ; preds = %72
%79 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%80 = load i32, ptr @ESI_NO_COMMAND, align 4, !tbaa !5
%81 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %79, i32 noundef %80) #2
%82 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%83 = load i32, ptr @ESI_GET_RX_AVAIL, align 4, !tbaa !5
%84 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %82, i32 noundef %83) #2
%85 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !5
%86 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %85) #2
%87 = shl i32 %86, 8
%88 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !5
%89 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %88) #2
%90 = or i32 %89, %87
%91 = load ptr, ptr %7, align 8, !tbaa !9
%92 = tail call i32 @tty_buffer_request_room(ptr noundef %91, i32 noundef %90) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %110, label %94
94: ; preds = %78
%95 = load i64, ptr @dma_bytes, align 8, !tbaa !17
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %106
97: ; preds = %94
%98 = load i32, ptr %1, align 8, !tbaa !15
%99 = load i32, ptr @ESP_STAT_USE_PIO, align 4, !tbaa !5
%100 = and i32 %99, %98
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %97
%103 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 5
%104 = load i32, ptr %103, align 8, !tbaa !18
%105 = icmp sgt i32 %92, %104
br i1 %105, label %108, label %106
106: ; preds = %102, %97, %94
%107 = tail call i32 @receive_chars_pio(ptr noundef nonnull %1, i32 noundef %92) #2
br label %110
108: ; preds = %102
%109 = tail call i32 @receive_chars_dma(ptr noundef nonnull %1, i32 noundef %92) #2
br label %110
110: ; preds = %78, %108, %106, %72, %68, %58
%111 = load i32, ptr %1, align 8, !tbaa !15
%112 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !5
%113 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !5
%114 = or i32 %113, %112
%115 = and i32 %114, %111
%116 = icmp ne i32 %115, 0
%117 = and i32 %4, 2
%118 = icmp eq i32 %117, 0
%119 = select i1 %116, i1 true, i1 %118
br i1 %119, label %178, label %120
120: ; preds = %110
%121 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 1
%122 = load i32, ptr %121, align 4, !tbaa !16
%123 = load i32, ptr @UART_IER_THRI, align 4, !tbaa !5
%124 = and i32 %123, %122
%125 = icmp eq i32 %124, 0
br i1 %125, label %178, label %126
126: ; preds = %120
%127 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 2
%128 = load i64, ptr %127, align 8, !tbaa !19
%129 = icmp slt i64 %128, 1
br i1 %129, label %134, label %130
130: ; preds = %126
%131 = load ptr, ptr %7, align 8, !tbaa !9
%132 = load i64, ptr %131, align 8, !tbaa !20
%133 = icmp eq i64 %132, 0
br i1 %133, label %143, label %134
134: ; preds = %130, %126
%135 = xor i32 %123, -1
%136 = and i32 %122, %135
store i32 %136, ptr %121, align 4, !tbaa !16
%137 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%138 = load i32, ptr @ESI_SET_SRV_MASK, align 4, !tbaa !5
%139 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %137, i32 noundef %138) #2
%140 = load i32, ptr @UART_ESI_CMD2, align 4, !tbaa !5
%141 = load i32, ptr %121, align 4, !tbaa !16
%142 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %140, i32 noundef %141) #2
br label %178
143: ; preds = %130
%144 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%145 = load i32, ptr @ESI_NO_COMMAND, align 4, !tbaa !5
%146 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %144, i32 noundef %145) #2
%147 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !5
%148 = load i32, ptr @ESI_GET_TX_AVAIL, align 4, !tbaa !5
%149 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %147, i32 noundef %148) #2
%150 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !5
%151 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %150) #2
%152 = shl i32 %151, 8
%153 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !5
%154 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %153) #2
%155 = or i32 %154, %152
%156 = sext i32 %155 to i64
%157 = load i64, ptr %127, align 8, !tbaa !19
%158 = icmp slt i64 %157, %156
%159 = trunc i64 %157 to i32
%160 = select i1 %158, i32 %159, i32 %155
%161 = icmp eq i32 %160, 0
br i1 %161, label %178, label %162
162: ; preds = %143
%163 = load i64, ptr @dma_bytes, align 8, !tbaa !17
%164 = icmp eq i64 %163, 0
br i1 %164, label %165, label %174
165: ; preds = %162
%166 = load i32, ptr %1, align 8, !tbaa !15
%167 = load i32, ptr @ESP_STAT_USE_PIO, align 4, !tbaa !5
%168 = and i32 %167, %166
%169 = icmp eq i32 %168, 0
br i1 %169, label %170, label %174
170: ; preds = %165
%171 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 5
%172 = load i32, ptr %171, align 8, !tbaa !18
%173 = icmp sgt i32 %160, %172
br i1 %173, label %176, label %174
174: ; preds = %170, %165, %162
%175 = tail call i32 @transmit_chars_pio(ptr noundef nonnull %1, i32 noundef %160) #2
br label %178
176: ; preds = %170
%177 = tail call i32 @transmit_chars_dma(ptr noundef nonnull %1, i32 noundef %160) #2
br label %178
178: ; preds = %143, %176, %174, %134, %120, %110
%179 = load i32, ptr @jiffies, align 4, !tbaa !5
%180 = getelementptr inbounds %struct.esp_struct, ptr %1, i64 0, i32 4
store i32 %179, ptr %180, align 4, !tbaa !22
br label %181
181: ; preds = %2, %178
%182 = phi ptr [ @IRQ_HANDLED, %178 ], [ @IRQ_NONE, %2 ]
%183 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2
%184 = load i32, ptr %182, align 4, !tbaa !5
ret i32 %184
}
declare i32 @serial_in(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @serial_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @check_modem_status(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @receive_chars_dma_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_dma_done(ptr noundef) local_unnamed_addr #1
declare i32 @tty_buffer_request_room(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @receive_chars_pio(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @receive_chars_dma(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_pio(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_dma(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, !14, i64 32}
!10 = !{!"esp_struct", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16, !6, i64 20, !12, i64 24, !13, i64 32, !6, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_5__", !6, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !6, i64 4}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !6, i64 24}
!19 = !{!10, !11, i64 8}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_6__", !11, i64 0}
!22 = !{!10, !6, i64 20}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_esp.c_rs_interrupt_single.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_esp.c_rs_interrupt_single.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UART_ESI_SID = common local_unnamed_addr global i32 0, align 4
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@UART_ESI_CMD1 = common local_unnamed_addr global i32 0, align 4
@ESI_GET_ERR_STAT = common local_unnamed_addr global i32 0, align 4
@UART_ESI_STAT1 = common local_unnamed_addr global i32 0, align 4
@UART_ESI_STAT2 = common local_unnamed_addr global i32 0, align 4
@ESP_STAT_RX_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@ESP_STAT_DMA_RX = common local_unnamed_addr global i32 0, align 4
@ESP_STAT_DMA_TX = common local_unnamed_addr global i32 0, align 4
@UART_IER_RDI = common local_unnamed_addr global i32 0, align 4
@ESI_NO_COMMAND = common local_unnamed_addr global i32 0, align 4
@ESI_GET_RX_AVAIL = common local_unnamed_addr global i32 0, align 4
@dma_bytes = common local_unnamed_addr global i64 0, align 8
@ESP_STAT_USE_PIO = common local_unnamed_addr global i32 0, align 4
@UART_IER_THRI = common local_unnamed_addr global i32 0, align 4
@ESI_SET_SRV_MASK = common local_unnamed_addr global i32 0, align 4
@UART_ESI_CMD2 = common local_unnamed_addr global i32 0, align 4
@ESI_GET_TX_AVAIL = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rs_interrupt_single], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rs_interrupt_single(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UART_ESI_SID, align 4, !tbaa !6
%4 = tail call i32 @serial_in(ptr noundef %1, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = tail call i32 @spin_lock(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 32
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %181, label %10
10: ; preds = %2
%11 = and i32 %4, 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %38, label %13
13: ; preds = %10
%14 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%15 = load i32, ptr @ESI_GET_ERR_STAT, align 4, !tbaa !6
%16 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !6
%18 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %17) #2
%19 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !6
%20 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %19) #2
%21 = and i32 %18, 1
%22 = icmp eq i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %13
%24 = load i32, ptr @ESP_STAT_RX_TIMEOUT, align 4, !tbaa !6
%25 = load i32, ptr %1, align 8, !tbaa !16
%26 = or i32 %25, %24
store i32 %26, ptr %1, align 8, !tbaa !16
br label %27
27: ; preds = %23, %13
%28 = and i32 %18, 32
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 @check_modem_status(ptr noundef nonnull %1) #2
br label %32
32: ; preds = %30, %27
%33 = and i32 %18, 128
%34 = icmp eq i32 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %32
%36 = getelementptr inbounds i8, ptr %1, i64 40
%37 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %36) #2
br label %38
38: ; preds = %32, %35, %10
%39 = phi i32 [ %18, %35 ], [ %18, %32 ], [ 0, %10 ]
%40 = and i32 %4, 136
%41 = icmp eq i32 %40, 0
%42 = and i32 %39, 28
%43 = icmp eq i32 %42, 0
%44 = select i1 %41, i1 %43, i1 false
br i1 %44, label %58, label %45
45: ; preds = %38
%46 = load i32, ptr %1, align 8, !tbaa !16
%47 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !6
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = tail call i32 @receive_chars_dma_done(ptr noundef nonnull %1, i32 noundef %39) #2
br label %58
52: ; preds = %45
%53 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !6
%54 = and i32 %53, %46
%55 = icmp eq i32 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %52
%57 = tail call i32 @transmit_chars_dma_done(ptr noundef nonnull %1) #2
br label %58
58: ; preds = %38, %50, %56, %52
%59 = load i32, ptr %1, align 8, !tbaa !16
%60 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !6
%61 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !6
%62 = or i32 %61, %60
%63 = and i32 %62, %59
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %110
65: ; preds = %58
%66 = and i32 %4, 1
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %65
%69 = load i32, ptr @ESP_STAT_RX_TIMEOUT, align 4, !tbaa !6
%70 = and i32 %69, %59
%71 = icmp eq i32 %70, 0
br i1 %71, label %110, label %72
72: ; preds = %68, %65
%73 = getelementptr inbounds i8, ptr %1, i64 4
%74 = load i32, ptr %73, align 4, !tbaa !17
%75 = load i32, ptr @UART_IER_RDI, align 4, !tbaa !6
%76 = and i32 %75, %74
%77 = icmp eq i32 %76, 0
br i1 %77, label %110, label %78
78: ; preds = %72
%79 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%80 = load i32, ptr @ESI_NO_COMMAND, align 4, !tbaa !6
%81 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %79, i32 noundef %80) #2
%82 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%83 = load i32, ptr @ESI_GET_RX_AVAIL, align 4, !tbaa !6
%84 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %82, i32 noundef %83) #2
%85 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !6
%86 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %85) #2
%87 = shl i32 %86, 8
%88 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !6
%89 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %88) #2
%90 = or i32 %89, %87
%91 = load ptr, ptr %7, align 8, !tbaa !10
%92 = tail call i32 @tty_buffer_request_room(ptr noundef %91, i32 noundef %90) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %110, label %94
94: ; preds = %78
%95 = load i64, ptr @dma_bytes, align 8, !tbaa !18
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %106
97: ; preds = %94
%98 = load i32, ptr %1, align 8, !tbaa !16
%99 = load i32, ptr @ESP_STAT_USE_PIO, align 4, !tbaa !6
%100 = and i32 %99, %98
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %97
%103 = getelementptr inbounds i8, ptr %1, i64 24
%104 = load i32, ptr %103, align 8, !tbaa !19
%105 = icmp sgt i32 %92, %104
br i1 %105, label %108, label %106
106: ; preds = %102, %97, %94
%107 = tail call i32 @receive_chars_pio(ptr noundef nonnull %1, i32 noundef %92) #2
br label %110
108: ; preds = %102
%109 = tail call i32 @receive_chars_dma(ptr noundef nonnull %1, i32 noundef %92) #2
br label %110
110: ; preds = %78, %108, %106, %72, %68, %58
%111 = load i32, ptr %1, align 8, !tbaa !16
%112 = load i32, ptr @ESP_STAT_DMA_RX, align 4, !tbaa !6
%113 = load i32, ptr @ESP_STAT_DMA_TX, align 4, !tbaa !6
%114 = or i32 %113, %112
%115 = and i32 %114, %111
%116 = icmp ne i32 %115, 0
%117 = and i32 %4, 2
%118 = icmp eq i32 %117, 0
%119 = select i1 %116, i1 true, i1 %118
br i1 %119, label %178, label %120
120: ; preds = %110
%121 = getelementptr inbounds i8, ptr %1, i64 4
%122 = load i32, ptr %121, align 4, !tbaa !17
%123 = load i32, ptr @UART_IER_THRI, align 4, !tbaa !6
%124 = and i32 %123, %122
%125 = icmp eq i32 %124, 0
br i1 %125, label %178, label %126
126: ; preds = %120
%127 = getelementptr inbounds i8, ptr %1, i64 8
%128 = load i64, ptr %127, align 8, !tbaa !20
%129 = icmp slt i64 %128, 1
br i1 %129, label %134, label %130
130: ; preds = %126
%131 = load ptr, ptr %7, align 8, !tbaa !10
%132 = load i64, ptr %131, align 8, !tbaa !21
%133 = icmp eq i64 %132, 0
br i1 %133, label %143, label %134
134: ; preds = %130, %126
%135 = xor i32 %123, -1
%136 = and i32 %122, %135
store i32 %136, ptr %121, align 4, !tbaa !17
%137 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%138 = load i32, ptr @ESI_SET_SRV_MASK, align 4, !tbaa !6
%139 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %137, i32 noundef %138) #2
%140 = load i32, ptr @UART_ESI_CMD2, align 4, !tbaa !6
%141 = load i32, ptr %121, align 4, !tbaa !17
%142 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %140, i32 noundef %141) #2
br label %178
143: ; preds = %130
%144 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%145 = load i32, ptr @ESI_NO_COMMAND, align 4, !tbaa !6
%146 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %144, i32 noundef %145) #2
%147 = load i32, ptr @UART_ESI_CMD1, align 4, !tbaa !6
%148 = load i32, ptr @ESI_GET_TX_AVAIL, align 4, !tbaa !6
%149 = tail call i32 @serial_out(ptr noundef nonnull %1, i32 noundef %147, i32 noundef %148) #2
%150 = load i32, ptr @UART_ESI_STAT1, align 4, !tbaa !6
%151 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %150) #2
%152 = shl i32 %151, 8
%153 = load i32, ptr @UART_ESI_STAT2, align 4, !tbaa !6
%154 = tail call i32 @serial_in(ptr noundef nonnull %1, i32 noundef %153) #2
%155 = or i32 %154, %152
%156 = sext i32 %155 to i64
%157 = load i64, ptr %127, align 8, !tbaa !20
%158 = icmp slt i64 %157, %156
%159 = trunc i64 %157 to i32
%160 = select i1 %158, i32 %159, i32 %155
%161 = icmp eq i32 %160, 0
br i1 %161, label %178, label %162
162: ; preds = %143
%163 = load i64, ptr @dma_bytes, align 8, !tbaa !18
%164 = icmp eq i64 %163, 0
br i1 %164, label %165, label %174
165: ; preds = %162
%166 = load i32, ptr %1, align 8, !tbaa !16
%167 = load i32, ptr @ESP_STAT_USE_PIO, align 4, !tbaa !6
%168 = and i32 %167, %166
%169 = icmp eq i32 %168, 0
br i1 %169, label %170, label %174
170: ; preds = %165
%171 = getelementptr inbounds i8, ptr %1, i64 24
%172 = load i32, ptr %171, align 8, !tbaa !19
%173 = icmp sgt i32 %160, %172
br i1 %173, label %176, label %174
174: ; preds = %170, %165, %162
%175 = tail call i32 @transmit_chars_pio(ptr noundef nonnull %1, i32 noundef %160) #2
br label %178
176: ; preds = %170
%177 = tail call i32 @transmit_chars_dma(ptr noundef nonnull %1, i32 noundef %160) #2
br label %178
178: ; preds = %143, %176, %174, %134, %120, %110
%179 = load i32, ptr @jiffies, align 4, !tbaa !6
%180 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %179, ptr %180, align 4, !tbaa !23
br label %181
181: ; preds = %2, %178
%182 = phi ptr [ @IRQ_HANDLED, %178 ], [ @IRQ_NONE, %2 ]
%183 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2
%184 = load i32, ptr %182, align 4, !tbaa !6
ret i32 %184
}
declare i32 @serial_in(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @serial_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @check_modem_status(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @receive_chars_dma_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_dma_done(ptr noundef) local_unnamed_addr #1
declare i32 @tty_buffer_request_room(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @receive_chars_pio(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @receive_chars_dma(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_pio(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transmit_chars_dma(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, !15, i64 32}
!11 = !{!"esp_struct", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20, !13, i64 24, !14, i64 32, !7, i64 40}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 4}
!18 = !{!12, !12, i64 0}
!19 = !{!11, !7, i64 24}
!20 = !{!11, !12, i64 8}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_6__", !12, i64 0}
!23 = !{!11, !7, i64 20}
|
fastsocket_kernel_drivers_char_extr_esp.c_rs_interrupt_single
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_hal.c_qat_hal_start.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_hal.c_qat_hal_start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FCU_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@FCU_CTRL_CMD_START = dso_local local_unnamed_addr global i32 0, align 4
@FW_AUTH_WAIT_PERIOD = dso_local local_unnamed_addr global i32 0, align 4
@FCU_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@FCU_STS_DONE_POS = dso_local local_unnamed_addr global i32 0, align 4
@FW_AUTH_MAX_RETRY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"QAT: start error (AE 0x%x FCU_STS = 0x%x)\0A\00", align 1
@ICP_QAT_UCLO_AE_ALL_CTX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @qat_hal_start(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %26, label %6
6: ; preds = %3
%7 = load i32, ptr @FCU_CONTROL, align 4, !tbaa !10
%8 = load i32, ptr @FCU_CTRL_CMD_START, align 4, !tbaa !10
%9 = tail call i32 @SET_CAP_CSR(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2
br label %10
10: ; preds = %20, %6
%11 = phi i32 [ 0, %6 ], [ %21, %20 ]
%12 = load i32, ptr @FW_AUTH_WAIT_PERIOD, align 4, !tbaa !10
%13 = tail call i32 @msleep(i32 noundef %12) #2
%14 = load i32, ptr @FCU_STATUS, align 4, !tbaa !10
%15 = tail call i32 @GET_CAP_CSR(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @FCU_STS_DONE_POS, align 4, !tbaa !10
%17 = shl nuw i32 1, %16
%18 = and i32 %17, %15
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %10
%21 = add nuw nsw i32 %11, 1
%22 = load i32, ptr @FW_AUTH_MAX_RETRY, align 4, !tbaa !10
%23 = icmp slt i32 %11, %22
br i1 %23, label %10, label %24, !llvm.loop !12
24: ; preds = %20
%25 = tail call i32 @pr_err(ptr noundef nonnull @.str, i8 noundef zeroext %1, i32 noundef %15) #2
br label %32
26: ; preds = %3
%27 = xor i32 %2, -1
%28 = load i32, ptr @ICP_QAT_UCLO_AE_ALL_CTX, align 4, !tbaa !10
%29 = and i32 %28, %27
%30 = tail call i32 @qat_hal_put_wakeup_event(ptr noundef nonnull %0, i8 noundef zeroext %1, i32 noundef %29, i32 noundef 65536) #2
%31 = tail call i32 @qat_hal_enable_ctx(ptr noundef nonnull %0, i8 noundef zeroext %1, i32 noundef %2) #2
br label %32
32: ; preds = %10, %24, %26
ret void
}
declare i32 @SET_CAP_CSR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @GET_CAP_CSR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @qat_hal_put_wakeup_event(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qat_hal_enable_ctx(ptr noundef, i8 noundef zeroext, 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 = !{!"icp_qat_fw_loader_handle", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_hal.c_qat_hal_start.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_hal.c_qat_hal_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FCU_CONTROL = common local_unnamed_addr global i32 0, align 4
@FCU_CTRL_CMD_START = common local_unnamed_addr global i32 0, align 4
@FW_AUTH_WAIT_PERIOD = common local_unnamed_addr global i32 0, align 4
@FCU_STATUS = common local_unnamed_addr global i32 0, align 4
@FCU_STS_DONE_POS = common local_unnamed_addr global i32 0, align 4
@FW_AUTH_MAX_RETRY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"QAT: start error (AE 0x%x FCU_STS = 0x%x)\0A\00", align 1
@ICP_QAT_UCLO_AE_ALL_CTX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @qat_hal_start(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %26, label %6
6: ; preds = %3
%7 = load i32, ptr @FCU_CONTROL, align 4, !tbaa !11
%8 = load i32, ptr @FCU_CTRL_CMD_START, align 4, !tbaa !11
%9 = tail call i32 @SET_CAP_CSR(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2
br label %10
10: ; preds = %20, %6
%11 = phi i32 [ 0, %6 ], [ %21, %20 ]
%12 = load i32, ptr @FW_AUTH_WAIT_PERIOD, align 4, !tbaa !11
%13 = tail call i32 @msleep(i32 noundef %12) #2
%14 = load i32, ptr @FCU_STATUS, align 4, !tbaa !11
%15 = tail call i32 @GET_CAP_CSR(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @FCU_STS_DONE_POS, align 4, !tbaa !11
%17 = shl nuw i32 1, %16
%18 = and i32 %17, %15
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %10
%21 = add nuw nsw i32 %11, 1
%22 = load i32, ptr @FW_AUTH_MAX_RETRY, align 4, !tbaa !11
%23 = icmp slt i32 %11, %22
br i1 %23, label %10, label %24, !llvm.loop !13
24: ; preds = %20
%25 = tail call i32 @pr_err(ptr noundef nonnull @.str, i8 noundef zeroext %1, i32 noundef %15) #2
br label %32
26: ; preds = %3
%27 = xor i32 %2, -1
%28 = load i32, ptr @ICP_QAT_UCLO_AE_ALL_CTX, align 4, !tbaa !11
%29 = and i32 %28, %27
%30 = tail call i32 @qat_hal_put_wakeup_event(ptr noundef nonnull %0, i8 noundef zeroext %1, i32 noundef %29, i32 noundef 65536) #2
%31 = tail call i32 @qat_hal_enable_ctx(ptr noundef nonnull %0, i8 noundef zeroext %1, i32 noundef %2) #2
br label %32
32: ; preds = %10, %24, %26
ret void
}
declare i32 @SET_CAP_CSR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @GET_CAP_CSR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @qat_hal_put_wakeup_event(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qat_hal_enable_ctx(ptr noundef, i8 noundef zeroext, 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 = !{!"icp_qat_fw_loader_handle", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_crypto_qat_qat_common_extr_qat_hal.c_qat_hal_start
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_sch_generic.c_netif_carrier_off.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_sch_generic.c_netif_carrier_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"
%struct.net_device = type { i64, i32 }
@__LINK_STATE_NOCARRIER = dso_local local_unnamed_addr global i32 0, align 4
@NETREG_UNINITIALIZED = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @netif_carrier_off(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @__LINK_STATE_NOCARRIER, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1
%4 = tail call i32 @test_and_set_bit(i32 noundef %2, ptr noundef nonnull %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !9
%8 = load i64, ptr @NETREG_UNINITIALIZED, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @linkwatch_fire_event(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %6, %10, %1
ret void
}
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @linkwatch_fire_event(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 = !{!"net_device", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_sch_generic.c_netif_carrier_off.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_sch_generic.c_netif_carrier_off.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__LINK_STATE_NOCARRIER = common local_unnamed_addr global i32 0, align 4
@NETREG_UNINITIALIZED = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @netif_carrier_off(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @__LINK_STATE_NOCARRIER, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = tail call i32 @test_and_set_bit(i32 noundef %2, ptr noundef nonnull %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !10
%8 = load i64, ptr @NETREG_UNINITIALIZED, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @linkwatch_fire_event(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %6, %10, %1
ret void
}
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @linkwatch_fire_event(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 = !{!"net_device", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
|
fastsocket_kernel_net_sched_extr_sch_generic.c_netif_carrier_off
|
; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_snd_soc_dapm_mixer_update_power.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_snd_soc_dapm_mixer_update_power.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_soc_card = type { i32, ptr }
@SND_SOC_DAPM_CLASS_RUNTIME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_soc_dapm_mixer_update_power(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load i32, ptr @SND_SOC_DAPM_CLASS_RUNTIME, align 4, !tbaa !10
%7 = tail call i32 @mutex_lock_nested(ptr noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.snd_soc_card, ptr %5, i64 0, i32 1
store ptr %3, ptr %8, align 8, !tbaa !12
%9 = tail call i32 @soc_dapm_mixer_update_power(ptr noundef %5, ptr noundef %1, i32 noundef %2, i32 noundef -1) #2
store ptr null, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @mutex_unlock(ptr noundef %5) #2
%11 = icmp sgt i32 %9, 0
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = tail call i32 @soc_dpcm_runtime_update(ptr noundef nonnull %5) #2
br label %14
14: ; preds = %12, %4
ret i32 %9
}
declare i32 @mutex_lock_nested(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @soc_dapm_mixer_update_power(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @soc_dpcm_runtime_update(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 = !{!"snd_soc_dapm_context", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"snd_soc_card", !11, i64 0, !7, i64 8}
|
; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_snd_soc_dapm_mixer_update_power.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_snd_soc_dapm_mixer_update_power.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SND_SOC_DAPM_CLASS_RUNTIME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @snd_soc_dapm_mixer_update_power(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load i32, ptr @SND_SOC_DAPM_CLASS_RUNTIME, align 4, !tbaa !11
%7 = tail call i32 @mutex_lock_nested(ptr noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %3, ptr %8, align 8, !tbaa !13
%9 = tail call i32 @soc_dapm_mixer_update_power(ptr noundef %5, ptr noundef %1, i32 noundef %2, i32 noundef -1) #2
store ptr null, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @mutex_unlock(ptr noundef %5) #2
%11 = icmp sgt i32 %9, 0
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = tail call i32 @soc_dpcm_runtime_update(ptr noundef nonnull %5) #2
br label %14
14: ; preds = %12, %4
ret i32 %9
}
declare i32 @mutex_lock_nested(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @soc_dapm_mixer_update_power(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @soc_dpcm_runtime_update(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 = !{!"snd_soc_dapm_context", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"snd_soc_card", !12, i64 0, !8, i64 8}
|
linux_sound_soc_extr_soc-dapm.c_snd_soc_dapm_mixer_update_power
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_imap.c_copy_to_dinode.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_imap.c_copy_to_dinode.c"
target datalayout = "e-m:e-p270:32:32-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.inode = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_13__, %struct.TYPE_11__, %struct.TYPE_9__, i32, i32, i32 }
%struct.TYPE_13__ = type { i32, i32 }
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_9__ = type { i32, i32 }
%struct.dinode = type { ptr, ptr, %struct.TYPE_14__, ptr, i32, i32, i32, %struct.TYPE_12__, %struct.TYPE_10__, %struct.TYPE_8__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_14__ = type { i64, ptr }
%struct.TYPE_12__ = type { ptr, ptr }
%struct.TYPE_10__ = type { ptr, ptr }
%struct.TYPE_8__ = type { ptr, ptr }
%struct.jfs_sb_info = type { i32, i32, i32, i32 }
%struct.jfs_inode_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @copy_to_dinode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @copy_to_dinode(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = tail call ptr @JFS_IP(ptr noundef %1) #2
%4 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 10
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @JFS_SBI(i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !13
%8 = tail call ptr @cpu_to_le32(i32 noundef %7) #2
%9 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 19
store ptr %8, ptr %9, align 8, !tbaa !15
%10 = load i32, ptr %6, align 4, !tbaa !23
%11 = tail call ptr @cpu_to_le32(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 18
store ptr %11, ptr %12, align 8, !tbaa !25
%13 = load i32, ptr %1, align 4, !tbaa !26
%14 = tail call ptr @cpu_to_le32(i32 noundef %13) #2
%15 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 17
store ptr %14, ptr %15, align 8, !tbaa !27
%16 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !28
%18 = tail call ptr @cpu_to_le32(i32 noundef %17) #2
%19 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 16
store ptr %18, ptr %19, align 8, !tbaa !29
%20 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 11
%21 = load i32, ptr %20, align 4, !tbaa !30
%22 = tail call ptr @cpu_to_le64(i32 noundef %21) #2
%23 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 15
store ptr %22, ptr %23, align 8, !tbaa !31
%24 = load i32, ptr %4, align 4, !tbaa !5
%25 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 9
%26 = load i32, ptr %25, align 4, !tbaa !32
%27 = tail call i32 @PBLK2LBLK(i32 noundef %24, i32 noundef %26) #2
%28 = tail call ptr @cpu_to_le64(i32 noundef %27) #2
%29 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 14
store ptr %28, ptr %29, align 8, !tbaa !33
%30 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 2
%31 = load i32, ptr %30, align 4, !tbaa !34
%32 = tail call ptr @cpu_to_le32(i32 noundef %31) #2
%33 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 13
store ptr %32, ptr %33, align 8, !tbaa !35
%34 = getelementptr inbounds %struct.jfs_sb_info, ptr %6, i64 0, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !36
%36 = icmp eq i32 %35, -1
%37 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 1
%38 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 3
%39 = select i1 %36, ptr %38, ptr %37
%40 = load i32, ptr %39, align 4, !tbaa !37
%41 = tail call ptr @cpu_to_le32(i32 noundef %40) #2
%42 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 12
store ptr %41, ptr %42, align 8
%43 = getelementptr inbounds %struct.jfs_sb_info, ptr %6, i64 0, i32 2
%44 = load i32, ptr %43, align 4, !tbaa !38
%45 = icmp eq i32 %44, -1
%46 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 2
%47 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 4
%48 = select i1 %45, ptr %47, ptr %46
%49 = load i32, ptr %48, align 4, !tbaa !37
%50 = tail call ptr @cpu_to_le32(i32 noundef %49) #2
%51 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 11
store ptr %50, ptr %51, align 8
%52 = tail call i32 @jfs_get_inode_flags(ptr noundef nonnull %3) #2
%53 = getelementptr inbounds %struct.jfs_sb_info, ptr %6, i64 0, i32 3
%54 = load i32, ptr %53, align 4, !tbaa !39
%55 = icmp eq i32 %54, -1
%56 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 3
%57 = load i32, ptr %56, align 4, !tbaa !40
br i1 %55, label %58, label %63
58: ; preds = %2
%59 = and i32 %57, -65536
%60 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 5
%61 = load i32, ptr %60, align 4, !tbaa !41
%62 = or i32 %59, %61
br label %63
63: ; preds = %2, %58
%64 = phi i32 [ %62, %58 ], [ %57, %2 ]
%65 = tail call ptr @cpu_to_le32(i32 noundef %64) #2
%66 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 10
store ptr %65, ptr %66, align 8
%67 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 8
%68 = load i32, ptr %67, align 4, !tbaa !42
%69 = tail call ptr @cpu_to_le32(i32 noundef %68) #2
%70 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 9
%71 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 9, i32 1
store ptr %69, ptr %71, align 8, !tbaa !43
%72 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 8, i32 1
%73 = load i32, ptr %72, align 4, !tbaa !44
%74 = tail call ptr @cpu_to_le32(i32 noundef %73) #2
store ptr %74, ptr %70, align 8, !tbaa !45
%75 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 7
%76 = load i32, ptr %75, align 4, !tbaa !46
%77 = tail call ptr @cpu_to_le32(i32 noundef %76) #2
%78 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 8
%79 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 8, i32 1
store ptr %77, ptr %79, align 8, !tbaa !47
%80 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 7, i32 1
%81 = load i32, ptr %80, align 4, !tbaa !48
%82 = tail call ptr @cpu_to_le32(i32 noundef %81) #2
store ptr %82, ptr %78, align 8, !tbaa !49
%83 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 6
%84 = load i32, ptr %83, align 4, !tbaa !50
%85 = tail call ptr @cpu_to_le32(i32 noundef %84) #2
%86 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 7
%87 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 7, i32 1
store ptr %85, ptr %87, align 8, !tbaa !51
%88 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 6, i32 1
%89 = load i32, ptr %88, align 4, !tbaa !52
%90 = tail call ptr @cpu_to_le32(i32 noundef %89) #2
store ptr %90, ptr %86, align 8, !tbaa !53
%91 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 10
%92 = load i32, ptr %91, align 4, !tbaa !54
%93 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 6
store i32 %92, ptr %93, align 8, !tbaa !55
%94 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 8
%95 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 4
%96 = load <2 x i32>, ptr %94, align 4, !tbaa !37
store <2 x i32> %96, ptr %95, align 8, !tbaa !37
%97 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 4
%98 = load i32, ptr %97, align 4, !tbaa !56
%99 = tail call ptr @cpu_to_le32(i32 noundef %98) #2
%100 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 3
store ptr %99, ptr %100, align 8, !tbaa !57
%101 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 5
%102 = load i32, ptr %101, align 4, !tbaa !58
%103 = tail call ptr @cpu_to_le32(i32 noundef %102) #2
%104 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 2
%105 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 2, i32 1
store ptr %103, ptr %105, align 8, !tbaa !59
store i64 0, ptr %104, align 8, !tbaa !60
%106 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 6
%107 = load i32, ptr %106, align 4, !tbaa !61
%108 = tail call ptr @cpu_to_le32(i32 noundef %107) #2
%109 = getelementptr inbounds %struct.dinode, ptr %0, i64 0, i32 1
store ptr %108, ptr %109, align 8, !tbaa !62
%110 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 5
%111 = load i32, ptr %110, align 4, !tbaa !41
%112 = tail call i64 @S_ISCHR(i32 noundef %111) #2
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %118
114: ; preds = %63
%115 = load i32, ptr %110, align 4, !tbaa !41
%116 = tail call i64 @S_ISBLK(i32 noundef %115) #2
%117 = icmp eq i64 %116, 0
br i1 %117, label %122, label %118
118: ; preds = %114, %63
%119 = getelementptr inbounds %struct.jfs_inode_info, ptr %3, i64 0, i32 7
%120 = load i32, ptr %119, align 4, !tbaa !63
%121 = tail call ptr @cpu_to_le32(i32 noundef %120) #2
store ptr %121, ptr %0, align 8, !tbaa !64
br label %122
122: ; preds = %118, %114
ret void
}
declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1
declare ptr @JFS_SBI(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1
declare i32 @PBLK2LBLK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jfs_get_inode_flags(ptr noundef) local_unnamed_addr #1
declare i64 @S_ISCHR(i32 noundef) local_unnamed_addr #1
declare i64 @S_ISBLK(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 52}
!6 = !{!"inode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32, !12, i64 40, !7, i64 48, !7, i64 52, !7, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_13__", !7, i64 0, !7, i64 4}
!11 = !{!"TYPE_11__", !7, i64 0, !7, i64 4}
!12 = !{!"TYPE_9__", !7, i64 0, !7, i64 4}
!13 = !{!14, !7, i64 0}
!14 = !{!"jfs_inode_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40}
!15 = !{!16, !17, i64 176}
!16 = !{!"dinode", !17, i64 0, !17, i64 8, !18, i64 16, !17, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !20, i64 56, !21, i64 72, !22, i64 88, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !17, i64 136, !17, i64 144, !17, i64 152, !17, i64 160, !17, i64 168, !17, i64 176}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!"TYPE_14__", !19, i64 0, !17, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!"TYPE_12__", !17, i64 0, !17, i64 8}
!21 = !{!"TYPE_10__", !17, i64 0, !17, i64 8}
!22 = !{!"TYPE_8__", !17, i64 0, !17, i64 8}
!23 = !{!24, !7, i64 0}
!24 = !{!"jfs_sb_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!25 = !{!16, !17, i64 168}
!26 = !{!6, !7, i64 0}
!27 = !{!16, !17, i64 160}
!28 = !{!6, !7, i64 4}
!29 = !{!16, !17, i64 152}
!30 = !{!6, !7, i64 56}
!31 = !{!16, !17, i64 144}
!32 = !{!6, !7, i64 48}
!33 = !{!16, !17, i64 136}
!34 = !{!6, !7, i64 8}
!35 = !{!16, !17, i64 128}
!36 = !{!24, !7, i64 4}
!37 = !{!7, !7, i64 0}
!38 = !{!24, !7, i64 8}
!39 = !{!24, !7, i64 12}
!40 = !{!14, !7, i64 12}
!41 = !{!6, !7, i64 20}
!42 = !{!6, !7, i64 40}
!43 = !{!16, !17, i64 96}
!44 = !{!6, !7, i64 44}
!45 = !{!16, !17, i64 88}
!46 = !{!6, !7, i64 32}
!47 = !{!16, !17, i64 80}
!48 = !{!6, !7, i64 36}
!49 = !{!16, !17, i64 72}
!50 = !{!6, !7, i64 24}
!51 = !{!16, !17, i64 64}
!52 = !{!6, !7, i64 28}
!53 = !{!16, !17, i64 56}
!54 = !{!14, !7, i64 40}
!55 = !{!16, !7, i64 48}
!56 = !{!14, !7, i64 16}
!57 = !{!16, !17, i64 32}
!58 = !{!14, !7, i64 20}
!59 = !{!16, !17, i64 24}
!60 = !{!16, !19, i64 16}
!61 = !{!14, !7, i64 24}
!62 = !{!16, !17, i64 8}
!63 = !{!14, !7, i64 28}
!64 = !{!16, !17, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_imap.c_copy_to_dinode.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_imap.c_copy_to_dinode.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 @copy_to_dinode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @copy_to_dinode(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = tail call ptr @JFS_IP(ptr noundef %1) #2
%4 = getelementptr inbounds i8, ptr %1, i64 52
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @JFS_SBI(i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !14
%8 = tail call ptr @cpu_to_le32(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 176
store ptr %8, ptr %9, align 8, !tbaa !16
%10 = load i32, ptr %6, align 4, !tbaa !24
%11 = tail call ptr @cpu_to_le32(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 168
store ptr %11, ptr %12, align 8, !tbaa !26
%13 = load i32, ptr %1, align 4, !tbaa !27
%14 = tail call ptr @cpu_to_le32(i32 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %0, i64 160
store ptr %14, ptr %15, align 8, !tbaa !28
%16 = getelementptr inbounds i8, ptr %1, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !29
%18 = tail call ptr @cpu_to_le32(i32 noundef %17) #2
%19 = getelementptr inbounds i8, ptr %0, i64 152
store ptr %18, ptr %19, align 8, !tbaa !30
%20 = getelementptr inbounds i8, ptr %1, i64 56
%21 = load i32, ptr %20, align 4, !tbaa !31
%22 = tail call ptr @cpu_to_le64(i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %0, i64 144
store ptr %22, ptr %23, align 8, !tbaa !32
%24 = load i32, ptr %4, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %1, i64 48
%26 = load i32, ptr %25, align 4, !tbaa !33
%27 = tail call i32 @PBLK2LBLK(i32 noundef %24, i32 noundef %26) #2
%28 = tail call ptr @cpu_to_le64(i32 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %0, i64 136
store ptr %28, ptr %29, align 8, !tbaa !34
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load i32, ptr %30, align 4, !tbaa !35
%32 = tail call ptr @cpu_to_le32(i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %0, i64 128
store ptr %32, ptr %33, align 8, !tbaa !36
%34 = getelementptr inbounds i8, ptr %6, i64 4
%35 = load i32, ptr %34, align 4, !tbaa !37
%36 = icmp eq i32 %35, -1
%37 = getelementptr inbounds i8, ptr %3, i64 4
%38 = getelementptr inbounds i8, ptr %1, i64 12
%39 = select i1 %36, ptr %38, ptr %37
%40 = load i32, ptr %39, align 4, !tbaa !38
%41 = tail call ptr @cpu_to_le32(i32 noundef %40) #2
%42 = getelementptr inbounds i8, ptr %0, i64 120
store ptr %41, ptr %42, align 8
%43 = getelementptr inbounds i8, ptr %6, i64 8
%44 = load i32, ptr %43, align 4, !tbaa !39
%45 = icmp eq i32 %44, -1
%46 = getelementptr inbounds i8, ptr %3, i64 8
%47 = getelementptr inbounds i8, ptr %1, i64 16
%48 = select i1 %45, ptr %47, ptr %46
%49 = load i32, ptr %48, align 4, !tbaa !38
%50 = tail call ptr @cpu_to_le32(i32 noundef %49) #2
%51 = getelementptr inbounds i8, ptr %0, i64 112
store ptr %50, ptr %51, align 8
%52 = tail call i32 @jfs_get_inode_flags(ptr noundef nonnull %3) #2
%53 = getelementptr inbounds i8, ptr %6, i64 12
%54 = load i32, ptr %53, align 4, !tbaa !40
%55 = icmp eq i32 %54, -1
%56 = getelementptr inbounds i8, ptr %3, i64 12
%57 = load i32, ptr %56, align 4, !tbaa !41
br i1 %55, label %58, label %63
58: ; preds = %2
%59 = and i32 %57, -65536
%60 = getelementptr inbounds i8, ptr %1, i64 20
%61 = load i32, ptr %60, align 4, !tbaa !42
%62 = or i32 %59, %61
br label %63
63: ; preds = %2, %58
%64 = phi i32 [ %62, %58 ], [ %57, %2 ]
%65 = tail call ptr @cpu_to_le32(i32 noundef %64) #2
%66 = getelementptr inbounds i8, ptr %0, i64 104
store ptr %65, ptr %66, align 8
%67 = getelementptr inbounds i8, ptr %1, i64 40
%68 = load i32, ptr %67, align 4, !tbaa !43
%69 = tail call ptr @cpu_to_le32(i32 noundef %68) #2
%70 = getelementptr inbounds i8, ptr %0, i64 88
%71 = getelementptr inbounds i8, ptr %0, i64 96
store ptr %69, ptr %71, align 8, !tbaa !44
%72 = getelementptr inbounds i8, ptr %1, i64 44
%73 = load i32, ptr %72, align 4, !tbaa !45
%74 = tail call ptr @cpu_to_le32(i32 noundef %73) #2
store ptr %74, ptr %70, align 8, !tbaa !46
%75 = getelementptr inbounds i8, ptr %1, i64 32
%76 = load i32, ptr %75, align 4, !tbaa !47
%77 = tail call ptr @cpu_to_le32(i32 noundef %76) #2
%78 = getelementptr inbounds i8, ptr %0, i64 72
%79 = getelementptr inbounds i8, ptr %0, i64 80
store ptr %77, ptr %79, align 8, !tbaa !48
%80 = getelementptr inbounds i8, ptr %1, i64 36
%81 = load i32, ptr %80, align 4, !tbaa !49
%82 = tail call ptr @cpu_to_le32(i32 noundef %81) #2
store ptr %82, ptr %78, align 8, !tbaa !50
%83 = getelementptr inbounds i8, ptr %1, i64 24
%84 = load i32, ptr %83, align 4, !tbaa !51
%85 = tail call ptr @cpu_to_le32(i32 noundef %84) #2
%86 = getelementptr inbounds i8, ptr %0, i64 56
%87 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %85, ptr %87, align 8, !tbaa !52
%88 = getelementptr inbounds i8, ptr %1, i64 28
%89 = load i32, ptr %88, align 4, !tbaa !53
%90 = tail call ptr @cpu_to_le32(i32 noundef %89) #2
store ptr %90, ptr %86, align 8, !tbaa !54
%91 = getelementptr inbounds i8, ptr %3, i64 40
%92 = load i32, ptr %91, align 4, !tbaa !55
%93 = getelementptr inbounds i8, ptr %0, i64 48
store i32 %92, ptr %93, align 8, !tbaa !56
%94 = getelementptr inbounds i8, ptr %3, i64 32
%95 = getelementptr inbounds i8, ptr %0, i64 40
%96 = load <2 x i32>, ptr %94, align 4, !tbaa !38
store <2 x i32> %96, ptr %95, align 8, !tbaa !38
%97 = getelementptr inbounds i8, ptr %3, i64 16
%98 = load i32, ptr %97, align 4, !tbaa !57
%99 = tail call ptr @cpu_to_le32(i32 noundef %98) #2
%100 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %99, ptr %100, align 8, !tbaa !58
%101 = getelementptr inbounds i8, ptr %3, i64 20
%102 = load i32, ptr %101, align 4, !tbaa !59
%103 = tail call ptr @cpu_to_le32(i32 noundef %102) #2
%104 = getelementptr inbounds i8, ptr %0, i64 16
%105 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %103, ptr %105, align 8, !tbaa !60
store i64 0, ptr %104, align 8, !tbaa !61
%106 = getelementptr inbounds i8, ptr %3, i64 24
%107 = load i32, ptr %106, align 4, !tbaa !62
%108 = tail call ptr @cpu_to_le32(i32 noundef %107) #2
%109 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %108, ptr %109, align 8, !tbaa !63
%110 = getelementptr inbounds i8, ptr %1, i64 20
%111 = load i32, ptr %110, align 4, !tbaa !42
%112 = tail call i64 @S_ISCHR(i32 noundef %111) #2
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %118
114: ; preds = %63
%115 = load i32, ptr %110, align 4, !tbaa !42
%116 = tail call i64 @S_ISBLK(i32 noundef %115) #2
%117 = icmp eq i64 %116, 0
br i1 %117, label %122, label %118
118: ; preds = %114, %63
%119 = getelementptr inbounds i8, ptr %3, i64 28
%120 = load i32, ptr %119, align 4, !tbaa !64
%121 = tail call ptr @cpu_to_le32(i32 noundef %120) #2
store ptr %121, ptr %0, align 8, !tbaa !65
br label %122
122: ; preds = %118, %114
ret void
}
declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1
declare ptr @JFS_SBI(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1
declare i32 @PBLK2LBLK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jfs_get_inode_flags(ptr noundef) local_unnamed_addr #1
declare i64 @S_ISCHR(i32 noundef) local_unnamed_addr #1
declare i64 @S_ISBLK(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 52}
!7 = !{!"inode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32, !13, i64 40, !8, i64 48, !8, i64 52, !8, i64 56}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_13__", !8, i64 0, !8, i64 4}
!12 = !{!"TYPE_11__", !8, i64 0, !8, i64 4}
!13 = !{!"TYPE_9__", !8, i64 0, !8, i64 4}
!14 = !{!15, !8, i64 0}
!15 = !{!"jfs_inode_info", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40}
!16 = !{!17, !18, i64 176}
!17 = !{!"dinode", !18, i64 0, !18, i64 8, !19, i64 16, !18, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !21, i64 56, !22, i64 72, !23, i64 88, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152, !18, i64 160, !18, i64 168, !18, i64 176}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!"TYPE_14__", !20, i64 0, !18, i64 8}
!20 = !{!"long", !9, i64 0}
!21 = !{!"TYPE_12__", !18, i64 0, !18, i64 8}
!22 = !{!"TYPE_10__", !18, i64 0, !18, i64 8}
!23 = !{!"TYPE_8__", !18, i64 0, !18, i64 8}
!24 = !{!25, !8, i64 0}
!25 = !{!"jfs_sb_info", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!26 = !{!17, !18, i64 168}
!27 = !{!7, !8, i64 0}
!28 = !{!17, !18, i64 160}
!29 = !{!7, !8, i64 4}
!30 = !{!17, !18, i64 152}
!31 = !{!7, !8, i64 56}
!32 = !{!17, !18, i64 144}
!33 = !{!7, !8, i64 48}
!34 = !{!17, !18, i64 136}
!35 = !{!7, !8, i64 8}
!36 = !{!17, !18, i64 128}
!37 = !{!25, !8, i64 4}
!38 = !{!8, !8, i64 0}
!39 = !{!25, !8, i64 8}
!40 = !{!25, !8, i64 12}
!41 = !{!15, !8, i64 12}
!42 = !{!7, !8, i64 20}
!43 = !{!7, !8, i64 40}
!44 = !{!17, !18, i64 96}
!45 = !{!7, !8, i64 44}
!46 = !{!17, !18, i64 88}
!47 = !{!7, !8, i64 32}
!48 = !{!17, !18, i64 80}
!49 = !{!7, !8, i64 36}
!50 = !{!17, !18, i64 72}
!51 = !{!7, !8, i64 24}
!52 = !{!17, !18, i64 64}
!53 = !{!7, !8, i64 28}
!54 = !{!17, !18, i64 56}
!55 = !{!15, !8, i64 40}
!56 = !{!17, !8, i64 48}
!57 = !{!15, !8, i64 16}
!58 = !{!17, !18, i64 32}
!59 = !{!15, !8, i64 20}
!60 = !{!17, !18, i64 24}
!61 = !{!17, !20, i64 16}
!62 = !{!15, !8, i64 24}
!63 = !{!17, !18, i64 8}
!64 = !{!15, !8, i64 28}
!65 = !{!17, !18, i64 0}
|
fastsocket_kernel_fs_jfs_extr_jfs_imap.c_copy_to_dinode
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_util.c_qtnf_sta_list_del.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_util.c_qtnf_sta_list_del.c"
target datalayout = "e-m:e-p270:32:32-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.qtnf_vif = type { i32, %struct.qtnf_sta_list }
%struct.qtnf_sta_list = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @qtnf_sta_list_del(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.qtnf_vif, ptr %0, i64 0, i32 1
%4 = tail call ptr @qtnf_sta_list_lookup(ptr noundef nonnull %3, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call i32 @list_del(ptr noundef nonnull %4) #2
%8 = tail call i32 @atomic_dec(ptr noundef nonnull %3) #2
%9 = tail call i32 @kfree(ptr noundef nonnull %4) #2
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = add nsw i32 %10, 1
store i32 %11, ptr %0, align 4, !tbaa !5
br label %12
12: ; preds = %6, %2
%13 = phi i32 [ 1, %6 ], [ 0, %2 ]
ret i32 %13
}
declare ptr @qtnf_sta_list_lookup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qtnf_vif", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"qtnf_sta_list", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_util.c_qtnf_sta_list_del.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_util.c_qtnf_sta_list_del.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @qtnf_sta_list_del(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call ptr @qtnf_sta_list_lookup(ptr noundef nonnull %3, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call i32 @list_del(ptr noundef nonnull %4) #2
%8 = tail call i32 @atomic_dec(ptr noundef nonnull %3) #2
%9 = tail call i32 @kfree(ptr noundef nonnull %4) #2
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = add nsw i32 %10, 1
store i32 %11, ptr %0, align 4, !tbaa !6
br label %12
12: ; preds = %6, %2
%13 = phi i32 [ 1, %6 ], [ 0, %2 ]
ret i32 %13
}
declare ptr @qtnf_sta_list_lookup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qtnf_vif", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"qtnf_sta_list", !8, i64 0}
|
linux_drivers_net_wireless_quantenna_qtnfmac_extr_util.c_qtnf_sta_list_del
|
; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_cmd_set_property_values__unpack.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_cmd_set_property_values__unpack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cmd_set_property_values__descriptor = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @cmd_set_property_values__unpack(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @protobuf_c_message_unpack(ptr noundef nonnull @cmd_set_property_values__descriptor, ptr noundef %0, i64 noundef %1, ptr noundef %2) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @protobuf_c_message_unpack(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_cmd_set_property_values__unpack.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_cmd_set_property_values__unpack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cmd_set_property_values__descriptor = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cmd_set_property_values__unpack(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @protobuf_c_message_unpack(ptr noundef nonnull @cmd_set_property_values__descriptor, ptr noundef %0, i64 noundef %1, ptr noundef %2) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @protobuf_c_message_unpack(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
esp-idf_components_esp_local_ctrl_proto-c_extr_esp_local_ctrl.pb-c.c_cmd_set_property_values__unpack
|
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ehci-q.c_end_iaa_cycle.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_ehci-q.c_end_iaa_cycle.c"
target datalayout = "e-m:e-p270:32:32-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.ehci_hcd = type { i32, ptr, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @end_iaa_cycle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @end_iaa_cycle(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ehci_hcd, ptr %0, i64 0, i32 3
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.ehci_hcd, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = trunc i64 %8 to i32
%10 = getelementptr inbounds %struct.ehci_hcd, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call i32 @ehci_writel(ptr noundef nonnull %0, i32 noundef %9, ptr noundef %11) #2
br label %13
13: ; preds = %5, %1
store i32 0, ptr %0, align 8, !tbaa !16
%14 = tail call i32 @end_unlink_async(ptr noundef nonnull %0) #2
ret void
}
declare i32 @ehci_writel(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @end_unlink_async(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"ehci_hcd", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ehci-q.c_end_iaa_cycle.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_ehci-q.c_end_iaa_cycle.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 @end_iaa_cycle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @end_iaa_cycle(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = trunc i64 %8 to i32
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = tail call i32 @ehci_writel(ptr noundef nonnull %0, i32 noundef %9, ptr noundef %11) #2
br label %13
13: ; preds = %5, %1
store i32 0, ptr %0, align 8, !tbaa !17
%14 = tail call i32 @end_unlink_async(ptr noundef nonnull %0) #2
ret void
}
declare i32 @ehci_writel(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @end_unlink_async(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"ehci_hcd", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_3__", !12, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !8, i64 0}
|
linux_drivers_usb_host_extr_ehci-q.c_end_iaa_cycle
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE6_0_STATE_TYPE.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE6_0_STATE_TYPE.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CP_LOAD_STATE6_0_STATE_TYPE__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@CP_LOAD_STATE6_0_STATE_TYPE__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CP_LOAD_STATE6_0_STATE_TYPE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @CP_LOAD_STATE6_0_STATE_TYPE(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_LOAD_STATE6_0_STATE_TYPE__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_LOAD_STATE6_0_STATE_TYPE__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE6_0_STATE_TYPE.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE6_0_STATE_TYPE.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CP_LOAD_STATE6_0_STATE_TYPE__SHIFT = common local_unnamed_addr global i32 0, align 4
@CP_LOAD_STATE6_0_STATE_TYPE__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CP_LOAD_STATE6_0_STATE_TYPE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @CP_LOAD_STATE6_0_STATE_TYPE(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_LOAD_STATE6_0_STATE_TYPE__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_LOAD_STATE6_0_STATE_TYPE__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_msm_adreno_extr_adreno_pm4.xml.h_CP_LOAD_STATE6_0_STATE_TYPE
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeComputeFreeSpace.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeComputeFreeSpace.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, ptr, i32, i32, i32, i32, i32, ptr, i32 }
%struct.TYPE_6__ = type { i64, i32, i32 }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @btreeComputeFreeSpace], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @btreeComputeFreeSpace(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = load ptr, ptr %2, align 8, !tbaa !5
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = tail call i32 @sqlite3_mutex_held(i32 noundef %14) #2
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = load i64, ptr %0, align 8, !tbaa !15
%18 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = tail call i64 @sqlite3PagerPagenumber(i32 noundef %19) #2
%21 = icmp eq i64 %17, %20
%22 = zext i1 %21 to i32
%23 = tail call i32 @assert(i32 noundef %22) #2
%24 = load i32, ptr %18, align 8, !tbaa !16
%25 = tail call ptr @sqlite3PagerGetExtra(i32 noundef %24) #2
%26 = icmp eq ptr %25, %0
%27 = zext i1 %26 to i32
%28 = tail call i32 @assert(i32 noundef %27) #2
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !17
%31 = load i32, ptr %18, align 8, !tbaa !16
%32 = tail call ptr @sqlite3PagerGetData(i32 noundef %31) #2
%33 = icmp eq ptr %30, %32
%34 = zext i1 %33 to i32
%35 = tail call i32 @assert(i32 noundef %34) #2
%36 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%37 = load i32, ptr %36, align 8, !tbaa !18
%38 = icmp eq i32 %37, 1
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
%42 = load i32, ptr %41, align 8, !tbaa !19
%43 = lshr i32 %42, 31
%44 = tail call i32 @assert(i32 noundef %43) #2
%45 = load ptr, ptr %2, align 8, !tbaa !5
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %45, i64 0, i32 1
%47 = load i32, ptr %46, align 8, !tbaa !20
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%49 = load i32, ptr %48, align 4, !tbaa !21
%50 = load ptr, ptr %29, align 8, !tbaa !17
%51 = sext i32 %49 to i64
%52 = getelementptr i32, ptr %50, i64 %51
%53 = getelementptr i32, ptr %52, i64 5
%54 = tail call i32 @get2byteNotZero(ptr noundef %53) #2
%55 = add nsw i32 %49, 8
%56 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%57 = load i32, ptr %56, align 8, !tbaa !22
%58 = add nsw i32 %55, %57
%59 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
%60 = load i32, ptr %59, align 4, !tbaa !23
%61 = shl nsw i32 %60, 1
%62 = add nsw i32 %58, %61
%63 = add nsw i32 %47, -4
%64 = getelementptr i32, ptr %52, i64 1
%65 = tail call i32 @get2byte(ptr noundef %64) #2
%66 = getelementptr i32, ptr %52, i64 7
%67 = load i32, ptr %66, align 4, !tbaa !24
%68 = add nsw i32 %67, %54
%69 = icmp sgt i32 %65, 0
br i1 %69, label %70, label %98
70: ; preds = %1
%71 = icmp slt i32 %65, %62
br i1 %71, label %72, label %74
72: ; preds = %70
%73 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
74: ; preds = %70, %80
%75 = phi i32 [ %86, %80 ], [ %68, %70 ]
%76 = phi i32 [ %83, %80 ], [ %65, %70 ]
%77 = icmp sgt i32 %76, %63
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
80: ; preds = %74
%81 = sext i32 %76 to i64
%82 = getelementptr inbounds i32, ptr %50, i64 %81
%83 = tail call i32 @get2byte(ptr noundef %82) #2
%84 = getelementptr i32, ptr %82, i64 2
%85 = tail call i32 @get2byte(ptr noundef %84) #2
%86 = add nsw i32 %85, %75
%87 = add nsw i32 %85, %76
%88 = add nsw i32 %87, 3
%89 = icmp sgt i32 %83, %88
br i1 %89, label %74, label %90
90: ; preds = %80
%91 = icmp sgt i32 %83, 0
br i1 %91, label %92, label %94
92: ; preds = %90
%93 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
94: ; preds = %90
%95 = icmp ugt i32 %87, %47
br i1 %95, label %96, label %98
96: ; preds = %94
%97 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
98: ; preds = %94, %1
%99 = phi i32 [ %68, %1 ], [ %86, %94 ]
%100 = icmp sgt i32 %99, %47
%101 = icmp slt i32 %99, %62
%102 = select i1 %100, i1 true, i1 %101
br i1 %102, label %103, label %105
103: ; preds = %98
%104 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
105: ; preds = %98
%106 = sub nsw i32 %99, %62
store i32 %106, ptr %41, align 8, !tbaa !19
%107 = load i32, ptr @SQLITE_OK, align 4, !tbaa !24
br label %108
108: ; preds = %96, %92, %78, %72, %105, %103
%109 = phi i32 [ %104, %103 ], [ %107, %105 ], [ %97, %96 ], [ %93, %92 ], [ %79, %78 ], [ %73, %72 ]
ret i32 %109
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3PagerPagenumber(i32 noundef) local_unnamed_addr #1
declare ptr @sqlite3PagerGetExtra(i32 noundef) local_unnamed_addr #1
declare ptr @sqlite3PagerGetData(i32 noundef) local_unnamed_addr #1
declare i32 @get2byteNotZero(ptr noundef) local_unnamed_addr #1
declare i32 @get2byte(ptr noundef) local_unnamed_addr #1
declare i32 @SQLITE_CORRUPT_PAGE(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 40}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_6__", !7, i64 0, !11, i64 8, !11, i64 12}
!14 = !{!13, !11, i64 12}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !11, i64 48}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !11, i64 16}
!19 = !{!6, !11, i64 32}
!20 = !{!13, !11, i64 8}
!21 = !{!6, !11, i64 20}
!22 = !{!6, !11, i64 24}
!23 = !{!6, !11, i64 28}
!24 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeComputeFreeSpace.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeComputeFreeSpace.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 @btreeComputeFreeSpace], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @btreeComputeFreeSpace(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = load ptr, ptr %2, align 8, !tbaa !6
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %12, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = tail call i32 @sqlite3_mutex_held(i32 noundef %14) #2
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = load i64, ptr %0, align 8, !tbaa !16
%18 = getelementptr inbounds i8, ptr %0, i64 48
%19 = load i32, ptr %18, align 8, !tbaa !17
%20 = tail call i64 @sqlite3PagerPagenumber(i32 noundef %19) #2
%21 = icmp eq i64 %17, %20
%22 = zext i1 %21 to i32
%23 = tail call i32 @assert(i32 noundef %22) #2
%24 = load i32, ptr %18, align 8, !tbaa !17
%25 = tail call ptr @sqlite3PagerGetExtra(i32 noundef %24) #2
%26 = icmp eq ptr %25, %0
%27 = zext i1 %26 to i32
%28 = tail call i32 @assert(i32 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !18
%31 = load i32, ptr %18, align 8, !tbaa !17
%32 = tail call ptr @sqlite3PagerGetData(i32 noundef %31) #2
%33 = icmp eq ptr %30, %32
%34 = zext i1 %33 to i32
%35 = tail call i32 @assert(i32 noundef %34) #2
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load i32, ptr %36, align 8, !tbaa !19
%38 = icmp eq i32 %37, 1
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = getelementptr inbounds i8, ptr %0, i64 32
%42 = load i32, ptr %41, align 8, !tbaa !20
%43 = lshr i32 %42, 31
%44 = tail call i32 @assert(i32 noundef %43) #2
%45 = load ptr, ptr %2, align 8, !tbaa !6
%46 = getelementptr inbounds i8, ptr %45, i64 8
%47 = load i32, ptr %46, align 8, !tbaa !21
%48 = getelementptr inbounds i8, ptr %0, i64 20
%49 = load i32, ptr %48, align 4, !tbaa !22
%50 = load ptr, ptr %29, align 8, !tbaa !18
%51 = sext i32 %49 to i64
%52 = getelementptr i32, ptr %50, i64 %51
%53 = getelementptr i8, ptr %52, i64 20
%54 = tail call i32 @get2byteNotZero(ptr noundef %53) #2
%55 = add nsw i32 %49, 8
%56 = getelementptr inbounds i8, ptr %0, i64 24
%57 = load i32, ptr %56, align 8, !tbaa !23
%58 = add nsw i32 %55, %57
%59 = getelementptr inbounds i8, ptr %0, i64 28
%60 = load i32, ptr %59, align 4, !tbaa !24
%61 = shl nsw i32 %60, 1
%62 = add nsw i32 %58, %61
%63 = add nsw i32 %47, -4
%64 = getelementptr i8, ptr %52, i64 4
%65 = tail call i32 @get2byte(ptr noundef %64) #2
%66 = getelementptr i8, ptr %52, i64 28
%67 = load i32, ptr %66, align 4, !tbaa !25
%68 = add nsw i32 %67, %54
%69 = icmp sgt i32 %65, 0
br i1 %69, label %70, label %98
70: ; preds = %1
%71 = icmp slt i32 %65, %62
br i1 %71, label %72, label %74
72: ; preds = %70
%73 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
74: ; preds = %70, %80
%75 = phi i32 [ %86, %80 ], [ %68, %70 ]
%76 = phi i32 [ %83, %80 ], [ %65, %70 ]
%77 = icmp sgt i32 %76, %63
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
80: ; preds = %74
%81 = sext i32 %76 to i64
%82 = getelementptr inbounds i32, ptr %50, i64 %81
%83 = tail call i32 @get2byte(ptr noundef %82) #2
%84 = getelementptr i8, ptr %82, i64 8
%85 = tail call i32 @get2byte(ptr noundef %84) #2
%86 = add nsw i32 %85, %75
%87 = add nsw i32 %85, %76
%88 = add nsw i32 %87, 3
%89 = icmp sgt i32 %83, %88
br i1 %89, label %74, label %90
90: ; preds = %80
%91 = icmp sgt i32 %83, 0
br i1 %91, label %92, label %94
92: ; preds = %90
%93 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
94: ; preds = %90
%95 = icmp ugt i32 %87, %47
br i1 %95, label %96, label %98
96: ; preds = %94
%97 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
98: ; preds = %94, %1
%99 = phi i32 [ %68, %1 ], [ %86, %94 ]
%100 = icmp sgt i32 %99, %47
%101 = icmp slt i32 %99, %62
%102 = select i1 %100, i1 true, i1 %101
br i1 %102, label %103, label %105
103: ; preds = %98
%104 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef nonnull %0) #2
br label %108
105: ; preds = %98
%106 = sub nsw i32 %99, %62
store i32 %106, ptr %41, align 8, !tbaa !20
%107 = load i32, ptr @SQLITE_OK, align 4, !tbaa !25
br label %108
108: ; preds = %96, %92, %78, %72, %105, %103
%109 = phi i32 [ %104, %103 ], [ %107, %105 ], [ %97, %96 ], [ %93, %92 ], [ %79, %78 ], [ %73, %72 ]
ret i32 %109
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3PagerPagenumber(i32 noundef) local_unnamed_addr #1
declare ptr @sqlite3PagerGetExtra(i32 noundef) local_unnamed_addr #1
declare ptr @sqlite3PagerGetData(i32 noundef) local_unnamed_addr #1
declare i32 @get2byteNotZero(ptr noundef) local_unnamed_addr #1
declare i32 @get2byte(ptr noundef) local_unnamed_addr #1
declare i32 @SQLITE_CORRUPT_PAGE(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 40}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_6__", !8, i64 0, !12, i64 8, !12, i64 12}
!15 = !{!14, !12, i64 12}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !12, i64 48}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !12, i64 16}
!20 = !{!7, !12, i64 32}
!21 = !{!14, !12, i64 8}
!22 = !{!7, !12, i64 20}
!23 = !{!7, !12, i64 24}
!24 = !{!7, !12, i64 28}
!25 = !{!12, !12, i64 0}
|
freebsd_contrib_sqlite3_extr_sqlite3.c_btreeComputeFreeSpace
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_via-ircc.h_ReadReg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_via-ircc.h_ReadReg.c"
target datalayout = "e-m:e-p270:32:32-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 @ReadReg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ReadReg(i32 noundef %0, i32 noundef %1) #0 {
%3 = add i32 %1, %0
%4 = tail call i64 @inb(i32 noundef %3) #2
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @inb(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/fastsocket/kernel/drivers/net/irda/extr_via-ircc.h_ReadReg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_via-ircc.h_ReadReg.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 @ReadReg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ReadReg(i32 noundef %0, i32 noundef %1) #0 {
%3 = add i32 %1, %0
%4 = tail call i64 @inb(i32 noundef %3) #2
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @inb(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)"}
|
fastsocket_kernel_drivers_net_irda_extr_via-ircc.h_ReadReg
|
; ModuleID = 'AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_sync_callback.c'
source_filename = "AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_sync_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @gb_operation_sync_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gb_operation_sync_callback(ptr noundef %0) #0 {
%2 = tail call i32 @complete(ptr noundef %0) #2
ret void
}
declare i32 @complete(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/greybus/extr_operation.c_gb_operation_sync_callback.c'
source_filename = "AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_sync_callback.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 @gb_operation_sync_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gb_operation_sync_callback(ptr noundef %0) #0 {
%2 = tail call i32 @complete(ptr noundef %0) #2
ret void
}
declare i32 @complete(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_greybus_extr_operation.c_gb_operation_sync_callback
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_io-workarounds.c_io_workaround_init.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_io-workarounds.c_io_workaround_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"
@io_workaround_inited = dso_local local_unnamed_addr global i32 0, align 4
@iowa_pci_io = dso_local local_unnamed_addr global i32 0, align 4
@ppc_pci_io = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @io_workaround_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define internal void @io_workaround_init() #0 {
%1 = load i32, ptr @io_workaround_inited, align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = load i32, ptr @iowa_pci_io, align 4, !tbaa !5
store i32 %4, ptr @ppc_pci_io, align 4, !tbaa !5
store i32 1, ptr @io_workaround_inited, align 4, !tbaa !5
br label %5
5: ; preds = %0, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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/arch/powerpc/kernel/extr_io-workarounds.c_io_workaround_init.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_io-workarounds.c_io_workaround_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@io_workaround_inited = common local_unnamed_addr global i32 0, align 4
@iowa_pci_io = common local_unnamed_addr global i32 0, align 4
@ppc_pci_io = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @io_workaround_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @io_workaround_init() #0 {
%1 = load i32, ptr @io_workaround_inited, align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = load i32, ptr @iowa_pci_io, align 4, !tbaa !6
store i32 %4, ptr @ppc_pci_io, align 4, !tbaa !6
store i32 1, ptr @io_workaround_inited, align 4, !tbaa !6
br label %5
5: ; preds = %0, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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_arch_powerpc_kernel_extr_io-workarounds.c_io_workaround_init
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_swapfile_pager.c_swapfile_pager_deallocate_internal.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_swapfile_pager.c_swapfile_pager_deallocate_internal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i64 }
@swapfile_pager_lock = dso_local global i32 0, align 4
@MEMORY_OBJECT_CONTROL_NULL = dso_local local_unnamed_addr global i64 0, align 8
@SWAPFILE_PAGER_NULL = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @swapfile_pager_deallocate_internal(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @lck_mtx_lock(ptr noundef nonnull @swapfile_pager_lock) #2
br label %6
6: ; preds = %4, %2
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = add nsw i32 %7, -1
store i32 %8, ptr %0, align 8, !tbaa !5
switch i32 %7, label %24 [
i32 2, label %9
i32 1, label %13
]
9: ; preds = %6
%10 = tail call i32 @swapfile_pager_dequeue(ptr noundef nonnull %0) #2
%11 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
%12 = tail call i32 @swapfile_pager_terminate_internal(ptr noundef nonnull %0) #2
br label %26
13: ; preds = %6
%14 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !12
%17 = load i64, ptr @MEMORY_OBJECT_CONTROL_NULL, align 8, !tbaa !13
%18 = icmp eq i64 %16, %17
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = tail call i32 @memory_object_control_deallocate(i64 noundef %16) #2
%21 = load i64, ptr @MEMORY_OBJECT_CONTROL_NULL, align 8, !tbaa !13
store i64 %21, ptr %15, align 8, !tbaa !12
br label %22
22: ; preds = %19, %13
%23 = tail call i32 @kfree(ptr noundef nonnull %0, i32 noundef 16) #2
br label %26
24: ; preds = %6
%25 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
br label %26
26: ; preds = %22, %24, %9
ret void
}
declare i32 @lck_mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @swapfile_pager_dequeue(ptr noundef) local_unnamed_addr #1
declare i32 @lck_mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @swapfile_pager_terminate_internal(ptr noundef) local_unnamed_addr #1
declare i32 @memory_object_control_deallocate(i64 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 8}
!13 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_swapfile_pager.c_swapfile_pager_deallocate_internal.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_swapfile_pager.c_swapfile_pager_deallocate_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@swapfile_pager_lock = common global i32 0, align 4
@MEMORY_OBJECT_CONTROL_NULL = common local_unnamed_addr global i64 0, align 8
@SWAPFILE_PAGER_NULL = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @swapfile_pager_deallocate_internal(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @lck_mtx_lock(ptr noundef nonnull @swapfile_pager_lock) #2
br label %6
6: ; preds = %4, %2
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = add nsw i32 %7, -1
store i32 %8, ptr %0, align 8, !tbaa !6
switch i32 %7, label %24 [
i32 2, label %9
i32 1, label %13
]
9: ; preds = %6
%10 = tail call i32 @swapfile_pager_dequeue(ptr noundef nonnull %0) #2
%11 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
%12 = tail call i32 @swapfile_pager_terminate_internal(ptr noundef nonnull %0) #2
br label %26
13: ; preds = %6
%14 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !13
%17 = load i64, ptr @MEMORY_OBJECT_CONTROL_NULL, align 8, !tbaa !14
%18 = icmp eq i64 %16, %17
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = tail call i32 @memory_object_control_deallocate(i64 noundef %16) #2
%21 = load i64, ptr @MEMORY_OBJECT_CONTROL_NULL, align 8, !tbaa !14
store i64 %21, ptr %15, align 8, !tbaa !13
br label %22
22: ; preds = %19, %13
%23 = tail call i32 @kfree(ptr noundef nonnull %0, i32 noundef 16) #2
br label %26
24: ; preds = %6
%25 = tail call i32 @lck_mtx_unlock(ptr noundef nonnull @swapfile_pager_lock) #2
br label %26
26: ; preds = %22, %24, %9
ret void
}
declare i32 @lck_mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @swapfile_pager_dequeue(ptr noundef) local_unnamed_addr #1
declare i32 @lck_mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @swapfile_pager_terminate_internal(ptr noundef) local_unnamed_addr #1
declare i32 @memory_object_control_deallocate(i64 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!12, !12, i64 0}
|
darwin-xnu_osfmk_vm_extr_vm_swapfile_pager.c_swapfile_pager_deallocate_internal
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/tea/win/extr_nmakehlp.c_main.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/tea/win/extr_nmakehlp.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SEM_FAILCRITICALERRORS = dso_local local_unnamed_addr global i32 0, align 4
@SEM_NOOPENFILEERRORBOX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"CL\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"LINK\00", align 1
@.str.3 = private unnamed_addr constant [117 x i8] c"usage: %s -c <compiler option>\0ATests for whether cl.exe supports an option\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@STD_ERROR_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [117 x i8] c"usage: %s -l <linker option>\0ATests for whether link.exe supports an option\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.5 = private unnamed_addr constant [108 x i8] c"usage: %s -f <string> <substring>\0AFind a substring within another\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.6 = private unnamed_addr constant [112 x i8] c"usage: %s -s <substitutions file> <file>\0APerform a set of string map type substutitions on a file\0Aexitcodes: 0\0A\00", align 1
@.str.7 = private unnamed_addr constant [106 x i8] c"usage: %s -V filename matchstring\0AExtract a version from a file:\0Aeg: pkgIndex.tcl \22package ifneeded http\22\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.9 = private unnamed_addr constant [90 x i8] c"usage: %s -Q path\0AEmit the fully qualified path\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.10 = private unnamed_addr constant [156 x i8] c"usage: %s -c|-f|-l|-Q|-s|-V ...\0AThis is a little helper app to equalize shell differences between WinNT and\0AWin9x and get nmake.exe to accomplish its job.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [300 x i8], align 16
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 300, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @SEM_FAILCRITICALERRORS, align 4, !tbaa !5
%6 = load i32, ptr @SEM_NOOPENFILEERRORBOX, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = tail call i32 @SetErrorMode(i32 noundef %7) #3
%9 = tail call i32 @SetEnvironmentVariable(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
%10 = tail call i32 @SetEnvironmentVariable(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #3
%11 = icmp sgt i32 %0, 1
br i1 %11, label %12, label %98
12: ; preds = %2
%13 = getelementptr inbounds ptr, ptr %1, i64 1
%14 = load ptr, ptr %13, align 8, !tbaa !9
%15 = load i8, ptr %14, align 1, !tbaa !11
%16 = icmp eq i8 %15, 45
br i1 %16, label %17, label %98
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %14, i64 1
%19 = load i8, ptr %18, align 1, !tbaa !11
switch i8 %19, label %98 [
i8 99, label %20
i8 108, label %32
i8 102, label %44
i8 115, label %57
i8 86, label %71
i8 81, label %86
]
20: ; preds = %17
%21 = icmp eq i32 %0, 3
br i1 %21, label %28, label %22
22: ; preds = %20
%23 = load ptr, ptr %1, align 8, !tbaa !9
%24 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.3, ptr noundef %23) #3
%25 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%26 = call i32 @GetStdHandle(i32 noundef %25) #3
%27 = call i32 @WriteFile(i32 noundef %26, ptr noundef nonnull %3, i32 noundef %24, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
28: ; preds = %20
%29 = getelementptr inbounds ptr, ptr %1, i64 2
%30 = load ptr, ptr %29, align 8, !tbaa !9
%31 = tail call i32 @CheckForCompilerFeature(ptr noundef %30) #3
br label %104
32: ; preds = %17
%33 = icmp eq i32 %0, 3
br i1 %33, label %40, label %34
34: ; preds = %32
%35 = load ptr, ptr %1, align 8, !tbaa !9
%36 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.4, ptr noundef %35) #3
%37 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%38 = call i32 @GetStdHandle(i32 noundef %37) #3
%39 = call i32 @WriteFile(i32 noundef %38, ptr noundef nonnull %3, i32 noundef %36, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
40: ; preds = %32
%41 = getelementptr inbounds ptr, ptr %1, i64 2
%42 = load ptr, ptr %41, align 8, !tbaa !9
%43 = tail call i32 @CheckForLinkerFeature(ptr noundef %42) #3
br label %104
44: ; preds = %17
switch i32 %0, label %51 [
i32 2, label %45
i32 3, label %104
]
45: ; preds = %44
%46 = load ptr, ptr %1, align 8, !tbaa !9
%47 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.5, ptr noundef %46) #3
%48 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%49 = call i32 @GetStdHandle(i32 noundef %48) #3
%50 = call i32 @WriteFile(i32 noundef %49, ptr noundef nonnull %3, i32 noundef %47, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
51: ; preds = %44
%52 = getelementptr inbounds ptr, ptr %1, i64 2
%53 = load ptr, ptr %52, align 8, !tbaa !9
%54 = getelementptr inbounds ptr, ptr %1, i64 3
%55 = load ptr, ptr %54, align 8, !tbaa !9
%56 = tail call i32 @IsIn(ptr noundef %53, ptr noundef %55) #3
br label %104
57: ; preds = %17
%58 = icmp eq i32 %0, 2
br i1 %58, label %59, label %65
59: ; preds = %57
%60 = load ptr, ptr %1, align 8, !tbaa !9
%61 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.6, ptr noundef %60) #3
%62 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%63 = call i32 @GetStdHandle(i32 noundef %62) #3
%64 = call i32 @WriteFile(i32 noundef %63, ptr noundef nonnull %3, i32 noundef %61, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
65: ; preds = %57
%66 = getelementptr inbounds ptr, ptr %1, i64 2
%67 = load ptr, ptr %66, align 8, !tbaa !9
%68 = getelementptr inbounds ptr, ptr %1, i64 3
%69 = load ptr, ptr %68, align 8, !tbaa !9
%70 = tail call i32 @SubstituteFile(ptr noundef %67, ptr noundef %69) #3
br label %104
71: ; preds = %17
%72 = icmp eq i32 %0, 4
br i1 %72, label %79, label %73
73: ; preds = %71
%74 = load ptr, ptr %1, align 8, !tbaa !9
%75 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.7, ptr noundef %74) #3
%76 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%77 = call i32 @GetStdHandle(i32 noundef %76) #3
%78 = call i32 @WriteFile(i32 noundef %77, ptr noundef nonnull %3, i32 noundef %75, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
79: ; preds = %71
%80 = getelementptr inbounds ptr, ptr %1, i64 2
%81 = load ptr, ptr %80, align 8, !tbaa !9
%82 = getelementptr inbounds ptr, ptr %1, i64 3
%83 = load ptr, ptr %82, align 8, !tbaa !9
%84 = tail call ptr @GetVersionFromFile(ptr noundef %81, ptr noundef %83) #3
%85 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef %84) #3
br label %104
86: ; preds = %17
%87 = icmp eq i32 %0, 3
br i1 %87, label %94, label %88
88: ; preds = %86
%89 = load ptr, ptr %1, align 8, !tbaa !9
%90 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.9, ptr noundef %89) #3
%91 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%92 = call i32 @GetStdHandle(i32 noundef %91) #3
%93 = call i32 @WriteFile(i32 noundef %92, ptr noundef nonnull %3, i32 noundef %90, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
94: ; preds = %86
%95 = getelementptr inbounds ptr, ptr %1, i64 2
%96 = load ptr, ptr %95, align 8, !tbaa !9
%97 = tail call i32 @QualifyPath(ptr noundef %96) #3
br label %104
98: ; preds = %17, %12, %2
%99 = load ptr, ptr %1, align 8, !tbaa !9
%100 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.10, ptr noundef %99) #3
%101 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !5
%102 = call i32 @GetStdHandle(i32 noundef %101) #3
%103 = call i32 @WriteFile(i32 noundef %102, ptr noundef nonnull %3, i32 noundef %100, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
104: ; preds = %44, %98, %94, %88, %79, %73, %65, %59, %51, %45, %40, %34, %28, %22
%105 = phi i32 [ 2, %98 ], [ 2, %88 ], [ %97, %94 ], [ 0, %73 ], [ 0, %79 ], [ 2, %59 ], [ %70, %65 ], [ 2, %45 ], [ %56, %51 ], [ 2, %34 ], [ %43, %40 ], [ 2, %22 ], [ %31, %28 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 300, ptr nonnull %3) #3
ret i32 %105
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SetErrorMode(i32 noundef) local_unnamed_addr #2
declare i32 @SetEnvironmentVariable(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @WriteFile(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetStdHandle(i32 noundef) local_unnamed_addr #2
declare i32 @CheckForCompilerFeature(ptr noundef) local_unnamed_addr #2
declare i32 @CheckForLinkerFeature(ptr noundef) local_unnamed_addr #2
declare i32 @IsIn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SubstituteFile(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @GetVersionFromFile(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @QualifyPath(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 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/tea/win/extr_nmakehlp.c_main.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/tea/win/extr_nmakehlp.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEM_FAILCRITICALERRORS = common local_unnamed_addr global i32 0, align 4
@SEM_NOOPENFILEERRORBOX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"CL\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"LINK\00", align 1
@.str.3 = private unnamed_addr constant [117 x i8] c"usage: %s -c <compiler option>\0ATests for whether cl.exe supports an option\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@STD_ERROR_HANDLE = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [117 x i8] c"usage: %s -l <linker option>\0ATests for whether link.exe supports an option\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.5 = private unnamed_addr constant [108 x i8] c"usage: %s -f <string> <substring>\0AFind a substring within another\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.6 = private unnamed_addr constant [112 x i8] c"usage: %s -s <substitutions file> <file>\0APerform a set of string map type substutitions on a file\0Aexitcodes: 0\0A\00", align 1
@.str.7 = private unnamed_addr constant [106 x i8] c"usage: %s -V filename matchstring\0AExtract a version from a file:\0Aeg: pkgIndex.tcl \22package ifneeded http\22\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.9 = private unnamed_addr constant [90 x i8] c"usage: %s -Q path\0AEmit the fully qualified path\0Aexitcodes: 0 == no, 1 == yes, 2 == error\0A\00", align 1
@.str.10 = private unnamed_addr constant [156 x i8] c"usage: %s -c|-f|-l|-Q|-s|-V ...\0AThis is a little helper app to equalize shell differences between WinNT and\0AWin9x and get nmake.exe to accomplish its job.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [300 x i8], align 1
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 300, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @SEM_FAILCRITICALERRORS, align 4, !tbaa !6
%6 = load i32, ptr @SEM_NOOPENFILEERRORBOX, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = tail call i32 @SetErrorMode(i32 noundef %7) #3
%9 = tail call i32 @SetEnvironmentVariable(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
%10 = tail call i32 @SetEnvironmentVariable(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #3
%11 = icmp sgt i32 %0, 1
br i1 %11, label %12, label %98
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !10
%15 = load i8, ptr %14, align 1, !tbaa !12
%16 = icmp eq i8 %15, 45
br i1 %16, label %17, label %98
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %14, i64 1
%19 = load i8, ptr %18, align 1, !tbaa !12
switch i8 %19, label %98 [
i8 99, label %20
i8 108, label %32
i8 102, label %44
i8 115, label %57
i8 86, label %71
i8 81, label %86
]
20: ; preds = %17
%21 = icmp eq i32 %0, 3
br i1 %21, label %28, label %22
22: ; preds = %20
%23 = load ptr, ptr %1, align 8, !tbaa !10
%24 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.3, ptr noundef %23) #3
%25 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%26 = call i32 @GetStdHandle(i32 noundef %25) #3
%27 = call i32 @WriteFile(i32 noundef %26, ptr noundef nonnull %3, i32 noundef %24, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
28: ; preds = %20
%29 = getelementptr inbounds i8, ptr %1, i64 16
%30 = load ptr, ptr %29, align 8, !tbaa !10
%31 = tail call i32 @CheckForCompilerFeature(ptr noundef %30) #3
br label %104
32: ; preds = %17
%33 = icmp eq i32 %0, 3
br i1 %33, label %40, label %34
34: ; preds = %32
%35 = load ptr, ptr %1, align 8, !tbaa !10
%36 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.4, ptr noundef %35) #3
%37 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%38 = call i32 @GetStdHandle(i32 noundef %37) #3
%39 = call i32 @WriteFile(i32 noundef %38, ptr noundef nonnull %3, i32 noundef %36, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
40: ; preds = %32
%41 = getelementptr inbounds i8, ptr %1, i64 16
%42 = load ptr, ptr %41, align 8, !tbaa !10
%43 = tail call i32 @CheckForLinkerFeature(ptr noundef %42) #3
br label %104
44: ; preds = %17
switch i32 %0, label %51 [
i32 2, label %45
i32 3, label %104
]
45: ; preds = %44
%46 = load ptr, ptr %1, align 8, !tbaa !10
%47 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.5, ptr noundef %46) #3
%48 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%49 = call i32 @GetStdHandle(i32 noundef %48) #3
%50 = call i32 @WriteFile(i32 noundef %49, ptr noundef nonnull %3, i32 noundef %47, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
51: ; preds = %44
%52 = getelementptr inbounds i8, ptr %1, i64 16
%53 = load ptr, ptr %52, align 8, !tbaa !10
%54 = getelementptr inbounds i8, ptr %1, i64 24
%55 = load ptr, ptr %54, align 8, !tbaa !10
%56 = tail call i32 @IsIn(ptr noundef %53, ptr noundef %55) #3
br label %104
57: ; preds = %17
%58 = icmp eq i32 %0, 2
br i1 %58, label %59, label %65
59: ; preds = %57
%60 = load ptr, ptr %1, align 8, !tbaa !10
%61 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.6, ptr noundef %60) #3
%62 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%63 = call i32 @GetStdHandle(i32 noundef %62) #3
%64 = call i32 @WriteFile(i32 noundef %63, ptr noundef nonnull %3, i32 noundef %61, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
65: ; preds = %57
%66 = getelementptr inbounds i8, ptr %1, i64 16
%67 = load ptr, ptr %66, align 8, !tbaa !10
%68 = getelementptr inbounds i8, ptr %1, i64 24
%69 = load ptr, ptr %68, align 8, !tbaa !10
%70 = tail call i32 @SubstituteFile(ptr noundef %67, ptr noundef %69) #3
br label %104
71: ; preds = %17
%72 = icmp eq i32 %0, 4
br i1 %72, label %79, label %73
73: ; preds = %71
%74 = load ptr, ptr %1, align 8, !tbaa !10
%75 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.7, ptr noundef %74) #3
%76 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%77 = call i32 @GetStdHandle(i32 noundef %76) #3
%78 = call i32 @WriteFile(i32 noundef %77, ptr noundef nonnull %3, i32 noundef %75, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
79: ; preds = %71
%80 = getelementptr inbounds i8, ptr %1, i64 16
%81 = load ptr, ptr %80, align 8, !tbaa !10
%82 = getelementptr inbounds i8, ptr %1, i64 24
%83 = load ptr, ptr %82, align 8, !tbaa !10
%84 = tail call ptr @GetVersionFromFile(ptr noundef %81, ptr noundef %83) #3
%85 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef %84) #3
br label %104
86: ; preds = %17
%87 = icmp eq i32 %0, 3
br i1 %87, label %94, label %88
88: ; preds = %86
%89 = load ptr, ptr %1, align 8, !tbaa !10
%90 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.9, ptr noundef %89) #3
%91 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%92 = call i32 @GetStdHandle(i32 noundef %91) #3
%93 = call i32 @WriteFile(i32 noundef %92, ptr noundef nonnull %3, i32 noundef %90, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
94: ; preds = %86
%95 = getelementptr inbounds i8, ptr %1, i64 16
%96 = load ptr, ptr %95, align 8, !tbaa !10
%97 = tail call i32 @QualifyPath(ptr noundef %96) #3
br label %104
98: ; preds = %17, %12, %2
%99 = load ptr, ptr %1, align 8, !tbaa !10
%100 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 299, ptr noundef nonnull @.str.10, ptr noundef %99) #3
%101 = load i32, ptr @STD_ERROR_HANDLE, align 4, !tbaa !6
%102 = call i32 @GetStdHandle(i32 noundef %101) #3
%103 = call i32 @WriteFile(i32 noundef %102, ptr noundef nonnull %3, i32 noundef %100, ptr noundef nonnull %4, ptr noundef null) #3
br label %104
104: ; preds = %44, %98, %94, %88, %79, %73, %65, %59, %51, %45, %40, %34, %28, %22
%105 = phi i32 [ 2, %98 ], [ 2, %88 ], [ %97, %94 ], [ 0, %73 ], [ 0, %79 ], [ 2, %59 ], [ %70, %65 ], [ 2, %45 ], [ %56, %51 ], [ 2, %34 ], [ %43, %40 ], [ 2, %22 ], [ %31, %28 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 300, ptr nonnull %3) #3
ret i32 %105
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SetErrorMode(i32 noundef) local_unnamed_addr #2
declare i32 @SetEnvironmentVariable(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @WriteFile(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetStdHandle(i32 noundef) local_unnamed_addr #2
declare i32 @CheckForCompilerFeature(ptr noundef) local_unnamed_addr #2
declare i32 @CheckForLinkerFeature(ptr noundef) local_unnamed_addr #2
declare i32 @IsIn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SubstituteFile(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @GetVersionFromFile(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @QualifyPath(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 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
|
freebsd_contrib_sqlite3_tea_win_extr_nmakehlp.c_main
|
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/pf/extr_pf.c_pf_send.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf.c_pf_send.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@V_pf_sendqueue = dso_local global i32 0, align 4
@pfse_next = dso_local local_unnamed_addr global i32 0, align 4
@V_pf_swi_cookie = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pf_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pf_send(ptr noundef %0) #0 {
%2 = tail call i32 (...) @PF_SENDQ_LOCK() #2
%3 = load i32, ptr @pfse_next, align 4, !tbaa !5
%4 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @V_pf_sendqueue, ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 (...) @PF_SENDQ_UNLOCK() #2
%6 = load i32, ptr @V_pf_swi_cookie, align 4, !tbaa !5
%7 = tail call i32 @swi_sched(i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @PF_SENDQ_LOCK(...) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PF_SENDQ_UNLOCK(...) local_unnamed_addr #1
declare i32 @swi_sched(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/sys/netpfil/pf/extr_pf.c_pf_send.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf.c_pf_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V_pf_sendqueue = common global i32 0, align 4
@pfse_next = common local_unnamed_addr global i32 0, align 4
@V_pf_swi_cookie = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pf_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pf_send(ptr noundef %0) #0 {
%2 = tail call i32 @PF_SENDQ_LOCK() #2
%3 = load i32, ptr @pfse_next, align 4, !tbaa !6
%4 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @V_pf_sendqueue, ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 @PF_SENDQ_UNLOCK() #2
%6 = load i32, ptr @V_pf_swi_cookie, align 4, !tbaa !6
%7 = tail call i32 @swi_sched(i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @PF_SENDQ_LOCK(...) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PF_SENDQ_UNLOCK(...) local_unnamed_addr #1
declare i32 @swi_sched(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_sys_netpfil_pf_extr_pf.c_pf_send
|
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_peer_spad_write.c'
source_filename = "AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_peer_spad_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_ntb_dev = type { ptr, i64 }
; Function Attrs: nounwind uwtable
define dso_local i32 @intel_ntb_peer_spad_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @ntb_ndev(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.intel_ntb_dev, ptr %5, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = load ptr, ptr %5, align 8, !tbaa !11
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = add nsw i64 %9, %7
%11 = tail call i32 @ndev_spad_write(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef %10) #2
ret i32 %11
}
declare ptr @ntb_ndev(ptr noundef) local_unnamed_addr #1
declare i32 @ndev_spad_write(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"intel_ntb_dev", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_2__", !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_peer_spad_write.c'
source_filename = "AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_peer_spad_write.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 @intel_ntb_peer_spad_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @ntb_ndev(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = load ptr, ptr %5, align 8, !tbaa !12
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = add nsw i64 %9, %7
%11 = tail call i32 @ndev_spad_write(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef %10) #2
ret i32 %11
}
declare ptr @ntb_ndev(ptr noundef) local_unnamed_addr #1
declare i32 @ndev_spad_write(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"intel_ntb_dev", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0}
|
linux_drivers_ntb_hw_intel_extr_ntb_hw_gen1.c_intel_ntb_peer_spad_write
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c_inet6_fill_ifmcaddr.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c_inet6_fill_ifmcaddr.c"
target datalayout = "e-m:e-p270:32:32-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.ifmcaddr6 = type { i32, i32, i32, ptr }
@RT_SCOPE_UNIVERSE = dso_local local_unnamed_addr global i32 0, align 4
@IFA_SITE = dso_local local_unnamed_addr global i32 0, align 4
@RT_SCOPE_SITE = dso_local local_unnamed_addr global i32 0, align 4
@EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4
@IFA_F_PERMANENT = dso_local local_unnamed_addr global i32 0, align 4
@IFA_MULTICAST = dso_local local_unnamed_addr global i32 0, align 4
@INFINITY_LIFE_TIME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @inet6_fill_ifmcaddr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @inet6_fill_ifmcaddr(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @RT_SCOPE_UNIVERSE, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.ifmcaddr6, ptr %1, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = getelementptr inbounds %struct.ifmcaddr6, ptr %1, i64 0, i32 2
%13 = tail call i32 @ipv6_addr_scope(ptr noundef nonnull %12) #2
%14 = load i32, ptr @IFA_SITE, align 4, !tbaa !5
%15 = load i32, ptr @RT_SCOPE_SITE, align 4
%16 = tail call ptr @nlmsg_put(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 4, i32 noundef %5) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %6
%19 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %43
21: ; preds = %6
%22 = and i32 %14, %13
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i32 %7, i32 %15
%25 = load i32, ptr @IFA_F_PERMANENT, align 4, !tbaa !5
%26 = tail call i32 @put_ifaddrmsg(ptr noundef nonnull %16, i32 noundef 128, i32 noundef %25, i32 noundef %24, i32 noundef %11) #2
%27 = load i32, ptr @IFA_MULTICAST, align 4, !tbaa !5
%28 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %27, i32 noundef 16, ptr noundef nonnull %12) #2
%29 = icmp slt i64 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %21
%31 = getelementptr inbounds %struct.ifmcaddr6, ptr %1, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !16
%33 = load i32, ptr %1, align 8, !tbaa !17
%34 = load i32, ptr @INFINITY_LIFE_TIME, align 4, !tbaa !5
%35 = tail call i64 @put_cacheinfo(ptr noundef %0, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %30, %21
%38 = tail call i32 @nlmsg_cancel(ptr noundef %0, ptr noundef nonnull %16) #2
%39 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%40 = sub nsw i32 0, %39
br label %43
41: ; preds = %30
%42 = tail call i32 @nlmsg_end(ptr noundef %0, ptr noundef nonnull %16) #2
br label %43
43: ; preds = %41, %37, %18
%44 = phi i32 [ %20, %18 ], [ %40, %37 ], [ %42, %41 ]
ret i32 %44
}
declare i32 @ipv6_addr_scope(ptr noundef) local_unnamed_addr #1
declare ptr @nlmsg_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_ifaddrmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @put_cacheinfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nlmsg_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"ifmcaddr6", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_3__", !6, i64 0}
!16 = !{!10, !6, i64 4}
!17 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c_inet6_fill_ifmcaddr.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c_inet6_fill_ifmcaddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RT_SCOPE_UNIVERSE = common local_unnamed_addr global i32 0, align 4
@IFA_SITE = common local_unnamed_addr global i32 0, align 4
@RT_SCOPE_SITE = common local_unnamed_addr global i32 0, align 4
@EMSGSIZE = common local_unnamed_addr global i32 0, align 4
@IFA_F_PERMANENT = common local_unnamed_addr global i32 0, align 4
@IFA_MULTICAST = common local_unnamed_addr global i32 0, align 4
@INFINITY_LIFE_TIME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @inet6_fill_ifmcaddr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @inet6_fill_ifmcaddr(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @RT_SCOPE_UNIVERSE, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = tail call i32 @ipv6_addr_scope(ptr noundef nonnull %12) #2
%14 = load i32, ptr @IFA_SITE, align 4, !tbaa !6
%15 = load i32, ptr @RT_SCOPE_SITE, align 4
%16 = tail call ptr @nlmsg_put(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 4, i32 noundef %5) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %6
%19 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %43
21: ; preds = %6
%22 = and i32 %14, %13
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i32 %7, i32 %15
%25 = load i32, ptr @IFA_F_PERMANENT, align 4, !tbaa !6
%26 = tail call i32 @put_ifaddrmsg(ptr noundef nonnull %16, i32 noundef 128, i32 noundef %25, i32 noundef %24, i32 noundef %11) #2
%27 = load i32, ptr @IFA_MULTICAST, align 4, !tbaa !6
%28 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %27, i32 noundef 16, ptr noundef nonnull %12) #2
%29 = icmp slt i64 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %21
%31 = getelementptr inbounds i8, ptr %1, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !17
%33 = load i32, ptr %1, align 8, !tbaa !18
%34 = load i32, ptr @INFINITY_LIFE_TIME, align 4, !tbaa !6
%35 = tail call i64 @put_cacheinfo(ptr noundef %0, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %30, %21
%38 = tail call i32 @nlmsg_cancel(ptr noundef %0, ptr noundef nonnull %16) #2
%39 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%40 = sub nsw i32 0, %39
br label %43
41: ; preds = %30
%42 = tail call i32 @nlmsg_end(ptr noundef %0, ptr noundef nonnull %16) #2
br label %43
43: ; preds = %41, %37, %18
%44 = phi i32 [ %20, %18 ], [ %40, %37 ], [ %42, %41 ]
ret i32 %44
}
declare i32 @ipv6_addr_scope(ptr noundef) local_unnamed_addr #1
declare ptr @nlmsg_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_ifaddrmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @put_cacheinfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nlmsg_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"ifmcaddr6", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_4__", !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!11, !7, i64 4}
!18 = !{!11, !7, i64 0}
|
fastsocket_kernel_net_ipv6_extr_addrconf.c_inet6_fill_ifmcaddr
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_cmd_common_set_profile_config.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_cmd_common_set_profile_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i32, ptr }
%struct.TYPE_12__ = type { i32, ptr, ptr, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, i32, i32, i32 }
@SLI4_PORT_TYPE_FC = dso_local local_unnamed_addr global i64 0, align 8
@SLI4_OPC_COMMON_SET_PROFILE_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@SLI4_SUBSYSTEM_COMMON = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sli_cmd_common_set_profile_config(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = load i64, ptr @SLI4_PORT_TYPE_FC, align 8, !tbaa !5
%9 = load i64, ptr %0, align 8, !tbaa !9
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = tail call i32 @sli_cmd_sli_config(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, i32 noundef 40, ptr noundef %3) #2
%13 = sext i32 %12 to i64
br label %14
14: ; preds = %11, %7
%15 = phi i64 [ %13, %11 ], [ 0, %7 ]
%16 = icmp eq ptr %3, null
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = getelementptr inbounds %struct.TYPE_13__, ptr %3, i64 0, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !11
%20 = load i32, ptr %3, align 8, !tbaa !15
%21 = tail call i32 @ocs_memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) #2
%22 = load i32, ptr %3, align 8, !tbaa !15
%23 = add i32 %22, -4
br label %26
24: ; preds = %14
%25 = getelementptr inbounds ptr, ptr %1, i64 %15
br label %26
26: ; preds = %24, %17
%27 = phi ptr [ %19, %17 ], [ %25, %24 ]
%28 = phi i32 [ %23, %17 ], [ 36, %24 ]
%29 = load i32, ptr @SLI4_OPC_COMMON_SET_PROFILE_CONFIG, align 4, !tbaa !16
%30 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 3
%31 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 3, i32 3
store i32 %29, ptr %31, align 4, !tbaa !17
%32 = load i32, ptr @SLI4_SUBSYSTEM_COMMON, align 4, !tbaa !16
%33 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 3, i32 2
store i32 %32, ptr %33, align 8, !tbaa !20
store i32 %28, ptr %30, align 8, !tbaa !21
%34 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 3, i32 1
store i32 1, ptr %34, align 4, !tbaa !22
%35 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 2
store ptr %4, ptr %35, align 8, !tbaa !23
store i32 %5, ptr %27, align 8, !tbaa !24
%36 = getelementptr inbounds %struct.TYPE_12__, ptr %27, i64 0, i32 1
store ptr %6, ptr %36, align 8, !tbaa !25
%37 = trunc i64 %15 to i32
%38 = add i32 %37, 40
ret i32 %38
}
declare i32 @sli_cmd_sli_config(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_11__", !6, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_13__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !13, i64 36}
!18 = !{!"TYPE_12__", !13, i64 0, !14, i64 8, !14, i64 16, !19, i64 24}
!19 = !{!"TYPE_10__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!20 = !{!18, !13, i64 32}
!21 = !{!18, !13, i64 24}
!22 = !{!18, !13, i64 28}
!23 = !{!18, !14, i64 16}
!24 = !{!18, !13, i64 0}
!25 = !{!18, !14, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_cmd_common_set_profile_config.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_cmd_common_set_profile_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SLI4_PORT_TYPE_FC = common local_unnamed_addr global i64 0, align 8
@SLI4_OPC_COMMON_SET_PROFILE_CONFIG = common local_unnamed_addr global i32 0, align 4
@SLI4_SUBSYSTEM_COMMON = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sli_cmd_common_set_profile_config(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = load i64, ptr @SLI4_PORT_TYPE_FC, align 8, !tbaa !6
%9 = load i64, ptr %0, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = tail call i32 @sli_cmd_sli_config(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, i32 noundef 40, ptr noundef %3) #2
%13 = sext i32 %12 to i64
br label %14
14: ; preds = %11, %7
%15 = phi i64 [ %13, %11 ], [ 0, %7 ]
%16 = icmp eq ptr %3, null
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !12
%20 = load i32, ptr %3, align 8, !tbaa !16
%21 = tail call i32 @ocs_memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) #2
%22 = load i32, ptr %3, align 8, !tbaa !16
%23 = add i32 %22, -4
br label %26
24: ; preds = %14
%25 = getelementptr inbounds ptr, ptr %1, i64 %15
br label %26
26: ; preds = %24, %17
%27 = phi ptr [ %19, %17 ], [ %25, %24 ]
%28 = phi i32 [ %23, %17 ], [ 36, %24 ]
%29 = load i32, ptr @SLI4_OPC_COMMON_SET_PROFILE_CONFIG, align 4, !tbaa !17
%30 = getelementptr inbounds i8, ptr %27, i64 24
%31 = getelementptr inbounds i8, ptr %27, i64 36
store i32 %29, ptr %31, align 4, !tbaa !18
%32 = load i32, ptr @SLI4_SUBSYSTEM_COMMON, align 4, !tbaa !17
%33 = getelementptr inbounds i8, ptr %27, i64 32
store i32 %32, ptr %33, align 8, !tbaa !21
store i32 %28, ptr %30, align 8, !tbaa !22
%34 = getelementptr inbounds i8, ptr %27, i64 28
store i32 1, ptr %34, align 4, !tbaa !23
%35 = getelementptr inbounds i8, ptr %27, i64 16
store ptr %4, ptr %35, align 8, !tbaa !24
store i32 %5, ptr %27, align 8, !tbaa !25
%36 = getelementptr inbounds i8, ptr %27, i64 8
store ptr %6, ptr %36, align 8, !tbaa !26
%37 = trunc nsw i64 %15 to i32
%38 = add i32 %37, 40
ret i32 %38
}
declare i32 @sli_cmd_sli_config(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_11__", !7, i64 0}
!12 = !{!13, !15, i64 8}
!13 = !{!"TYPE_13__", !14, i64 0, !15, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!19, !14, i64 36}
!19 = !{!"TYPE_12__", !14, i64 0, !15, i64 8, !15, i64 16, !20, i64 24}
!20 = !{!"TYPE_10__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!21 = !{!19, !14, i64 32}
!22 = !{!19, !14, i64 24}
!23 = !{!19, !14, i64 28}
!24 = !{!19, !15, i64 16}
!25 = !{!19, !14, i64 0}
!26 = !{!19, !15, i64 8}
|
freebsd_sys_dev_ocs_fc_extr_sli4.c_sli_cmd_common_set_profile_config
|
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/html/extr_html-doc.c_htdoc_bound_page.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/html/extr_html-doc.c_htdoc_bound_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i64, i64, i64 }
%struct.TYPE_6__ = type { ptr, i64, i64 }
@L = dso_local local_unnamed_addr global i64 0, align 8
@R = dso_local local_unnamed_addr global i64 0, align 8
@T = dso_local local_unnamed_addr global i64 0, align 8
@B = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @htdoc_bound_page], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @htdoc_bound_page(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_9__) align 8 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%6 = load ptr, ptr %4, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = load ptr, ptr %6, align 8, !tbaa !15
%10 = load i64, ptr @L, align 8, !tbaa !16
%11 = getelementptr inbounds i64, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = add nsw i64 %12, %8
%14 = load i64, ptr @R, align 8, !tbaa !16
%15 = getelementptr inbounds i64, ptr %9, i64 %14
%16 = load i64, ptr %15, align 8, !tbaa !16
%17 = add nsw i64 %13, %16
%18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
store i64 %17, ptr %18, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
%20 = load i64, ptr %19, align 8, !tbaa !19
%21 = load i64, ptr @T, align 8, !tbaa !16
%22 = getelementptr inbounds i64, ptr %9, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !16
%24 = add nsw i64 %23, %20
%25 = load i64, ptr @B, align 8, !tbaa !16
%26 = getelementptr inbounds i64, ptr %9, i64 %25
%27 = load i64, ptr %26, align 8, !tbaa !16
%28 = add nsw i64 %24, %27
store i64 %28, ptr %0, align 8, !tbaa !20
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0}
!12 = !{!13, !14, i64 16}
!13 = !{!"TYPE_6__", !7, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !14, i64 8}
!18 = !{!"TYPE_9__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!19 = !{!13, !14, i64 8}
!20 = !{!18, !14, i64 0}
|
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/html/extr_html-doc.c_htdoc_bound_page.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/html/extr_html-doc.c_htdoc_bound_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_9__ = type { i64, i64, i64, i64 }
@L = common local_unnamed_addr global i64 0, align 8
@R = common local_unnamed_addr global i64 0, align 8
@T = common local_unnamed_addr global i64 0, align 8
@B = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @htdoc_bound_page], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @htdoc_bound_page(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_9__) align 8 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%6 = load ptr, ptr %4, align 8, !tbaa !11
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %6, align 8, !tbaa !16
%10 = load i64, ptr @L, align 8, !tbaa !17
%11 = getelementptr inbounds i64, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = add nsw i64 %12, %8
%14 = load i64, ptr @R, align 8, !tbaa !17
%15 = getelementptr inbounds i64, ptr %9, i64 %14
%16 = load i64, ptr %15, align 8, !tbaa !17
%17 = add nsw i64 %13, %16
%18 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %17, ptr %18, align 8, !tbaa !18
%19 = getelementptr inbounds i8, ptr %6, i64 8
%20 = load i64, ptr %19, align 8, !tbaa !20
%21 = load i64, ptr @T, align 8, !tbaa !17
%22 = getelementptr inbounds i64, ptr %9, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !17
%24 = add nsw i64 %23, %20
%25 = load i64, ptr @B, align 8, !tbaa !17
%26 = getelementptr inbounds i64, ptr %9, i64 %25
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = add nsw i64 %24, %27
store i64 %28, ptr %0, align 8, !tbaa !21
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_8__", !8, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"TYPE_6__", !8, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !8, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!19, !15, i64 8}
!19 = !{!"TYPE_9__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!20 = !{!14, !15, i64 8}
!21 = !{!19, !15, i64 0}
|
sumatrapdf_mupdf_source_html_extr_html-doc.c_htdoc_bound_page
|
; ModuleID = 'AnghaBench/linux/drivers/clk/zte/extr_clk.c_zx_pll_round_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/zte/extr_clk.c_zx_pll_round_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @zx_pll_round_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @zx_pll_round_rate(ptr noundef %0, i64 noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @to_clk_zx_pll(ptr noundef %0) #2
%5 = tail call i32 @rate_to_idx(ptr noundef %4, i64 noundef %1) #2
%6 = load ptr, ptr %4, align 8, !tbaa !5
%7 = sext i32 %5 to i64
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !10
ret i64 %9
}
declare ptr @to_clk_zx_pll(ptr noundef) local_unnamed_addr #1
declare i32 @rate_to_idx(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"clk_zx_pll", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/clk/zte/extr_clk.c_zx_pll_round_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/zte/extr_clk.c_zx_pll_round_rate.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 { i64 }
@llvm.used = appending global [1 x ptr] [ptr @zx_pll_round_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @zx_pll_round_rate(ptr noundef %0, i64 noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @to_clk_zx_pll(ptr noundef %0) #2
%5 = tail call i32 @rate_to_idx(ptr noundef %4, i64 noundef %1) #2
%6 = load ptr, ptr %4, align 8, !tbaa !6
%7 = sext i32 %5 to i64
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !11
ret i64 %9
}
declare ptr @to_clk_zx_pll(ptr noundef) local_unnamed_addr #1
declare i32 @rate_to_idx(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"clk_zx_pll", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
|
linux_drivers_clk_zte_extr_clk.c_zx_pll_round_rate
|
; ModuleID = 'AnghaBench/numpy/numpy/random/src/mt19937/extr_randomkit.c_rk_random_uint32.c'
source_filename = "AnghaBench/numpy/numpy/random/src/mt19937/extr_randomkit.c_rk_random_uint32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @rk_random_uint32(i32 noundef %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = icmp eq i32 %1, 0
br i1 %6, label %7, label %30
7: ; preds = %5
%8 = icmp eq i64 %2, 0
br i1 %8, label %53, label %9
9: ; preds = %7
%10 = icmp ult i64 %2, 8
br i1 %10, label %23, label %11
11: ; preds = %9
%12 = and i64 %2, -8
%13 = insertelement <4 x i32> poison, i32 %0, i64 0
%14 = shufflevector <4 x i32> %13, <4 x i32> poison, <4 x i32> zeroinitializer
br label %15
15: ; preds = %15, %11
%16 = phi i64 [ 0, %11 ], [ %19, %15 ]
%17 = getelementptr inbounds i32, ptr %3, i64 %16
%18 = getelementptr inbounds i32, ptr %17, i64 4
store <4 x i32> %14, ptr %17, align 4, !tbaa !5
store <4 x i32> %14, ptr %18, align 4, !tbaa !5
%19 = add nuw i64 %16, 8
%20 = icmp eq i64 %19, %12
br i1 %20, label %21, label %15, !llvm.loop !9
21: ; preds = %15
%22 = icmp eq i64 %12, %2
br i1 %22, label %53, label %23
23: ; preds = %9, %21
%24 = phi i64 [ 0, %9 ], [ %12, %21 ]
br label %25
25: ; preds = %23, %25
%26 = phi i64 [ %28, %25 ], [ %24, %23 ]
%27 = getelementptr inbounds i32, ptr %3, i64 %26
store i32 %0, ptr %27, align 4, !tbaa !5
%28 = add nuw i64 %26, 1
%29 = icmp eq i64 %28, %2
br i1 %29, label %53, label %25, !llvm.loop !13
30: ; preds = %5
%31 = ashr i32 %1, 1
%32 = or i32 %31, %1
%33 = ashr i32 %32, 2
%34 = or i32 %33, %32
%35 = ashr i32 %34, 4
%36 = or i32 %35, %34
%37 = ashr i32 %36, 8
%38 = or i32 %37, %36
%39 = ashr i32 %38, 16
%40 = or i32 %39, %38
%41 = icmp eq i64 %2, 0
br i1 %41, label %53, label %42
42: ; preds = %30, %48
%43 = phi i64 [ %51, %48 ], [ 0, %30 ]
br label %44
44: ; preds = %42, %44
%45 = tail call i32 @rk_uint32(ptr noundef %4) #2
%46 = and i32 %45, %40
%47 = icmp sgt i32 %46, %1
br i1 %47, label %44, label %48, !llvm.loop !14
48: ; preds = %44
%49 = add nsw i32 %46, %0
%50 = getelementptr inbounds i32, ptr %3, i64 %43
store i32 %49, ptr %50, align 4, !tbaa !5
%51 = add nuw i64 %43, 1
%52 = icmp eq i64 %51, %2
br i1 %52, label %53, label %42, !llvm.loop !15
53: ; preds = %48, %25, %21, %30, %7
ret void
}
declare i32 @rk_uint32(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
|
; ModuleID = 'AnghaBench/numpy/numpy/random/src/mt19937/extr_randomkit.c_rk_random_uint32.c'
source_filename = "AnghaBench/numpy/numpy/random/src/mt19937/extr_randomkit.c_rk_random_uint32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @rk_random_uint32(i32 noundef %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = icmp eq i32 %1, 0
br i1 %6, label %7, label %32
7: ; preds = %5
%8 = icmp eq i64 %2, 0
br i1 %8, label %55, label %9
9: ; preds = %7
%10 = icmp ult i64 %2, 16
br i1 %10, label %25, label %11
11: ; preds = %9
%12 = and i64 %2, -16
%13 = insertelement <4 x i32> poison, i32 %0, i64 0
%14 = shufflevector <4 x i32> %13, <4 x i32> poison, <4 x i32> zeroinitializer
br label %15
15: ; preds = %15, %11
%16 = phi i64 [ 0, %11 ], [ %21, %15 ]
%17 = getelementptr inbounds i32, ptr %3, i64 %16
%18 = getelementptr inbounds i8, ptr %17, i64 16
%19 = getelementptr inbounds i8, ptr %17, i64 32
%20 = getelementptr inbounds i8, ptr %17, i64 48
store <4 x i32> %14, ptr %17, align 4, !tbaa !6
store <4 x i32> %14, ptr %18, align 4, !tbaa !6
store <4 x i32> %14, ptr %19, align 4, !tbaa !6
store <4 x i32> %14, ptr %20, align 4, !tbaa !6
%21 = add nuw i64 %16, 16
%22 = icmp eq i64 %21, %12
br i1 %22, label %23, label %15, !llvm.loop !10
23: ; preds = %15
%24 = icmp eq i64 %12, %2
br i1 %24, label %55, label %25
25: ; preds = %23, %9
%26 = phi i64 [ 0, %9 ], [ %12, %23 ]
br label %27
27: ; preds = %25, %27
%28 = phi i64 [ %30, %27 ], [ %26, %25 ]
%29 = getelementptr inbounds i32, ptr %3, i64 %28
store i32 %0, ptr %29, align 4, !tbaa !6
%30 = add nuw i64 %28, 1
%31 = icmp eq i64 %30, %2
br i1 %31, label %55, label %27, !llvm.loop !14
32: ; preds = %5
%33 = ashr i32 %1, 1
%34 = or i32 %33, %1
%35 = ashr i32 %34, 2
%36 = or i32 %35, %34
%37 = ashr i32 %36, 4
%38 = or i32 %37, %36
%39 = ashr i32 %38, 8
%40 = or i32 %39, %38
%41 = ashr i32 %40, 16
%42 = or i32 %41, %40
%43 = icmp eq i64 %2, 0
br i1 %43, label %55, label %44
44: ; preds = %32, %50
%45 = phi i64 [ %53, %50 ], [ 0, %32 ]
br label %46
46: ; preds = %44, %46
%47 = tail call i32 @rk_uint32(ptr noundef %4) #2
%48 = and i32 %47, %42
%49 = icmp sgt i32 %48, %1
br i1 %49, label %46, label %50, !llvm.loop !15
50: ; preds = %46
%51 = add nsw i32 %48, %0
%52 = getelementptr inbounds i32, ptr %3, i64 %45
store i32 %51, ptr %52, align 4, !tbaa !6
%53 = add nuw i64 %45, 1
%54 = icmp eq i64 %53, %2
br i1 %54, label %55, label %44, !llvm.loop !16
55: ; preds = %50, %27, %23, %32, %7
ret void
}
declare i32 @rk_uint32(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !13, !12}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
|
numpy_numpy_random_src_mt19937_extr_randomkit.c_rk_random_uint32
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/miuni32/keymaps/ht_156/extr_keymap.c_process_record_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/miuni32/keymaps/ht_156/extr_keymap.c_process_record_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/miuni32/keymaps/ht_156/extr_keymap.c_process_record_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/miuni32/keymaps/ht_156/extr_keymap.c_process_record_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
qmk_firmware_keyboards_miuni32_keymaps_ht_156_extr_keymap.c_process_record_user
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_nvmet_handle_rcqe.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_nvmet_handle_rcqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.lpfc_hba = type { i64, ptr, i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { ptr, ptr, ptr }
%struct.lpfc_queue = type { i64, i32, i32, i32, i32, i32, i32 }
%struct.fc_frame_header = type { ptr, i32, i32 }
%struct.rqb_dmabuf = type { %struct.TYPE_8__, i64 }
%struct.TYPE_8__ = type { i64 }
%struct.lpfc_nvmet_tgtport = type { i32, i32, i32 }
@lpfc_cqe_code = dso_local local_unnamed_addr global i32 0, align 4
@CQE_CODE_RECEIVE_V1 = dso_local local_unnamed_addr global i64 0, align 8
@lpfc_rcqe_rq_id_v1 = dso_local local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_rq_id = dso_local local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_status = dso_local local_unnamed_addr global i32 0, align 4
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@LOG_SLI = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"6126 Receive Frame Truncated!!\0A\00", align 1
@FC_FC_FIRST_SEQ = dso_local local_unnamed_addr global i64 0, align 8
@FC_FC_END_SEQ = dso_local local_unnamed_addr global i64 0, align 8
@FC_FC_SEQ_INIT = dso_local local_unnamed_addr global i64 0, align 8
@FC_TYPE_FCP = dso_local local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_length = dso_local local_unnamed_addr global i32 0, align 4
@HBA_NVMET_CQ_NOTIFY = dso_local local_unnamed_addr global i32 0, align 4
@LOG_NVME = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"6401 RQE Error x%x, posted %d err_cnt %d: %x %x %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_sli4_nvmet_handle_rcqe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lpfc_sli4_nvmet_handle_rcqe(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %139, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 3, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %139, label %10
10: ; preds = %6
%11 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 3
%12 = load i64, ptr %1, align 8, !tbaa !14
%13 = load ptr, ptr %8, align 8, !tbaa !16
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = sub i64 %12, %14
%16 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 3, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !19
%18 = getelementptr inbounds ptr, ptr %17, i64 %15
%19 = load ptr, ptr %18, align 8, !tbaa !16
%20 = load ptr, ptr %11, align 8, !tbaa !20
%21 = getelementptr inbounds ptr, ptr %20, i64 %15
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = icmp eq ptr %19, null
%24 = zext i1 %23 to i32
%25 = tail call i64 @unlikely(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %139
27: ; preds = %10
%28 = icmp eq ptr %22, null
%29 = zext i1 %28 to i32
%30 = tail call i64 @unlikely(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %139
32: ; preds = %27
%33 = load i32, ptr @lpfc_cqe_code, align 4, !tbaa !21
%34 = tail call i64 @bf_get(i32 noundef %33, ptr noundef %2) #2
%35 = load i64, ptr @CQE_CODE_RECEIVE_V1, align 8, !tbaa !22
%36 = icmp eq i64 %34, %35
%37 = load i32, ptr @lpfc_rcqe_rq_id_v1, align 4
%38 = load i32, ptr @lpfc_rcqe_rq_id, align 4
%39 = select i1 %36, i32 %37, i32 %38
%40 = tail call i64 @bf_get(i32 noundef %39, ptr noundef %2) #2
%41 = load i64, ptr %0, align 8, !tbaa !5
%42 = icmp eq i64 %41, 0
br i1 %42, label %139, label %43
43: ; preds = %32
%44 = load i64, ptr %19, align 8, !tbaa !14
%45 = icmp eq i64 %40, %44
br i1 %45, label %46, label %139
46: ; preds = %43
%47 = load i32, ptr @lpfc_rcqe_status, align 4, !tbaa !21
%48 = tail call i64 @bf_get(i32 noundef %47, ptr noundef %2) #2
switch i64 %48, label %139 [
i64 129, label %49
i64 128, label %53
i64 131, label %114
i64 130, label %135
]
49: ; preds = %46
%50 = load i32, ptr @KERN_ERR, align 4, !tbaa !21
%51 = load i32, ptr @LOG_SLI, align 4, !tbaa !21
%52 = tail call i32 (ptr, i32, i32, ptr, ...) @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %51, ptr noundef nonnull @.str) #2
br label %53
53: ; preds = %46, %49
%54 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2
%55 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %54, i64 noundef undef) #2
%56 = tail call i32 @lpfc_sli4_rq_release(ptr noundef nonnull %19, ptr noundef %22) #2
%57 = tail call ptr @lpfc_sli_rqbuf_get(ptr noundef nonnull %0, ptr noundef nonnull %19) #2
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %64
59: ; preds = %53
%60 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 6
%61 = load i32, ptr %60, align 4, !tbaa !23
%62 = add nsw i32 %61, 1
store i32 %62, ptr %60, align 4, !tbaa !23
%63 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %54, i64 noundef undef) #2
br label %139
64: ; preds = %53
%65 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %54, i64 noundef undef) #2
%66 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 5
%67 = load i32, ptr %66, align 8, !tbaa !24
%68 = add nsw i32 %67, 1
store i32 %68, ptr %66, align 8, !tbaa !24
%69 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 3
%70 = load i32, ptr %69, align 8, !tbaa !25
%71 = add nsw i32 %70, -1
store i32 %71, ptr %69, align 8, !tbaa !25
%72 = load i64, ptr %57, align 8, !tbaa !26
%73 = inttoptr i64 %72 to ptr
%74 = load ptr, ptr %73, align 8, !tbaa !29
%75 = load i32, ptr %74, align 4, !tbaa !21
%76 = shl i32 %75, 16
%77 = getelementptr inbounds i32, ptr %74, i64 1
%78 = load i32, ptr %77, align 4, !tbaa !21
%79 = shl i32 %78, 8
%80 = or i32 %79, %76
%81 = getelementptr inbounds i32, ptr %74, i64 2
%82 = load i32, ptr %81, align 4, !tbaa !21
%83 = or i32 %80, %82
%84 = sext i32 %83 to i64
%85 = load i64, ptr @FC_FC_FIRST_SEQ, align 8, !tbaa !22
%86 = load i64, ptr @FC_FC_END_SEQ, align 8, !tbaa !22
%87 = or i64 %86, %85
%88 = load i64, ptr @FC_FC_SEQ_INIT, align 8, !tbaa !22
%89 = or i64 %87, %88
%90 = and i64 %89, %84
%91 = icmp eq i64 %90, %89
br i1 %91, label %92, label %112
92: ; preds = %64
%93 = getelementptr inbounds %struct.fc_frame_header, ptr %73, i64 0, i32 2
%94 = load i32, ptr %93, align 4, !tbaa !31
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %112
96: ; preds = %92
%97 = getelementptr inbounds %struct.fc_frame_header, ptr %73, i64 0, i32 1
%98 = load i32, ptr %97, align 8, !tbaa !32
%99 = load i32, ptr @FC_TYPE_FCP, align 4, !tbaa !21
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %112
101: ; preds = %96
%102 = load i32, ptr @lpfc_rcqe_length, align 4, !tbaa !21
%103 = tail call i64 @bf_get(i32 noundef %102, ptr noundef %2) #2
%104 = getelementptr inbounds %struct.rqb_dmabuf, ptr %57, i64 0, i32 1
store i64 %103, ptr %104, align 8, !tbaa !33
%105 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 4
%106 = load i32, ptr %105, align 4, !tbaa !34
%107 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 1
%108 = load i32, ptr %107, align 8, !tbaa !35
%109 = load i32, ptr @HBA_NVMET_CQ_NOTIFY, align 4, !tbaa !21
%110 = and i32 %109, %108
%111 = tail call i32 @lpfc_nvmet_unsol_fcp_event(ptr noundef nonnull %0, i64 noundef %15, ptr noundef nonnull %57, i32 noundef %106, i32 noundef %110) #2
br label %139
112: ; preds = %96, %64, %92
%113 = tail call i32 @lpfc_rq_buf_free(ptr noundef nonnull %0, ptr noundef nonnull %57) #2
br label %139
114: ; preds = %46
%115 = load i64, ptr %0, align 8, !tbaa !5
%116 = icmp eq i64 %115, 0
br i1 %116, label %135, label %117
117: ; preds = %114
%118 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1
%119 = load ptr, ptr %118, align 8, !tbaa !36
%120 = load ptr, ptr %119, align 8, !tbaa !37
%121 = load i32, ptr @KERN_ERR, align 4, !tbaa !21
%122 = load i32, ptr @LOG_SLI, align 4, !tbaa !21
%123 = load i32, ptr @LOG_NVME, align 4, !tbaa !21
%124 = or i32 %123, %122
%125 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 3
%126 = load i32, ptr %125, align 8, !tbaa !25
%127 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 2
%128 = load i32, ptr %127, align 4, !tbaa !39
%129 = getelementptr inbounds %struct.lpfc_nvmet_tgtport, ptr %120, i64 0, i32 2
%130 = tail call i32 @atomic_read(ptr noundef nonnull %129) #2
%131 = getelementptr inbounds %struct.lpfc_nvmet_tgtport, ptr %120, i64 0, i32 1
%132 = tail call i32 @atomic_read(ptr noundef nonnull %131) #2
%133 = tail call i32 @atomic_read(ptr noundef %120) #2
%134 = tail call i32 (ptr, i32, i32, ptr, ...) @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %121, i32 noundef %124, ptr noundef nonnull @.str.1, i64 noundef 131, i32 noundef %126, i32 noundef %128, i32 noundef %130, i32 noundef %132, i32 noundef %133) #2
br label %135
135: ; preds = %114, %117, %46
%136 = getelementptr inbounds %struct.lpfc_queue, ptr %19, i64 0, i32 2
%137 = load i32, ptr %136, align 4, !tbaa !39
%138 = add nsw i32 %137, 1
store i32 %138, ptr %136, align 4, !tbaa !39
br label %139
139: ; preds = %59, %46, %135, %112, %32, %43, %10, %27, %3, %6, %101
ret i32 0
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @bf_get(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lpfc_sli4_rq_release(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lpfc_sli_rqbuf_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lpfc_nvmet_unsol_fcp_event(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lpfc_rq_buf_free(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(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 = !{!"lpfc_hba", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"TYPE_6__", !10, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!6, !10, i64 40}
!14 = !{!15, !7, i64 0}
!15 = !{!"lpfc_queue", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
!19 = !{!6, !10, i64 32}
!20 = !{!6, !10, i64 24}
!21 = !{!11, !11, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!15, !11, i64 28}
!24 = !{!15, !11, i64 24}
!25 = !{!15, !11, i64 16}
!26 = !{!27, !7, i64 0}
!27 = !{!"rqb_dmabuf", !28, i64 0, !7, i64 8}
!28 = !{!"TYPE_8__", !7, i64 0}
!29 = !{!30, !10, i64 0}
!30 = !{!"fc_frame_header", !10, i64 0, !11, i64 8, !11, i64 12}
!31 = !{!30, !11, i64 12}
!32 = !{!30, !11, i64 8}
!33 = !{!27, !7, i64 8}
!34 = !{!15, !11, i64 20}
!35 = !{!15, !11, i64 8}
!36 = !{!6, !10, i64 8}
!37 = !{!38, !10, i64 0}
!38 = !{!"TYPE_7__", !10, i64 0}
!39 = !{!15, !11, i64 12}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_nvmet_handle_rcqe.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_nvmet_handle_rcqe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lpfc_cqe_code = common local_unnamed_addr global i32 0, align 4
@CQE_CODE_RECEIVE_V1 = common local_unnamed_addr global i64 0, align 8
@lpfc_rcqe_rq_id_v1 = common local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_rq_id = common local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_status = common local_unnamed_addr global i32 0, align 4
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@LOG_SLI = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"6126 Receive Frame Truncated!!\0A\00", align 1
@FC_FC_FIRST_SEQ = common local_unnamed_addr global i64 0, align 8
@FC_FC_END_SEQ = common local_unnamed_addr global i64 0, align 8
@FC_FC_SEQ_INIT = common local_unnamed_addr global i64 0, align 8
@FC_TYPE_FCP = common local_unnamed_addr global i32 0, align 4
@lpfc_rcqe_length = common local_unnamed_addr global i32 0, align 4
@HBA_NVMET_CQ_NOTIFY = common local_unnamed_addr global i32 0, align 4
@LOG_NVME = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"6401 RQE Error x%x, posted %d err_cnt %d: %x %x %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lpfc_sli4_nvmet_handle_rcqe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lpfc_sli4_nvmet_handle_rcqe(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %139, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 40
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = icmp eq ptr %8, null
br i1 %9, label %139, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load i64, ptr %1, align 8, !tbaa !15
%13 = load ptr, ptr %8, align 8, !tbaa !17
%14 = load i64, ptr %13, align 8, !tbaa !18
%15 = sub i64 %12, %14
%16 = getelementptr inbounds i8, ptr %0, i64 32
%17 = load ptr, ptr %16, align 8, !tbaa !20
%18 = getelementptr inbounds ptr, ptr %17, i64 %15
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = load ptr, ptr %11, align 8, !tbaa !21
%21 = getelementptr inbounds ptr, ptr %20, i64 %15
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = icmp eq ptr %19, null
%24 = zext i1 %23 to i32
%25 = tail call i64 @unlikely(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %139
27: ; preds = %10
%28 = icmp eq ptr %22, null
%29 = zext i1 %28 to i32
%30 = tail call i64 @unlikely(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %139
32: ; preds = %27
%33 = load i32, ptr @lpfc_cqe_code, align 4, !tbaa !22
%34 = tail call i64 @bf_get(i32 noundef %33, ptr noundef %2) #2
%35 = load i64, ptr @CQE_CODE_RECEIVE_V1, align 8, !tbaa !23
%36 = icmp eq i64 %34, %35
%37 = load i32, ptr @lpfc_rcqe_rq_id_v1, align 4
%38 = load i32, ptr @lpfc_rcqe_rq_id, align 4
%39 = select i1 %36, i32 %37, i32 %38
%40 = tail call i64 @bf_get(i32 noundef %39, ptr noundef %2) #2
%41 = load i64, ptr %0, align 8, !tbaa !6
%42 = icmp eq i64 %41, 0
br i1 %42, label %139, label %43
43: ; preds = %32
%44 = load i64, ptr %19, align 8, !tbaa !15
%45 = icmp eq i64 %40, %44
br i1 %45, label %46, label %139
46: ; preds = %43
%47 = load i32, ptr @lpfc_rcqe_status, align 4, !tbaa !22
%48 = tail call i64 @bf_get(i32 noundef %47, ptr noundef %2) #2
switch i64 %48, label %139 [
i64 129, label %49
i64 128, label %53
i64 131, label %114
i64 130, label %135
]
49: ; preds = %46
%50 = load i32, ptr @KERN_ERR, align 4, !tbaa !22
%51 = load i32, ptr @LOG_SLI, align 4, !tbaa !22
%52 = tail call i32 (ptr, i32, i32, ptr, ...) @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %51, ptr noundef nonnull @.str) #2
br label %53
53: ; preds = %46, %49
%54 = getelementptr inbounds i8, ptr %0, i64 16
%55 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %54, i64 noundef undef) #2
%56 = tail call i32 @lpfc_sli4_rq_release(ptr noundef nonnull %19, ptr noundef %22) #2
%57 = tail call ptr @lpfc_sli_rqbuf_get(ptr noundef nonnull %0, ptr noundef nonnull %19) #2
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %64
59: ; preds = %53
%60 = getelementptr inbounds i8, ptr %19, i64 28
%61 = load i32, ptr %60, align 4, !tbaa !24
%62 = add nsw i32 %61, 1
store i32 %62, ptr %60, align 4, !tbaa !24
%63 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %54, i64 noundef undef) #2
br label %139
64: ; preds = %53
%65 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %54, i64 noundef undef) #2
%66 = getelementptr inbounds i8, ptr %19, i64 24
%67 = load i32, ptr %66, align 8, !tbaa !25
%68 = add nsw i32 %67, 1
store i32 %68, ptr %66, align 8, !tbaa !25
%69 = getelementptr inbounds i8, ptr %19, i64 16
%70 = load i32, ptr %69, align 8, !tbaa !26
%71 = add nsw i32 %70, -1
store i32 %71, ptr %69, align 8, !tbaa !26
%72 = load i64, ptr %57, align 8, !tbaa !27
%73 = inttoptr i64 %72 to ptr
%74 = load ptr, ptr %73, align 8, !tbaa !30
%75 = load i32, ptr %74, align 4, !tbaa !22
%76 = shl i32 %75, 16
%77 = getelementptr inbounds i8, ptr %74, i64 4
%78 = load i32, ptr %77, align 4, !tbaa !22
%79 = shl i32 %78, 8
%80 = or i32 %79, %76
%81 = getelementptr inbounds i8, ptr %74, i64 8
%82 = load i32, ptr %81, align 4, !tbaa !22
%83 = or i32 %80, %82
%84 = sext i32 %83 to i64
%85 = load i64, ptr @FC_FC_FIRST_SEQ, align 8, !tbaa !23
%86 = load i64, ptr @FC_FC_END_SEQ, align 8, !tbaa !23
%87 = or i64 %86, %85
%88 = load i64, ptr @FC_FC_SEQ_INIT, align 8, !tbaa !23
%89 = or i64 %87, %88
%90 = and i64 %89, %84
%91 = icmp eq i64 %90, %89
br i1 %91, label %92, label %112
92: ; preds = %64
%93 = getelementptr inbounds i8, ptr %73, i64 12
%94 = load i32, ptr %93, align 4, !tbaa !32
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %112
96: ; preds = %92
%97 = getelementptr inbounds i8, ptr %73, i64 8
%98 = load i32, ptr %97, align 8, !tbaa !33
%99 = load i32, ptr @FC_TYPE_FCP, align 4, !tbaa !22
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %112
101: ; preds = %96
%102 = load i32, ptr @lpfc_rcqe_length, align 4, !tbaa !22
%103 = tail call i64 @bf_get(i32 noundef %102, ptr noundef %2) #2
%104 = getelementptr inbounds i8, ptr %57, i64 8
store i64 %103, ptr %104, align 8, !tbaa !34
%105 = getelementptr inbounds i8, ptr %1, i64 20
%106 = load i32, ptr %105, align 4, !tbaa !35
%107 = getelementptr inbounds i8, ptr %1, i64 8
%108 = load i32, ptr %107, align 8, !tbaa !36
%109 = load i32, ptr @HBA_NVMET_CQ_NOTIFY, align 4, !tbaa !22
%110 = and i32 %109, %108
%111 = tail call i32 @lpfc_nvmet_unsol_fcp_event(ptr noundef nonnull %0, i64 noundef %15, ptr noundef nonnull %57, i32 noundef %106, i32 noundef %110) #2
br label %139
112: ; preds = %96, %64, %92
%113 = tail call i32 @lpfc_rq_buf_free(ptr noundef nonnull %0, ptr noundef nonnull %57) #2
br label %139
114: ; preds = %46
%115 = load i64, ptr %0, align 8, !tbaa !6
%116 = icmp eq i64 %115, 0
br i1 %116, label %135, label %117
117: ; preds = %114
%118 = getelementptr inbounds i8, ptr %0, i64 8
%119 = load ptr, ptr %118, align 8, !tbaa !37
%120 = load ptr, ptr %119, align 8, !tbaa !38
%121 = load i32, ptr @KERN_ERR, align 4, !tbaa !22
%122 = load i32, ptr @LOG_SLI, align 4, !tbaa !22
%123 = load i32, ptr @LOG_NVME, align 4, !tbaa !22
%124 = or i32 %123, %122
%125 = getelementptr inbounds i8, ptr %19, i64 16
%126 = load i32, ptr %125, align 8, !tbaa !26
%127 = getelementptr inbounds i8, ptr %19, i64 12
%128 = load i32, ptr %127, align 4, !tbaa !40
%129 = getelementptr inbounds i8, ptr %120, i64 8
%130 = tail call i32 @atomic_read(ptr noundef nonnull %129) #2
%131 = getelementptr inbounds i8, ptr %120, i64 4
%132 = tail call i32 @atomic_read(ptr noundef nonnull %131) #2
%133 = tail call i32 @atomic_read(ptr noundef %120) #2
%134 = tail call i32 (ptr, i32, i32, ptr, ...) @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %121, i32 noundef %124, ptr noundef nonnull @.str.1, i64 noundef 131, i32 noundef %126, i32 noundef %128, i32 noundef %130, i32 noundef %132, i32 noundef %133) #2
br label %135
135: ; preds = %114, %117, %46
%136 = getelementptr inbounds i8, ptr %19, i64 12
%137 = load i32, ptr %136, align 4, !tbaa !40
%138 = add nsw i32 %137, 1
store i32 %138, ptr %136, align 4, !tbaa !40
br label %139
139: ; preds = %59, %46, %135, %112, %32, %43, %10, %27, %3, %6, %101
ret i32 0
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @bf_get(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lpfc_sli4_rq_release(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lpfc_sli_rqbuf_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lpfc_nvmet_unsol_fcp_event(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lpfc_rq_buf_free(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(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 = !{!"lpfc_hba", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!7, !11, i64 40}
!15 = !{!16, !8, i64 0}
!16 = !{!"lpfc_queue", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_5__", !8, i64 0}
!20 = !{!7, !11, i64 32}
!21 = !{!7, !11, i64 24}
!22 = !{!12, !12, i64 0}
!23 = !{!8, !8, i64 0}
!24 = !{!16, !12, i64 28}
!25 = !{!16, !12, i64 24}
!26 = !{!16, !12, i64 16}
!27 = !{!28, !8, i64 0}
!28 = !{!"rqb_dmabuf", !29, i64 0, !8, i64 8}
!29 = !{!"TYPE_8__", !8, i64 0}
!30 = !{!31, !11, i64 0}
!31 = !{!"fc_frame_header", !11, i64 0, !12, i64 8, !12, i64 12}
!32 = !{!31, !12, i64 12}
!33 = !{!31, !12, i64 8}
!34 = !{!28, !8, i64 8}
!35 = !{!16, !12, i64 20}
!36 = !{!16, !12, i64 8}
!37 = !{!7, !11, i64 8}
!38 = !{!39, !11, i64 0}
!39 = !{!"TYPE_7__", !11, i64 0}
!40 = !{!16, !12, i64 12}
|
linux_drivers_scsi_lpfc_extr_lpfc_sli.c_lpfc_sli4_nvmet_handle_rcqe
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/extr_locks.h_spin_lock_init.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/extr_locks.h_spin_lock_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @spin_lock_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @spin_lock_init(ptr noundef %0) #0 {
%2 = tail call i32 @lock_impl_init(ptr noundef %0) #2
ret void
}
declare i32 @lock_impl_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/extr_locks.h_spin_lock_init.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/extr_locks.h_spin_lock_init.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 @spin_lock_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @spin_lock_init(ptr noundef %0) #0 {
%2 = tail call i32 @lock_impl_init(ptr noundef %0) #2
ret void
}
declare i32 @lock_impl_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_tools_testing_selftests_rcutorture_formal_srcu-cbmc_src_extr_locks.h_spin_lock_init
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..evsel.h_perf_evsel__match2.c'
source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..evsel.h_perf_evsel__match2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_evsel__match2], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @perf_evsel__match2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %13
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = icmp eq i64 %8, %10
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %6, %2
%14 = phi i32 [ 0, %2 ], [ %12, %6 ]
ret i32 %14
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"evsel", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!6, !9, i64 8}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..evsel.h_perf_evsel__match2.c'
source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..evsel.h_perf_evsel__match2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @perf_evsel__match2], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @perf_evsel__match2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %13
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp eq i64 %8, %10
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %6, %2
%14 = phi i32 [ 0, %2 ], [ %12, %6 ]
ret i32 %14
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"evsel", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0, !10, i64 8}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!7, !10, i64 8}
|
linux_tools_perf_util_scripting-engines_extr_..evsel.h_perf_evsel__match2
|
; ModuleID = 'AnghaBench/curl/lib/extr_pop3.c_pop3_get_message.c'
source_filename = "AnghaBench/curl/lib/extr_pop3.c_pop3_get_message.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @pop3_get_message], section "llvm.metadata"
; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable
define internal void @pop3_get_message(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%4 = icmp ugt i64 %3, 2
br i1 %4, label %5, label %26
5: ; preds = %2
%6 = add i64 %3, -2
%7 = getelementptr inbounds i8, ptr %0, i64 2
br label %8
8: ; preds = %14, %5
%9 = phi i64 [ %6, %5 ], [ %16, %14 ]
%10 = phi ptr [ %7, %5 ], [ %15, %14 ]
%11 = load i8, ptr %10, align 1, !tbaa !5
switch i8 %11, label %12 [
i8 32, label %14
i8 9, label %14
]
12: ; preds = %8
%13 = icmp eq i64 %9, 0
br i1 %13, label %28, label %17
14: ; preds = %8, %8
%15 = getelementptr inbounds i8, ptr %10, i64 1
%16 = add i64 %9, -1
br label %8, !llvm.loop !8
17: ; preds = %12, %22
%18 = phi i64 [ %19, %22 ], [ %9, %12 ]
%19 = add i64 %18, -1
%20 = getelementptr inbounds i8, ptr %10, i64 %19
%21 = load i8, ptr %20, align 1, !tbaa !5
switch i8 %21, label %24 [
i8 13, label %22
i8 10, label %22
i8 32, label %22
i8 9, label %22
]
22: ; preds = %17, %17, %17, %17
%23 = icmp eq i64 %19, 0
br i1 %23, label %28, label %17, !llvm.loop !10
24: ; preds = %17
%25 = getelementptr inbounds i8, ptr %10, i64 %18
store i8 0, ptr %25, align 1, !tbaa !5
br label %28
26: ; preds = %2
%27 = getelementptr inbounds i8, ptr %0, i64 %3
br label %28
28: ; preds = %22, %12, %24, %26
%29 = phi ptr [ %10, %24 ], [ %27, %26 ], [ %10, %12 ], [ %10, %22 ]
store ptr %29, ptr %1, align 8, !tbaa !11
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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"}
!10 = distinct !{!10, !9}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !6, i64 0}
|
; ModuleID = 'AnghaBench/curl/lib/extr_pop3.c_pop3_get_message.c'
source_filename = "AnghaBench/curl/lib/extr_pop3.c_pop3_get_message.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 @pop3_get_message], section "llvm.metadata"
; Function Attrs: nofree nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @pop3_get_message(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%4 = icmp ugt i64 %3, 2
br i1 %4, label %5, label %26
5: ; preds = %2
%6 = add i64 %3, -2
%7 = getelementptr inbounds i8, ptr %0, i64 2
br label %8
8: ; preds = %14, %5
%9 = phi i64 [ %6, %5 ], [ %16, %14 ]
%10 = phi ptr [ %7, %5 ], [ %15, %14 ]
%11 = load i8, ptr %10, align 1, !tbaa !6
switch i8 %11, label %12 [
i8 32, label %14
i8 9, label %14
]
12: ; preds = %8
%13 = icmp eq i64 %9, 0
br i1 %13, label %28, label %17
14: ; preds = %8, %8
%15 = getelementptr inbounds i8, ptr %10, i64 1
%16 = add i64 %9, -1
br label %8, !llvm.loop !9
17: ; preds = %12, %22
%18 = phi i64 [ %19, %22 ], [ %9, %12 ]
%19 = add i64 %18, -1
%20 = getelementptr inbounds i8, ptr %10, i64 %19
%21 = load i8, ptr %20, align 1, !tbaa !6
switch i8 %21, label %24 [
i8 13, label %22
i8 10, label %22
i8 32, label %22
i8 9, label %22
]
22: ; preds = %17, %17, %17, %17
%23 = icmp eq i64 %19, 0
br i1 %23, label %28, label %17, !llvm.loop !11
24: ; preds = %17
%25 = getelementptr inbounds i8, ptr %10, i64 %18
store i8 0, ptr %25, align 1, !tbaa !6
br label %28
26: ; preds = %2
%27 = getelementptr inbounds i8, ptr %0, i64 %3
br label %28
28: ; preds = %22, %12, %24, %26
%29 = phi ptr [ %10, %24 ], [ %27, %26 ], [ %10, %12 ], [ %10, %22 ]
store ptr %29, ptr %1, align 8, !tbaa !12
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { nofree nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
|
curl_lib_extr_pop3.c_pop3_get_message
|
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dgesv_.c'
source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dgesv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"DGESV \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"No transpose\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dgesv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store i64 0, ptr %7, align 8, !tbaa !5
%10 = load i64, ptr %0, align 8, !tbaa !5
%11 = icmp slt i64 %10, 0
br i1 %11, label %27, label %12
12: ; preds = %8
%13 = load i64, ptr %1, align 8, !tbaa !5
%14 = icmp slt i64 %13, 0
br i1 %14, label %27, label %15
15: ; preds = %12
%16 = load i64, ptr %3, align 8, !tbaa !5
%17 = tail call i64 @max(i32 noundef 1, i64 noundef %10) #3
%18 = icmp slt i64 %16, %17
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = load i64, ptr %6, align 8, !tbaa !5
%21 = load i64, ptr %0, align 8, !tbaa !5
%22 = tail call i64 @max(i32 noundef 1, i64 noundef %21) #3
%23 = icmp slt i64 %20, %22
br i1 %23, label %27, label %24
24: ; preds = %19
%25 = load i64, ptr %7, align 8, !tbaa !5
%26 = icmp eq i64 %25, 0
br i1 %26, label %33, label %29
27: ; preds = %19, %15, %12, %8
%28 = phi i64 [ -1, %8 ], [ -2, %12 ], [ -4, %15 ], [ -7, %19 ]
store i64 %28, ptr %7, align 8, !tbaa !5
br label %29
29: ; preds = %27, %24
%30 = phi i64 [ %25, %24 ], [ %28, %27 ]
%31 = sub nsw i64 0, %30
store i64 %31, ptr %9, align 8, !tbaa !5
%32 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %9) #3
br label %39
33: ; preds = %24
%34 = tail call i32 @dgetrf_(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull %7) #3
%35 = load i64, ptr %7, align 8, !tbaa !5
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = tail call i32 @dgetrs_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
br label %39
39: ; preds = %33, %37, %29
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @max(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dgetrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dgetrs_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dgesv_.c'
source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dgesv_.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"DGESV \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"No transpose\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @dgesv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store i64 0, ptr %7, align 8, !tbaa !6
%10 = load i64, ptr %0, align 8, !tbaa !6
%11 = icmp slt i64 %10, 0
br i1 %11, label %27, label %12
12: ; preds = %8
%13 = load i64, ptr %1, align 8, !tbaa !6
%14 = icmp slt i64 %13, 0
br i1 %14, label %27, label %15
15: ; preds = %12
%16 = load i64, ptr %3, align 8, !tbaa !6
%17 = tail call i64 @max(i32 noundef 1, i64 noundef %10) #3
%18 = icmp slt i64 %16, %17
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = load i64, ptr %6, align 8, !tbaa !6
%21 = load i64, ptr %0, align 8, !tbaa !6
%22 = tail call i64 @max(i32 noundef 1, i64 noundef %21) #3
%23 = icmp slt i64 %20, %22
br i1 %23, label %27, label %24
24: ; preds = %19
%25 = load i64, ptr %7, align 8, !tbaa !6
%26 = icmp eq i64 %25, 0
br i1 %26, label %33, label %29
27: ; preds = %19, %15, %12, %8
%28 = phi i64 [ -1, %8 ], [ -2, %12 ], [ -4, %15 ], [ -7, %19 ]
store i64 %28, ptr %7, align 8, !tbaa !6
br label %29
29: ; preds = %27, %24
%30 = phi i64 [ %25, %24 ], [ %28, %27 ]
%31 = sub nsw i64 0, %30
store i64 %31, ptr %9, align 8, !tbaa !6
%32 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %9) #3
br label %39
33: ; preds = %24
%34 = tail call i32 @dgetrf_(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull %7) #3
%35 = load i64, ptr %7, align 8, !tbaa !6
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = tail call i32 @dgetrs_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
br label %39
39: ; preds = %33, %37, %29
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @max(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dgetrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dgetrs_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
numpy_numpy_linalg_lapack_lite_extr_f2c_d_lapack.c_dgesv_
|
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_cmp.c'
source_filename = "AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_cmp.c"
target datalayout = "e-m:e-p270:32:32-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 @dstr_cmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @dstr_cmp(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @strcmp(i32 noundef %3, ptr noundef %1) #2
ret i32 %4
}
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dstr", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_cmp.c'
source_filename = "AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_cmp.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 @dstr_cmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @dstr_cmp(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @strcmp(i32 noundef %3, ptr noundef %1) #2
ret i32 %4
}
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dstr", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
obs-studio_libobs_callback_extr_..utildstr.h_dstr_cmp
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI1.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BYTE = dso_local local_unnamed_addr global i32 0, align 4
@VarI4FromUI1 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_VarI4FromUI1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_VarI4FromUI1() #0 {
%1 = load i32, ptr @BYTE, align 4, !tbaa !5
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI4FromUI1, align 4, !tbaa !5
%4 = tail call i32 @CONVERTRANGE(i32 noundef %3, i32 noundef 0, i32 noundef 256) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERTRANGE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI1.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BYTE = common local_unnamed_addr global i32 0, align 4
@VarI4FromUI1 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_VarI4FromUI1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_VarI4FromUI1() #0 {
%1 = load i32, ptr @BYTE, align 4, !tbaa !6
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI4FromUI1, align 4, !tbaa !6
%4 = tail call i32 @CONVERTRANGE(i32 noundef %3, i32 noundef 0, i32 noundef 256) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERTRANGE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
reactos_modules_rostests_winetests_oleaut32_extr_vartype.c_test_VarI4FromUI1
|
; ModuleID = 'AnghaBench/RetroArch/network/extr_net_logger.c_logger_init.c'
source_filename = "AnghaBench/RetroArch/network/extr_net_logger.c_logger_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr, i32 }
@PC_DEVELOPMENT_IP_ADDRESS = dso_local local_unnamed_addr global ptr null, align 8
@PC_DEVELOPMENT_UDP_PORT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"Could not initialize network logger interface.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ra_netlogger\00", align 1
@SOCKET_DOMAIN_INET = dso_local local_unnamed_addr global i32 0, align 4
@SOCKET_TYPE_DATAGRAM = dso_local local_unnamed_addr global i32 0, align 4
@SOCKET_PROTOCOL_NONE = dso_local local_unnamed_addr global i32 0, align 4
@g_sid = dso_local local_unnamed_addr global i32 0, align 4
@target = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @logger_init() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
%2 = load ptr, ptr @PC_DEVELOPMENT_IP_ADDRESS, align 8, !tbaa !5
%3 = load i32, ptr @PC_DEVELOPMENT_UDP_PORT, align 4, !tbaa !9
%4 = tail call i32 (...) @network_init() #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = tail call i32 @printf(ptr noundef nonnull @.str) #3
br label %17
8: ; preds = %0
%9 = load i32, ptr @SOCKET_DOMAIN_INET, align 4, !tbaa !9
%10 = load i32, ptr @SOCKET_TYPE_DATAGRAM, align 4, !tbaa !9
%11 = load i32, ptr @SOCKET_PROTOCOL_NONE, align 4, !tbaa !9
%12 = tail call i32 @socket_create(ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %10, i32 noundef %11) #3
store i32 %12, ptr @g_sid, align 4, !tbaa !9
store i32 %3, ptr %1, align 8, !tbaa !11
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
store ptr %2, ptr %13, align 8, !tbaa !13
%14 = load i32, ptr @SOCKET_DOMAIN_INET, align 4, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
store i32 %14, ptr %15, align 8, !tbaa !14
%16 = call i32 @socket_set_target(ptr noundef nonnull @target, ptr noundef nonnull %1) #3
br label %17
17: ; preds = %8, %6
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @network_init(...) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @socket_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @socket_set_target(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0, !6, i64 8, !10, i64 16}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !10, i64 16}
|
; ModuleID = 'AnghaBench/RetroArch/network/extr_net_logger.c_logger_init.c'
source_filename = "AnghaBench/RetroArch/network/extr_net_logger.c_logger_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, ptr, i32 }
@PC_DEVELOPMENT_IP_ADDRESS = common local_unnamed_addr global ptr null, align 8
@PC_DEVELOPMENT_UDP_PORT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"Could not initialize network logger interface.\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ra_netlogger\00", align 1
@SOCKET_DOMAIN_INET = common local_unnamed_addr global i32 0, align 4
@SOCKET_TYPE_DATAGRAM = common local_unnamed_addr global i32 0, align 4
@SOCKET_PROTOCOL_NONE = common local_unnamed_addr global i32 0, align 4
@g_sid = common local_unnamed_addr global i32 0, align 4
@target = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @logger_init() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
%2 = load ptr, ptr @PC_DEVELOPMENT_IP_ADDRESS, align 8, !tbaa !6
%3 = load i32, ptr @PC_DEVELOPMENT_UDP_PORT, align 4, !tbaa !10
%4 = tail call i32 @network_init() #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = tail call i32 @printf(ptr noundef nonnull @.str) #3
br label %17
8: ; preds = %0
%9 = load i32, ptr @SOCKET_DOMAIN_INET, align 4, !tbaa !10
%10 = load i32, ptr @SOCKET_TYPE_DATAGRAM, align 4, !tbaa !10
%11 = load i32, ptr @SOCKET_PROTOCOL_NONE, align 4, !tbaa !10
%12 = tail call i32 @socket_create(ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %10, i32 noundef %11) #3
store i32 %12, ptr @g_sid, align 4, !tbaa !10
store i32 %3, ptr %1, align 8, !tbaa !12
%13 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %2, ptr %13, align 8, !tbaa !14
%14 = load i32, ptr @SOCKET_DOMAIN_INET, align 4, !tbaa !10
%15 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %14, ptr %15, align 8, !tbaa !15
%16 = call i32 @socket_set_target(ptr noundef nonnull @target, ptr noundef nonnull %1) #3
br label %17
17: ; preds = %8, %6
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @network_init(...) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @socket_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @socket_set_target(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0, !7, i64 8, !11, i64 16}
!14 = !{!13, !7, i64 8}
!15 = !{!13, !11, i64 16}
|
RetroArch_network_extr_net_logger.c_logger_init
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_push_buffers.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_push_buffers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.efx_tx_queue = type { i32, i32, i32, i32, ptr }
%struct.efx_tx_buffer = type { i32, i32, i32 }
@EFX_TX_BUF_CONT = dso_local local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_CONT = dso_local local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BYTE_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BUF_REGION = dso_local local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BUF_ADDR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @efx_nic_push_buffers(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.efx_tx_queue, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = icmp eq i32 %2, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.efx_tx_queue, ptr %0, i64 0, i32 2
%9 = getelementptr inbounds %struct.efx_tx_queue, ptr %0, i64 0, i32 4
%10 = load i32, ptr %0, align 8, !tbaa !5
br label %11
11: ; preds = %11, %1
%12 = phi i32 [ %38, %11 ], [ %10, %1 ]
%13 = load i32, ptr %8, align 8, !tbaa !12
%14 = and i32 %13, %12
%15 = load ptr, ptr %9, align 8, !tbaa !13
%16 = zext i32 %14 to i64
%17 = getelementptr inbounds %struct.efx_tx_buffer, ptr %15, i64 %16
%18 = tail call ptr @efx_tx_desc(ptr noundef nonnull %0, i32 noundef %14) #2
%19 = load i32, ptr %0, align 8, !tbaa !5
%20 = add i32 %19, 1
store i32 %20, ptr %0, align 8, !tbaa !5
%21 = load i32, ptr @EFX_TX_BUF_CONT, align 4, !tbaa !14
%22 = icmp ne i32 %21, 1
%23 = zext i1 %22 to i32
%24 = tail call i32 @BUILD_BUG_ON(i32 noundef %23) #2
%25 = load i32, ptr %18, align 4, !tbaa !14
%26 = load i32, ptr @FSF_AZ_TX_KER_CONT, align 4, !tbaa !14
%27 = load i32, ptr %17, align 4, !tbaa !15
%28 = load i32, ptr @EFX_TX_BUF_CONT, align 4, !tbaa !14
%29 = and i32 %28, %27
%30 = load i32, ptr @FSF_AZ_TX_KER_BYTE_COUNT, align 4, !tbaa !14
%31 = getelementptr inbounds %struct.efx_tx_buffer, ptr %15, i64 %16, i32 2
%32 = load i32, ptr %31, align 4, !tbaa !17
%33 = load i32, ptr @FSF_AZ_TX_KER_BUF_REGION, align 4, !tbaa !14
%34 = load i32, ptr @FSF_AZ_TX_KER_BUF_ADDR, align 4, !tbaa !14
%35 = getelementptr inbounds %struct.efx_tx_buffer, ptr %15, i64 %16, i32 1
%36 = load i32, ptr %35, align 4, !tbaa !18
%37 = tail call i32 @EFX_POPULATE_QWORD_4(i32 noundef %25, i32 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %36) #2
%38 = load i32, ptr %0, align 8, !tbaa !5
%39 = load i32, ptr %3, align 4, !tbaa !11
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %11, !llvm.loop !19
41: ; preds = %11
%42 = tail call i32 (...) @wmb() #2
%43 = tail call i64 @efx_may_push_tx_desc(ptr noundef nonnull %0, i32 noundef %2) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %53, label %45
45: ; preds = %41
%46 = load i32, ptr %8, align 8, !tbaa !12
%47 = and i32 %46, %2
%48 = tail call ptr @efx_tx_desc(ptr noundef nonnull %0, i32 noundef %47) #2
%49 = tail call i32 @efx_push_tx_desc(ptr noundef nonnull %0, ptr noundef %48) #2
%50 = getelementptr inbounds %struct.efx_tx_queue, ptr %0, i64 0, i32 3
%51 = load i32, ptr %50, align 4, !tbaa !21
%52 = add nsw i32 %51, 1
store i32 %52, ptr %50, align 4, !tbaa !21
br label %55
53: ; preds = %41
%54 = tail call i32 @efx_notify_tx_desc(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %53, %45
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @efx_tx_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @EFX_POPULATE_QWORD_4(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) local_unnamed_addr #1
declare i64 @efx_may_push_tx_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efx_push_tx_desc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @efx_notify_tx_desc(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 = !{!"efx_tx_queue", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"efx_tx_buffer", !7, i64 0, !7, i64 4, !7, i64 8}
!17 = !{!16, !7, i64 8}
!18 = !{!16, !7, i64 4}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !7, i64 12}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_push_buffers.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_push_buffers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.efx_tx_buffer = type { i32, i32, i32 }
@EFX_TX_BUF_CONT = common local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_CONT = common local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BYTE_COUNT = common local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BUF_REGION = common local_unnamed_addr global i32 0, align 4
@FSF_AZ_TX_KER_BUF_ADDR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @efx_nic_push_buffers(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = icmp eq i32 %2, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %0, align 8, !tbaa !6
br label %11
11: ; preds = %11, %1
%12 = phi i32 [ %38, %11 ], [ %10, %1 ]
%13 = load i32, ptr %8, align 8, !tbaa !13
%14 = and i32 %13, %12
%15 = load ptr, ptr %9, align 8, !tbaa !14
%16 = zext i32 %14 to i64
%17 = getelementptr inbounds %struct.efx_tx_buffer, ptr %15, i64 %16
%18 = tail call ptr @efx_tx_desc(ptr noundef nonnull %0, i32 noundef %14) #2
%19 = load i32, ptr %0, align 8, !tbaa !6
%20 = add i32 %19, 1
store i32 %20, ptr %0, align 8, !tbaa !6
%21 = load i32, ptr @EFX_TX_BUF_CONT, align 4, !tbaa !15
%22 = icmp ne i32 %21, 1
%23 = zext i1 %22 to i32
%24 = tail call i32 @BUILD_BUG_ON(i32 noundef %23) #2
%25 = load i32, ptr %18, align 4, !tbaa !15
%26 = load i32, ptr @FSF_AZ_TX_KER_CONT, align 4, !tbaa !15
%27 = load i32, ptr %17, align 4, !tbaa !16
%28 = load i32, ptr @EFX_TX_BUF_CONT, align 4, !tbaa !15
%29 = and i32 %28, %27
%30 = load i32, ptr @FSF_AZ_TX_KER_BYTE_COUNT, align 4, !tbaa !15
%31 = getelementptr inbounds i8, ptr %17, i64 8
%32 = load i32, ptr %31, align 4, !tbaa !18
%33 = load i32, ptr @FSF_AZ_TX_KER_BUF_REGION, align 4, !tbaa !15
%34 = load i32, ptr @FSF_AZ_TX_KER_BUF_ADDR, align 4, !tbaa !15
%35 = getelementptr inbounds i8, ptr %17, i64 4
%36 = load i32, ptr %35, align 4, !tbaa !19
%37 = tail call i32 @EFX_POPULATE_QWORD_4(i32 noundef %25, i32 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %36) #2
%38 = load i32, ptr %0, align 8, !tbaa !6
%39 = load i32, ptr %3, align 4, !tbaa !12
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %11, !llvm.loop !20
41: ; preds = %11
%42 = tail call i32 @wmb() #2
%43 = tail call i64 @efx_may_push_tx_desc(ptr noundef nonnull %0, i32 noundef %2) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %53, label %45
45: ; preds = %41
%46 = load i32, ptr %8, align 8, !tbaa !13
%47 = and i32 %46, %2
%48 = tail call ptr @efx_tx_desc(ptr noundef nonnull %0, i32 noundef %47) #2
%49 = tail call i32 @efx_push_tx_desc(ptr noundef nonnull %0, ptr noundef %48) #2
%50 = getelementptr inbounds i8, ptr %0, i64 12
%51 = load i32, ptr %50, align 4, !tbaa !22
%52 = add nsw i32 %51, 1
store i32 %52, ptr %50, align 4, !tbaa !22
br label %55
53: ; preds = %41
%54 = tail call i32 @efx_notify_tx_desc(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %53, %45
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @efx_tx_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @EFX_POPULATE_QWORD_4(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) local_unnamed_addr #1
declare i64 @efx_may_push_tx_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efx_push_tx_desc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @efx_notify_tx_desc(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 = !{!"efx_tx_queue", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !11, i64 16}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"efx_tx_buffer", !8, i64 0, !8, i64 4, !8, i64 8}
!18 = !{!17, !8, i64 8}
!19 = !{!17, !8, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !8, i64 12}
|
fastsocket_kernel_drivers_net_sfc_extr_nic.c_efx_nic_push_buffers
|
; ModuleID = 'AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_core.c_is_new_conn_expected.c'
source_filename = "AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_core.c_is_new_conn_expected.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ip_vs_conn = type { i32, i32, i32, i64 }
@IP_VS_TCP_S_TIME_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_TCP_S_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_TCP_S_FIN_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_NOOUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_SCTP_S_CLOSED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_new_conn_expected], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @is_new_conn_expected(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.ip_vs_conn, ptr %0, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %33
6: ; preds = %2
%7 = load i32, ptr %0, align 8, !tbaa !11
switch i32 %7, label %33 [
i32 128, label %8
i32 129, label %28
]
8: ; preds = %6
%9 = getelementptr inbounds %struct.ip_vs_conn, ptr %0, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr @IP_VS_TCP_S_TIME_WAIT, align 4, !tbaa !13
%12 = icmp eq i32 %10, %11
%13 = load i32, ptr @IP_VS_TCP_S_CLOSE, align 4
%14 = icmp eq i32 %10, %13
%15 = select i1 %12, i1 true, i1 %14
br i1 %15, label %33, label %16
16: ; preds = %8
%17 = and i32 %1, 2
%18 = icmp ne i32 %17, 0
%19 = load i32, ptr @IP_VS_TCP_S_FIN_WAIT, align 4
%20 = icmp eq i32 %10, %19
%21 = select i1 %18, i1 %20, i1 false
br i1 %21, label %22, label %33
22: ; preds = %16
%23 = getelementptr inbounds %struct.ip_vs_conn, ptr %0, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = load i32, ptr @IP_VS_CONN_F_NOOUTPUT, align 4, !tbaa !13
%26 = and i32 %25, %24
%27 = icmp ne i32 %26, 0
br label %33
28: ; preds = %6
%29 = getelementptr inbounds %struct.ip_vs_conn, ptr %0, i64 0, i32 2
%30 = load i32, ptr %29, align 8, !tbaa !12
%31 = load i32, ptr @IP_VS_SCTP_S_CLOSED, align 4, !tbaa !13
%32 = icmp eq i32 %30, %31
br label %33
33: ; preds = %6, %8, %22, %16, %2, %28
%34 = phi i1 [ %32, %28 ], [ false, %2 ], [ true, %8 ], [ false, %16 ], [ %27, %22 ], [ false, %6 ]
%35 = zext i1 %34 to i32
ret i32 %35
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"ip_vs_conn", !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 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_core.c_is_new_conn_expected.c'
source_filename = "AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_core.c_is_new_conn_expected.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IP_VS_TCP_S_TIME_WAIT = common local_unnamed_addr global i32 0, align 4
@IP_VS_TCP_S_CLOSE = common local_unnamed_addr global i32 0, align 4
@IP_VS_TCP_S_FIN_WAIT = common local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_NOOUTPUT = common local_unnamed_addr global i32 0, align 4
@IP_VS_SCTP_S_CLOSED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_new_conn_expected], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_new_conn_expected(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %33
6: ; preds = %2
%7 = load i32, ptr %0, align 8, !tbaa !12
switch i32 %7, label %33 [
i32 128, label %8
i32 129, label %28
]
8: ; preds = %6
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = load i32, ptr @IP_VS_TCP_S_TIME_WAIT, align 4, !tbaa !14
%12 = icmp eq i32 %10, %11
%13 = load i32, ptr @IP_VS_TCP_S_CLOSE, align 4
%14 = icmp eq i32 %10, %13
%15 = select i1 %12, i1 true, i1 %14
br i1 %15, label %33, label %16
16: ; preds = %8
%17 = and i32 %1, 2
%18 = icmp ne i32 %17, 0
%19 = load i32, ptr @IP_VS_TCP_S_FIN_WAIT, align 4
%20 = icmp eq i32 %10, %19
%21 = select i1 %18, i1 %20, i1 false
br i1 %21, label %22, label %33
22: ; preds = %16
%23 = getelementptr inbounds i8, ptr %0, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !15
%25 = load i32, ptr @IP_VS_CONN_F_NOOUTPUT, align 4, !tbaa !14
%26 = and i32 %25, %24
%27 = icmp ne i32 %26, 0
br label %33
28: ; preds = %6
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i32, ptr %29, align 8, !tbaa !13
%31 = load i32, ptr @IP_VS_SCTP_S_CLOSED, align 4, !tbaa !14
%32 = icmp eq i32 %30, %31
br label %33
33: ; preds = %6, %8, %22, %16, %2, %28
%34 = phi i1 [ %32, %28 ], [ false, %2 ], [ true, %8 ], [ false, %16 ], [ %27, %22 ], [ false, %6 ]
%35 = zext i1 %34 to i32
ret i32 %35
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"ip_vs_conn", !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 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 4}
|
linux_net_netfilter_ipvs_extr_ip_vs_core.c_is_new_conn_expected
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_trace-event-scripting.c_print_perl_unsupported_msg.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_trace-event-scripting.c_print_perl_unsupported_msg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [189 x i8] c"Perl scripting not supported. Install libperl and rebuild perf to enable it.\0AFor example:\0A # apt-get install libperl-dev (ubuntu)\0A # yum install 'perl(ExtUtils::Embed)' (Fedora)\0A etc.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_perl_unsupported_msg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_perl_unsupported_msg() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @fprintf(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"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_trace-event-scripting.c_print_perl_unsupported_msg.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_trace-event-scripting.c_print_perl_unsupported_msg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [189 x i8] c"Perl scripting not supported. Install libperl and rebuild perf to enable it.\0AFor example:\0A # apt-get install libperl-dev (ubuntu)\0A # yum install 'perl(ExtUtils::Embed)' (Fedora)\0A etc.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_perl_unsupported_msg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_perl_unsupported_msg() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @fprintf(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"}
|
linux_tools_perf_util_extr_trace-event-scripting.c_print_perl_unsupported_msg
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-pnx4008/extr_clock.c_clock_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-pnx4008/extr_clock.c_clock_lock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @clock_lock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @clock_lock() #0 {
%1 = tail call i32 (...) @local_irq_disable() #2
ret void
}
declare i32 @local_irq_disable(...) 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/arch/arm/mach-pnx4008/extr_clock.c_clock_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-pnx4008/extr_clock.c_clock_lock.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 @clock_lock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @clock_lock() #0 {
%1 = tail call i32 @local_irq_disable() #2
ret void
}
declare i32 @local_irq_disable(...) 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_arch_arm_mach-pnx4008_extr_clock.c_clock_lock
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setHours.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setHours.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@JS_E_DATE_EXPECTED = dso_local local_unnamed_addr global i32 0, align 4
@JS_E_MISSING_ARG = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Date_setHours], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Date_setHours(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%11 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%12 = tail call ptr @date_this(ptr noundef %1) #3
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !5
%16 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %15, ptr noundef null) #3
br label %74
17: ; preds = %6
%18 = icmp eq i32 %3, 0
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !5
%21 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %20, ptr noundef null) #3
br label %74
22: ; preds = %17
%23 = load i32, ptr %12, align 4, !tbaa !9
%24 = tail call double @local_time(i32 noundef %23, ptr noundef nonnull %12) #3
%25 = load i32, ptr %4, align 4, !tbaa !5
%26 = call i32 @to_number(ptr noundef %0, i32 noundef %25, ptr noundef nonnull %7) #3
%27 = call i64 @FAILED(i32 noundef %26) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %74
29: ; preds = %22
%30 = icmp eq i32 %3, 1
br i1 %30, label %37, label %31
31: ; preds = %29
%32 = getelementptr inbounds i32, ptr %4, i64 1
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = call i32 @to_number(ptr noundef %0, i32 noundef %33, ptr noundef nonnull %8) #3
%35 = call i64 @FAILED(i32 noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %74
37: ; preds = %29
%38 = call double @min_from_time(double noundef %24) #3
store double %38, ptr %8, align 8, !tbaa !11
br label %47
39: ; preds = %31
%40 = icmp ugt i32 %3, 2
br i1 %40, label %41, label %47
41: ; preds = %39
%42 = getelementptr inbounds i32, ptr %4, i64 2
%43 = load i32, ptr %42, align 4, !tbaa !5
%44 = call i32 @to_number(ptr noundef %0, i32 noundef %43, ptr noundef nonnull %9) #3
%45 = call i64 @FAILED(i32 noundef %44) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %49, label %74
47: ; preds = %39, %37
%48 = call double @sec_from_time(double noundef %24) #3
store double %48, ptr %9, align 8, !tbaa !11
br label %57
49: ; preds = %41
%50 = icmp eq i32 %3, 3
br i1 %50, label %57, label %51
51: ; preds = %49
%52 = getelementptr inbounds i32, ptr %4, i64 3
%53 = load i32, ptr %52, align 4, !tbaa !5
%54 = call i32 @to_number(ptr noundef %0, i32 noundef %53, ptr noundef nonnull %10) #3
%55 = call i64 @FAILED(i32 noundef %54) #3
%56 = icmp eq i64 %55, 0
br i1 %56, label %59, label %74
57: ; preds = %47, %49
%58 = call double @ms_from_time(double noundef %24) #3
store double %58, ptr %10, align 8, !tbaa !11
br label %59
59: ; preds = %51, %57
%60 = call i32 @day(double noundef %24) #3
%61 = load double, ptr %7, align 8, !tbaa !11
%62 = load double, ptr %8, align 8, !tbaa !11
%63 = load double, ptr %9, align 8, !tbaa !11
%64 = load double, ptr %10, align 8, !tbaa !11
%65 = call i32 @make_time(double noundef %61, double noundef %62, double noundef %63, double noundef %64) #3
%66 = call double @make_date(i32 noundef %60, i32 noundef %65) #3
%67 = call i32 @utc(double noundef %66, ptr noundef nonnull %12) #3
%68 = call i32 @time_clip(i32 noundef %67) #3
store i32 %68, ptr %12, align 4, !tbaa !9
%69 = icmp eq ptr %5, null
br i1 %69, label %72, label %70
70: ; preds = %59
%71 = call i32 @jsval_number(i32 noundef %68) #3
store i32 %71, ptr %5, align 4, !tbaa !5
br label %72
72: ; preds = %70, %59
%73 = load i32, ptr @S_OK, align 4, !tbaa !5
br label %74
74: ; preds = %51, %41, %31, %22, %72, %19, %14
%75 = phi i32 [ %73, %72 ], [ %21, %19 ], [ %16, %14 ], [ %26, %22 ], [ %34, %31 ], [ %44, %41 ], [ %54, %51 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %75
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare ptr @date_this(ptr noundef) local_unnamed_addr #2
declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare double @local_time(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare double @min_from_time(double noundef) local_unnamed_addr #2
declare double @sec_from_time(double noundef) local_unnamed_addr #2
declare double @ms_from_time(double noundef) local_unnamed_addr #2
declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @day(double noundef) local_unnamed_addr #2
declare i32 @make_time(double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @time_clip(i32 noundef) local_unnamed_addr #2
declare i32 @utc(double noundef, ptr noundef) local_unnamed_addr #2
declare i32 @jsval_number(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setHours.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setHours.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@JS_E_DATE_EXPECTED = common local_unnamed_addr global i32 0, align 4
@JS_E_MISSING_ARG = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Date_setHours], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Date_setHours(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%11 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%12 = tail call ptr @date_this(ptr noundef %1) #3
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !6
%16 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %15, ptr noundef null) #3
br label %74
17: ; preds = %6
%18 = icmp eq i32 %3, 0
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !6
%21 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %20, ptr noundef null) #3
br label %74
22: ; preds = %17
%23 = load i32, ptr %12, align 4, !tbaa !10
%24 = tail call double @local_time(i32 noundef %23, ptr noundef nonnull %12) #3
%25 = load i32, ptr %4, align 4, !tbaa !6
%26 = call i32 @to_number(ptr noundef %0, i32 noundef %25, ptr noundef nonnull %7) #3
%27 = call i64 @FAILED(i32 noundef %26) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %74
29: ; preds = %22
%30 = icmp eq i32 %3, 1
br i1 %30, label %37, label %31
31: ; preds = %29
%32 = getelementptr inbounds i8, ptr %4, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !6
%34 = call i32 @to_number(ptr noundef %0, i32 noundef %33, ptr noundef nonnull %8) #3
%35 = call i64 @FAILED(i32 noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %74
37: ; preds = %29
%38 = call double @min_from_time(double noundef %24) #3
store double %38, ptr %8, align 8, !tbaa !12
br label %47
39: ; preds = %31
%40 = icmp ugt i32 %3, 2
br i1 %40, label %41, label %47
41: ; preds = %39
%42 = getelementptr inbounds i8, ptr %4, i64 8
%43 = load i32, ptr %42, align 4, !tbaa !6
%44 = call i32 @to_number(ptr noundef %0, i32 noundef %43, ptr noundef nonnull %9) #3
%45 = call i64 @FAILED(i32 noundef %44) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %49, label %74
47: ; preds = %39, %37
%48 = call double @sec_from_time(double noundef %24) #3
store double %48, ptr %9, align 8, !tbaa !12
br label %57
49: ; preds = %41
%50 = icmp eq i32 %3, 3
br i1 %50, label %57, label %51
51: ; preds = %49
%52 = getelementptr inbounds i8, ptr %4, i64 12
%53 = load i32, ptr %52, align 4, !tbaa !6
%54 = call i32 @to_number(ptr noundef %0, i32 noundef %53, ptr noundef nonnull %10) #3
%55 = call i64 @FAILED(i32 noundef %54) #3
%56 = icmp eq i64 %55, 0
br i1 %56, label %59, label %74
57: ; preds = %47, %49
%58 = call double @ms_from_time(double noundef %24) #3
store double %58, ptr %10, align 8, !tbaa !12
br label %59
59: ; preds = %51, %57
%60 = call i32 @day(double noundef %24) #3
%61 = load double, ptr %7, align 8, !tbaa !12
%62 = load double, ptr %8, align 8, !tbaa !12
%63 = load double, ptr %9, align 8, !tbaa !12
%64 = load double, ptr %10, align 8, !tbaa !12
%65 = call i32 @make_time(double noundef %61, double noundef %62, double noundef %63, double noundef %64) #3
%66 = call double @make_date(i32 noundef %60, i32 noundef %65) #3
%67 = call i32 @utc(double noundef %66, ptr noundef nonnull %12) #3
%68 = call i32 @time_clip(i32 noundef %67) #3
store i32 %68, ptr %12, align 4, !tbaa !10
%69 = icmp eq ptr %5, null
br i1 %69, label %72, label %70
70: ; preds = %59
%71 = call i32 @jsval_number(i32 noundef %68) #3
store i32 %71, ptr %5, align 4, !tbaa !6
br label %72
72: ; preds = %70, %59
%73 = load i32, ptr @S_OK, align 4, !tbaa !6
br label %74
74: ; preds = %51, %41, %31, %22, %72, %19, %14
%75 = phi i32 [ %73, %72 ], [ %21, %19 ], [ %16, %14 ], [ %26, %22 ], [ %34, %31 ], [ %44, %41 ], [ %54, %51 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %75
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare ptr @date_this(ptr noundef) local_unnamed_addr #2
declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare double @local_time(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare double @min_from_time(double noundef) local_unnamed_addr #2
declare double @sec_from_time(double noundef) local_unnamed_addr #2
declare double @ms_from_time(double noundef) local_unnamed_addr #2
declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @day(double noundef) local_unnamed_addr #2
declare i32 @make_time(double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @time_clip(i32 noundef) local_unnamed_addr #2
declare i32 @utc(double noundef, ptr noundef) local_unnamed_addr #2
declare i32 @jsval_number(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !8, i64 0}
|
reactos_dll_win32_jscript_extr_date.c_Date_setHours
|
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_namei.c_nilfs_unlink.c'
source_filename = "AnghaBench/linux/fs/nilfs2/extr_namei.c_nilfs_unlink.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nilfs_transaction_info = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nilfs_unlink], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nilfs_unlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.nilfs_transaction_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = call i32 @nilfs_transaction_begin(i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = call i32 @nilfs_do_unlink(ptr noundef nonnull %0, ptr noundef %1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @nilfs_mark_inode_dirty(ptr noundef nonnull %0) #3
%12 = call ptr @d_inode(ptr noundef %1) #3
%13 = call i32 @nilfs_mark_inode_dirty(ptr noundef %12) #3
%14 = load i32, ptr %0, align 4, !tbaa !5
%15 = call i32 @nilfs_transaction_commit(i32 noundef %14) #3
br label %19
16: ; preds = %7
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = call i32 @nilfs_transaction_abort(i32 noundef %17) #3
br label %19
19: ; preds = %10, %16, %2
%20 = phi i32 [ %5, %2 ], [ %8, %16 ], [ %15, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nilfs_transaction_begin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nilfs_do_unlink(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nilfs_mark_inode_dirty(ptr noundef) local_unnamed_addr #2
declare ptr @d_inode(ptr noundef) local_unnamed_addr #2
declare i32 @nilfs_transaction_commit(i32 noundef) local_unnamed_addr #2
declare i32 @nilfs_transaction_abort(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 = !{!"inode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_namei.c_nilfs_unlink.c'
source_filename = "AnghaBench/linux/fs/nilfs2/extr_namei.c_nilfs_unlink.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nilfs_transaction_info = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @nilfs_unlink], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nilfs_unlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.nilfs_transaction_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = call i32 @nilfs_transaction_begin(i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = call i32 @nilfs_do_unlink(ptr noundef nonnull %0, ptr noundef %1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @nilfs_mark_inode_dirty(ptr noundef nonnull %0) #3
%12 = call ptr @d_inode(ptr noundef %1) #3
%13 = call i32 @nilfs_mark_inode_dirty(ptr noundef %12) #3
%14 = load i32, ptr %0, align 4, !tbaa !6
%15 = call i32 @nilfs_transaction_commit(i32 noundef %14) #3
br label %19
16: ; preds = %7
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = call i32 @nilfs_transaction_abort(i32 noundef %17) #3
br label %19
19: ; preds = %10, %16, %2
%20 = phi i32 [ %5, %2 ], [ %8, %16 ], [ %15, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nilfs_transaction_begin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nilfs_do_unlink(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nilfs_mark_inode_dirty(ptr noundef) local_unnamed_addr #2
declare ptr @d_inode(ptr noundef) local_unnamed_addr #2
declare i32 @nilfs_transaction_commit(i32 noundef) local_unnamed_addr #2
declare i32 @nilfs_transaction_abort(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 = !{!"inode", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_fs_nilfs2_extr_namei.c_nilfs_unlink
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc64-tdep.c_sparc64_16_byte_align_p.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc64-tdep.c_sparc64_16_byte_align_p.c"
target datalayout = "e-m:e-p270:32:32-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 @sparc64_16_byte_align_p], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sparc64_16_byte_align_p(ptr noundef %0) #0 {
%2 = tail call i64 @sparc64_floating_p(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @TYPE_LENGTH(ptr noundef %0) #2
%6 = icmp eq i32 %5, 16
br i1 %6, label %23, label %7
7: ; preds = %4, %1
%8 = tail call i64 @sparc64_structure_or_union_p(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %7
%11 = tail call i32 @TYPE_NFIELDS(ptr noundef %0) #2
%12 = icmp sgt i32 %11, 0
br i1 %12, label %17, label %23
13: ; preds = %17
%14 = add nuw nsw i32 %18, 1
%15 = tail call i32 @TYPE_NFIELDS(ptr noundef %0) #2
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %23, !llvm.loop !5
17: ; preds = %10, %13
%18 = phi i32 [ %14, %13 ], [ 0, %10 ]
%19 = tail call i32 @TYPE_FIELD_TYPE(ptr noundef %0, i32 noundef %18) #2
%20 = tail call ptr @check_typedef(i32 noundef %19) #2
%21 = tail call i32 @sparc64_16_byte_align_p(ptr noundef %20)
%22 = icmp eq i32 %21, 0
br i1 %22, label %13, label %23
23: ; preds = %17, %13, %10, %7, %4
%24 = phi i32 [ 1, %4 ], [ 0, %7 ], [ 0, %10 ], [ 1, %17 ], [ 0, %13 ]
ret i32 %24
}
declare i64 @sparc64_floating_p(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #1
declare i64 @sparc64_structure_or_union_p(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_NFIELDS(ptr noundef) local_unnamed_addr #1
declare ptr @check_typedef(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_FIELD_TYPE(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc64-tdep.c_sparc64_16_byte_align_p.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc64-tdep.c_sparc64_16_byte_align_p.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 @sparc64_16_byte_align_p], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sparc64_16_byte_align_p(ptr noundef %0) #0 {
%2 = tail call i64 @sparc64_floating_p(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @TYPE_LENGTH(ptr noundef %0) #2
%6 = icmp eq i32 %5, 16
br i1 %6, label %23, label %7
7: ; preds = %4, %1
%8 = tail call i64 @sparc64_structure_or_union_p(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %7
%11 = tail call i32 @TYPE_NFIELDS(ptr noundef %0) #2
%12 = icmp sgt i32 %11, 0
br i1 %12, label %17, label %23
13: ; preds = %17
%14 = add nuw nsw i32 %18, 1
%15 = tail call i32 @TYPE_NFIELDS(ptr noundef %0) #2
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %23, !llvm.loop !6
17: ; preds = %10, %13
%18 = phi i32 [ %14, %13 ], [ 0, %10 ]
%19 = tail call i32 @TYPE_FIELD_TYPE(ptr noundef %0, i32 noundef %18) #2
%20 = tail call ptr @check_typedef(i32 noundef %19) #2
%21 = tail call i32 @sparc64_16_byte_align_p(ptr noundef %20)
%22 = icmp eq i32 %21, 0
br i1 %22, label %13, label %23
23: ; preds = %17, %13, %10, %7, %4
%24 = phi i32 [ 1, %4 ], [ 0, %7 ], [ 0, %10 ], [ 1, %17 ], [ 0, %13 ]
ret i32 %24
}
declare i64 @sparc64_floating_p(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #1
declare i64 @sparc64_structure_or_union_p(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_NFIELDS(ptr noundef) local_unnamed_addr #1
declare ptr @check_typedef(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_FIELD_TYPE(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
freebsd_contrib_gdb_gdb_extr_sparc64-tdep.c_sparc64_16_byte_align_p
|
; ModuleID = 'AnghaBench/netdata/libnetdata/eval/extr_..inlined.h_str2ul.c'
source_filename = "AnghaBench/netdata/libnetdata/eval/extr_..inlined.h_str2ul.c"
target datalayout = "e-m:e-p270:32:32-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 @str2ul], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i64 @str2ul(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = add i8 %2, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %17
5: ; preds = %1, %5
%6 = phi i8 [ %14, %5 ], [ %2, %1 ]
%7 = phi i64 [ %12, %5 ], [ 0, %1 ]
%8 = phi ptr [ %13, %5 ], [ %0, %1 ]
%9 = mul i64 %7, 10
%10 = and i8 %6, 15
%11 = zext nneg i8 %10 to i64
%12 = add i64 %9, %11
%13 = getelementptr inbounds i8, ptr %8, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = add i8 %14, -48
%16 = icmp ult i8 %15, 10
br i1 %16, label %5, label %17, !llvm.loop !8
17: ; preds = %5, %1
%18 = phi i64 [ 0, %1 ], [ %12, %5 ]
ret i64 %18
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/netdata/libnetdata/eval/extr_..inlined.h_str2ul.c'
source_filename = "AnghaBench/netdata/libnetdata/eval/extr_..inlined.h_str2ul.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 @str2ul], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @str2ul(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = add i8 %2, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %17
5: ; preds = %1, %5
%6 = phi i8 [ %14, %5 ], [ %2, %1 ]
%7 = phi i64 [ %12, %5 ], [ 0, %1 ]
%8 = phi ptr [ %13, %5 ], [ %0, %1 ]
%9 = mul i64 %7, 10
%10 = and i8 %6, 15
%11 = zext nneg i8 %10 to i64
%12 = add i64 %9, %11
%13 = getelementptr inbounds i8, ptr %8, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !6
%15 = add i8 %14, -48
%16 = icmp ult i8 %15, 10
br i1 %16, label %5, label %17, !llvm.loop !9
17: ; preds = %5, %1
%18 = phi i64 [ 0, %1 ], [ %12, %5 ]
ret i64 %18
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
netdata_libnetdata_eval_extr_..inlined.h_str2ul
|
; ModuleID = 'AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_from_task.c'
source_filename = "AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_from_task.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@memory_cgrp_id = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @mem_cgroup_from_task(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @unlikely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @memory_cgrp_id, align 4, !tbaa !5
%8 = tail call i32 @task_css(ptr noundef %0, i32 noundef %7) #2
%9 = tail call ptr @mem_cgroup_from_css(i32 noundef %8) #2
br label %10
10: ; preds = %1, %6
%11 = phi ptr [ %9, %6 ], [ null, %1 ]
ret ptr %11
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @mem_cgroup_from_css(i32 noundef) local_unnamed_addr #1
declare i32 @task_css(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/mm/extr_memcontrol.c_mem_cgroup_from_task.c'
source_filename = "AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_from_task.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@memory_cgrp_id = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mem_cgroup_from_task(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @unlikely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @memory_cgrp_id, align 4, !tbaa !6
%8 = tail call i32 @task_css(ptr noundef %0, i32 noundef %7) #2
%9 = tail call ptr @mem_cgroup_from_css(i32 noundef %8) #2
br label %10
10: ; preds = %1, %6
%11 = phi ptr [ %9, %6 ], [ null, %1 ]
ret ptr %11
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @mem_cgroup_from_css(i32 noundef) local_unnamed_addr #1
declare i32 @task_css(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_mm_extr_memcontrol.c_mem_cgroup_from_task
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_stac_setup_gpio.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_stac_setup_gpio.c"
target datalayout = "e-m:e-p270:32:32-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.hda_codec = type { %struct.TYPE_3__, ptr }
%struct.TYPE_3__ = type { i32 }
%struct.sigmatel_spec = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i32 }
@stac_set_power_state = dso_local local_unnamed_addr global i32 0, align 4
@stac_capture_led_hook = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stac_setup_gpio], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @stac_setup_gpio(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.hda_codec, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = icmp eq i32 %4, 0
br i1 %5, label %21, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 7
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 1
%12 = load <2 x i32>, ptr %11, align 4, !tbaa !16
%13 = insertelement <2 x i32> poison, i32 %4, i64 0
%14 = shufflevector <2 x i32> %13, <2 x i32> poison, <2 x i32> zeroinitializer
%15 = or <2 x i32> %12, %14
store <2 x i32> %15, ptr %11, align 4, !tbaa !16
%16 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 3
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = or i32 %17, %4
store i32 %18, ptr %16, align 4, !tbaa !17
br label %21
19: ; preds = %6
%20 = load i32, ptr @stac_set_power_state, align 4, !tbaa !16
store i32 %20, ptr %0, align 8, !tbaa !18
br label %21
21: ; preds = %10, %19, %1
%22 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 4
%23 = load i32, ptr %22, align 4, !tbaa !19
%24 = icmp eq i32 %23, 0
br i1 %24, label %37, label %25
25: ; preds = %21
%26 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 1
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !16
%28 = insertelement <2 x i32> poison, i32 %23, i64 0
%29 = shufflevector <2 x i32> %28, <2 x i32> poison, <2 x i32> zeroinitializer
%30 = or <2 x i32> %27, %29
store <2 x i32> %30, ptr %26, align 4, !tbaa !16
%31 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 5
store i32 1, ptr %31, align 4, !tbaa !20
%32 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 3
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = or i32 %33, %23
store i32 %34, ptr %32, align 4, !tbaa !17
%35 = load i32, ptr @stac_capture_led_hook, align 4, !tbaa !16
%36 = getelementptr inbounds %struct.sigmatel_spec, ptr %3, i64 0, i32 6
store i32 %35, ptr %36, align 4, !tbaa !21
br label %37
37: ; preds = %25, %21
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"hda_codec", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_3__", !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 0}
!13 = !{!"sigmatel_spec", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !14, i64 24, !8, i64 28}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!13, !8, i64 28}
!16 = !{!8, !8, i64 0}
!17 = !{!13, !8, i64 12}
!18 = !{!6, !8, i64 0}
!19 = !{!13, !8, i64 16}
!20 = !{!13, !8, i64 20}
!21 = !{!13, !8, i64 24}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_stac_setup_gpio.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_stac_setup_gpio.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stac_set_power_state = common local_unnamed_addr global i32 0, align 4
@stac_capture_led_hook = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stac_setup_gpio], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @stac_setup_gpio(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = icmp eq i32 %4, 0
br i1 %5, label %21, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %3, i64 28
%8 = load i32, ptr %7, align 4, !tbaa !16
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %3, i64 4
%12 = load <2 x i32>, ptr %11, align 4, !tbaa !17
%13 = insertelement <2 x i32> poison, i32 %4, i64 0
%14 = shufflevector <2 x i32> %13, <2 x i32> poison, <2 x i32> zeroinitializer
%15 = or <2 x i32> %12, %14
store <2 x i32> %15, ptr %11, align 4, !tbaa !17
%16 = getelementptr inbounds i8, ptr %3, i64 12
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = or i32 %17, %4
store i32 %18, ptr %16, align 4, !tbaa !18
br label %21
19: ; preds = %6
%20 = load i32, ptr @stac_set_power_state, align 4, !tbaa !17
store i32 %20, ptr %0, align 8, !tbaa !19
br label %21
21: ; preds = %10, %19, %1
%22 = getelementptr inbounds i8, ptr %3, i64 16
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = icmp eq i32 %23, 0
br i1 %24, label %37, label %25
25: ; preds = %21
%26 = getelementptr inbounds i8, ptr %3, i64 4
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !17
%28 = insertelement <2 x i32> poison, i32 %23, i64 0
%29 = shufflevector <2 x i32> %28, <2 x i32> poison, <2 x i32> zeroinitializer
%30 = or <2 x i32> %27, %29
store <2 x i32> %30, ptr %26, align 4, !tbaa !17
%31 = getelementptr inbounds i8, ptr %3, i64 20
store i32 1, ptr %31, align 4, !tbaa !21
%32 = getelementptr inbounds i8, ptr %3, i64 12
%33 = load i32, ptr %32, align 4, !tbaa !18
%34 = or i32 %33, %23
store i32 %34, ptr %32, align 4, !tbaa !18
%35 = load i32, ptr @stac_capture_led_hook, align 4, !tbaa !17
%36 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %35, ptr %36, align 4, !tbaa !22
br label %37
37: ; preds = %25, %21
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"hda_codec", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_3__", !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 0}
!14 = !{!"sigmatel_spec", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !15, i64 24, !9, i64 28}
!15 = !{!"TYPE_4__", !9, i64 0}
!16 = !{!14, !9, i64 28}
!17 = !{!9, !9, i64 0}
!18 = !{!14, !9, i64 12}
!19 = !{!7, !9, i64 0}
!20 = !{!14, !9, i64 16}
!21 = !{!14, !9, i64 20}
!22 = !{!14, !9, i64 24}
|
fastsocket_kernel_sound_pci_hda_extr_patch_sigmatel.c_stac_setup_gpio
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_driver.c_update_ps_mdata.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_driver.c_update_ps_mdata.c"
target datalayout = "e-m:e-p270:32:32-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.ps_mdata = type { i64, i64, i64, i32 }
%struct.hfi1_ctxtdata = type { i64, i32 }
@DMA_RTAIL = dso_local local_unnamed_addr global i32 0, align 4
@HFI1_CTRL_CTXT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_ps_mdata], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @update_ps_mdata(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.ps_mdata, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %0, align 8, !tbaa !11
%6 = add nsw i64 %5, %4
%7 = getelementptr inbounds %struct.ps_mdata, ptr %0, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp slt i64 %6, %8
%10 = select i1 %9, i64 %6, i64 0
store i64 %10, ptr %0, align 8
%11 = getelementptr inbounds %struct.hfi1_ctxtdata, ptr %1, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr @DMA_RTAIL, align 4, !tbaa !15
%14 = tail call i32 @HFI1_CAP_KGET_MASK(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %2
%17 = load i64, ptr %1, align 8, !tbaa !16
%18 = load i64, ptr @HFI1_CTRL_CTXT, align 8, !tbaa !17
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16, %2
%21 = getelementptr inbounds %struct.ps_mdata, ptr %0, i64 0, i32 3
%22 = load i32, ptr %21, align 8, !tbaa !18
%23 = add nsw i32 %22, 1
%24 = icmp sgt i32 %22, 12
%25 = select i1 %24, i32 1, i32 %23
store i32 %25, ptr %21, align 8
br label %26
26: ; preds = %20, %16
ret void
}
declare i32 @HFI1_CAP_KGET_MASK(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"ps_mdata", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!14, !10, i64 8}
!14 = !{!"hfi1_ctxtdata", !7, i64 0, !10, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!14, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !10, i64 24}
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_driver.c_update_ps_mdata.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_driver.c_update_ps_mdata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_RTAIL = common local_unnamed_addr global i32 0, align 4
@HFI1_CTRL_CTXT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @update_ps_mdata], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @update_ps_mdata(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %0, align 8, !tbaa !12
%6 = add nsw i64 %5, %4
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = icmp slt i64 %6, %8
%10 = select i1 %9, i64 %6, i64 0
store i64 %10, ptr %0, align 8
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = load i32, ptr @DMA_RTAIL, align 4, !tbaa !16
%14 = tail call i32 @HFI1_CAP_KGET_MASK(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %2
%17 = load i64, ptr %1, align 8, !tbaa !17
%18 = load i64, ptr @HFI1_CTRL_CTXT, align 8, !tbaa !18
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16, %2
%21 = getelementptr inbounds i8, ptr %0, i64 24
%22 = load i32, ptr %21, align 8, !tbaa !19
%23 = add nsw i32 %22, 1
%24 = icmp sgt i32 %22, 12
%25 = select i1 %24, i32 1, i32 %23
store i32 %25, ptr %21, align 8
br label %26
26: ; preds = %20, %16
ret void
}
declare i32 @HFI1_CAP_KGET_MASK(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"ps_mdata", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 16}
!14 = !{!15, !11, i64 8}
!15 = !{!"hfi1_ctxtdata", !8, i64 0, !11, i64 8}
!16 = !{!11, !11, i64 0}
!17 = !{!15, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !11, i64 24}
|
linux_drivers_infiniband_hw_hfi1_extr_driver.c_update_ps_mdata
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_limit.c_user2credits.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_limit.c_user2credits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@CREDITS_PER_JIFFY = dso_local local_unnamed_addr global i32 0, align 4
@XT_LIMIT_SCALE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @user2credits], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @user2credits(i32 noundef %0) #0 {
%2 = load i32, ptr @HZ, align 4, !tbaa !5
%3 = load i32, ptr @CREDITS_PER_JIFFY, align 4, !tbaa !5
%4 = mul i32 %3, %2
%5 = tail call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %4, i32 %0)
%6 = extractvalue { i32, i1 } %5, 1
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr @XT_LIMIT_SCALE, align 4, !tbaa !5
%9 = sdiv i32 %0, %8
%10 = mul i32 %4, %9
br label %15
11: ; preds = %1
%12 = mul i32 %4, %0
%13 = load i32, ptr @XT_LIMIT_SCALE, align 4, !tbaa !5
%14 = sdiv i32 %12, %13
br label %15
15: ; preds = %11, %7
%16 = phi i32 [ %10, %7 ], [ %14, %11 ]
ret i32 %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i32, i1 } @llvm.umul.with.overflow.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/net/netfilter/extr_xt_limit.c_user2credits.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_limit.c_user2credits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HZ = common local_unnamed_addr global i32 0, align 4
@CREDITS_PER_JIFFY = common local_unnamed_addr global i32 0, align 4
@XT_LIMIT_SCALE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @user2credits], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @user2credits(i32 noundef %0) #0 {
%2 = load i32, ptr @HZ, align 4, !tbaa !6
%3 = load i32, ptr @CREDITS_PER_JIFFY, align 4, !tbaa !6
%4 = mul i32 %3, %2
%5 = tail call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %4, i32 %0)
%6 = extractvalue { i32, i1 } %5, 1
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr @XT_LIMIT_SCALE, align 4, !tbaa !6
%9 = sdiv i32 %0, %8
%10 = mul i32 %4, %9
br label %15
11: ; preds = %1
%12 = mul i32 %4, %0
%13 = load i32, ptr @XT_LIMIT_SCALE, align 4, !tbaa !6
%14 = sdiv i32 %12, %13
br label %15
15: ; preds = %11, %7
%16 = phi i32 [ %10, %7 ], [ %14, %11 ]
ret i32 %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i32, i1 } @llvm.umul.with.overflow.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_net_netfilter_extr_xt_limit.c_user2credits
|
; ModuleID = 'AnghaBench/linux/drivers/slimbus/extr_qcom-ngd-ctrl.c_qcom_slim_ngd_xfer_msg.c'
source_filename = "AnghaBench/linux/drivers/slimbus/extr_qcom-ngd-ctrl.c_qcom_slim_ngd_xfer_msg.c"
target datalayout = "e-m:e-p270:32:32-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.slim_msg_txn = type { i64, i32, i64, i32, i32, ptr, i32, ptr, i32 }
%struct.TYPE_2__ = type { i32, ptr, ptr }
@tx_sent = dso_local global i32 0, align 4
@done = dso_local global i32 0, align 4
@SLIM_MSGQ_BUF_LEN = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MT_CORE = dso_local local_unnamed_addr global i64 0, align 8
@SLIM_MSG_MC_BEGIN_RECONFIGURATION = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MC_RECONFIGURE_NOW = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_MSG_DEST_ENUMADDR = dso_local local_unnamed_addr global i64 0, align 8
@EPROTONOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"msg exceeds HW limit\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Message buffer unavailable\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MT_DEST_REFERRED_USER = dso_local local_unnamed_addr global i64 0, align 8
@SLIM_USR_MC_CONNECT_SRC = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_USR_MC_CONNECT_SINK = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_USR_MC_DISCONNECT_PORT = dso_local local_unnamed_addr global i32 0, align 4
@SLIM_LA_MGR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Unable to allocate TID\0A\00", align 1
@SLIM_MSG_DEST_LOGICALADDR = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"TX timed out:MC:0x%x,mt:0x%x\00", align 1
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qcom_slim_ngd_xfer_msg], section "llvm.metadata"
@switch.table.qcom_slim_ngd_xfer_msg = private unnamed_addr constant [3 x ptr] [ptr @SLIM_USR_MC_DISCONNECT_PORT, ptr @SLIM_USR_MC_CONNECT_SRC, ptr @SLIM_USR_MC_CONNECT_SINK], align 8
; Function Attrs: nounwind uwtable
define internal i32 @qcom_slim_ngd_xfer_msg(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @dev_get_drvdata(i32 noundef %3) #2
%5 = load i32, ptr @tx_sent, align 4, !tbaa !10
%6 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %5) #2
%7 = load i32, ptr @done, align 4, !tbaa !10
%8 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %7) #2
%9 = load i32, ptr @SLIM_MSGQ_BUF_LEN, align 4, !tbaa !10
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 16
%12 = alloca i32, i64 %10, align 16
%13 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 8
%14 = load i32, ptr %13, align 8, !tbaa !11
%15 = load i64, ptr %1, align 8, !tbaa !15
%16 = load i64, ptr @SLIM_MSG_MT_CORE, align 8, !tbaa !16
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %2
%19 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 1
%20 = load i32, ptr %19, align 8, !tbaa !17
%21 = load i32, ptr @SLIM_MSG_MC_BEGIN_RECONFIGURATION, align 4, !tbaa !10
%22 = icmp slt i32 %20, %21
%23 = load i32, ptr @SLIM_MSG_MC_RECONFIGURE_NOW, align 4
%24 = icmp sgt i32 %20, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %186
26: ; preds = %18, %2
%27 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 2
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = load i64, ptr @SLIM_MSG_DEST_ENUMADDR, align 8, !tbaa !16
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !10
%33 = sub nsw i32 0, %32
br label %186
34: ; preds = %26
%35 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 5
%36 = load ptr, ptr %35, align 8, !tbaa !19
%37 = load i32, ptr %36, align 8, !tbaa !20
%38 = icmp sgt i32 %37, %9
br i1 %38, label %43, label %39
39: ; preds = %34
%40 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 3
%41 = load i32, ptr %40, align 8, !tbaa !22
%42 = icmp sgt i32 %41, %9
br i1 %42, label %43, label %48
43: ; preds = %39, %34
%44 = load i32, ptr %4, align 4, !tbaa !23
%45 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %44, ptr noundef nonnull @.str) #2
%46 = load i32, ptr @EINVAL, align 4, !tbaa !10
%47 = sub nsw i32 0, %46
br label %186
48: ; preds = %39
%49 = tail call ptr @qcom_slim_ngd_tx_msg_get(ptr noundef %4, i32 noundef %41, ptr noundef nonnull @tx_sent) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = load i32, ptr %4, align 4, !tbaa !23
%53 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %52, ptr noundef nonnull @.str.1) #2
%54 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%55 = sub nsw i32 0, %54
br label %186
56: ; preds = %48
%57 = load i64, ptr %1, align 8, !tbaa !15
%58 = load i64, ptr @SLIM_MSG_MT_CORE, align 8, !tbaa !16
%59 = icmp eq i64 %57, %58
br i1 %59, label %60, label %109
60: ; preds = %56
%61 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 1
%62 = load i32, ptr %61, align 8, !tbaa !17
%63 = add i32 %62, -128
%64 = icmp ult i32 %63, 3
br i1 %64, label %65, label %109
65: ; preds = %60
%66 = load i64, ptr @SLIM_MSG_MT_DEST_REFERRED_USER, align 8, !tbaa !16
store i64 %66, ptr %1, align 8, !tbaa !15
%67 = trunc i32 %62 to i8
%68 = and i8 %67, 3
%69 = icmp eq i8 %68, 3
br i1 %69, label %70, label %73
70: ; preds = %65
%71 = load i32, ptr @EINVAL, align 4, !tbaa !10
%72 = sub nsw i32 0, %71
br label %186
73: ; preds = %65
%74 = zext nneg i8 %68 to i64
%75 = getelementptr inbounds [3 x ptr], ptr @switch.table.qcom_slim_ngd_xfer_msg, i64 0, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = load i32, ptr %76, align 4, !tbaa !10
store i32 %77, ptr %61, align 8, !tbaa !17
%78 = load i32, ptr %13, align 8, !tbaa !11
store i32 %78, ptr %11, align 16, !tbaa !10
%79 = load i32, ptr @SLIM_LA_MGR, align 4, !tbaa !10
%80 = load ptr, ptr %35, align 8, !tbaa !19
%81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i64 0, i32 1
%82 = load ptr, ptr %81, align 8, !tbaa !25
%83 = load i32, ptr %82, align 4, !tbaa !10
%84 = getelementptr inbounds i32, ptr %11, i64 1
store i32 %83, ptr %84, align 4, !tbaa !10
%85 = load i32, ptr @SLIM_USR_MC_DISCONNECT_PORT, align 4, !tbaa !10
%86 = icmp eq i32 %77, %85
br i1 %86, label %91, label %87
87: ; preds = %73
%88 = getelementptr inbounds i32, ptr %82, i64 1
%89 = load i32, ptr %88, align 4, !tbaa !10
%90 = getelementptr inbounds i32, ptr %11, i64 2
store i32 %89, ptr %90, align 8, !tbaa !10
br label %91
91: ; preds = %87, %73
%92 = phi i32 [ 3, %87 ], [ 2, %73 ]
%93 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 7
store ptr @done, ptr %93, align 8, !tbaa !26
%94 = tail call i32 @slim_alloc_txn_tid(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%95 = icmp eq i32 %94, 0
br i1 %95, label %99, label %96
96: ; preds = %91
%97 = load i32, ptr %4, align 4, !tbaa !23
%98 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %97, ptr noundef nonnull @.str.2) #2
br label %186
99: ; preds = %91
%100 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 6
%101 = load i32, ptr %100, align 8, !tbaa !27
%102 = add nuw nsw i32 %92, 1
%103 = zext nneg i32 %92 to i64
%104 = getelementptr inbounds i32, ptr %11, i64 %103
store i32 %101, ptr %104, align 4, !tbaa !10
%105 = load ptr, ptr %35, align 8, !tbaa !19
store i32 %102, ptr %105, align 8, !tbaa !20
%106 = getelementptr inbounds %struct.TYPE_2__, ptr %105, i64 0, i32 1
store ptr %11, ptr %106, align 8, !tbaa !25
%107 = getelementptr inbounds %struct.TYPE_2__, ptr %105, i64 0, i32 2
store ptr %12, ptr %107, align 8, !tbaa !28
%108 = add nuw nsw i32 %92, 5
store i32 %108, ptr %40, align 8, !tbaa !22
br label %109
109: ; preds = %60, %99, %56
%110 = phi i32 [ %79, %99 ], [ %14, %56 ], [ %14, %60 ]
%111 = phi i1 [ false, %99 ], [ true, %56 ], [ true, %60 ]
%112 = load i32, ptr %40, align 8, !tbaa !22
%113 = add nsw i32 %112, -1
store i32 %113, ptr %40, align 8, !tbaa !22
store i64 0, ptr %49, align 8, !tbaa !16
%114 = load i64, ptr %27, align 8, !tbaa !18
%115 = load i64, ptr @SLIM_MSG_DEST_LOGICALADDR, align 8, !tbaa !16
%116 = icmp ne i64 %114, %115
%117 = load i64, ptr %1, align 8, !tbaa !15
%118 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 1
%119 = load i32, ptr %118, align 8, !tbaa !17
%120 = zext i1 %116 to i32
%121 = select i1 %116, i64 2, i64 3
%122 = call i64 @SLIM_MSG_ASM_FIRST_WORD(i32 noundef %113, i64 noundef %117, i32 noundef %119, i32 noundef %120, i32 noundef %110) #2
%123 = getelementptr inbounds i32, ptr %49, i64 %121
store i64 %122, ptr %49, align 8
%124 = load i64, ptr %1, align 8, !tbaa !15
%125 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 1
%126 = load i32, ptr %125, align 8, !tbaa !17
%127 = call i64 @slim_tid_txn(i64 noundef %124, i32 noundef %126) #2
%128 = icmp eq i64 %127, 0
br i1 %128, label %133, label %129
129: ; preds = %109
%130 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 6
%131 = load i32, ptr %130, align 8, !tbaa !27
%132 = getelementptr inbounds i32, ptr %123, i64 1
store i32 %131, ptr %123, align 4, !tbaa !10
br label %133
133: ; preds = %129, %109
%134 = phi ptr [ %132, %129 ], [ %123, %109 ]
%135 = load i64, ptr %1, align 8, !tbaa !15
%136 = load i32, ptr %125, align 8, !tbaa !17
%137 = call i64 @slim_ec_txn(i64 noundef %135, i32 noundef %136) #2
%138 = icmp eq i64 %137, 0
br i1 %138, label %148, label %139
139: ; preds = %133
%140 = getelementptr inbounds %struct.slim_msg_txn, ptr %1, i64 0, i32 4
%141 = load i32, ptr %140, align 4, !tbaa !29
%142 = and i32 %141, 255
%143 = getelementptr inbounds i32, ptr %134, i64 1
store i32 %142, ptr %134, align 4, !tbaa !10
%144 = load i32, ptr %140, align 4, !tbaa !29
%145 = lshr i32 %144, 8
%146 = and i32 %145, 255
%147 = getelementptr inbounds i32, ptr %134, i64 2
store i32 %146, ptr %143, align 4, !tbaa !10
br label %148
148: ; preds = %139, %133
%149 = phi ptr [ %147, %139 ], [ %134, %133 ]
%150 = load ptr, ptr %35, align 8, !tbaa !19
%151 = icmp eq ptr %150, null
br i1 %151, label %159, label %152
152: ; preds = %148
%153 = getelementptr inbounds %struct.TYPE_2__, ptr %150, i64 0, i32 1
%154 = load ptr, ptr %153, align 8, !tbaa !25
%155 = icmp eq ptr %154, null
br i1 %155, label %159, label %156
156: ; preds = %152
%157 = load i32, ptr %150, align 8, !tbaa !20
%158 = call i32 @memcpy(ptr noundef nonnull %149, ptr noundef nonnull %154, i32 noundef %157) #2
br label %159
159: ; preds = %156, %152, %148
%160 = load i32, ptr %40, align 8, !tbaa !22
%161 = call i32 @qcom_slim_ngd_tx_msg_post(ptr noundef %4, ptr noundef nonnull %49, i32 noundef %160) #2
%162 = icmp eq i32 %161, 0
br i1 %162, label %163, label %186
163: ; preds = %159
%164 = load i32, ptr @HZ, align 4, !tbaa !10
%165 = call i32 @wait_for_completion_timeout(ptr noundef nonnull @tx_sent, i32 noundef %164) #2
%166 = icmp eq i32 %165, 0
br i1 %166, label %167, label %174
167: ; preds = %163
%168 = load i32, ptr %0, align 4, !tbaa !5
%169 = load i32, ptr %125, align 8, !tbaa !17
%170 = load i64, ptr %1, align 8, !tbaa !15
%171 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %168, ptr noundef nonnull @.str.3, i32 noundef %169, i64 noundef %170) #2
%172 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !10
%173 = sub nsw i32 0, %172
br label %186
174: ; preds = %163
br i1 %111, label %186, label %175
175: ; preds = %174
%176 = load i32, ptr @HZ, align 4, !tbaa !10
%177 = call i32 @wait_for_completion_timeout(ptr noundef nonnull @done, i32 noundef %176) #2
%178 = icmp eq i32 %177, 0
br i1 %178, label %179, label %186
179: ; preds = %175
%180 = load i32, ptr %0, align 4, !tbaa !5
%181 = load i32, ptr %125, align 8, !tbaa !17
%182 = load i64, ptr %1, align 8, !tbaa !15
%183 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %180, ptr noundef nonnull @.str.3, i32 noundef %181, i64 noundef %182) #2
%184 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !10
%185 = sub nsw i32 0, %184
br label %186
186: ; preds = %174, %175, %159, %18, %179, %167, %96, %70, %51, %43, %31
%187 = phi i32 [ %33, %31 ], [ %47, %43 ], [ %72, %70 ], [ %94, %96 ], [ %185, %179 ], [ %173, %167 ], [ %55, %51 ], [ 0, %18 ], [ %161, %159 ], [ 0, %175 ], [ 0, %174 ]
ret i32 %187
}
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @qcom_slim_ngd_tx_msg_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @slim_alloc_txn_tid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @SLIM_MSG_ASM_FIRST_WORD(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @slim_tid_txn(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @slim_ec_txn(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qcom_slim_ngd_tx_msg_post(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion_timeout(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 = !{!"slim_controller", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 56}
!12 = !{!"slim_msg_txn", !13, i64 0, !7, i64 8, !13, i64 16, !7, i64 24, !7, i64 28, !14, i64 32, !7, i64 40, !14, i64 48, !7, i64 56}
!13 = !{!"long", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !7, i64 8}
!18 = !{!12, !13, i64 16}
!19 = !{!12, !14, i64 32}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_2__", !7, i64 0, !14, i64 8, !14, i64 16}
!22 = !{!12, !7, i64 24}
!23 = !{!24, !7, i64 0}
!24 = !{!"qcom_slim_ngd_ctrl", !7, i64 0}
!25 = !{!21, !14, i64 8}
!26 = !{!12, !14, i64 48}
!27 = !{!12, !7, i64 40}
!28 = !{!21, !14, i64 16}
!29 = !{!12, !7, i64 28}
|
; ModuleID = 'AnghaBench/linux/drivers/slimbus/extr_qcom-ngd-ctrl.c_qcom_slim_ngd_xfer_msg.c'
source_filename = "AnghaBench/linux/drivers/slimbus/extr_qcom-ngd-ctrl.c_qcom_slim_ngd_xfer_msg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tx_sent = common global i32 0, align 4
@done = common global i32 0, align 4
@SLIM_MSGQ_BUF_LEN = common local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MT_CORE = common local_unnamed_addr global i64 0, align 8
@SLIM_MSG_MC_BEGIN_RECONFIGURATION = common local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MC_RECONFIGURE_NOW = common local_unnamed_addr global i32 0, align 4
@SLIM_MSG_DEST_ENUMADDR = common local_unnamed_addr global i64 0, align 8
@EPROTONOSUPPORT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"msg exceeds HW limit\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Message buffer unavailable\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@SLIM_MSG_MT_DEST_REFERRED_USER = common local_unnamed_addr global i64 0, align 8
@SLIM_USR_MC_CONNECT_SRC = common local_unnamed_addr global i32 0, align 4
@SLIM_USR_MC_CONNECT_SINK = common local_unnamed_addr global i32 0, align 4
@SLIM_USR_MC_DISCONNECT_PORT = common local_unnamed_addr global i32 0, align 4
@SLIM_LA_MGR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Unable to allocate TID\0A\00", align 1
@SLIM_MSG_DEST_LOGICALADDR = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"TX timed out:MC:0x%x,mt:0x%x\00", align 1
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qcom_slim_ngd_xfer_msg], section "llvm.metadata"
@switch.table.qcom_slim_ngd_xfer_msg = private unnamed_addr constant [3 x ptr] [ptr @SLIM_USR_MC_DISCONNECT_PORT, ptr @SLIM_USR_MC_CONNECT_SRC, ptr @SLIM_USR_MC_CONNECT_SINK], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qcom_slim_ngd_xfer_msg(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @dev_get_drvdata(i32 noundef %3) #2
%5 = load i32, ptr @tx_sent, align 4, !tbaa !11
%6 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %5) #2
%7 = load i32, ptr @done, align 4, !tbaa !11
%8 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %7) #2
%9 = load i32, ptr @SLIM_MSGQ_BUF_LEN, align 4, !tbaa !11
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 4
%12 = alloca i32, i64 %10, align 4
%13 = getelementptr inbounds i8, ptr %1, i64 56
%14 = load i32, ptr %13, align 8, !tbaa !12
%15 = load i64, ptr %1, align 8, !tbaa !16
%16 = load i64, ptr @SLIM_MSG_MT_CORE, align 8, !tbaa !17
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %2
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !18
%21 = load i32, ptr @SLIM_MSG_MC_BEGIN_RECONFIGURATION, align 4, !tbaa !11
%22 = icmp slt i32 %20, %21
%23 = load i32, ptr @SLIM_MSG_MC_RECONFIGURE_NOW, align 4
%24 = icmp sgt i32 %20, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %179
26: ; preds = %18, %2
%27 = getelementptr inbounds i8, ptr %1, i64 16
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = load i64, ptr @SLIM_MSG_DEST_ENUMADDR, align 8, !tbaa !17
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !11
%33 = sub nsw i32 0, %32
br label %179
34: ; preds = %26
%35 = getelementptr inbounds i8, ptr %1, i64 32
%36 = load ptr, ptr %35, align 8, !tbaa !20
%37 = load i32, ptr %36, align 8, !tbaa !21
%38 = icmp sgt i32 %37, %9
br i1 %38, label %43, label %39
39: ; preds = %34
%40 = getelementptr inbounds i8, ptr %1, i64 24
%41 = load i32, ptr %40, align 8, !tbaa !23
%42 = icmp sgt i32 %41, %9
br i1 %42, label %43, label %48
43: ; preds = %39, %34
%44 = load i32, ptr %4, align 4, !tbaa !24
%45 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %44, ptr noundef nonnull @.str) #2
%46 = load i32, ptr @EINVAL, align 4, !tbaa !11
%47 = sub nsw i32 0, %46
br label %179
48: ; preds = %39
%49 = tail call ptr @qcom_slim_ngd_tx_msg_get(ptr noundef %4, i32 noundef %41, ptr noundef nonnull @tx_sent) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = load i32, ptr %4, align 4, !tbaa !24
%53 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %52, ptr noundef nonnull @.str.1) #2
%54 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%55 = sub nsw i32 0, %54
br label %179
56: ; preds = %48
%57 = load i64, ptr %1, align 8, !tbaa !16
%58 = load i64, ptr @SLIM_MSG_MT_CORE, align 8, !tbaa !17
%59 = icmp eq i64 %57, %58
br i1 %59, label %60, label %103
60: ; preds = %56
%61 = getelementptr inbounds i8, ptr %1, i64 8
%62 = load i32, ptr %61, align 8, !tbaa !18
%63 = add i32 %62, -128
%64 = icmp ult i32 %63, 3
br i1 %64, label %65, label %103
65: ; preds = %60
%66 = load i64, ptr @SLIM_MSG_MT_DEST_REFERRED_USER, align 8, !tbaa !17
store i64 %66, ptr %1, align 8, !tbaa !16
%67 = and i32 %62, 3
%68 = zext nneg i32 %67 to i64
%69 = getelementptr inbounds [3 x ptr], ptr @switch.table.qcom_slim_ngd_xfer_msg, i64 0, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %70, align 4, !tbaa !11
store i32 %71, ptr %61, align 8, !tbaa !18
%72 = load i32, ptr %13, align 8, !tbaa !12
store i32 %72, ptr %11, align 4, !tbaa !11
%73 = load i32, ptr @SLIM_LA_MGR, align 4, !tbaa !11
%74 = load ptr, ptr %35, align 8, !tbaa !20
%75 = getelementptr inbounds i8, ptr %74, i64 8
%76 = load ptr, ptr %75, align 8, !tbaa !26
%77 = load i32, ptr %76, align 4, !tbaa !11
%78 = getelementptr inbounds i8, ptr %11, i64 4
store i32 %77, ptr %78, align 4, !tbaa !11
%79 = load i32, ptr @SLIM_USR_MC_DISCONNECT_PORT, align 4, !tbaa !11
%80 = icmp eq i32 %71, %79
br i1 %80, label %85, label %81
81: ; preds = %65
%82 = getelementptr inbounds i8, ptr %76, i64 4
%83 = load i32, ptr %82, align 4, !tbaa !11
%84 = getelementptr inbounds i8, ptr %11, i64 8
store i32 %83, ptr %84, align 4, !tbaa !11
br label %85
85: ; preds = %81, %65
%86 = phi i32 [ 3, %81 ], [ 2, %65 ]
%87 = getelementptr inbounds i8, ptr %1, i64 48
store ptr @done, ptr %87, align 8, !tbaa !27
%88 = tail call i32 @slim_alloc_txn_tid(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%89 = icmp eq i32 %88, 0
br i1 %89, label %93, label %90
90: ; preds = %85
%91 = load i32, ptr %4, align 4, !tbaa !24
%92 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %91, ptr noundef nonnull @.str.2) #2
br label %179
93: ; preds = %85
%94 = getelementptr inbounds i8, ptr %1, i64 40
%95 = load i32, ptr %94, align 8, !tbaa !28
%96 = add nuw nsw i32 %86, 1
%97 = zext nneg i32 %86 to i64
%98 = getelementptr inbounds i32, ptr %11, i64 %97
store i32 %95, ptr %98, align 4, !tbaa !11
%99 = load ptr, ptr %35, align 8, !tbaa !20
store i32 %96, ptr %99, align 8, !tbaa !21
%100 = getelementptr inbounds i8, ptr %99, i64 8
store ptr %11, ptr %100, align 8, !tbaa !26
%101 = getelementptr inbounds i8, ptr %99, i64 16
store ptr %12, ptr %101, align 8, !tbaa !29
%102 = add nuw nsw i32 %86, 5
store i32 %102, ptr %40, align 8, !tbaa !23
br label %103
103: ; preds = %60, %93, %56
%104 = phi i32 [ %73, %93 ], [ %14, %56 ], [ %14, %60 ]
%105 = phi i1 [ false, %93 ], [ true, %56 ], [ true, %60 ]
%106 = load i32, ptr %40, align 8, !tbaa !23
%107 = add nsw i32 %106, -1
store i32 %107, ptr %40, align 8, !tbaa !23
store i64 0, ptr %49, align 8, !tbaa !17
%108 = load i64, ptr %27, align 8, !tbaa !19
%109 = load i64, ptr @SLIM_MSG_DEST_LOGICALADDR, align 8, !tbaa !17
%110 = icmp ne i64 %108, %109
%111 = load i64, ptr %1, align 8, !tbaa !16
%112 = getelementptr inbounds i8, ptr %1, i64 8
%113 = load i32, ptr %112, align 8, !tbaa !18
%114 = zext i1 %110 to i32
%115 = select i1 %110, i64 8, i64 12
%116 = call i64 @SLIM_MSG_ASM_FIRST_WORD(i32 noundef %107, i64 noundef %111, i32 noundef %113, i32 noundef %114, i32 noundef %104) #2
%117 = getelementptr inbounds i8, ptr %49, i64 %115
store i64 %116, ptr %49, align 8
%118 = load i64, ptr %1, align 8, !tbaa !16
%119 = load i32, ptr %112, align 8, !tbaa !18
%120 = call i64 @slim_tid_txn(i64 noundef %118, i32 noundef %119) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %126, label %122
122: ; preds = %103
%123 = getelementptr inbounds i8, ptr %1, i64 40
%124 = load i32, ptr %123, align 8, !tbaa !28
%125 = getelementptr inbounds i8, ptr %117, i64 4
store i32 %124, ptr %117, align 4, !tbaa !11
br label %126
126: ; preds = %122, %103
%127 = phi ptr [ %125, %122 ], [ %117, %103 ]
%128 = load i64, ptr %1, align 8, !tbaa !16
%129 = load i32, ptr %112, align 8, !tbaa !18
%130 = call i64 @slim_ec_txn(i64 noundef %128, i32 noundef %129) #2
%131 = icmp eq i64 %130, 0
br i1 %131, label %141, label %132
132: ; preds = %126
%133 = getelementptr inbounds i8, ptr %1, i64 28
%134 = load i32, ptr %133, align 4, !tbaa !30
%135 = and i32 %134, 255
%136 = getelementptr inbounds i8, ptr %127, i64 4
store i32 %135, ptr %127, align 4, !tbaa !11
%137 = load i32, ptr %133, align 4, !tbaa !30
%138 = lshr i32 %137, 8
%139 = and i32 %138, 255
%140 = getelementptr inbounds i8, ptr %127, i64 8
store i32 %139, ptr %136, align 4, !tbaa !11
br label %141
141: ; preds = %132, %126
%142 = phi ptr [ %140, %132 ], [ %127, %126 ]
%143 = load ptr, ptr %35, align 8, !tbaa !20
%144 = icmp eq ptr %143, null
br i1 %144, label %152, label %145
145: ; preds = %141
%146 = getelementptr inbounds i8, ptr %143, i64 8
%147 = load ptr, ptr %146, align 8, !tbaa !26
%148 = icmp eq ptr %147, null
br i1 %148, label %152, label %149
149: ; preds = %145
%150 = load i32, ptr %143, align 8, !tbaa !21
%151 = call i32 @memcpy(ptr noundef nonnull %142, ptr noundef nonnull %147, i32 noundef %150) #2
br label %152
152: ; preds = %149, %145, %141
%153 = load i32, ptr %40, align 8, !tbaa !23
%154 = call i32 @qcom_slim_ngd_tx_msg_post(ptr noundef %4, ptr noundef nonnull %49, i32 noundef %153) #2
%155 = icmp eq i32 %154, 0
br i1 %155, label %156, label %179
156: ; preds = %152
%157 = load i32, ptr @HZ, align 4, !tbaa !11
%158 = call i32 @wait_for_completion_timeout(ptr noundef nonnull @tx_sent, i32 noundef %157) #2
%159 = icmp eq i32 %158, 0
br i1 %159, label %160, label %167
160: ; preds = %156
%161 = load i32, ptr %0, align 4, !tbaa !6
%162 = load i32, ptr %112, align 8, !tbaa !18
%163 = load i64, ptr %1, align 8, !tbaa !16
%164 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %161, ptr noundef nonnull @.str.3, i32 noundef %162, i64 noundef %163) #2
%165 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !11
%166 = sub nsw i32 0, %165
br label %179
167: ; preds = %156
br i1 %105, label %179, label %168
168: ; preds = %167
%169 = load i32, ptr @HZ, align 4, !tbaa !11
%170 = call i32 @wait_for_completion_timeout(ptr noundef nonnull @done, i32 noundef %169) #2
%171 = icmp eq i32 %170, 0
br i1 %171, label %172, label %179
172: ; preds = %168
%173 = load i32, ptr %0, align 4, !tbaa !6
%174 = load i32, ptr %112, align 8, !tbaa !18
%175 = load i64, ptr %1, align 8, !tbaa !16
%176 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %173, ptr noundef nonnull @.str.3, i32 noundef %174, i64 noundef %175) #2
%177 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !11
%178 = sub nsw i32 0, %177
br label %179
179: ; preds = %167, %168, %152, %18, %172, %160, %90, %51, %43, %31
%180 = phi i32 [ %33, %31 ], [ %47, %43 ], [ %88, %90 ], [ %178, %172 ], [ %166, %160 ], [ %55, %51 ], [ 0, %18 ], [ %154, %152 ], [ 0, %168 ], [ 0, %167 ]
ret i32 %180
}
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @qcom_slim_ngd_tx_msg_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @slim_alloc_txn_tid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @SLIM_MSG_ASM_FIRST_WORD(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @slim_tid_txn(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @slim_ec_txn(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qcom_slim_ngd_tx_msg_post(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion_timeout(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 = !{!"slim_controller", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 56}
!13 = !{!"slim_msg_txn", !14, i64 0, !8, i64 8, !14, i64 16, !8, i64 24, !8, i64 28, !15, i64 32, !8, i64 40, !15, i64 48, !8, i64 56}
!14 = !{!"long", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !8, i64 8}
!19 = !{!13, !14, i64 16}
!20 = !{!13, !15, i64 32}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_2__", !8, i64 0, !15, i64 8, !15, i64 16}
!23 = !{!13, !8, i64 24}
!24 = !{!25, !8, i64 0}
!25 = !{!"qcom_slim_ngd_ctrl", !8, i64 0}
!26 = !{!22, !15, i64 8}
!27 = !{!13, !15, i64 48}
!28 = !{!13, !8, i64 40}
!29 = !{!22, !15, i64 16}
!30 = !{!13, !8, i64 28}
|
linux_drivers_slimbus_extr_qcom-ngd-ctrl.c_qcom_slim_ngd_xfer_msg
|
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_f2fs.h_f2fs_copy_page.c'
source_filename = "AnghaBench/linux/fs/f2fs/extr_f2fs.h_f2fs_copy_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @f2fs_copy_page], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @f2fs_copy_page(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @kmap(ptr noundef %0) #2
%4 = tail call ptr @kmap(ptr noundef %1) #2
%5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%6 = tail call i32 @memcpy(ptr noundef %4, ptr noundef %3, i32 noundef %5) #2
%7 = tail call i32 @kunmap(ptr noundef %1) #2
%8 = tail call i32 @kunmap(ptr noundef %0) #2
ret void
}
declare ptr @kmap(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kunmap(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_f2fs.h_f2fs_copy_page.c'
source_filename = "AnghaBench/linux/fs/f2fs/extr_f2fs.h_f2fs_copy_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @f2fs_copy_page], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @f2fs_copy_page(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @kmap(ptr noundef %0) #2
%4 = tail call ptr @kmap(ptr noundef %1) #2
%5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%6 = tail call i32 @memcpy(ptr noundef %4, ptr noundef %3, i32 noundef %5) #2
%7 = tail call i32 @kunmap(ptr noundef %1) #2
%8 = tail call i32 @kunmap(ptr noundef %0) #2
ret void
}
declare ptr @kmap(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kunmap(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_fs_f2fs_extr_f2fs.h_f2fs_copy_page
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/extr_gp102.c_gp102_ltc_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/extr_gp102.c_gp102_ltc_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@gp102_ltc = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @gp102_ltc_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_ltc_new_(ptr noundef nonnull @gp102_ltc, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_ltc_new_(ptr noundef, 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)"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/extr_gp102.c_gp102_ltc_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/extr_gp102.c_gp102_ltc_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gp102_ltc = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @gp102_ltc_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_ltc_new_(ptr noundef nonnull @gp102_ltc, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_ltc_new_(ptr noundef, 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)"}
|
linux_drivers_gpu_drm_nouveau_nvkm_subdev_ltc_extr_gp102.c_gp102_ltc_new
|
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_mru_cache.c_xfs_mru_cache_remove.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_mru_cache.c_xfs_mru_cache_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.xfs_mru_cache = type { i32, i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local ptr @xfs_mru_cache_remove(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = getelementptr inbounds %struct.xfs_mru_cache, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @ASSERT(i32 noundef %8) #2
%10 = load i64, ptr %5, align 8, !tbaa !5
%11 = icmp eq i64 %10, 0
br i1 %11, label %23, label %14
12: ; preds = %2
%13 = tail call i32 @ASSERT(i32 noundef 0) #2
br label %23
14: ; preds = %4
%15 = tail call i32 @spin_lock(ptr noundef nonnull %0) #2
%16 = getelementptr inbounds %struct.xfs_mru_cache, ptr %0, i64 0, i32 1
%17 = tail call ptr @radix_tree_delete(ptr noundef nonnull %16, i64 noundef %1) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %14
%20 = tail call i32 @list_del(ptr noundef nonnull %17) #2
br label %21
21: ; preds = %19, %14
%22 = tail call i32 @spin_unlock(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %4, %12, %21
%24 = phi ptr [ %17, %21 ], [ null, %12 ], [ null, %4 ]
ret ptr %24
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @radix_tree_delete(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_del(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, !10, i64 8}
!6 = !{!"xfs_mru_cache", !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}
|
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_mru_cache.c_xfs_mru_cache_remove.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_mru_cache.c_xfs_mru_cache_remove.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 @xfs_mru_cache_remove(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @ASSERT(i32 noundef %8) #2
%10 = load i64, ptr %5, align 8, !tbaa !6
%11 = icmp eq i64 %10, 0
br i1 %11, label %23, label %14
12: ; preds = %2
%13 = tail call i32 @ASSERT(i32 noundef 0) #2
br label %23
14: ; preds = %4
%15 = tail call i32 @spin_lock(ptr noundef nonnull %0) #2
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = tail call ptr @radix_tree_delete(ptr noundef nonnull %16, i64 noundef %1) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %14
%20 = tail call i32 @list_del(ptr noundef nonnull %17) #2
br label %21
21: ; preds = %19, %14
%22 = tail call i32 @spin_unlock(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %4, %12, %21
%24 = phi ptr [ %17, %21 ], [ null, %12 ], [ null, %4 ]
ret ptr %24
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @radix_tree_delete(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_del(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, !11, i64 8}
!7 = !{!"xfs_mru_cache", !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}
|
linux_fs_xfs_extr_xfs_mru_cache.c_xfs_mru_cache_remove
|
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_loslib.c_os_difftime.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_loslib.c_os_difftime.c"
target datalayout = "e-m:e-p270:32:32-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 @os_difftime], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @os_difftime(ptr noundef %0) #0 {
%2 = tail call i32 @l_checktime(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @l_checktime(ptr noundef %0, i32 noundef 2) #2
%4 = tail call i64 @difftime(i32 noundef %2, i32 noundef %3) #2
%5 = trunc i64 %4 to i32
%6 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef %5) #2
ret i32 1
}
declare i32 @l_checktime(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @difftime(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/xLua/build/lua-5.3.3/src/extr_loslib.c_os_difftime.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_loslib.c_os_difftime.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 @os_difftime], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @os_difftime(ptr noundef %0) #0 {
%2 = tail call i32 @l_checktime(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @l_checktime(ptr noundef %0, i32 noundef 2) #2
%4 = tail call i64 @difftime(i32 noundef %2, i32 noundef %3) #2
%5 = trunc i64 %4 to i32
%6 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef %5) #2
ret i32 1
}
declare i32 @l_checktime(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @difftime(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)"}
|
xLua_build_lua-5.3.3_src_extr_loslib.c_os_difftime
|
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_ptrace_wait.c_lwp_main_func.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_ptrace_wait.c_lwp_main_func.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@the_lwp_id = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lwp_main_func], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lwp_main_func(ptr nocapture readnone %0) #0 {
%2 = tail call i32 (...) @_lwp_self() #2
store i32 %2, ptr @the_lwp_id, align 4, !tbaa !5
%3 = tail call i32 (...) @_lwp_exit() #2
ret void
}
declare i32 @_lwp_self(...) local_unnamed_addr #1
declare i32 @_lwp_exit(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/netbsd-tests/kernel/extr_t_ptrace_wait.c_lwp_main_func.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_ptrace_wait.c_lwp_main_func.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@the_lwp_id = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lwp_main_func], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lwp_main_func(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @_lwp_self() #2
store i32 %2, ptr @the_lwp_id, align 4, !tbaa !6
%3 = tail call i32 @_lwp_exit() #2
ret void
}
declare i32 @_lwp_self(...) local_unnamed_addr #1
declare i32 @_lwp_exit(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_netbsd-tests_kernel_extr_t_ptrace_wait.c_lwp_main_func
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_get_quiet_shutdown.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_get_quiet_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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @SSL_get_quiet_shutdown(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_get_quiet_shutdown.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_get_quiet_shutdown.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @SSL_get_quiet_shutdown(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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"}
|
freebsd_crypto_openssl_ssl_extr_ssl_lib.c_SSL_get_quiet_shutdown
|
; ModuleID = 'AnghaBench/linux/net/rfkill/extr_core.c_rfkill_led_trigger_event.c'
source_filename = "AnghaBench/linux/net/rfkill/extr_core.c_rfkill_led_trigger_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @rfkill_led_trigger_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @rfkill_led_trigger_event(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/linux/net/rfkill/extr_core.c_rfkill_led_trigger_event.c'
source_filename = "AnghaBench/linux/net/rfkill/extr_core.c_rfkill_led_trigger_event.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 @rfkill_led_trigger_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @rfkill_led_trigger_event(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)"}
|
linux_net_rfkill_extr_core.c_rfkill_led_trigger_event
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_ca0132_alt_dsp_scp_startup.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_ca0132_alt_dsp_scp_startup.c"
target datalayout = "e-m:e-p270:32:32-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 @ca0132_alt_dsp_scp_startup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ca0132_alt_dsp_scp_startup(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @ca0132_quirk(ptr noundef %2) #2
switch i32 %3, label %12 [
i32 128, label %4
i32 131, label %4
i32 130, label %6
i32 129, label %6
]
4: ; preds = %1, %1
%5 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 3) #2
br label %6
6: ; preds = %1, %1, %4
%7 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 10, i32 noundef 0) #2
%8 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 11, i32 noundef 1) #2
%9 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 4) #2
%10 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 5) #2
%11 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 0) #2
br label %12
12: ; preds = %6, %1
%13 = tail call i32 @msleep(i32 noundef 100) #2
%14 = tail call i32 @ca0132_quirk(ptr noundef %2) #2
switch i32 %14, label %23 [
i32 128, label %15
i32 131, label %15
i32 130, label %17
i32 129, label %17
]
15: ; preds = %12, %12
%16 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 3) #2
br label %17
17: ; preds = %12, %12, %15
%18 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 10, i32 noundef 0) #2
%19 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 11, i32 noundef 1) #2
%20 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 4) #2
%21 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 5) #2
%22 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 0) #2
br label %23
23: ; preds = %17, %12
%24 = tail call i32 @msleep(i32 noundef 100) #2
ret void
}
declare i32 @ca0132_quirk(ptr noundef) local_unnamed_addr #1
declare i32 @dspio_set_uint_param_no_source(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hda_codec", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_ca0132_alt_dsp_scp_startup.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_ca0132_alt_dsp_scp_startup.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 @ca0132_alt_dsp_scp_startup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ca0132_alt_dsp_scp_startup(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @ca0132_quirk(ptr noundef %2) #2
switch i32 %3, label %12 [
i32 128, label %4
i32 131, label %4
i32 130, label %6
i32 129, label %6
]
4: ; preds = %1, %1
%5 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 3) #2
br label %6
6: ; preds = %1, %1, %4
%7 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 10, i32 noundef 0) #2
%8 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 11, i32 noundef 1) #2
%9 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 4) #2
%10 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 5) #2
%11 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 0) #2
br label %12
12: ; preds = %6, %1
%13 = tail call i32 @msleep(i32 noundef 100) #2
%14 = tail call i32 @ca0132_quirk(ptr noundef %2) #2
switch i32 %14, label %23 [
i32 128, label %15
i32 131, label %15
i32 130, label %17
i32 129, label %17
]
15: ; preds = %12, %12
%16 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 3) #2
br label %17
17: ; preds = %12, %12, %15
%18 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 10, i32 noundef 0) #2
%19 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 11, i32 noundef 1) #2
%20 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 4) #2
%21 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 5) #2
%22 = tail call i32 @dspio_set_uint_param_no_source(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 12, i32 noundef 0) #2
br label %23
23: ; preds = %17, %12
%24 = tail call i32 @msleep(i32 noundef 100) #2
ret void
}
declare i32 @ca0132_quirk(ptr noundef) local_unnamed_addr #1
declare i32 @dspio_set_uint_param_no_source(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hda_codec", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_sound_pci_hda_extr_patch_ca0132.c_ca0132_alt_dsp_scp_startup
|
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c___set.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c___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"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @__set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @__set(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @rewind(ptr noundef %0) #2
%5 = tail call i64 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @perror(ptr noundef %2) #2
br label %9
9: ; preds = %7, %3
ret void
}
declare i32 @rewind(ptr noundef) local_unnamed_addr #1
declare i64 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c___set.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c___set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @__set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @__set(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @rewind(ptr noundef %0) #2
%5 = tail call i64 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @perror(ptr noundef %2) #2
br label %9
9: ; preds = %7, %3
ret void
}
declare i32 @rewind(ptr noundef) local_unnamed_addr #1
declare i64 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_tools_testing_selftests_mqueue_extr_mq_perf_tests.c___set
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_softfloat.c_float64_to_uint32_round_to_zero.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_softfloat.c_float64_to_uint32_round_to_zero.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@float_flag_inexact = dso_local local_unnamed_addr global i32 0, align 4
@float_flag_invalid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @float64_to_uint32_round_to_zero(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @extractFloat64Frac(i32 noundef %0) #2
%3 = tail call i32 @extractFloat64Exp(i32 noundef %0) #2
%4 = tail call i32 @extractFloat64Sign(i32 noundef %0) #2
%5 = sub nsw i32 1075, %3
%6 = icmp sgt i32 %3, 1054
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = icmp eq i32 %3, 2047
%9 = icmp ne i32 %2, 0
%10 = select i1 %8, i1 %9, i1 false
%11 = select i1 %10, i32 0, i32 %4
br label %30
12: ; preds = %1
%13 = icmp slt i32 %3, 1023
br i1 %13, label %14, label %21
14: ; preds = %12
%15 = icmp ne i32 %3, 0
%16 = icmp ne i32 %2, 0
%17 = select i1 %15, i1 true, i1 %16
br i1 %17, label %18, label %42
18: ; preds = %14
%19 = load i32, ptr @float_flag_inexact, align 4, !tbaa !5
%20 = tail call i32 @float_raise(i32 noundef %19) #2
br label %42
21: ; preds = %12
%22 = tail call i32 @LIT64(i32 noundef 0) #2
%23 = or i32 %22, %2
%24 = ashr i32 %23, %5
%25 = icmp eq i32 %4, 0
%26 = sub nsw i32 0, %24
%27 = select i1 %25, i32 %24, i32 %26
%28 = lshr i32 %27, 31
%29 = icmp eq i32 %28, %4
br i1 %29, label %36, label %30
30: ; preds = %7, %21
%31 = phi i32 [ %4, %21 ], [ %11, %7 ]
%32 = load i32, ptr @float_flag_invalid, align 4, !tbaa !5
%33 = tail call i32 @float_raise(i32 noundef %32) #2
%34 = icmp eq i32 %31, 0
%35 = select i1 %34, i32 2147483647, i32 -2147483648
br label %42
36: ; preds = %21
%37 = shl i32 %24, %5
%38 = icmp eq i32 %37, %23
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr @float_flag_inexact, align 4, !tbaa !5
%41 = tail call i32 @float_raise(i32 noundef %40) #2
br label %42
42: ; preds = %36, %39, %18, %14, %30
%43 = phi i32 [ %35, %30 ], [ 0, %14 ], [ 0, %18 ], [ %27, %39 ], [ %27, %36 ]
ret i32 %43
}
declare i32 @extractFloat64Frac(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Exp(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Sign(i32 noundef) local_unnamed_addr #1
declare i32 @float_raise(i32 noundef) local_unnamed_addr #1
declare i32 @LIT64(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/arm/nwfpe/extr_softfloat.c_float64_to_uint32_round_to_zero.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_softfloat.c_float64_to_uint32_round_to_zero.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@float_flag_inexact = common local_unnamed_addr global i32 0, align 4
@float_flag_invalid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 2147483647, 1025) i32 @float64_to_uint32_round_to_zero(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @extractFloat64Frac(i32 noundef %0) #2
%3 = tail call i32 @extractFloat64Exp(i32 noundef %0) #2
%4 = tail call i32 @extractFloat64Sign(i32 noundef %0) #2
%5 = sub nsw i32 1075, %3
%6 = icmp sgt i32 %3, 1054
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = icmp eq i32 %3, 2047
%9 = icmp ne i32 %2, 0
%10 = select i1 %8, i1 %9, i1 false
%11 = select i1 %10, i32 0, i32 %4
br label %30
12: ; preds = %1
%13 = icmp slt i32 %3, 1023
br i1 %13, label %14, label %21
14: ; preds = %12
%15 = icmp ne i32 %3, 0
%16 = icmp ne i32 %2, 0
%17 = select i1 %15, i1 true, i1 %16
br i1 %17, label %18, label %42
18: ; preds = %14
%19 = load i32, ptr @float_flag_inexact, align 4, !tbaa !6
%20 = tail call i32 @float_raise(i32 noundef %19) #2
br label %42
21: ; preds = %12
%22 = tail call i32 @LIT64(i32 noundef 0) #2
%23 = or i32 %22, %2
%24 = ashr i32 %23, %5
%25 = icmp eq i32 %4, 0
%26 = sub nsw i32 0, %24
%27 = select i1 %25, i32 %24, i32 %26
%28 = lshr i32 %27, 31
%29 = icmp eq i32 %28, %4
br i1 %29, label %36, label %30
30: ; preds = %7, %21
%31 = phi i32 [ %4, %21 ], [ %11, %7 ]
%32 = load i32, ptr @float_flag_invalid, align 4, !tbaa !6
%33 = tail call i32 @float_raise(i32 noundef %32) #2
%34 = icmp eq i32 %31, 0
%35 = select i1 %34, i32 2147483647, i32 -2147483648
br label %42
36: ; preds = %21
%37 = shl i32 %24, %5
%38 = icmp eq i32 %37, %23
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr @float_flag_inexact, align 4, !tbaa !6
%41 = tail call i32 @float_raise(i32 noundef %40) #2
br label %42
42: ; preds = %36, %39, %18, %14, %30
%43 = phi i32 [ %35, %30 ], [ 0, %14 ], [ 0, %18 ], [ %27, %39 ], [ %27, %36 ]
ret i32 %43
}
declare i32 @extractFloat64Frac(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Exp(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Sign(i32 noundef) local_unnamed_addr #1
declare i32 @float_raise(i32 noundef) local_unnamed_addr #1
declare i32 @LIT64(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_arm_nwfpe_extr_softfloat.c_float64_to_uint32_round_to_zero
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_netdev.c_i1480u_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_netdev.c_i1480u_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.i1480u = type { i32, ptr, %struct.wlp }
%struct.wlp = type { i32, i32, ptr }
@.str = private unnamed_addr constant [24 x i8] c"Can't create WSS: %d. \0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @i1480u_open(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.i1480u, ptr %2, i64 0, i32 2
%4 = getelementptr inbounds %struct.i1480u, ptr %2, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @i1480u_rx_setup(ptr noundef %2) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %23, label %8
8: ; preds = %1
%9 = tail call i32 @uwb_radio_start(ptr noundef nonnull %3) #2
%10 = icmp slt i32 %9, 0
br i1 %10, label %19, label %11
11: ; preds = %8
%12 = tail call i32 @netif_wake_queue(ptr noundef %0) #2
%13 = getelementptr inbounds %struct.i1480u, ptr %2, i64 0, i32 2, i32 1
%14 = tail call i32 @wlp_wss_setup(ptr noundef %0, ptr noundef nonnull %13) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %11
%17 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %14) #2
%18 = tail call i32 @uwb_radio_stop(ptr noundef nonnull %3) #2
br label %19
19: ; preds = %8, %16
%20 = phi i32 [ %9, %8 ], [ %14, %16 ]
%21 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%22 = tail call i32 @i1480u_rx_release(ptr noundef nonnull %2) #2
br label %23
23: ; preds = %19, %1, %11
%24 = phi i32 [ 0, %11 ], [ %6, %1 ], [ %20, %19 ]
ret i32 %24
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @i1480u_rx_setup(ptr noundef) local_unnamed_addr #1
declare i32 @uwb_radio_start(ptr noundef) local_unnamed_addr #1
declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1
declare i32 @wlp_wss_setup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uwb_radio_stop(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @i1480u_rx_release(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 = !{!"i1480u", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"wlp", !7, i64 0, !7, i64 4, !10, i64 8}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_netdev.c_i1480u_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_netdev.c_i1480u_open.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 [24 x i8] c"Can't create WSS: %d. \0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @i1480u_open(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @i1480u_rx_setup(ptr noundef %2) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %23, label %8
8: ; preds = %1
%9 = tail call i32 @uwb_radio_start(ptr noundef nonnull %3) #2
%10 = icmp slt i32 %9, 0
br i1 %10, label %19, label %11
11: ; preds = %8
%12 = tail call i32 @netif_wake_queue(ptr noundef %0) #2
%13 = getelementptr inbounds i8, ptr %2, i64 20
%14 = tail call i32 @wlp_wss_setup(ptr noundef %0, ptr noundef nonnull %13) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %11
%17 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %14) #2
%18 = tail call i32 @uwb_radio_stop(ptr noundef nonnull %3) #2
br label %19
19: ; preds = %8, %16
%20 = phi i32 [ %9, %8 ], [ %14, %16 ]
%21 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%22 = tail call i32 @i1480u_rx_release(ptr noundef nonnull %2) #2
br label %23
23: ; preds = %19, %1, %11
%24 = phi i32 [ 0, %11 ], [ %6, %1 ], [ %20, %19 ]
ret i32 %24
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @i1480u_rx_setup(ptr noundef) local_unnamed_addr #1
declare i32 @uwb_radio_start(ptr noundef) local_unnamed_addr #1
declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1
declare i32 @wlp_wss_setup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uwb_radio_stop(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @i1480u_rx_release(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 = !{!"i1480u", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"wlp", !8, i64 0, !8, i64 4, !11, i64 8}
|
fastsocket_kernel_drivers_uwb_i1480_i1480u-wlp_extr_netdev.c_i1480u_open
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_hw.c_e1000_read_phy_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_hw.c_e1000_read_phy_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@e1000_phy_lock = dso_local global i32 0, align 4
@e1000_phy_igp = dso_local local_unnamed_addr global i64 0, align 8
@MAX_PHY_MULTI_PAGE_REG = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PHY_PAGE_SELECT = dso_local local_unnamed_addr global i32 0, align 4
@MAX_PHY_REG_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @e1000_read_phy_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @e1000_phy_lock, i64 noundef undef) #2
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr @e1000_phy_igp, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
%8 = load i32, ptr @MAX_PHY_MULTI_PAGE_REG, align 4
%9 = icmp slt i32 %8, %1
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i32, ptr @IGP01E1000_PHY_PAGE_SELECT, align 4, !tbaa !11
%13 = tail call i32 @e1000_write_phy_reg_ex(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11, %3
%16 = load i32, ptr @MAX_PHY_REG_ADDRESS, align 4, !tbaa !11
%17 = and i32 %16, %1
%18 = tail call i32 @e1000_read_phy_reg_ex(ptr noundef nonnull %0, i32 noundef %17, ptr noundef %2) #2
br label %19
19: ; preds = %11, %15
%20 = phi i32 [ %13, %11 ], [ %18, %15 ]
%21 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @e1000_phy_lock, i64 noundef undef) #2
ret i32 %20
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @e1000_write_phy_reg_ex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1000_read_phy_reg_ex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"e1000_hw", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_hw.c_e1000_read_phy_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_hw.c_e1000_read_phy_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@e1000_phy_lock = common global i32 0, align 4
@e1000_phy_igp = common local_unnamed_addr global i64 0, align 8
@MAX_PHY_MULTI_PAGE_REG = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PHY_PAGE_SELECT = common local_unnamed_addr global i32 0, align 4
@MAX_PHY_REG_ADDRESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @e1000_read_phy_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @e1000_phy_lock, i64 noundef undef) #2
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr @e1000_phy_igp, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
%8 = load i32, ptr @MAX_PHY_MULTI_PAGE_REG, align 4
%9 = icmp slt i32 %8, %1
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load i32, ptr @IGP01E1000_PHY_PAGE_SELECT, align 4, !tbaa !12
%13 = tail call i32 @e1000_write_phy_reg_ex(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11, %3
%16 = load i32, ptr @MAX_PHY_REG_ADDRESS, align 4, !tbaa !12
%17 = and i32 %16, %1
%18 = tail call i32 @e1000_read_phy_reg_ex(ptr noundef nonnull %0, i32 noundef %17, ptr noundef %2) #2
br label %19
19: ; preds = %11, %15
%20 = phi i32 [ %13, %11 ], [ %18, %15 ]
%21 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @e1000_phy_lock, i64 noundef undef) #2
ret i32 %20
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @e1000_write_phy_reg_ex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1000_read_phy_reg_ex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"e1000_hw", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
linux_drivers_net_ethernet_intel_e1000_extr_e1000_hw.c_e1000_read_phy_reg
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_nvme.c_lpfc_nvme_localport_delete.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_nvme.c_lpfc_nvme_localport_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"
%struct.lpfc_nvme_lport = type { i32, ptr }
@KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4
@LOG_NVME = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"6173 localport x%px delete complete\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_nvme_localport_delete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lpfc_nvme_localport_delete(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.lpfc_nvme_lport, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @KERN_INFO, align 4, !tbaa !13
%6 = load i32, ptr @LOG_NVME, align 4, !tbaa !13
%7 = tail call i32 @lpfc_printf_vlog(ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %2) #2
%8 = load ptr, ptr %3, align 8, !tbaa !10
%9 = load i64, ptr %8, align 8, !tbaa !14
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load i32, ptr %2, align 8, !tbaa !17
%13 = tail call i32 @complete(i32 noundef %12) #2
br label %14
14: ; preds = %11, %1
ret void
}
declare i32 @lpfc_printf_vlog(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"nvme_fc_local_port", !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 = !{!"lpfc_nvme_lport", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!11, !12, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_nvme.c_lpfc_nvme_localport_delete.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_nvme.c_lpfc_nvme_localport_delete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KERN_INFO = common local_unnamed_addr global i32 0, align 4
@LOG_NVME = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"6173 localport x%px delete complete\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lpfc_nvme_localport_delete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lpfc_nvme_localport_delete(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 = load i32, ptr @KERN_INFO, align 4, !tbaa !14
%6 = load i32, ptr @LOG_NVME, align 4, !tbaa !14
%7 = tail call i32 @lpfc_printf_vlog(ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %2) #2
%8 = load ptr, ptr %3, align 8, !tbaa !11
%9 = load i64, ptr %8, align 8, !tbaa !15
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load i32, ptr %2, align 8, !tbaa !18
%13 = tail call i32 @complete(i32 noundef %12) #2
br label %14
14: ; preds = %11, %1
ret void
}
declare i32 @lpfc_printf_vlog(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"nvme_fc_local_port", !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 = !{!"lpfc_nvme_lport", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_2__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!12, !13, i64 0}
|
linux_drivers_scsi_lpfc_extr_lpfc_nvme.c_lpfc_nvme_localport_delete
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_matchdid.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_matchdid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@Bcast_DID = dso_local local_unnamed_addr global i64 0, align 8
@LPFC_TOPOLOGY_LOOP = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_matchdid], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @lpfc_matchdid(ptr nocapture readnone %0, ptr nocapture readnone %1, i64 noundef %2) #0 {
%4 = load i64, ptr @Bcast_DID, align 8, !tbaa !5
%5 = icmp ne i64 %4, %2
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_matchdid.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_matchdid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Bcast_DID = common local_unnamed_addr global i64 0, align 8
@LPFC_TOPOLOGY_LOOP = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @lpfc_matchdid], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @lpfc_matchdid(ptr nocapture readnone %0, ptr nocapture readnone %1, i64 noundef %2) #0 {
%4 = load i64, ptr @Bcast_DID, align 8, !tbaa !6
%5 = icmp ne i64 %4, %2
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_scsi_lpfc_extr_lpfc_hbadisc.c_lpfc_matchdid
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/hardware/extr_hwgpe.c_AcpiHwEnableAllRuntimeGpes.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/hardware/extr_hwgpe.c_AcpiHwEnableAllRuntimeGpes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HwEnableAllRuntimeGpes = dso_local local_unnamed_addr global i32 0, align 4
@AcpiHwEnableRuntimeGpeBlock = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @AcpiHwEnableAllRuntimeGpes() local_unnamed_addr #0 {
%1 = load i32, ptr @HwEnableAllRuntimeGpes, align 4, !tbaa !5
%2 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %1) #2
%3 = load i32, ptr @AcpiHwEnableRuntimeGpeBlock, align 4, !tbaa !5
%4 = tail call i32 @AcpiEvWalkGpeList(i32 noundef %3, ptr noundef null) #2
%5 = tail call i32 @return_ACPI_STATUS(i32 noundef %4) #2
ret i32 undef
}
declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiEvWalkGpeList(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/hardware/extr_hwgpe.c_AcpiHwEnableAllRuntimeGpes.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/hardware/extr_hwgpe.c_AcpiHwEnableAllRuntimeGpes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HwEnableAllRuntimeGpes = common local_unnamed_addr global i32 0, align 4
@AcpiHwEnableRuntimeGpeBlock = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @AcpiHwEnableAllRuntimeGpes() local_unnamed_addr #0 {
%1 = load i32, ptr @HwEnableAllRuntimeGpes, align 4, !tbaa !6
%2 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %1) #2
%3 = load i32, ptr @AcpiHwEnableRuntimeGpeBlock, align 4, !tbaa !6
%4 = tail call i32 @AcpiEvWalkGpeList(i32 noundef %3, ptr noundef null) #2
%5 = tail call i32 @return_ACPI_STATUS(i32 noundef %4) #2
ret i32 undef
}
declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiEvWalkGpeList(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_contrib_dev_acpica_components_hardware_extr_hwgpe.c_AcpiHwEnableAllRuntimeGpes
|
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_meta.c_nft_meta_set_validate.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_meta.c_nft_meta_set_validate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nft_ctx = type { i32, i32 }
@NFT_META_PKTTYPE = dso_local local_unnamed_addr global i64 0, align 8
@NF_BR_PRE_ROUTING = dso_local local_unnamed_addr global i32 0, align 4
@NF_NETDEV_INGRESS = dso_local local_unnamed_addr global i32 0, align 4
@NF_INET_PRE_ROUTING = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@switch.table.nft_meta_set_validate = private unnamed_addr constant [5 x ptr] [ptr @NF_NETDEV_INGRESS, ptr @NF_INET_PRE_ROUTING, ptr @NF_INET_PRE_ROUTING, ptr @NF_INET_PRE_ROUTING, ptr @NF_BR_PRE_ROUTING], align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @nft_meta_set_validate(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %1) #2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr @NFT_META_PKTTYPE, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = add i32 %9, -128
%11 = icmp ult i32 %10, 5
br i1 %11, label %15, label %12
12: ; preds = %8
%13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !14
%14 = sub nsw i32 0, %13
br label %24
15: ; preds = %8
%16 = zext nneg i32 %10 to i64
%17 = getelementptr inbounds [5 x ptr], ptr @switch.table.nft_meta_set_validate, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = shl nuw i32 1, %19
%21 = getelementptr inbounds %struct.nft_ctx, ptr %0, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @nft_chain_validate_hooks(i32 noundef %22, i32 noundef %20) #2
br label %24
24: ; preds = %3, %15, %12
%25 = phi i32 [ %14, %12 ], [ %23, %15 ], [ 0, %3 ]
ret i32 %25
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_chain_validate_hooks(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 = !{!"nft_meta", !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, !13, i64 0}
!12 = !{!"nft_ctx", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
|
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_meta.c_nft_meta_set_validate.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_meta.c_nft_meta_set_validate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFT_META_PKTTYPE = common local_unnamed_addr global i64 0, align 8
@NF_BR_PRE_ROUTING = common local_unnamed_addr global i32 0, align 4
@NF_NETDEV_INGRESS = common local_unnamed_addr global i32 0, align 4
@NF_INET_PRE_ROUTING = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@switch.table.nft_meta_set_validate = private unnamed_addr constant [5 x ptr] [ptr @NF_NETDEV_INGRESS, ptr @NF_INET_PRE_ROUTING, ptr @NF_INET_PRE_ROUTING, ptr @NF_INET_PRE_ROUTING, ptr @NF_BR_PRE_ROUTING], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nft_meta_set_validate(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %1) #2
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr @NFT_META_PKTTYPE, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !12
%10 = add i32 %9, -128
%11 = icmp ult i32 %10, 5
br i1 %11, label %15, label %12
12: ; preds = %8
%13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !15
%14 = sub nsw i32 0, %13
br label %24
15: ; preds = %8
%16 = zext nneg i32 %10 to i64
%17 = getelementptr inbounds [5 x ptr], ptr @switch.table.nft_meta_set_validate, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = shl nuw i32 1, %19
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @nft_chain_validate_hooks(i32 noundef %22, i32 noundef %20) #2
br label %24
24: ; preds = %3, %15, %12
%25 = phi i32 [ %14, %12 ], [ %23, %15 ], [ 0, %3 ]
ret i32 %25
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_chain_validate_hooks(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 = !{!"nft_meta", !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, !14, i64 0}
!13 = !{!"nft_ctx", !14, i64 0, !14, i64 4}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 4}
|
linux_net_netfilter_extr_nft_meta.c_nft_meta_set_validate
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_sb1250-mac.c_sbmac_set_duplex.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_sb1250-mac.c_sbmac_set_duplex.c"
target datalayout = "e-m:e-p270:32:32-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.sbmac_softc = type { i32, i32, i64, i32 }
@sbmac_state_on = dso_local local_unnamed_addr global i64 0, align 8
@M_MAC_FC_SEL = dso_local local_unnamed_addr global i32 0, align 4
@M_MAC_FC_CMD = dso_local local_unnamed_addr global i32 0, align 4
@M_MAC_HDX_EN = dso_local local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_ENAB_FALSECARR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sbmac_set_duplex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sbmac_set_duplex(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
store i32 %1, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.sbmac_softc, ptr %0, i64 0, i32 1
store i32 %2, ptr %4, align 4, !tbaa !11
%5 = getelementptr inbounds %struct.sbmac_softc, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @sbmac_state_on, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
br i1 %8, label %40, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.sbmac_softc, ptr %0, i64 0, i32 3
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @__raw_readq(i32 noundef %11) #2
%13 = load i32, ptr @M_MAC_FC_SEL, align 4, !tbaa !15
%14 = load i32, ptr @M_MAC_FC_CMD, align 4, !tbaa !15
%15 = or i32 %14, %13
%16 = load i32, ptr @M_MAC_HDX_EN, align 4, !tbaa !15
%17 = or i32 %15, %16
%18 = xor i32 %17, -1
%19 = and i32 %12, %18
switch i32 %1, label %40 [
i32 132, label %20
i32 133, label %30
]
20: ; preds = %9
switch i32 %2, label %40 [
i32 129, label %21
i32 130, label %24
i32 131, label %27
]
21: ; preds = %20
%22 = load i32, ptr @V_MAC_FC_CMD_DISABLED, align 4, !tbaa !15
%23 = or i32 %22, %16
br label %35
24: ; preds = %20
%25 = load i32, ptr @V_MAC_FC_CMD_ENABLED, align 4, !tbaa !15
%26 = or i32 %25, %16
br label %35
27: ; preds = %20
%28 = load i32, ptr @V_MAC_FC_CMD_ENAB_FALSECARR, align 4, !tbaa !15
%29 = or i32 %28, %16
br label %35
30: ; preds = %9
switch i32 %2, label %40 [
i32 129, label %31
i32 128, label %33
]
31: ; preds = %30
%32 = load i32, ptr @V_MAC_FC_CMD_DISABLED, align 4, !tbaa !15
br label %35
33: ; preds = %30
%34 = load i32, ptr @V_MAC_FC_CMD_ENABLED, align 4, !tbaa !15
br label %35
35: ; preds = %31, %33, %21, %24, %27
%36 = phi i32 [ %34, %33 ], [ %32, %31 ], [ %29, %27 ], [ %26, %24 ], [ %23, %21 ]
%37 = or i32 %36, %19
%38 = load i32, ptr %10, align 8, !tbaa !14
%39 = tail call i32 @__raw_writeq(i32 noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %9, %30, %20, %3, %35
%41 = phi i32 [ 1, %35 ], [ 0, %3 ], [ 0, %20 ], [ 0, %30 ], [ 0, %9 ]
ret i32 %41
}
declare i32 @__raw_readq(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_writeq(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 = !{!"sbmac_softc", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_sb1250-mac.c_sbmac_set_duplex.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_sb1250-mac.c_sbmac_set_duplex.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sbmac_state_on = common local_unnamed_addr global i64 0, align 8
@M_MAC_FC_SEL = common local_unnamed_addr global i32 0, align 4
@M_MAC_FC_CMD = common local_unnamed_addr global i32 0, align 4
@M_MAC_HDX_EN = common local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_DISABLED = common local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_ENABLED = common local_unnamed_addr global i32 0, align 4
@V_MAC_FC_CMD_ENAB_FALSECARR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sbmac_set_duplex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @sbmac_set_duplex(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
store i32 %1, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %2, ptr %4, align 4, !tbaa !12
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @sbmac_state_on, align 8, !tbaa !14
%8 = icmp eq i64 %6, %7
br i1 %8, label %40, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !15
%12 = tail call i32 @__raw_readq(i32 noundef %11) #2
%13 = load i32, ptr @M_MAC_FC_SEL, align 4, !tbaa !16
%14 = load i32, ptr @M_MAC_FC_CMD, align 4, !tbaa !16
%15 = or i32 %14, %13
%16 = load i32, ptr @M_MAC_HDX_EN, align 4, !tbaa !16
%17 = or i32 %15, %16
%18 = xor i32 %17, -1
%19 = and i32 %12, %18
switch i32 %1, label %40 [
i32 132, label %20
i32 133, label %30
]
20: ; preds = %9
switch i32 %2, label %40 [
i32 129, label %21
i32 130, label %24
i32 131, label %27
]
21: ; preds = %20
%22 = load i32, ptr @V_MAC_FC_CMD_DISABLED, align 4, !tbaa !16
%23 = or i32 %22, %16
br label %35
24: ; preds = %20
%25 = load i32, ptr @V_MAC_FC_CMD_ENABLED, align 4, !tbaa !16
%26 = or i32 %25, %16
br label %35
27: ; preds = %20
%28 = load i32, ptr @V_MAC_FC_CMD_ENAB_FALSECARR, align 4, !tbaa !16
%29 = or i32 %28, %16
br label %35
30: ; preds = %9
switch i32 %2, label %40 [
i32 129, label %31
i32 128, label %33
]
31: ; preds = %30
%32 = load i32, ptr @V_MAC_FC_CMD_DISABLED, align 4, !tbaa !16
br label %35
33: ; preds = %30
%34 = load i32, ptr @V_MAC_FC_CMD_ENABLED, align 4, !tbaa !16
br label %35
35: ; preds = %31, %33, %21, %24, %27
%36 = phi i32 [ %34, %33 ], [ %32, %31 ], [ %29, %27 ], [ %26, %24 ], [ %23, %21 ]
%37 = or i32 %36, %19
%38 = load i32, ptr %10, align 8, !tbaa !15
%39 = tail call i32 @__raw_writeq(i32 noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %9, %30, %20, %3, %35
%41 = phi i32 [ 1, %35 ], [ 0, %3 ], [ 0, %20 ], [ 0, %30 ], [ 0, %9 ]
ret i32 %41
}
declare i32 @__raw_readq(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_writeq(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 = !{!"sbmac_softc", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!8, !8, i64 0}
|
linux_drivers_net_ethernet_broadcom_extr_sb1250-mac.c_sbmac_set_duplex
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_vaguedenoiser.c_symmetric_extension.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_vaguedenoiser.c_symmetric_extension.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NPAD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @symmetric_extension], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @symmetric_extension(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @NPAD, align 4, !tbaa !5
%6 = add nsw i32 %5, -1
%7 = add nsw i32 %6, %1
%8 = icmp eq i32 %2, 2
br i1 %8, label %9, label %15
9: ; preds = %4
%10 = sext i32 %5 to i64
%11 = getelementptr inbounds float, ptr %0, i64 %10
%12 = load float, ptr %11, align 4, !tbaa !9
%13 = sext i32 %6 to i64
%14 = getelementptr inbounds float, ptr %0, i64 %13
store float %12, ptr %14, align 4, !tbaa !9
br label %15
15: ; preds = %9, %4
%16 = phi i32 [ %6, %9 ], [ %5, %4 ]
%17 = icmp eq i32 %3, 2
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds float, ptr %0, i64 %19
%21 = load float, ptr %20, align 4, !tbaa !9
%22 = add i32 %5, %1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %0, i64 %23
store float %21, ptr %24, align 4, !tbaa !9
br label %25
25: ; preds = %18, %15
%26 = phi i32 [ %22, %18 ], [ %7, %15 ]
%27 = icmp sgt i32 %16, 0
br i1 %27, label %28, label %79
28: ; preds = %25
%29 = zext nneg i32 %16 to i64
%30 = zext nneg i32 %16 to i64
%31 = sext i32 %5 to i64
%32 = getelementptr float, ptr %0, i64 %31
%33 = getelementptr float, ptr %32, i64 1
%34 = and i64 %30, 3
%35 = icmp ult i32 %16, 4
br i1 %35, label %64, label %36
36: ; preds = %28
%37 = and i64 %30, 2147483644
%38 = getelementptr float, ptr %0, i64 -1
%39 = getelementptr float, ptr %0, i64 -2
%40 = getelementptr float, ptr %0, i64 -3
br label %41
41: ; preds = %41, %36
%42 = phi i64 [ 0, %36 ], [ %61, %41 ]
%43 = phi i64 [ %29, %36 ], [ %59, %41 ]
%44 = phi i64 [ 0, %36 ], [ %62, %41 ]
%45 = getelementptr float, ptr %33, i64 %42
%46 = load float, ptr %45, align 4, !tbaa !9
%47 = getelementptr float, ptr %38, i64 %43
store float %46, ptr %47, align 4, !tbaa !9
%48 = or disjoint i64 %42, 1
%49 = getelementptr float, ptr %33, i64 %48
%50 = load float, ptr %49, align 4, !tbaa !9
%51 = getelementptr float, ptr %39, i64 %43
store float %50, ptr %51, align 4, !tbaa !9
%52 = or disjoint i64 %42, 2
%53 = getelementptr float, ptr %33, i64 %52
%54 = load float, ptr %53, align 4, !tbaa !9
%55 = getelementptr float, ptr %40, i64 %43
store float %54, ptr %55, align 4, !tbaa !9
%56 = or disjoint i64 %42, 3
%57 = getelementptr float, ptr %33, i64 %56
%58 = load float, ptr %57, align 4, !tbaa !9
%59 = add nsw i64 %43, -4
%60 = getelementptr inbounds float, ptr %0, i64 %59
store float %58, ptr %60, align 4, !tbaa !9
%61 = add nuw nsw i64 %42, 4
%62 = add i64 %44, 4
%63 = icmp eq i64 %62, %37
br i1 %63, label %64, label %41, !llvm.loop !11
64: ; preds = %41, %28
%65 = phi i64 [ 0, %28 ], [ %61, %41 ]
%66 = phi i64 [ %29, %28 ], [ %59, %41 ]
%67 = icmp eq i64 %34, 0
br i1 %67, label %79, label %68
68: ; preds = %64, %68
%69 = phi i64 [ %76, %68 ], [ %65, %64 ]
%70 = phi i64 [ %74, %68 ], [ %66, %64 ]
%71 = phi i64 [ %77, %68 ], [ 0, %64 ]
%72 = getelementptr float, ptr %33, i64 %69
%73 = load float, ptr %72, align 4, !tbaa !9
%74 = add nsw i64 %70, -1
%75 = getelementptr inbounds float, ptr %0, i64 %74
store float %73, ptr %75, align 4, !tbaa !9
%76 = add nuw nsw i64 %69, 1
%77 = add i64 %71, 1
%78 = icmp eq i64 %77, %34
br i1 %78, label %79, label %68, !llvm.loop !13
79: ; preds = %64, %68, %25
%80 = shl nsw i32 %5, 1
%81 = add i32 %1, -1
%82 = add i32 %81, %80
%83 = sub i32 %82, %26
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %129
85: ; preds = %79
%86 = sext i32 %26 to i64
%87 = zext nneg i32 %83 to i64
%88 = and i64 %87, 1
%89 = icmp eq i32 %83, 1
br i1 %89, label %118, label %90
90: ; preds = %85
%91 = and i64 %87, 2147483646
%92 = getelementptr float, ptr %0, i64 1
br label %93
93: ; preds = %93, %90
%94 = phi i64 [ %86, %90 ], [ %110, %93 ]
%95 = phi i64 [ 0, %90 ], [ %112, %93 ]
%96 = phi i64 [ 0, %90 ], [ %113, %93 ]
%97 = trunc i64 %95 to i32
%98 = xor i32 %97, -1
%99 = add i32 %7, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, ptr %0, i64 %100
%102 = load float, ptr %101, align 4, !tbaa !9
%103 = getelementptr float, ptr %92, i64 %94
store float %102, ptr %103, align 4, !tbaa !9
%104 = trunc i64 %95 to i32
%105 = xor i32 %104, -2
%106 = add i32 %7, %105
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds float, ptr %0, i64 %107
%109 = load float, ptr %108, align 4, !tbaa !9
%110 = add nsw i64 %94, 2
%111 = getelementptr inbounds float, ptr %0, i64 %110
store float %109, ptr %111, align 4, !tbaa !9
%112 = add nuw nsw i64 %95, 2
%113 = add i64 %96, 2
%114 = icmp eq i64 %113, %91
br i1 %114, label %115, label %93, !llvm.loop !15
115: ; preds = %93
%116 = trunc i64 %112 to i32
%117 = xor i32 %116, -1
br label %118
118: ; preds = %115, %85
%119 = phi i64 [ %86, %85 ], [ %110, %115 ]
%120 = phi i32 [ -1, %85 ], [ %117, %115 ]
%121 = icmp eq i64 %88, 0
br i1 %121, label %129, label %122
122: ; preds = %118
%123 = add i32 %7, %120
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds float, ptr %0, i64 %124
%126 = load float, ptr %125, align 4, !tbaa !9
%127 = getelementptr float, ptr %0, i64 %119
%128 = getelementptr float, ptr %127, i64 1
store float %126, ptr %128, align 4, !tbaa !9
br label %129
129: ; preds = %122, %118, %79
ret void
}
attributes #0 = { nofree norecurse nosync nounwind 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !12}
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_vaguedenoiser.c_symmetric_extension.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_vaguedenoiser.c_symmetric_extension.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NPAD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @symmetric_extension], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @symmetric_extension(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @NPAD, align 4, !tbaa !6
%6 = add nsw i32 %5, -1
%7 = add nsw i32 %6, %1
%8 = icmp eq i32 %2, 2
br i1 %8, label %9, label %15
9: ; preds = %4
%10 = sext i32 %5 to i64
%11 = getelementptr inbounds float, ptr %0, i64 %10
%12 = load float, ptr %11, align 4, !tbaa !10
%13 = sext i32 %6 to i64
%14 = getelementptr inbounds float, ptr %0, i64 %13
store float %12, ptr %14, align 4, !tbaa !10
br label %15
15: ; preds = %9, %4
%16 = phi i32 [ %6, %9 ], [ %5, %4 ]
%17 = icmp eq i32 %3, 2
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds float, ptr %0, i64 %19
%21 = load float, ptr %20, align 4, !tbaa !10
%22 = add i32 %5, %1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %0, i64 %23
store float %21, ptr %24, align 4, !tbaa !10
br label %25
25: ; preds = %18, %15
%26 = phi i32 [ %22, %18 ], [ %7, %15 ]
%27 = icmp sgt i32 %16, 0
br i1 %27, label %28, label %42
28: ; preds = %25
%29 = zext nneg i32 %16 to i64
%30 = sext i32 %5 to i64
%31 = getelementptr float, ptr %0, i64 %30
%32 = getelementptr i8, ptr %31, i64 4
br label %33
33: ; preds = %28, %33
%34 = phi i64 [ 0, %28 ], [ %40, %33 ]
%35 = phi i64 [ %29, %28 ], [ %38, %33 ]
%36 = getelementptr float, ptr %32, i64 %34
%37 = load float, ptr %36, align 4, !tbaa !10
%38 = add nsw i64 %35, -1
%39 = getelementptr inbounds float, ptr %0, i64 %38
store float %37, ptr %39, align 4, !tbaa !10
%40 = add nuw nsw i64 %34, 1
%41 = icmp eq i64 %40, %29
br i1 %41, label %42, label %33, !llvm.loop !12
42: ; preds = %33, %25
%43 = shl nsw i32 %5, 1
%44 = add i32 %1, -1
%45 = add i32 %44, %43
%46 = sub i32 %45, %26
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %64
48: ; preds = %42
%49 = sext i32 %26 to i64
%50 = zext nneg i32 %46 to i64
br label %51
51: ; preds = %48, %51
%52 = phi i64 [ %49, %48 ], [ %60, %51 ]
%53 = phi i64 [ 0, %48 ], [ %62, %51 ]
%54 = trunc i64 %53 to i32
%55 = xor i32 %54, -1
%56 = add i32 %7, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds float, ptr %0, i64 %57
%59 = load float, ptr %58, align 4, !tbaa !10
%60 = add nsw i64 %52, 1
%61 = getelementptr inbounds float, ptr %0, i64 %60
store float %59, ptr %61, align 4, !tbaa !10
%62 = add nuw nsw i64 %53, 1
%63 = icmp eq i64 %62, %50
br i1 %63, label %64, label %51, !llvm.loop !14
64: ; preds = %51, %42
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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, !11, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
|
FFmpeg_libavfilter_extr_vf_vaguedenoiser.c_symmetric_extension
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-helper-util.c___cvmx_helper_setup_gmx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-helper-util.c___cvmx_helper_setup_gmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CVMX_HELPER_INTERFACE_MODE_RGMII = dso_local local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_SGMII = dso_local local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_GMII = dso_local local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_XAUI = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [44 x i8] c"__cvmx_helper_setup_gmx: Illegal num_ports\0A\00", align 1
@OCTEON_CN30XX = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_CN31XX = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_CN50XX = dso_local local_unnamed_addr global i32 0, align 4
@CVMX_PKO_REG_GMX_PORT_MODE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @__cvmx_helper_setup_gmx(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @CVMX_GMXX_TX_PRTS(i32 noundef %0) #3
%4 = tail call ptr @cvmx_read_csr(i32 noundef %3) #3
%5 = ptrtoint ptr %4 to i64
%6 = zext i32 %1 to i64
%7 = and i64 %5, -4294967296
%8 = or disjoint i64 %7, %6
%9 = inttoptr i64 %8 to ptr
%10 = tail call i32 @CVMX_GMXX_TX_PRTS(i32 noundef %0) #3
%11 = tail call i32 @cvmx_write_csr(i32 noundef %10, ptr noundef %9) #3
%12 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%13 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_RGMII, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
br i1 %14, label %27, label %15
15: ; preds = %2
%16 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%17 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_SGMII, align 8, !tbaa !5
%18 = icmp eq i64 %16, %17
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%21 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_GMII, align 8, !tbaa !5
%22 = icmp eq i64 %20, %21
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%25 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_XAUI, align 8, !tbaa !5
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %23, %19, %15, %2
%28 = icmp sgt i32 %1, 4
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = tail call i32 @cvmx_dprintf(ptr noundef nonnull @.str) #3
br label %143
31: ; preds = %27
%32 = tail call i32 @CVMX_GMXX_RX_PRTS(i32 noundef %0) #3
%33 = tail call ptr @cvmx_read_csr(i32 noundef %32) #3
%34 = ptrtoint ptr %33 to i64
%35 = and i64 %34, -4294967296
%36 = or disjoint i64 %35, %6
%37 = inttoptr i64 %36 to ptr
%38 = tail call i32 @CVMX_GMXX_RX_PRTS(i32 noundef %0) #3
%39 = tail call i32 @cvmx_write_csr(i32 noundef %38, ptr noundef %37) #3
br label %40
40: ; preds = %31, %23
%41 = load i32, ptr @OCTEON_CN30XX, align 4, !tbaa !9
%42 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %103
44: ; preds = %40
%45 = load i32, ptr @OCTEON_CN31XX, align 4, !tbaa !9
%46 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %45) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %103
48: ; preds = %44
%49 = load i32, ptr @OCTEON_CN50XX, align 4, !tbaa !9
%50 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %49) #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %103
52: ; preds = %48
%53 = load i32, ptr @CVMX_PKO_REG_GMX_PORT_MODE, align 4, !tbaa !9
%54 = tail call ptr @cvmx_read_csr(i32 noundef %53) #3
%55 = icmp eq i32 %0, 0
br i1 %55, label %56, label %77
56: ; preds = %52
switch i32 %1, label %65 [
i32 1, label %57
i32 2, label %61
]
57: ; preds = %56
%58 = ptrtoint ptr %54 to i64
%59 = and i64 %58, -4294967296
%60 = or disjoint i64 %59, 4
br label %98
61: ; preds = %56
%62 = ptrtoint ptr %54 to i64
%63 = and i64 %62, -4294967296
%64 = or disjoint i64 %63, 3
br label %98
65: ; preds = %56
%66 = icmp slt i32 %1, 5
br i1 %66, label %67, label %71
67: ; preds = %65
%68 = ptrtoint ptr %54 to i64
%69 = and i64 %68, -4294967296
%70 = or disjoint i64 %69, 2
br label %98
71: ; preds = %65
%72 = icmp ult i32 %1, 9
%73 = ptrtoint ptr %54 to i64
%74 = and i64 %73, -4294967296
%75 = zext i1 %72 to i64
%76 = or disjoint i64 %74, %75
br label %98
77: ; preds = %52
switch i32 %1, label %86 [
i32 1, label %78
i32 2, label %82
]
78: ; preds = %77
%79 = ptrtoint ptr %54 to i64
%80 = and i64 %79, 4294967295
%81 = or disjoint i64 %80, 17179869184
br label %98
82: ; preds = %77
%83 = ptrtoint ptr %54 to i64
%84 = and i64 %83, 4294967295
%85 = or disjoint i64 %84, 12884901888
br label %98
86: ; preds = %77
%87 = icmp slt i32 %1, 5
br i1 %87, label %88, label %92
88: ; preds = %86
%89 = ptrtoint ptr %54 to i64
%90 = and i64 %89, 4294967295
%91 = or disjoint i64 %90, 8589934592
br label %98
92: ; preds = %86
%93 = icmp ult i32 %1, 9
%94 = ptrtoint ptr %54 to i64
%95 = and i64 %94, 4294967295
%96 = or disjoint i64 %95, 4294967296
%97 = select i1 %93, i64 %96, i64 %95
br label %98
98: ; preds = %92, %71, %78, %88, %82, %57, %67, %61
%99 = phi i64 [ %60, %57 ], [ %64, %61 ], [ %70, %67 ], [ %81, %78 ], [ %85, %82 ], [ %91, %88 ], [ %76, %71 ], [ %97, %92 ]
%100 = inttoptr i64 %99 to ptr
%101 = load i32, ptr @CVMX_PKO_REG_GMX_PORT_MODE, align 4, !tbaa !9
%102 = tail call i32 @cvmx_write_csr(i32 noundef %101, ptr noundef %100) #3
br label %103
103: ; preds = %98, %48, %44, %40
%104 = tail call i32 @CVMX_GMXX_TXX_THRESH(i32 noundef 0, i32 noundef %0) #3
%105 = tail call ptr @cvmx_read_csr(i32 noundef %104) #3
%106 = load i32, ptr @OCTEON_CN30XX, align 4, !tbaa !9
%107 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %106) #3
%108 = icmp eq i64 %107, 0
br i1 %108, label %109, label %126
109: ; preds = %103
%110 = load i32, ptr @OCTEON_CN31XX, align 4, !tbaa !9
%111 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %110) #3
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %126
113: ; preds = %109
%114 = load i32, ptr @OCTEON_CN50XX, align 4, !tbaa !9
%115 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %114) #3
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %126
117: ; preds = %113
%118 = icmp slt i32 %1, 2
br i1 %118, label %126, label %119
119: ; preds = %117
%120 = icmp eq i32 %1, 2
%121 = ptrtoint ptr %105 to i64
%122 = and i64 %121, -4294967296
%123 = select i1 %120, i64 128, i64 64
%124 = or disjoint i64 %122, %123
%125 = tail call i32 @llvm.smin.i32(i32 %1, i32 4)
br label %133
126: ; preds = %117, %103, %109, %113
%127 = phi i64 [ 64, %113 ], [ 64, %109 ], [ 64, %103 ], [ 256, %117 ]
%128 = ptrtoint ptr %105 to i64
%129 = and i64 %128, -4294967296
%130 = or disjoint i64 %129, %127
%131 = tail call i32 @llvm.smin.i32(i32 %1, i32 4)
%132 = icmp sgt i32 %1, 0
br i1 %132, label %133, label %143
133: ; preds = %119, %126
%134 = phi i32 [ %125, %119 ], [ %131, %126 ]
%135 = phi i64 [ %124, %119 ], [ %130, %126 ]
%136 = inttoptr i64 %135 to ptr
br label %137
137: ; preds = %133, %137
%138 = phi i32 [ %141, %137 ], [ 0, %133 ]
%139 = tail call i32 @CVMX_GMXX_TXX_THRESH(i32 noundef %138, i32 noundef %0) #3
%140 = tail call i32 @cvmx_write_csr(i32 noundef %139, ptr noundef nonnull %136) #3
%141 = add nuw nsw i32 %138, 1
%142 = icmp eq i32 %141, %134
br i1 %142, label %143, label %137, !llvm.loop !11
143: ; preds = %137, %126, %29
%144 = phi i32 [ -1, %29 ], [ 0, %126 ], [ 0, %137 ]
ret i32 %144
}
declare ptr @cvmx_read_csr(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_TX_PRTS(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @cvmx_helper_interface_get_mode(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_dprintf(ptr noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_RX_PRTS(i32 noundef) local_unnamed_addr #1
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_TXX_THRESH(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-helper-util.c___cvmx_helper_setup_gmx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-helper-util.c___cvmx_helper_setup_gmx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CVMX_HELPER_INTERFACE_MODE_RGMII = common local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_SGMII = common local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_GMII = common local_unnamed_addr global i64 0, align 8
@CVMX_HELPER_INTERFACE_MODE_XAUI = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [44 x i8] c"__cvmx_helper_setup_gmx: Illegal num_ports\0A\00", align 1
@OCTEON_CN30XX = common local_unnamed_addr global i32 0, align 4
@OCTEON_CN31XX = common local_unnamed_addr global i32 0, align 4
@OCTEON_CN50XX = common local_unnamed_addr global i32 0, align 4
@CVMX_PKO_REG_GMX_PORT_MODE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @__cvmx_helper_setup_gmx(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @CVMX_GMXX_TX_PRTS(i32 noundef %0) #3
%4 = tail call ptr @cvmx_read_csr(i32 noundef %3) #3
%5 = ptrtoint ptr %4 to i64
%6 = zext i32 %1 to i64
%7 = and i64 %5, -4294967296
%8 = or disjoint i64 %7, %6
%9 = inttoptr i64 %8 to ptr
%10 = tail call i32 @CVMX_GMXX_TX_PRTS(i32 noundef %0) #3
%11 = tail call i32 @cvmx_write_csr(i32 noundef %10, ptr noundef %9) #3
%12 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%13 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_RGMII, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
br i1 %14, label %27, label %15
15: ; preds = %2
%16 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%17 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_SGMII, align 8, !tbaa !6
%18 = icmp eq i64 %16, %17
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%21 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_GMII, align 8, !tbaa !6
%22 = icmp eq i64 %20, %21
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = tail call i64 @cvmx_helper_interface_get_mode(i32 noundef %0) #3
%25 = load i64, ptr @CVMX_HELPER_INTERFACE_MODE_XAUI, align 8, !tbaa !6
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %23, %19, %15, %2
%28 = icmp sgt i32 %1, 4
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = tail call i32 @cvmx_dprintf(ptr noundef nonnull @.str) #3
br label %143
31: ; preds = %27
%32 = tail call i32 @CVMX_GMXX_RX_PRTS(i32 noundef %0) #3
%33 = tail call ptr @cvmx_read_csr(i32 noundef %32) #3
%34 = ptrtoint ptr %33 to i64
%35 = and i64 %34, -4294967296
%36 = or disjoint i64 %35, %6
%37 = inttoptr i64 %36 to ptr
%38 = tail call i32 @CVMX_GMXX_RX_PRTS(i32 noundef %0) #3
%39 = tail call i32 @cvmx_write_csr(i32 noundef %38, ptr noundef %37) #3
br label %40
40: ; preds = %31, %23
%41 = load i32, ptr @OCTEON_CN30XX, align 4, !tbaa !10
%42 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %103
44: ; preds = %40
%45 = load i32, ptr @OCTEON_CN31XX, align 4, !tbaa !10
%46 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %45) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %103
48: ; preds = %44
%49 = load i32, ptr @OCTEON_CN50XX, align 4, !tbaa !10
%50 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %49) #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %103
52: ; preds = %48
%53 = load i32, ptr @CVMX_PKO_REG_GMX_PORT_MODE, align 4, !tbaa !10
%54 = tail call ptr @cvmx_read_csr(i32 noundef %53) #3
%55 = icmp eq i32 %0, 0
br i1 %55, label %56, label %77
56: ; preds = %52
switch i32 %1, label %65 [
i32 1, label %57
i32 2, label %61
]
57: ; preds = %56
%58 = ptrtoint ptr %54 to i64
%59 = and i64 %58, -4294967296
%60 = or disjoint i64 %59, 4
br label %98
61: ; preds = %56
%62 = ptrtoint ptr %54 to i64
%63 = and i64 %62, -4294967296
%64 = or disjoint i64 %63, 3
br label %98
65: ; preds = %56
%66 = icmp slt i32 %1, 5
br i1 %66, label %67, label %71
67: ; preds = %65
%68 = ptrtoint ptr %54 to i64
%69 = and i64 %68, -4294967296
%70 = or disjoint i64 %69, 2
br label %98
71: ; preds = %65
%72 = icmp ult i32 %1, 9
%73 = ptrtoint ptr %54 to i64
%74 = and i64 %73, -4294967296
%75 = zext i1 %72 to i64
%76 = or disjoint i64 %74, %75
br label %98
77: ; preds = %52
switch i32 %1, label %86 [
i32 1, label %78
i32 2, label %82
]
78: ; preds = %77
%79 = ptrtoint ptr %54 to i64
%80 = and i64 %79, 4294967295
%81 = or disjoint i64 %80, 17179869184
br label %98
82: ; preds = %77
%83 = ptrtoint ptr %54 to i64
%84 = and i64 %83, 4294967295
%85 = or disjoint i64 %84, 12884901888
br label %98
86: ; preds = %77
%87 = icmp slt i32 %1, 5
br i1 %87, label %88, label %92
88: ; preds = %86
%89 = ptrtoint ptr %54 to i64
%90 = and i64 %89, 4294967295
%91 = or disjoint i64 %90, 8589934592
br label %98
92: ; preds = %86
%93 = icmp ult i32 %1, 9
%94 = ptrtoint ptr %54 to i64
%95 = and i64 %94, 4294967295
%96 = or disjoint i64 %95, 4294967296
%97 = select i1 %93, i64 %96, i64 %95
br label %98
98: ; preds = %92, %71, %78, %88, %82, %57, %67, %61
%99 = phi i64 [ %60, %57 ], [ %64, %61 ], [ %70, %67 ], [ %81, %78 ], [ %85, %82 ], [ %91, %88 ], [ %76, %71 ], [ %97, %92 ]
%100 = inttoptr i64 %99 to ptr
%101 = load i32, ptr @CVMX_PKO_REG_GMX_PORT_MODE, align 4, !tbaa !10
%102 = tail call i32 @cvmx_write_csr(i32 noundef %101, ptr noundef %100) #3
br label %103
103: ; preds = %98, %48, %44, %40
%104 = tail call i32 @CVMX_GMXX_TXX_THRESH(i32 noundef 0, i32 noundef %0) #3
%105 = tail call ptr @cvmx_read_csr(i32 noundef %104) #3
%106 = load i32, ptr @OCTEON_CN30XX, align 4, !tbaa !10
%107 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %106) #3
%108 = icmp eq i64 %107, 0
br i1 %108, label %109, label %126
109: ; preds = %103
%110 = load i32, ptr @OCTEON_CN31XX, align 4, !tbaa !10
%111 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %110) #3
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %126
113: ; preds = %109
%114 = load i32, ptr @OCTEON_CN50XX, align 4, !tbaa !10
%115 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %114) #3
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %126
117: ; preds = %113
%118 = icmp slt i32 %1, 2
br i1 %118, label %126, label %119
119: ; preds = %117
%120 = icmp eq i32 %1, 2
%121 = ptrtoint ptr %105 to i64
%122 = and i64 %121, -4294967296
%123 = select i1 %120, i64 128, i64 64
%124 = or disjoint i64 %122, %123
%125 = tail call i32 @llvm.umin.i32(i32 %1, i32 4)
br label %133
126: ; preds = %117, %103, %109, %113
%127 = phi i64 [ 64, %113 ], [ 64, %109 ], [ 64, %103 ], [ 256, %117 ]
%128 = ptrtoint ptr %105 to i64
%129 = and i64 %128, -4294967296
%130 = or disjoint i64 %129, %127
%131 = tail call i32 @llvm.umin.i32(i32 %1, i32 4)
%132 = icmp sgt i32 %1, 0
br i1 %132, label %133, label %143
133: ; preds = %119, %126
%134 = phi i32 [ %125, %119 ], [ %131, %126 ]
%135 = phi i64 [ %124, %119 ], [ %130, %126 ]
%136 = inttoptr i64 %135 to ptr
br label %137
137: ; preds = %133, %137
%138 = phi i32 [ %141, %137 ], [ 0, %133 ]
%139 = tail call i32 @CVMX_GMXX_TXX_THRESH(i32 noundef %138, i32 noundef %0) #3
%140 = tail call i32 @cvmx_write_csr(i32 noundef %139, ptr noundef nonnull %136) #3
%141 = add nuw nsw i32 %138, 1
%142 = icmp eq i32 %141, %134
br i1 %142, label %143, label %137, !llvm.loop !12
143: ; preds = %137, %126, %29
%144 = phi i32 [ -1, %29 ], [ 0, %126 ], [ 0, %137 ]
ret i32 %144
}
declare ptr @cvmx_read_csr(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_TX_PRTS(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @cvmx_helper_interface_get_mode(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_dprintf(ptr noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_RX_PRTS(i32 noundef) local_unnamed_addr #1
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_GMXX_TXX_THRESH(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_staging_octeon_extr_cvmx-helper-util.c___cvmx_helper_setup_gmx
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_flogi_resp.c'
source_filename = "AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_flogi_resp.c"
target datalayout = "e-m:e-p270:32:32-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.qedf_ctx = type { i32, i32, i32 }
@.str = private unnamed_addr constant [15 x i8] c"qedf is NULL.\0A\00", align 1
@QEDF_LOG_ELS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fp has IS_ERR() set.\0A\00", align 1
@ELS_LS_RJT = dso_local local_unnamed_addr global i64 0, align 8
@ELS_LS_ACC = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @qedf_flogi_resp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qedf_flogi_resp(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @fc_seq_exch(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call ptr @lport_priv(ptr noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @QEDF_ERR(ptr noundef null, ptr noundef nonnull @.str) #2
br label %35
10: ; preds = %3
%11 = tail call i64 @IS_ERR(ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %10
%14 = getelementptr inbounds %struct.qedf_ctx, ptr %6, i64 0, i32 2
%15 = load i32, ptr @QEDF_LOG_ELS, align 4, !tbaa !10
%16 = tail call i32 @QEDF_INFO(ptr noundef nonnull %14, i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %33
17: ; preds = %10
%18 = tail call i64 @fc_frame_payload_op(ptr noundef %1) #2
%19 = load i64, ptr @ELS_LS_RJT, align 8, !tbaa !12
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = getelementptr inbounds %struct.qedf_ctx, ptr %6, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = add nsw i32 %23, 1
store i32 %24, ptr %22, align 4, !tbaa !14
br label %31
25: ; preds = %17
%26 = tail call i64 @fc_frame_payload_op(ptr noundef %1) #2
%27 = load i64, ptr @ELS_LS_ACC, align 8, !tbaa !12
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = tail call i32 @qedf_set_data_src_addr(ptr noundef nonnull %6, ptr noundef %1) #2
br label %31
31: ; preds = %25, %29, %21
%32 = tail call i32 @complete(ptr noundef nonnull %6) #2
br label %33
33: ; preds = %31, %13
%34 = tail call i32 @fc_lport_flogi_resp(ptr noundef %0, ptr noundef %1, ptr noundef %5) #2
br label %35
35: ; preds = %33, %8
ret void
}
declare ptr @fc_seq_exch(ptr noundef) local_unnamed_addr #1
declare ptr @lport_priv(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_ERR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_INFO(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @fc_frame_payload_op(ptr noundef) local_unnamed_addr #1
declare i32 @qedf_set_data_src_addr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @fc_lport_flogi_resp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fc_exch", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !11, i64 4}
!15 = !{!"qedf_ctx", !11, i64 0, !11, i64 4, !11, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_flogi_resp.c'
source_filename = "AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_flogi_resp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [15 x i8] c"qedf is NULL.\0A\00", align 1
@QEDF_LOG_ELS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fp has IS_ERR() set.\0A\00", align 1
@ELS_LS_RJT = common local_unnamed_addr global i64 0, align 8
@ELS_LS_ACC = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @qedf_flogi_resp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qedf_flogi_resp(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @fc_seq_exch(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call ptr @lport_priv(ptr noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @QEDF_ERR(ptr noundef null, ptr noundef nonnull @.str) #2
br label %35
10: ; preds = %3
%11 = tail call i64 @IS_ERR(ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %6, i64 8
%15 = load i32, ptr @QEDF_LOG_ELS, align 4, !tbaa !11
%16 = tail call i32 @QEDF_INFO(ptr noundef nonnull %14, i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %33
17: ; preds = %10
%18 = tail call i64 @fc_frame_payload_op(ptr noundef %1) #2
%19 = load i64, ptr @ELS_LS_RJT, align 8, !tbaa !13
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %6, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = add nsw i32 %23, 1
store i32 %24, ptr %22, align 4, !tbaa !15
br label %31
25: ; preds = %17
%26 = tail call i64 @fc_frame_payload_op(ptr noundef %1) #2
%27 = load i64, ptr @ELS_LS_ACC, align 8, !tbaa !13
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = tail call i32 @qedf_set_data_src_addr(ptr noundef nonnull %6, ptr noundef %1) #2
br label %31
31: ; preds = %25, %29, %21
%32 = tail call i32 @complete(ptr noundef nonnull %6) #2
br label %33
33: ; preds = %31, %13
%34 = tail call i32 @fc_lport_flogi_resp(ptr noundef %0, ptr noundef %1, ptr noundef %5) #2
br label %35
35: ; preds = %33, %8
ret void
}
declare ptr @fc_seq_exch(ptr noundef) local_unnamed_addr #1
declare ptr @lport_priv(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_ERR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_INFO(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @fc_frame_payload_op(ptr noundef) local_unnamed_addr #1
declare i32 @qedf_set_data_src_addr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @fc_lport_flogi_resp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fc_exch", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !12, i64 4}
!16 = !{!"qedf_ctx", !12, i64 0, !12, i64 4, !12, i64 8}
|
linux_drivers_scsi_qedf_extr_qedf_main.c_qedf_flogi_resp
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_hdcp2_read_rx_status.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_hdcp2_read_rx_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HDCP_2_2_HDMI_REG_RXSTATUS_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@HDCP_2_2_HDMI_RXSTATUS_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_hdmi_hdcp2_read_rx_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @intel_hdmi_hdcp2_read_rx_status(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @HDCP_2_2_HDMI_REG_RXSTATUS_OFFSET, align 4, !tbaa !5
%4 = load i32, ptr @HDCP_2_2_HDMI_RXSTATUS_LEN, align 4, !tbaa !5
%5 = tail call i32 @intel_hdmi_hdcp_read(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef %4) #2
ret i32 %5
}
declare i32 @intel_hdmi_hdcp_read(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_hdcp2_read_rx_status.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_hdcp2_read_rx_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HDCP_2_2_HDMI_REG_RXSTATUS_OFFSET = common local_unnamed_addr global i32 0, align 4
@HDCP_2_2_HDMI_RXSTATUS_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_hdmi_hdcp2_read_rx_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @intel_hdmi_hdcp2_read_rx_status(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @HDCP_2_2_HDMI_REG_RXSTATUS_OFFSET, align 4, !tbaa !6
%4 = load i32, ptr @HDCP_2_2_HDMI_RXSTATUS_LEN, align 4, !tbaa !6
%5 = tail call i32 @intel_hdmi_hdcp_read(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef %4) #2
ret i32 %5
}
declare i32 @intel_hdmi_hdcp_read(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_i915_display_extr_intel_hdmi.c_intel_hdmi_hdcp2_read_rx_status
|
; ModuleID = 'AnghaBench/linux/drivers/w1/masters/extr_ds2482.c_ds2482_w1_read_byte.c'
source_filename = "AnghaBench/linux/drivers/w1/masters/extr_ds2482.c_ds2482_w1_read_byte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ds2482_w1_chan = type { i32, ptr }
%struct.ds2482_data = type { i32, i32, i32 }
@DS2482_CMD_1WIRE_READ_BYTE = dso_local local_unnamed_addr global i32 0, align 4
@DS2482_PTR_CODE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ds2482_w1_read_byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ds2482_w1_read_byte(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.ds2482_w1_chan, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ds2482_data, ptr %3, i64 0, i32 1
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #2
%6 = tail call i32 @ds2482_wait_1wire_idle(ptr noundef %3) #2
%7 = load i32, ptr %3, align 4, !tbaa !11
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !13
%11 = tail call i32 @ds2482_set_channel(ptr noundef nonnull %3, i32 noundef %10) #2
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr @DS2482_CMD_1WIRE_READ_BYTE, align 4, !tbaa !14
%14 = tail call i32 @ds2482_send_cmd(ptr noundef nonnull %3, i32 noundef %13) #2
%15 = tail call i32 @ds2482_wait_1wire_idle(ptr noundef nonnull %3) #2
%16 = load i32, ptr @DS2482_PTR_CODE_DATA, align 4, !tbaa !14
%17 = tail call i32 @ds2482_select_register(ptr noundef nonnull %3, i32 noundef %16) #2
%18 = getelementptr inbounds %struct.ds2482_data, ptr %3, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = tail call i32 @i2c_smbus_read_byte(i32 noundef %19) #2
%21 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2
ret i32 %20
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ds2482_wait_1wire_idle(ptr noundef) local_unnamed_addr #1
declare i32 @ds2482_set_channel(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ds2482_send_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ds2482_select_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_byte(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, !10, i64 8}
!6 = !{!"ds2482_w1_chan", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"ds2482_data", !7, i64 0, !7, i64 4, !7, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !7, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/w1/masters/extr_ds2482.c_ds2482_w1_read_byte.c'
source_filename = "AnghaBench/linux/drivers/w1/masters/extr_ds2482.c_ds2482_w1_read_byte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DS2482_CMD_1WIRE_READ_BYTE = common local_unnamed_addr global i32 0, align 4
@DS2482_PTR_CODE_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ds2482_w1_read_byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ds2482_w1_read_byte(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #2
%6 = tail call i32 @ds2482_wait_1wire_idle(ptr noundef %3) #2
%7 = load i32, ptr %3, align 4, !tbaa !12
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = tail call i32 @ds2482_set_channel(ptr noundef nonnull %3, i32 noundef %10) #2
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr @DS2482_CMD_1WIRE_READ_BYTE, align 4, !tbaa !15
%14 = tail call i32 @ds2482_send_cmd(ptr noundef nonnull %3, i32 noundef %13) #2
%15 = tail call i32 @ds2482_wait_1wire_idle(ptr noundef nonnull %3) #2
%16 = load i32, ptr @DS2482_PTR_CODE_DATA, align 4, !tbaa !15
%17 = tail call i32 @ds2482_select_register(ptr noundef nonnull %3, i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = tail call i32 @i2c_smbus_read_byte(i32 noundef %19) #2
%21 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2
ret i32 %20
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ds2482_wait_1wire_idle(ptr noundef) local_unnamed_addr #1
declare i32 @ds2482_set_channel(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ds2482_send_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ds2482_select_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_byte(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, !11, i64 8}
!7 = !{!"ds2482_w1_chan", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"ds2482_data", !8, i64 0, !8, i64 4, !8, i64 8}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!13, !8, i64 8}
|
linux_drivers_w1_masters_extr_ds2482.c_ds2482_w1_read_byte
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_cleanup_recv_urb.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_cleanup_recv_urb.c"
target datalayout = "e-m:e-p270:32:32-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.ath10k_urb_context = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_usb_cleanup_recv_urb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ath10k_usb_cleanup_recv_urb(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ath10k_urb_context, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @dev_kfree_skb(ptr noundef %3) #2
store ptr null, ptr %2, align 8, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = tail call i32 @ath10k_usb_free_urb_to_pipe(i32 noundef %5, ptr noundef nonnull %0) #2
ret void
}
declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @ath10k_usb_free_urb_to_pipe(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, !10, i64 8}
!6 = !{!"ath10k_urb_context", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_cleanup_recv_urb.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_usb.c_ath10k_usb_cleanup_recv_urb.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 @ath10k_usb_cleanup_recv_urb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ath10k_usb_cleanup_recv_urb(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @dev_kfree_skb(ptr noundef %3) #2
store ptr null, ptr %2, align 8, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = tail call i32 @ath10k_usb_free_urb_to_pipe(i32 noundef %5, ptr noundef nonnull %0) #2
ret void
}
declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @ath10k_usb_free_urb_to_pipe(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, !11, i64 8}
!7 = !{!"ath10k_urb_context", !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}
|
linux_drivers_net_wireless_ath_ath10k_extr_usb.c_ath10k_usb_cleanup_recv_urb
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_methods.c_eap_server_method_free.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_methods.c_eap_server_method_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 @eap_server_method_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @eap_server_method_free(ptr noundef %0) #0 {
%2 = tail call i32 @os_free(ptr noundef %0) #2
ret void
}
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_methods.c_eap_server_method_free.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_methods.c_eap_server_method_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 @eap_server_method_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @eap_server_method_free(ptr noundef %0) #0 {
%2 = tail call i32 @os_free(ptr noundef %0) #2
ret void
}
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_contrib_wpa_src_eap_server_extr_eap_server_methods.c_eap_server_method_free
|
; ModuleID = 'AnghaBench/linux/drivers/phy/samsung/extr_phy-exynos-dp-video.c_exynos_dp_video_phy_probe.c'
source_filename = "AnghaBench/linux/drivers/phy/samsung/extr_phy-exynos-dp-video.c_exynos_dp_video_phy_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.exynos_dp_video_phy = type { 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
@.str = private unnamed_addr constant [19 x i8] c"samsung,pmu-syscon\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Failed to lookup PMU regmap\0A\00", align 1
@exynos_dp_video_phy_ops = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"failed to create Display Port PHY\0A\00", align 1
@of_phy_simple_xlate = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @exynos_dp_video_phy_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @exynos_dp_video_phy_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
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 = load i32, ptr %0, align 4, !tbaa !9
%10 = tail call ptr @syscon_regmap_lookup_by_phandle(i32 noundef %9, ptr noundef nonnull @.str) #2
%11 = getelementptr inbounds %struct.exynos_dp_video_phy, ptr %3, i64 0, i32 1
store ptr %10, ptr %11, align 8, !tbaa !11
%12 = tail call i64 @IS_ERR(ptr noundef %10) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %8
%15 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%16 = load ptr, ptr %11, align 8, !tbaa !11
%17 = tail call i32 @PTR_ERR(ptr noundef %16) #2
br label %31
18: ; preds = %8
%19 = tail call i32 @of_device_get_match_data(ptr noundef nonnull %0) #2
store i32 %19, ptr %3, align 8, !tbaa !14
%20 = tail call ptr @devm_phy_create(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull @exynos_dp_video_phy_ops) #2
%21 = tail call i64 @IS_ERR(ptr noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%25 = tail call i32 @PTR_ERR(ptr noundef %20) #2
br label %31
26: ; preds = %18
%27 = tail call i32 @phy_set_drvdata(ptr noundef %20, ptr noundef nonnull %3) #2
%28 = load i32, ptr @of_phy_simple_xlate, align 4, !tbaa !5
%29 = tail call ptr @devm_of_phy_provider_register(ptr noundef nonnull %0, i32 noundef %28) #2
%30 = tail call i32 @PTR_ERR_OR_ZERO(ptr noundef %29) #2
br label %31
31: ; preds = %26, %23, %14, %5
%32 = phi i32 [ %17, %14 ], [ %25, %23 ], [ %30, %26 ], [ %7, %5 ]
ret i32 %32
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @syscon_regmap_lookup_by_phandle(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @of_device_get_match_data(ptr noundef) local_unnamed_addr #1
declare ptr @devm_phy_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @phy_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @devm_of_phy_provider_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR_OR_ZERO(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 = !{!"device", !6, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"exynos_dp_video_phy", !6, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/phy/samsung/extr_phy-exynos-dp-video.c_exynos_dp_video_phy_probe.c'
source_filename = "AnghaBench/linux/drivers/phy/samsung/extr_phy-exynos-dp-video.c_exynos_dp_video_phy_probe.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
@.str = private unnamed_addr constant [19 x i8] c"samsung,pmu-syscon\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Failed to lookup PMU regmap\0A\00", align 1
@exynos_dp_video_phy_ops = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"failed to create Display Port PHY\0A\00", align 1
@of_phy_simple_xlate = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @exynos_dp_video_phy_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @exynos_dp_video_phy_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
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 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call ptr @syscon_regmap_lookup_by_phandle(i32 noundef %9, ptr noundef nonnull @.str) #2
%11 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %10, ptr %11, align 8, !tbaa !12
%12 = tail call i64 @IS_ERR(ptr noundef %10) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %8
%15 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%16 = load ptr, ptr %11, align 8, !tbaa !12
%17 = tail call i32 @PTR_ERR(ptr noundef %16) #2
br label %31
18: ; preds = %8
%19 = tail call i32 @of_device_get_match_data(ptr noundef nonnull %0) #2
store i32 %19, ptr %3, align 8, !tbaa !15
%20 = tail call ptr @devm_phy_create(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull @exynos_dp_video_phy_ops) #2
%21 = tail call i64 @IS_ERR(ptr noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%25 = tail call i32 @PTR_ERR(ptr noundef %20) #2
br label %31
26: ; preds = %18
%27 = tail call i32 @phy_set_drvdata(ptr noundef %20, ptr noundef nonnull %3) #2
%28 = load i32, ptr @of_phy_simple_xlate, align 4, !tbaa !6
%29 = tail call ptr @devm_of_phy_provider_register(ptr noundef nonnull %0, i32 noundef %28) #2
%30 = tail call i32 @PTR_ERR_OR_ZERO(ptr noundef %29) #2
br label %31
31: ; preds = %26, %23, %14, %5
%32 = phi i32 [ %17, %14 ], [ %25, %23 ], [ %30, %26 ], [ %7, %5 ]
ret i32 %32
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @syscon_regmap_lookup_by_phandle(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @of_device_get_match_data(ptr noundef) local_unnamed_addr #1
declare ptr @devm_phy_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @phy_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @devm_of_phy_provider_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR_OR_ZERO(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 = !{!"device", !7, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"exynos_dp_video_phy", !7, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !7, i64 0}
|
linux_drivers_phy_samsung_extr_phy-exynos-dp-video.c_exynos_dp_video_phy_probe
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-ppoutput.c_print_line.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-ppoutput.c_print_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"
%struct.TYPE_2__ = type { i32, i32, i64 }
%struct.line_map = type { i32, i64 }
@print = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@flag_no_line_commands = dso_local local_unnamed_addr global i32 0, align 4
@line_table = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"# %u \22%s\22%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" 3 4\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" 3\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 2), align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 1), align 4, !tbaa !11
%7 = tail call i32 @putc(i8 noundef signext 10, i32 noundef %6) #3
br label %8
8: ; preds = %5, %2
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 2), align 8, !tbaa !5
%9 = load i32, ptr @flag_no_line_commands, align 4, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %37
11: ; preds = %8
%12 = tail call ptr @linemap_lookup(ptr noundef nonnull @line_table, i32 noundef %0) #3
%13 = getelementptr inbounds %struct.line_map, ptr %12, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = tail call i64 @strlen(i64 noundef %14) #3
%16 = shl i64 %15, 2
%17 = or disjoint i64 %16, 1
%18 = tail call i64 @alloca(i64 noundef %17) #3
%19 = inttoptr i64 %18 to ptr
%20 = tail call i32 @SOURCE_LINE(ptr noundef %12, i32 noundef %0) #3
store i32 %20, ptr @print, align 8, !tbaa !15
%21 = load i64, ptr %13, align 8, !tbaa !13
%22 = inttoptr i64 %21 to ptr
%23 = tail call ptr @cpp_quote_string(ptr noundef %19, ptr noundef %22, i64 noundef %15) #3
store i8 0, ptr %23, align 1, !tbaa !16
%24 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 1), align 4, !tbaa !11
%25 = load i32, ptr @print, align 8
%26 = tail call i32 @llvm.umax.i32(i32 %25, i32 1)
%27 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %26, ptr noundef %19, ptr noundef %1) #3
%28 = load i32, ptr %12, align 8, !tbaa !17
switch i32 %28, label %34 [
i32 2, label %30
i32 1, label %29
]
29: ; preds = %11
br label %30
30: ; preds = %11, %29
%31 = phi ptr [ @.str.2, %29 ], [ @.str.1, %11 ]
%32 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 1), align 4, !tbaa !11
%33 = tail call i32 @fputs(ptr noundef nonnull %31, i32 noundef %32) #3
br label %34
34: ; preds = %30, %11
%35 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @print, i64 0, i32 1), align 4, !tbaa !11
%36 = tail call i32 @putc(i8 noundef signext 10, i32 noundef %35) #3
br label %37
37: ; preds = %34, %8
ret void
}
declare i32 @putc(i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare ptr @linemap_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strlen(i64 noundef) local_unnamed_addr #1
declare i64 @alloca(i64 noundef) local_unnamed_addr #1
declare i32 @SOURCE_LINE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpp_quote_string(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_2__", !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 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"line_map", !7, i64 0, !10, i64 8}
!15 = !{!6, !7, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!14, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-ppoutput.c_print_line.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-ppoutput.c_print_line.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i64 }
@print = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@flag_no_line_commands = common local_unnamed_addr global i32 0, align 4
@line_table = common global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"# %u \22%s\22%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" 3 4\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" 3\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr getelementptr inbounds (i8, ptr @print, i64 8), align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr getelementptr inbounds (i8, ptr @print, i64 4), align 4, !tbaa !12
%7 = tail call i32 @putc(i8 noundef signext 10, i32 noundef %6) #3
br label %8
8: ; preds = %5, %2
store i64 0, ptr getelementptr inbounds (i8, ptr @print, i64 8), align 8, !tbaa !6
%9 = load i32, ptr @flag_no_line_commands, align 4, !tbaa !13
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %37
11: ; preds = %8
%12 = tail call ptr @linemap_lookup(ptr noundef nonnull @line_table, i32 noundef %0) #3
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = tail call i64 @strlen(i64 noundef %14) #3
%16 = shl i64 %15, 2
%17 = or disjoint i64 %16, 1
%18 = tail call i64 @alloca(i64 noundef %17) #3
%19 = inttoptr i64 %18 to ptr
%20 = tail call i32 @SOURCE_LINE(ptr noundef %12, i32 noundef %0) #3
store i32 %20, ptr @print, align 8, !tbaa !16
%21 = load i64, ptr %13, align 8, !tbaa !14
%22 = inttoptr i64 %21 to ptr
%23 = tail call ptr @cpp_quote_string(ptr noundef %19, ptr noundef %22, i64 noundef %15) #3
store i8 0, ptr %23, align 1, !tbaa !17
%24 = load i32, ptr getelementptr inbounds (i8, ptr @print, i64 4), align 4, !tbaa !12
%25 = load i32, ptr @print, align 8
%26 = tail call i32 @llvm.umax.i32(i32 %25, i32 1)
%27 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %26, ptr noundef %19, ptr noundef %1) #3
%28 = load i32, ptr %12, align 8, !tbaa !18
switch i32 %28, label %34 [
i32 2, label %30
i32 1, label %29
]
29: ; preds = %11
br label %30
30: ; preds = %11, %29
%31 = phi ptr [ @.str.2, %29 ], [ @.str.1, %11 ]
%32 = load i32, ptr getelementptr inbounds (i8, ptr @print, i64 4), align 4, !tbaa !12
%33 = tail call i32 @fputs(ptr noundef nonnull %31, i32 noundef %32) #3
br label %34
34: ; preds = %30, %11
%35 = load i32, ptr getelementptr inbounds (i8, ptr @print, i64 4), align 4, !tbaa !12
%36 = tail call i32 @putc(i8 noundef signext 10, i32 noundef %35) #3
br label %37
37: ; preds = %34, %8
ret void
}
declare i32 @putc(i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare ptr @linemap_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strlen(i64 noundef) local_unnamed_addr #1
declare i64 @alloca(i64 noundef) local_unnamed_addr #1
declare i32 @SOURCE_LINE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpp_quote_string(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_2__", !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 = !{!8, !8, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"line_map", !8, i64 0, !11, i64 8}
!16 = !{!7, !8, i64 0}
!17 = !{!9, !9, i64 0}
!18 = !{!15, !8, i64 0}
|
freebsd_contrib_gcc_extr_c-ppoutput.c_print_line
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/flash/extr_flv_reader.c_flv_validate_frame_data.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/flash/extr_flv_reader.c_flv_validate_frame_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_9__ = type { ptr, i64 }
@VC_CONTAINER_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@VC_CONTAINER_ERROR_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4
@VC_CONTAINER_ERROR_CORRUPTED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @flv_validate_frame_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @flv_validate_frame_data(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = trunc i64 %6 to i32
%8 = icmp sgt i32 %7, %1
br i1 %8, label %15, label %9
9: ; preds = %4
%10 = load i32, ptr %2, align 4, !tbaa !11
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr @VC_CONTAINER_SUCCESS, align 4
%13 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4
%14 = select i1 %11, i32 %13, i32 %12
br label %67
15: ; preds = %4
%16 = load ptr, ptr %0, align 8, !tbaa !13
%17 = sext i32 %1 to i64
%18 = getelementptr inbounds ptr, ptr %16, i64 %17
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = load i32, ptr %20, align 4, !tbaa !17
switch i32 %21, label %61 [
i32 128, label %22
i32 129, label %29
i32 130, label %40
]
22: ; preds = %15
%23 = load i32, ptr %2, align 4, !tbaa !11
%24 = icmp slt i32 %23, 1
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !11
br label %67
27: ; preds = %22
%28 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
br label %57
29: ; preds = %15
%30 = load i32, ptr %2, align 4, !tbaa !11
%31 = icmp slt i32 %30, 1
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !11
br label %67
34: ; preds = %29
%35 = add nsw i32 %30, -1
store i32 %35, ptr %2, align 4, !tbaa !11
%36 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
%37 = icmp eq i32 %36, 1
br i1 %37, label %61, label %38
38: ; preds = %34
%39 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4, !tbaa !11
br label %67
40: ; preds = %15
%41 = load i32, ptr %2, align 4, !tbaa !11
%42 = icmp slt i32 %41, 4
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !11
br label %67
45: ; preds = %40
%46 = add nsw i32 %41, -1
store i32 %46, ptr %2, align 4, !tbaa !11
%47 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
%48 = icmp eq i32 %47, 1
br i1 %48, label %51, label %49
49: ; preds = %45
%50 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4, !tbaa !11
br label %67
51: ; preds = %45
%52 = tail call i32 @_READ_U24(ptr noundef nonnull %0) #2
%53 = shl i32 %52, 8
%54 = ashr exact i32 %53, 8
%55 = load i32, ptr %3, align 4, !tbaa !11
%56 = add nsw i32 %54, %55
store i32 %56, ptr %3, align 4, !tbaa !11
br label %57
57: ; preds = %27, %51
%58 = phi i32 [ -3, %51 ], [ -1, %27 ]
%59 = load i32, ptr %2, align 4, !tbaa !11
%60 = add nsw i32 %59, %58
store i32 %60, ptr %2, align 4, !tbaa !11
br label %61
61: ; preds = %57, %15, %34
%62 = load i32, ptr %2, align 4, !tbaa !11
%63 = icmp eq i32 %62, 0
%64 = load i32, ptr @VC_CONTAINER_SUCCESS, align 4
%65 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4
%66 = select i1 %63, i32 %65, i32 %64
br label %67
67: ; preds = %61, %49, %43, %38, %32, %25, %9
%68 = phi i32 [ %14, %9 ], [ %66, %61 ], [ %44, %43 ], [ %50, %49 ], [ %33, %32 ], [ %39, %38 ], [ %26, %25 ]
ret i32 %68
}
declare i32 @_READ_U8(ptr noundef) local_unnamed_addr #1
declare i32 @_READ_U24(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_8__", !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_7__", !12, i64 0}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/flash/extr_flv_reader.c_flv_validate_frame_data.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/flash/extr_flv_reader.c_flv_validate_frame_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VC_CONTAINER_SUCCESS = common local_unnamed_addr global i32 0, align 4
@VC_CONTAINER_ERROR_CONTINUE = common local_unnamed_addr global i32 0, align 4
@VC_CONTAINER_ERROR_CORRUPTED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @flv_validate_frame_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @flv_validate_frame_data(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = trunc i64 %6 to i32
%8 = icmp sgt i32 %7, %1
br i1 %8, label %15, label %9
9: ; preds = %4
%10 = load i32, ptr %2, align 4, !tbaa !12
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr @VC_CONTAINER_SUCCESS, align 4
%13 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4
%14 = select i1 %11, i32 %13, i32 %12
br label %67
15: ; preds = %4
%16 = load ptr, ptr %0, align 8, !tbaa !14
%17 = sext i32 %1 to i64
%18 = getelementptr inbounds ptr, ptr %16, i64 %17
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = load i32, ptr %20, align 4, !tbaa !18
switch i32 %21, label %61 [
i32 128, label %22
i32 129, label %29
i32 130, label %40
]
22: ; preds = %15
%23 = load i32, ptr %2, align 4, !tbaa !12
%24 = icmp slt i32 %23, 1
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !12
br label %67
27: ; preds = %22
%28 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
br label %57
29: ; preds = %15
%30 = load i32, ptr %2, align 4, !tbaa !12
%31 = icmp slt i32 %30, 1
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !12
br label %67
34: ; preds = %29
%35 = add nsw i32 %30, -1
store i32 %35, ptr %2, align 4, !tbaa !12
%36 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
%37 = icmp eq i32 %36, 1
br i1 %37, label %61, label %38
38: ; preds = %34
%39 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4, !tbaa !12
br label %67
40: ; preds = %15
%41 = load i32, ptr %2, align 4, !tbaa !12
%42 = icmp slt i32 %41, 4
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load i32, ptr @VC_CONTAINER_ERROR_CORRUPTED, align 4, !tbaa !12
br label %67
45: ; preds = %40
%46 = add nsw i32 %41, -1
store i32 %46, ptr %2, align 4, !tbaa !12
%47 = tail call i32 @_READ_U8(ptr noundef nonnull %0) #2
%48 = icmp eq i32 %47, 1
br i1 %48, label %51, label %49
49: ; preds = %45
%50 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4, !tbaa !12
br label %67
51: ; preds = %45
%52 = tail call i32 @_READ_U24(ptr noundef nonnull %0) #2
%53 = shl i32 %52, 8
%54 = ashr exact i32 %53, 8
%55 = load i32, ptr %3, align 4, !tbaa !12
%56 = add nsw i32 %54, %55
store i32 %56, ptr %3, align 4, !tbaa !12
br label %57
57: ; preds = %27, %51
%58 = phi i32 [ -3, %51 ], [ -1, %27 ]
%59 = load i32, ptr %2, align 4, !tbaa !12
%60 = add nsw i32 %59, %58
store i32 %60, ptr %2, align 4, !tbaa !12
br label %61
61: ; preds = %57, %15, %34
%62 = load i32, ptr %2, align 4, !tbaa !12
%63 = icmp eq i32 %62, 0
%64 = load i32, ptr @VC_CONTAINER_SUCCESS, align 4
%65 = load i32, ptr @VC_CONTAINER_ERROR_CONTINUE, align 4
%66 = select i1 %63, i32 %65, i32 %64
br label %67
67: ; preds = %61, %49, %43, %38, %32, %25, %9
%68 = phi i32 [ %14, %9 ], [ %66, %61 ], [ %44, %43 ], [ %50, %49 ], [ %33, %32 ], [ %39, %38 ], [ %26, %25 ]
ret i32 %68
}
declare i32 @_READ_U8(ptr noundef) local_unnamed_addr #1
declare i32 @_READ_U24(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_8__", !8, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_7__", !13, i64 0}
|
RetroArch_gfx_include_userland_containers_flash_extr_flv_reader.c_flv_validate_frame_data
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_image.c_image_write.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_image.c_image_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.chunk = type { i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@CH_TYPE_FILE = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@CH_TYPE_ZEROES = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@CH_TYPE_MEMORY = dso_local local_unnamed_addr global i64 0, align 8
@secsz = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @image_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i64 %2, 0
br i1 %4, label %5, label %50
5: ; preds = %3, %43
%6 = phi i64 [ %48, %43 ], [ %2, %3 ]
%7 = phi ptr [ %47, %43 ], [ %1, %3 ]
%8 = phi i32 [ %44, %43 ], [ %0, %3 ]
%9 = tail call i32 @is_empty_sector(ptr noundef %7) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %43
11: ; preds = %5
%12 = tail call ptr @image_chunk_find(i32 noundef %8) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %50
16: ; preds = %11
%17 = load i64, ptr %12, align 8, !tbaa !9
%18 = load i64, ptr @CH_TYPE_FILE, align 8, !tbaa !14
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %50
22: ; preds = %16
%23 = load i64, ptr @CH_TYPE_ZEROES, align 8, !tbaa !14
%24 = icmp eq i64 %17, %23
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = tail call ptr @image_chunk_memory(ptr noundef nonnull %12, i32 noundef %8) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = load i64, ptr %26, align 8, !tbaa !9
br label %32
30: ; preds = %25
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !5
br label %50
32: ; preds = %28, %22
%33 = phi i64 [ %29, %28 ], [ %17, %22 ]
%34 = phi ptr [ %26, %28 ], [ %12, %22 ]
%35 = load i64, ptr @CH_TYPE_MEMORY, align 8, !tbaa !14
%36 = icmp eq i64 %33, %35
%37 = zext i1 %36 to i32
%38 = tail call i32 @assert(i32 noundef %37) #2
%39 = getelementptr inbounds %struct.chunk, ptr %34, i64 0, i32 1
%40 = load i32, ptr %39, align 8, !tbaa !15
%41 = load i32, ptr @secsz, align 4, !tbaa !5
%42 = tail call i32 @memcpy(i32 noundef %40, ptr noundef %7, i32 noundef %41) #2
br label %43
43: ; preds = %32, %5
%44 = add nsw i32 %8, 1
%45 = load i32, ptr @secsz, align 4, !tbaa !5
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %7, i64 %46
%48 = add nsw i64 %6, -1
%49 = icmp sgt i64 %6, 1
br i1 %49, label %5, label %50, !llvm.loop !16
50: ; preds = %43, %3, %30, %20, %14
%51 = phi i32 [ %15, %14 ], [ %21, %20 ], [ %31, %30 ], [ 0, %3 ], [ 0, %43 ]
ret i32 %51
}
declare i32 @is_empty_sector(ptr noundef) local_unnamed_addr #1
declare ptr @image_chunk_find(i32 noundef) local_unnamed_addr #1
declare ptr @image_chunk_memory(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !11, i64 0}
!10 = !{!"chunk", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !6, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_image.c_image_write.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_image.c_image_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@CH_TYPE_FILE = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@CH_TYPE_ZEROES = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@CH_TYPE_MEMORY = common local_unnamed_addr global i64 0, align 8
@secsz = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @image_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i64 %2, 0
br i1 %4, label %5, label %50
5: ; preds = %3, %43
%6 = phi i64 [ %48, %43 ], [ %2, %3 ]
%7 = phi ptr [ %47, %43 ], [ %1, %3 ]
%8 = phi i32 [ %44, %43 ], [ %0, %3 ]
%9 = tail call i32 @is_empty_sector(ptr noundef %7) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %43
11: ; preds = %5
%12 = tail call ptr @image_chunk_find(i32 noundef %8) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %50
16: ; preds = %11
%17 = load i64, ptr %12, align 8, !tbaa !10
%18 = load i64, ptr @CH_TYPE_FILE, align 8, !tbaa !15
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %50
22: ; preds = %16
%23 = load i64, ptr @CH_TYPE_ZEROES, align 8, !tbaa !15
%24 = icmp eq i64 %17, %23
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = tail call ptr @image_chunk_memory(ptr noundef nonnull %12, i32 noundef %8) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = load i64, ptr %26, align 8, !tbaa !10
br label %32
30: ; preds = %25
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !6
br label %50
32: ; preds = %28, %22
%33 = phi i64 [ %29, %28 ], [ %17, %22 ]
%34 = phi ptr [ %26, %28 ], [ %12, %22 ]
%35 = load i64, ptr @CH_TYPE_MEMORY, align 8, !tbaa !15
%36 = icmp eq i64 %33, %35
%37 = zext i1 %36 to i32
%38 = tail call i32 @assert(i32 noundef %37) #2
%39 = getelementptr inbounds i8, ptr %34, i64 8
%40 = load i32, ptr %39, align 8, !tbaa !16
%41 = load i32, ptr @secsz, align 4, !tbaa !6
%42 = tail call i32 @memcpy(i32 noundef %40, ptr noundef %7, i32 noundef %41) #2
br label %43
43: ; preds = %32, %5
%44 = add nsw i32 %8, 1
%45 = load i32, ptr @secsz, align 4, !tbaa !6
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %7, i64 %46
%48 = add nsw i64 %6, -1
%49 = icmp sgt i64 %6, 1
br i1 %49, label %5, label %50, !llvm.loop !17
50: ; preds = %43, %3, %30, %20, %14
%51 = phi i32 [ %15, %14 ], [ %21, %20 ], [ %31, %30 ], [ 0, %3 ], [ 0, %43 ]
ret i32 %51
}
declare i32 @is_empty_sector(ptr noundef) local_unnamed_addr #1
declare ptr @image_chunk_find(i32 noundef) local_unnamed_addr #1
declare ptr @image_chunk_memory(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !12, i64 0}
!11 = !{!"chunk", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !7, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
freebsd_usr.bin_mkimg_extr_image.c_image_write
|
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_malloc.c__io_malloc_buf.c'
source_filename = "AnghaBench/radare2/libr/io/p/extr_io_malloc.c__io_malloc_buf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @_io_malloc_buf], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @_io_malloc_buf(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !10
br label %7
7: ; preds = %1, %3
%8 = phi ptr [ %6, %3 ], [ null, %1 ]
ret ptr %8
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !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_4__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_malloc.c__io_malloc_buf.c'
source_filename = "AnghaBench/radare2/libr/io/p/extr_io_malloc.c__io_malloc_buf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @_io_malloc_buf], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @_io_malloc_buf(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !11
br label %7
7: ; preds = %1, %3
%8 = phi ptr [ %6, %3 ], [ null, %1 ]
ret ptr %8
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
|
radare2_libr_io_p_extr_io_malloc.c__io_malloc_buf
|
; ModuleID = 'AnghaBench/vlc/src/misc/extr_image.c_BitMapFormatIsSimilar.c'
source_filename = "AnghaBench/vlc/src/misc/extr_image.c_BitMapFormatIsSimilar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i64, i64, i64 }
@VLC_CODEC_RGB15 = dso_local local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB16 = dso_local local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB24 = dso_local local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB32 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @BitMapFormatIsSimilar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @BitMapFormatIsSimilar(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca %struct.TYPE_5__, align 8
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr @VLC_CODEC_RGB15, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
%8 = load i64, ptr @VLC_CODEC_RGB16, align 8
%9 = icmp eq i64 %5, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @VLC_CODEC_RGB24, align 8
%12 = icmp eq i64 %5, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = load i64, ptr @VLC_CODEC_RGB32, align 8
%15 = icmp eq i64 %5, %14
%16 = select i1 %13, i1 true, i1 %15
br i1 %16, label %17, label %39
17: ; preds = %2
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 32, i1 false), !tbaa.struct !11
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !11
%18 = call i32 @video_format_FixRgb(ptr noundef nonnull %3) #4
%19 = call i32 @video_format_FixRgb(ptr noundef nonnull %4) #4
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !12
%22 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
%23 = load i64, ptr %22, align 8, !tbaa !12
%24 = icmp eq i64 %21, %23
br i1 %24, label %25, label %37
25: ; preds = %17
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2
%27 = load i64, ptr %26, align 8, !tbaa !13
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = icmp eq i64 %27, %29
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3
%33 = load i64, ptr %32, align 8, !tbaa !14
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%35 = load i64, ptr %34, align 8, !tbaa !14
%36 = icmp eq i64 %33, %35
br i1 %36, label %38, label %37
37: ; preds = %25, %17, %31
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %39
38: ; preds = %31
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %39
39: ; preds = %2, %38, %37
%40 = phi i32 [ 0, %37 ], [ 1, %38 ], [ 1, %2 ]
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @video_format_FixRgb(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !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 = !{!7, !7, i64 0}
!11 = !{i64 0, i64 8, !10, i64 8, i64 8, !10, i64 16, i64 8, !10, i64 24, i64 8, !10}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 24}
|
; ModuleID = 'AnghaBench/vlc/src/misc/extr_image.c_BitMapFormatIsSimilar.c'
source_filename = "AnghaBench/vlc/src/misc/extr_image.c_BitMapFormatIsSimilar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64, i64, i64, i64 }
@VLC_CODEC_RGB15 = common local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB16 = common local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB24 = common local_unnamed_addr global i64 0, align 8
@VLC_CODEC_RGB32 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @BitMapFormatIsSimilar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @BitMapFormatIsSimilar(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca %struct.TYPE_5__, align 8
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr @VLC_CODEC_RGB15, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
%8 = load i64, ptr @VLC_CODEC_RGB16, align 8
%9 = icmp eq i64 %5, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @VLC_CODEC_RGB24, align 8
%12 = icmp eq i64 %5, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = load i64, ptr @VLC_CODEC_RGB32, align 8
%15 = icmp eq i64 %5, %14
%16 = select i1 %13, i1 true, i1 %15
br i1 %16, label %17, label %39
17: ; preds = %2
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 32, i1 false), !tbaa.struct !12
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !12
%18 = call i32 @video_format_FixRgb(ptr noundef nonnull %3) #4
%19 = call i32 @video_format_FixRgb(ptr noundef nonnull %4) #4
%20 = getelementptr inbounds i8, ptr %3, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = getelementptr inbounds i8, ptr %4, i64 8
%23 = load i64, ptr %22, align 8, !tbaa !13
%24 = icmp eq i64 %21, %23
br i1 %24, label %25, label %37
25: ; preds = %17
%26 = getelementptr inbounds i8, ptr %3, i64 16
%27 = load i64, ptr %26, align 8, !tbaa !14
%28 = getelementptr inbounds i8, ptr %4, i64 16
%29 = load i64, ptr %28, align 8, !tbaa !14
%30 = icmp eq i64 %27, %29
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = getelementptr inbounds i8, ptr %3, i64 24
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = getelementptr inbounds i8, ptr %4, i64 24
%35 = load i64, ptr %34, align 8, !tbaa !15
%36 = icmp eq i64 %33, %35
br i1 %36, label %38, label %37
37: ; preds = %25, %17, %31
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %39
38: ; preds = %31
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %39
39: ; preds = %2, %38, %37
%40 = phi i32 [ 0, %37 ], [ 1, %38 ], [ 1, %2 ]
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @video_format_FixRgb(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !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 = !{!8, !8, i64 0}
!12 = !{i64 0, i64 8, !11, i64 8, i64 8, !11, i64 16, i64 8, !11, i64 24, i64 8, !11}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 24}
|
vlc_src_misc_extr_image.c_BitMapFormatIsSimilar
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-gemtek.c_gemtek_unmute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-gemtek.c_gemtek_unmute.c"
target datalayout = "e-m:e-p270:32:32-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.gemtek = type { i32, i32, i32, i64 }
@hardmute = dso_local local_unnamed_addr global i64 0, align 8
@SHORT_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gemtek_unmute], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gemtek_unmute(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.gemtek, ptr %0, i64 0, i32 3
store i64 0, ptr %2, align 8, !tbaa !5
%3 = load i64, ptr @hardmute, align 8, !tbaa !11
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.gemtek, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @gemtek_setfreq(ptr noundef nonnull %0, i32 noundef %7) #2
br label %20
9: ; preds = %1
%10 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2
%11 = getelementptr inbounds %struct.gemtek, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @inb_p(i32 noundef %12) #2
%14 = ashr i32 %13, 5
%15 = load i32, ptr %11, align 4, !tbaa !13
%16 = tail call i32 @outb_p(i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @SHORT_DELAY, align 4, !tbaa !14
%18 = tail call i32 @udelay(i32 noundef %17) #2
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %9, %5
ret void
}
declare i32 @gemtek_setfreq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inb_p(i32 noundef) local_unnamed_addr #1
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(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, !10, i64 16}
!6 = !{!"gemtek", !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 = !{!"long", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-gemtek.c_gemtek_unmute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-gemtek.c_gemtek_unmute.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hardmute = common local_unnamed_addr global i64 0, align 8
@SHORT_DELAY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gemtek_unmute], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gemtek_unmute(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %2, align 8, !tbaa !6
%3 = load i64, ptr @hardmute, align 8, !tbaa !12
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = tail call i32 @gemtek_setfreq(ptr noundef nonnull %0, i32 noundef %7) #2
br label %20
9: ; preds = %1
%10 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @inb_p(i32 noundef %12) #2
%14 = ashr i32 %13, 5
%15 = load i32, ptr %11, align 4, !tbaa !14
%16 = tail call i32 @outb_p(i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @SHORT_DELAY, align 4, !tbaa !15
%18 = tail call i32 @udelay(i32 noundef %17) #2
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %9, %5
ret void
}
declare i32 @gemtek_setfreq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inb_p(i32 noundef) local_unnamed_addr #1
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(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, !11, i64 16}
!7 = !{!"gemtek", !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 = !{!"long", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!8, !8, i64 0}
|
fastsocket_kernel_drivers_media_radio_extr_radio-gemtek.c_gemtek_unmute
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_sip.c_sdp_media_type.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_sip.c_sdp_media_type.c"
target datalayout = "e-m:e-p270:32:32-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.sdp_media_type = type { i32, i32 }
@sdp_media_types = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sdp_media_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @sdp_media_type(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load ptr, ptr @sdp_media_types, align 8, !tbaa !5
%7 = tail call i32 @ARRAY_SIZE(ptr noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %30, label %9
9: ; preds = %3, %22
%10 = phi i64 [ %24, %22 ], [ 0, %3 ]
%11 = load ptr, ptr @sdp_media_types, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.sdp_media_type, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !9
%14 = icmp ugt i32 %13, %2
br i1 %14, label %22, label %15
15: ; preds = %9
%16 = getelementptr inbounds %struct.sdp_media_type, ptr %11, i64 %10, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call i64 @strncmp(ptr noundef %5, i32 noundef %17, i32 noundef %13) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %15
%21 = load ptr, ptr @sdp_media_types, align 8, !tbaa !5
br label %22
22: ; preds = %20, %9
%23 = phi ptr [ %21, %20 ], [ %11, %9 ]
%24 = add nuw nsw i64 %10, 1
%25 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2
%26 = zext i32 %25 to i64
%27 = icmp ult i64 %24, %26
br i1 %27, label %9, label %30, !llvm.loop !13
28: ; preds = %15
%29 = getelementptr inbounds %struct.sdp_media_type, ptr %11, i64 %10
br label %30
30: ; preds = %22, %28, %3
%31 = phi ptr [ null, %3 ], [ %29, %28 ], [ null, %22 ]
ret ptr %31
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"sdp_media_type", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_sip.c_sdp_media_type.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_sip.c_sdp_media_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sdp_media_type = type { i32, i32 }
@sdp_media_types = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @sdp_media_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @sdp_media_type(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load ptr, ptr @sdp_media_types, align 8, !tbaa !6
%7 = tail call i32 @ARRAY_SIZE(ptr noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %28, label %9
9: ; preds = %3, %22
%10 = phi i64 [ %24, %22 ], [ 0, %3 ]
%11 = load ptr, ptr @sdp_media_types, align 8, !tbaa !6
%12 = getelementptr inbounds %struct.sdp_media_type, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !10
%14 = icmp ugt i32 %13, %2
br i1 %14, label %22, label %15
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %12, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = tail call i64 @strncmp(ptr noundef %5, i32 noundef %17, i32 noundef %13) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %15
%21 = load ptr, ptr @sdp_media_types, align 8, !tbaa !6
br label %22
22: ; preds = %20, %9
%23 = phi ptr [ %21, %20 ], [ %11, %9 ]
%24 = add nuw nsw i64 %10, 1
%25 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2
%26 = zext i32 %25 to i64
%27 = icmp ult i64 %24, %26
br i1 %27, label %9, label %28, !llvm.loop !14
28: ; preds = %15, %22, %3
%29 = phi ptr [ null, %3 ], [ null, %22 ], [ %12, %15 ]
ret ptr %29
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sdp_media_type", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_net_netfilter_extr_nf_conntrack_sip.c_sdp_media_type
|
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_tdfxfb.c_tdfxfb_pan_display.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_tdfxfb.c_tdfxfb_pan_display.c"
target datalayout = "e-m:e-p270:32:32-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.fb_info = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
%struct.fb_var_screeninfo = type { i32, i64 }
@nopan = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@VIDDESKSTART = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tdfxfb_pan_display], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tdfxfb_pan_display(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.fb_info, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr %1, align 8, !tbaa !15
%7 = mul nsw i32 %6, %5
%8 = load i64, ptr @nopan, align 8, !tbaa !16
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10, %2
%15 = load i32, ptr @EINVAL, align 4, !tbaa !18
%16 = sub nsw i32 0, %15
br label %21
17: ; preds = %10
%18 = tail call i32 @banshee_make_room(ptr noundef %4, i32 noundef 1) #2
%19 = load i32, ptr @VIDDESKSTART, align 4, !tbaa !18
%20 = tail call i32 @tdfx_outl(ptr noundef %4, i32 noundef %19, i32 noundef %7) #2
br label %21
21: ; preds = %17, %14
%22 = phi i32 [ %16, %14 ], [ 0, %17 ]
ret i32 %22
}
declare i32 @banshee_make_room(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tdfx_outl(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, !11, i64 8}
!6 = !{!"fb_info", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"fb_var_screeninfo", !8, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!6, !8, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!8, !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_tdfxfb.c_tdfxfb_pan_display.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_tdfxfb.c_tdfxfb_pan_display.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nopan = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@VIDDESKSTART = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tdfxfb_pan_display], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @tdfxfb_pan_display(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !13
%6 = load i32, ptr %1, align 8, !tbaa !16
%7 = mul nsw i32 %6, %5
%8 = load i64, ptr @nopan, align 8, !tbaa !17
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !18
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10, %2
%15 = load i32, ptr @EINVAL, align 4, !tbaa !19
%16 = sub nsw i32 0, %15
br label %21
17: ; preds = %10
%18 = tail call i32 @banshee_make_room(ptr noundef %4, i32 noundef 1) #2
%19 = load i32, ptr @VIDDESKSTART, align 4, !tbaa !19
%20 = tail call i32 @tdfx_outl(ptr noundef %4, i32 noundef %19, i32 noundef %7) #2
br label %21
21: ; preds = %17, %14
%22 = phi i32 [ %16, %14 ], [ 0, %17 ]
ret i32 %22
}
declare i32 @banshee_make_room(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tdfx_outl(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, !12, i64 8}
!7 = !{!"fb_info", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"fb_var_screeninfo", !9, i64 0, !15, i64 8}
!15 = !{!"long", !10, i64 0}
!16 = !{!7, !9, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!14, !15, i64 8}
!19 = !{!9, !9, i64 0}
|
linux_drivers_video_fbdev_extr_tdfxfb.c_tdfxfb_pan_display
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/hisilicon/kirin/extr_kirin_drm_ade.c_ade_power_up.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/hisilicon/kirin/extr_kirin_drm_ade.c_ade_power_up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ade_hw_ctx = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [37 x i8] c"failed to enable media_noc_clk (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"failed to deassert reset\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"failed to enable ade_core_clk (%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ade_power_up], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ade_power_up(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ade_hw_ctx, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @clk_prepare_enable(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %4) #2
br label %24
8: ; preds = %1
%9 = getelementptr inbounds %struct.ade_hw_ctx, ptr %0, i64 0, i32 2
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call i32 @reset_control_deassert(i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.1) #2
br label %24
15: ; preds = %8
%16 = getelementptr inbounds %struct.ade_hw_ctx, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = tail call i32 @clk_prepare_enable(i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %15
%21 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.2, i32 noundef %18) #2
br label %24
22: ; preds = %15
%23 = tail call i32 @ade_init(ptr noundef nonnull %0) #2
store i32 1, ptr %0, align 4, !tbaa !12
br label %24
24: ; preds = %22, %20, %13, %6
%25 = phi i32 [ %4, %6 ], [ %11, %13 ], [ %18, %20 ], [ 0, %22 ]
ret i32 %25
}
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @reset_control_deassert(i32 noundef) local_unnamed_addr #1
declare i32 @ade_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 12}
!6 = !{!"ade_hw_ctx", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!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 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/hisilicon/kirin/extr_kirin_drm_ade.c_ade_power_up.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/hisilicon/kirin/extr_kirin_drm_ade.c_ade_power_up.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 [37 x i8] c"failed to enable media_noc_clk (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"failed to deassert reset\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"failed to enable ade_core_clk (%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ade_power_up], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ade_power_up(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 12
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @clk_prepare_enable(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %4) #2
br label %24
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i32 @reset_control_deassert(i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.1) #2
br label %24
15: ; preds = %8
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call i32 @clk_prepare_enable(i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %15
%21 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.2, i32 noundef %18) #2
br label %24
22: ; preds = %15
%23 = tail call i32 @ade_init(ptr noundef nonnull %0) #2
store i32 1, ptr %0, align 4, !tbaa !13
br label %24
24: ; preds = %22, %20, %13, %6
%25 = phi i32 [ %4, %6 ], [ %11, %13 ], [ %18, %20 ], [ 0, %22 ]
ret i32 %25
}
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @reset_control_deassert(i32 noundef) local_unnamed_addr #1
declare i32 @ade_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 12}
!7 = !{!"ade_hw_ctx", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!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 = !{!7, !8, i64 0}
|
linux_drivers_gpu_drm_hisilicon_kirin_extr_kirin_drm_ade.c_ade_power_up
|
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_nolockCheckReservedLock.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_nolockCheckReservedLock.c"
target datalayout = "e-m:e-p270:32:32-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 @nolockCheckReservedLock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nolockCheckReservedLock(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
store i32 0, ptr %1, align 4, !tbaa !5
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
ret i32 %4
}
declare i32 @UNUSED_PARAMETER(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/mimikatz/modules/extr_sqlite3_omit.c_nolockCheckReservedLock.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_nolockCheckReservedLock.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 @nolockCheckReservedLock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nolockCheckReservedLock(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
store i32 0, ptr %1, align 4, !tbaa !6
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
ret i32 %4
}
declare i32 @UNUSED_PARAMETER(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"}
|
mimikatz_modules_extr_sqlite3_omit.c_nolockCheckReservedLock
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_validate_shaders.c_check_instruction_writes.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_validate_shaders.c_check_instruction_writes.c"
target datalayout = "e-m:e-p270:32:32-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.vc4_shader_validation_state = type { i64, ptr }
@QPU_WADDR_ADD = dso_local local_unnamed_addr global i32 0, align 4
@QPU_WADDR_MUL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"ADD and MUL both set up textures\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_instruction_writes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_instruction_writes(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.vc4_shader_validation_state, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %1, align 8, !tbaa !11
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr @QPU_WADDR_ADD, align 4, !tbaa !12
%9 = tail call i32 @QPU_GET_FIELD(i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @QPU_WADDR_MUL, align 4, !tbaa !12
%11 = tail call i32 @QPU_GET_FIELD(i32 noundef %7, i32 noundef %10) #2
%12 = tail call i64 @is_tmu_write(i32 noundef %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %2
%15 = tail call i64 @is_tmu_write(i32 noundef %11) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %14
%18 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2
br label %29
19: ; preds = %14, %2
%20 = tail call i64 @check_reg_write(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %19
%23 = tail call i64 @check_reg_write(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 1) #2
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %22, %19
%27 = phi i32 [ 0, %19 ], [ %25, %22 ]
%28 = tail call i32 @track_live_clamps(ptr noundef %0, ptr noundef nonnull %1) #2
br label %29
29: ; preds = %26, %17
%30 = phi i32 [ 0, %17 ], [ %27, %26 ]
ret i32 %30
}
declare i32 @QPU_GET_FIELD(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @is_tmu_write(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1
declare i64 @check_reg_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @track_live_clamps(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"vc4_shader_validation_state", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_validate_shaders.c_check_instruction_writes.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_validate_shaders.c_check_instruction_writes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QPU_WADDR_ADD = common local_unnamed_addr global i32 0, align 4
@QPU_WADDR_MUL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"ADD and MUL both set up textures\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @check_instruction_writes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @check_instruction_writes(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %1, align 8, !tbaa !12
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = load i32, ptr @QPU_WADDR_ADD, align 4, !tbaa !13
%9 = tail call i32 @QPU_GET_FIELD(i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @QPU_WADDR_MUL, align 4, !tbaa !13
%11 = tail call i32 @QPU_GET_FIELD(i32 noundef %7, i32 noundef %10) #2
%12 = tail call i64 @is_tmu_write(i32 noundef %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %2
%15 = tail call i64 @is_tmu_write(i32 noundef %11) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %14
%18 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2
br label %29
19: ; preds = %14, %2
%20 = tail call i64 @check_reg_write(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %19
%23 = tail call i64 @check_reg_write(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 1) #2
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %22, %19
%27 = phi i32 [ 0, %19 ], [ %25, %22 ]
%28 = tail call i32 @track_live_clamps(ptr noundef %0, ptr noundef nonnull %1) #2
br label %29
29: ; preds = %26, %17
%30 = phi i32 [ 0, %17 ], [ %27, %26 ]
ret i32 %30
}
declare i32 @QPU_GET_FIELD(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @is_tmu_write(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1
declare i64 @check_reg_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @track_live_clamps(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"vc4_shader_validation_state", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
|
linux_drivers_gpu_drm_vc4_extr_vc4_validate_shaders.c_check_instruction_writes
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_core_irq.c_dpu_core_irq_idx_lookup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_core_irq.c_dpu_core_irq_idx_lookup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dpu_core_irq_idx_lookup(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %11, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load ptr, ptr %6, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %8, %5, %3
%12 = load i32, ptr @EINVAL, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %16
14: ; preds = %8
%15 = tail call i32 %9(i32 noundef %1, i32 noundef %2) #1
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %15, %14 ], [ %13, %11 ]
ret i32 %17
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dpu_kms", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_core_irq.c_dpu_core_irq_idx_lookup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_core_irq.c_dpu_core_irq_idx_lookup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dpu_core_irq_idx_lookup(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %11, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load ptr, ptr %6, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %8, %5, %3
%12 = load i32, ptr @EINVAL, align 4, !tbaa !14
%13 = sub nsw i32 0, %12
br label %16
14: ; preds = %8
%15 = tail call i32 %9(i32 noundef %1, i32 noundef %2) #1
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %15, %14 ], [ %13, %11 ]
ret i32 %17
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dpu_kms", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
|
linux_drivers_gpu_drm_msm_disp_dpu1_extr_dpu_core_irq.c_dpu_core_irq_idx_lookup
|
; ModuleID = 'AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_rel_simq.c'
source_filename = "AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_rel_simq.c"
target datalayout = "e-m:e-p270:32:32-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.ccb_relsim = type { i64, i64, i64, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@XPT_REL_SIMQ = dso_local local_unnamed_addr global i32 0, align 4
@RELSIM_RELEASE_AFTER_QEMPTY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rel_simq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rel_simq() #0 {
%1 = alloca %struct.ccb_relsim, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #4
%2 = call i32 @bzero(ptr noundef nonnull %1, i32 noundef 32) #4
%3 = load i32, ptr @XPT_REL_SIMQ, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.ccb_relsim, ptr %1, i64 0, i32 4
store i32 %3, ptr %4, align 4, !tbaa !9
%5 = load i32, ptr @RELSIM_RELEASE_AFTER_QEMPTY, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.ccb_relsim, ptr %1, i64 0, i32 3
store i32 %5, ptr %6, align 8, !tbaa !13
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false)
%7 = call i32 @send_ccb(ptr noundef nonnull %1, i32 noundef 0) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @send_ccb(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 28}
!10 = !{!"ccb_relsim", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !12, i64 28}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0}
!13 = !{!10, !6, i64 24}
|
; ModuleID = 'AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_rel_simq.c'
source_filename = "AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_rel_simq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ccb_relsim = type { i64, i64, i64, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@XPT_REL_SIMQ = common local_unnamed_addr global i32 0, align 4
@RELSIM_RELEASE_AFTER_QEMPTY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rel_simq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rel_simq() #0 {
%1 = alloca %struct.ccb_relsim, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #4
%2 = call i32 @bzero(ptr noundef nonnull %1, i32 noundef 32) #4
%3 = load i32, ptr @XPT_REL_SIMQ, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 28
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = load i32, ptr @RELSIM_RELEASE_AFTER_QEMPTY, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %5, ptr %6, align 8, !tbaa !14
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false)
%7 = call i32 @send_ccb(ptr noundef nonnull %1, i32 noundef 0) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @send_ccb(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 28}
!11 = !{!"ccb_relsim", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !13, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!11, !7, i64 24}
|
freebsd_share_examples_scsi_target_extr_scsi_target.c_rel_simq
|
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_vacuumFinalize.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_vacuumFinalize.c"
target datalayout = "e-m:e-p270:32:32-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 @vacuumFinalize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vacuumFinalize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @sqlite3VdbeFinalize(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = tail call i32 @sqlite3_errmsg(ptr noundef %0) #2
%8 = tail call i32 @sqlite3SetString(ptr noundef %2, ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
ret i32 %4
}
declare i32 @sqlite3VdbeFinalize(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3SetString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_errmsg(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/mongoose/examples/api_server/extr_sqlite3.c_vacuumFinalize.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_vacuumFinalize.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 @vacuumFinalize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vacuumFinalize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @sqlite3VdbeFinalize(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = tail call i32 @sqlite3_errmsg(ptr noundef %0) #2
%8 = tail call i32 @sqlite3SetString(ptr noundef %2, ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
ret i32 %4
}
declare i32 @sqlite3VdbeFinalize(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3SetString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_errmsg(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)"}
|
mongoose_examples_api_server_extr_sqlite3.c_vacuumFinalize
|
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zil.c_zilog_is_dirty_in_txg.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zil.c_zilog_is_dirty_in_txg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TXG_MASK = dso_local local_unnamed_addr global i32 0, align 4
@B_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zilog_is_dirty_in_txg(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @TXG_MASK, align 4, !tbaa !10
%5 = and i32 %4, %1
%6 = tail call i64 @txg_list_member(ptr noundef %3, ptr noundef nonnull %0, i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
%8 = load i32, ptr @B_FALSE, align 4
%9 = load i32, ptr @B_TRUE, align 4
%10 = select i1 %7, i32 %8, i32 %9
ret i32 %10
}
declare i64 @txg_list_member(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !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/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zil.c_zilog_is_dirty_in_txg.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zil.c_zilog_is_dirty_in_txg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TXG_MASK = common local_unnamed_addr global i32 0, align 4
@B_TRUE = common local_unnamed_addr global i32 0, align 4
@B_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zilog_is_dirty_in_txg(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @TXG_MASK, align 4, !tbaa !11
%5 = and i32 %4, %1
%6 = tail call i64 @txg_list_member(ptr noundef %3, ptr noundef nonnull %0, i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
%8 = load i32, ptr @B_FALSE, align 4
%9 = load i32, ptr @B_TRUE, align 4
%10 = select i1 %7, i32 %8, i32 %9
ret i32 %10
}
declare i64 @txg_list_member(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !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}
|
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_zil.c_zilog_is_dirty_in_txg
|
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_handle_pending_notifications.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_handle_pending_notifications.c"
target datalayout = "e-m:e-p270:32:32-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 }
@svn_wc_notify_update_delete = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @handle_pending_notifications], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @handle_pending_notifications(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %29, label %8
8: ; preds = %3
%9 = load ptr, ptr %1, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
br i1 %10, label %29, label %11
11: ; preds = %8
%12 = tail call ptr @apr_hash_first(ptr noundef %2, ptr noundef nonnull %9) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %28, label %14
14: ; preds = %11, %14
%15 = phi ptr [ %26, %14 ], [ %12, %11 ]
%16 = tail call ptr @apr_hash_this_key(ptr noundef nonnull %15) #2
%17 = load i32, ptr @svn_wc_notify_update_delete, align 4, !tbaa !15
%18 = tail call ptr @svn_wc_create_notify(ptr noundef %16, i32 noundef %17, ptr noundef %2) #2
%19 = tail call i32 @apr_hash_this_val(ptr noundef nonnull %15) #2
%20 = tail call i32 @svn_node_kind_from_word(i32 noundef %19) #2
store i32 %20, ptr %18, align 4, !tbaa !16
%21 = load ptr, ptr %0, align 8, !tbaa !5
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !10
%24 = load i32, ptr %21, align 8, !tbaa !18
%25 = tail call i32 %23(i32 noundef %24, ptr noundef nonnull %18, ptr noundef %2) #2
%26 = tail call ptr @apr_hash_next(ptr noundef nonnull %15) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %14, !llvm.loop !19
28: ; preds = %14, %11
store ptr null, ptr %1, align 8, !tbaa !13
br label %29
29: ; preds = %28, %8, %3
%30 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !21
ret ptr %30
}
declare ptr @apr_hash_first(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @svn_wc_create_notify(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_node_kind_from_word(i32 noundef) local_unnamed_addr #1
declare i32 @apr_hash_this_val(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(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_9__", !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_7__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"merge_dir_baton_t", !7, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_8__", !12, i64 0}
!18 = !{!11, !12, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_handle_pending_notifications.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_handle_pending_notifications.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@svn_wc_notify_update_delete = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @handle_pending_notifications], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @handle_pending_notifications(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %29, label %8
8: ; preds = %3
%9 = load ptr, ptr %1, align 8, !tbaa !14
%10 = icmp eq ptr %9, null
br i1 %10, label %29, label %11
11: ; preds = %8
%12 = tail call ptr @apr_hash_first(ptr noundef %2, ptr noundef nonnull %9) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %28, label %14
14: ; preds = %11, %14
%15 = phi ptr [ %26, %14 ], [ %12, %11 ]
%16 = tail call ptr @apr_hash_this_key(ptr noundef nonnull %15) #2
%17 = load i32, ptr @svn_wc_notify_update_delete, align 4, !tbaa !16
%18 = tail call ptr @svn_wc_create_notify(ptr noundef %16, i32 noundef %17, ptr noundef %2) #2
%19 = tail call i32 @apr_hash_this_val(ptr noundef nonnull %15) #2
%20 = tail call i32 @svn_node_kind_from_word(i32 noundef %19) #2
store i32 %20, ptr %18, align 4, !tbaa !17
%21 = load ptr, ptr %0, align 8, !tbaa !6
%22 = getelementptr inbounds i8, ptr %21, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !11
%24 = load i32, ptr %21, align 8, !tbaa !19
%25 = tail call i32 %23(i32 noundef %24, ptr noundef nonnull %18, ptr noundef %2) #2
%26 = tail call ptr @apr_hash_next(ptr noundef nonnull %15) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %14, !llvm.loop !20
28: ; preds = %14, %11
store ptr null, ptr %1, align 8, !tbaa !14
br label %29
29: ; preds = %28, %8, %3
%30 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22
ret ptr %30
}
declare ptr @apr_hash_first(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @svn_wc_create_notify(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_node_kind_from_word(i32 noundef) local_unnamed_addr #1
declare i32 @apr_hash_this_val(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(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_9__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"TYPE_7__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"merge_dir_baton_t", !8, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"TYPE_8__", !13, i64 0}
!19 = !{!12, !13, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!8, !8, i64 0}
|
freebsd_contrib_subversion_subversion_libsvn_client_extr_merge.c_handle_pending_notifications
|
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_write_initvals.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_write_initvals.c"
target datalayout = "e-m:e-p270:32:32-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.rtl8367b_initval = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8367b_write_initvals], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rtl8367b_write_initvals(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %16
5: ; preds = %3
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %14, %7 ]
%9 = getelementptr inbounds %struct.rtl8367b_initval, ptr %1, i64 %8
%10 = getelementptr inbounds %struct.rtl8367b_initval, ptr %1, i64 %8, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = load i32, ptr %9, align 4, !tbaa !10
%13 = tail call i32 @REG_WR(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
%14 = add nuw nsw i64 %8, 1
%15 = icmp eq i64 %14, %6
br i1 %15, label %16, label %7, !llvm.loop !11
16: ; preds = %7, %3
ret i32 0
}
declare i32 @REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"rtl8367b_initval", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_write_initvals.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_write_initvals.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rtl8367b_initval = type { i32, i32 }
@llvm.used = appending global [1 x ptr] [ptr @rtl8367b_write_initvals], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @rtl8367b_write_initvals(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %16
5: ; preds = %3
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %14, %7 ]
%9 = getelementptr inbounds %struct.rtl8367b_initval, ptr %1, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = load i32, ptr %9, align 4, !tbaa !11
%13 = tail call i32 @REG_WR(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
%14 = add nuw nsw i64 %8, 1
%15 = icmp eq i64 %14, %6
br i1 %15, label %16, label %7, !llvm.loop !12
16: ; preds = %7, %3
ret i32 0
}
declare i32 @REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"rtl8367b_initval", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
openwrt_target_linux_generic_files_drivers_net_phy_extr_rtl8367b.c_rtl8367b_write_initvals
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_static_table_download_nphy.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_static_table_download_nphy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mimophytbl_info_sz_rev16 = dso_local local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev16 = dso_local local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev7 = dso_local local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev7 = dso_local local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev3 = dso_local local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev3 = dso_local local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev0 = dso_local local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev0 = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wlc_phy_static_table_download_nphy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wlc_phy_static_table_download_nphy(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i64 @NREV_GE(i32 noundef %2, i32 noundef 16) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %16, label %5
5: ; preds = %1
%6 = load i64, ptr @mimophytbl_info_sz_rev16, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %57, label %8
8: ; preds = %5, %8
%9 = phi i64 [ %13, %8 ], [ 0, %5 ]
%10 = load ptr, ptr @mimophytbl_info_rev16, align 8, !tbaa !13
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %11) #2
%13 = add nuw i64 %9, 1
%14 = load i64, ptr @mimophytbl_info_sz_rev16, align 8, !tbaa !11
%15 = icmp ult i64 %13, %14
br i1 %15, label %8, label %57, !llvm.loop !15
16: ; preds = %1
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = tail call i64 @NREV_GE(i32 noundef %17, i32 noundef 7) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %31, label %20
20: ; preds = %16
%21 = load i64, ptr @mimophytbl_info_sz_rev7, align 8, !tbaa !11
%22 = icmp eq i64 %21, 0
br i1 %22, label %57, label %23
23: ; preds = %20, %23
%24 = phi i64 [ %28, %23 ], [ 0, %20 ]
%25 = load ptr, ptr @mimophytbl_info_rev7, align 8, !tbaa !13
%26 = getelementptr inbounds i32, ptr %25, i64 %24
%27 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %26) #2
%28 = add nuw i64 %24, 1
%29 = load i64, ptr @mimophytbl_info_sz_rev7, align 8, !tbaa !11
%30 = icmp ult i64 %28, %29
br i1 %30, label %23, label %57, !llvm.loop !17
31: ; preds = %16
%32 = load i32, ptr %0, align 4, !tbaa !5
%33 = tail call i64 @NREV_GE(i32 noundef %32, i32 noundef 3) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load i64, ptr @mimophytbl_info_sz_rev3, align 8, !tbaa !11
%37 = icmp eq i64 %36, 0
br i1 %37, label %57, label %41
38: ; preds = %31
%39 = load i64, ptr @mimophytbl_info_sz_rev0, align 8, !tbaa !11
%40 = icmp eq i64 %39, 0
br i1 %40, label %57, label %49
41: ; preds = %35, %41
%42 = phi i64 [ %46, %41 ], [ 0, %35 ]
%43 = load ptr, ptr @mimophytbl_info_rev3, align 8, !tbaa !13
%44 = getelementptr inbounds i32, ptr %43, i64 %42
%45 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %44) #2
%46 = add nuw i64 %42, 1
%47 = load i64, ptr @mimophytbl_info_sz_rev3, align 8, !tbaa !11
%48 = icmp ult i64 %46, %47
br i1 %48, label %41, label %57, !llvm.loop !18
49: ; preds = %38, %49
%50 = phi i64 [ %54, %49 ], [ 0, %38 ]
%51 = load ptr, ptr @mimophytbl_info_rev0, align 8, !tbaa !13
%52 = getelementptr inbounds i32, ptr %51, i64 %50
%53 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %52) #2
%54 = add nuw i64 %50, 1
%55 = load i64, ptr @mimophytbl_info_sz_rev0, align 8, !tbaa !11
%56 = icmp ult i64 %54, %55
br i1 %56, label %49, label %57, !llvm.loop !19
57: ; preds = %8, %23, %41, %49, %5, %20, %35, %38
ret void
}
declare i64 @NREV_GE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wlc_phy_write_table_nphy(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 0}
!6 = !{!"brcms_phy", !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 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_static_table_download_nphy.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_static_table_download_nphy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mimophytbl_info_sz_rev16 = common local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev16 = common local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev7 = common local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev7 = common local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev3 = common local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev3 = common local_unnamed_addr global ptr null, align 8
@mimophytbl_info_sz_rev0 = common local_unnamed_addr global i64 0, align 8
@mimophytbl_info_rev0 = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @wlc_phy_static_table_download_nphy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wlc_phy_static_table_download_nphy(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i64 @NREV_GE(i32 noundef %2, i32 noundef 16) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %16, label %5
5: ; preds = %1
%6 = load i64, ptr @mimophytbl_info_sz_rev16, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %57, label %8
8: ; preds = %5, %8
%9 = phi i64 [ %13, %8 ], [ 0, %5 ]
%10 = load ptr, ptr @mimophytbl_info_rev16, align 8, !tbaa !14
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %11) #2
%13 = add nuw i64 %9, 1
%14 = load i64, ptr @mimophytbl_info_sz_rev16, align 8, !tbaa !12
%15 = icmp ult i64 %13, %14
br i1 %15, label %8, label %57, !llvm.loop !16
16: ; preds = %1
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = tail call i64 @NREV_GE(i32 noundef %17, i32 noundef 7) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %31, label %20
20: ; preds = %16
%21 = load i64, ptr @mimophytbl_info_sz_rev7, align 8, !tbaa !12
%22 = icmp eq i64 %21, 0
br i1 %22, label %57, label %23
23: ; preds = %20, %23
%24 = phi i64 [ %28, %23 ], [ 0, %20 ]
%25 = load ptr, ptr @mimophytbl_info_rev7, align 8, !tbaa !14
%26 = getelementptr inbounds i32, ptr %25, i64 %24
%27 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %26) #2
%28 = add nuw i64 %24, 1
%29 = load i64, ptr @mimophytbl_info_sz_rev7, align 8, !tbaa !12
%30 = icmp ult i64 %28, %29
br i1 %30, label %23, label %57, !llvm.loop !18
31: ; preds = %16
%32 = load i32, ptr %0, align 4, !tbaa !6
%33 = tail call i64 @NREV_GE(i32 noundef %32, i32 noundef 3) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load i64, ptr @mimophytbl_info_sz_rev3, align 8, !tbaa !12
%37 = icmp eq i64 %36, 0
br i1 %37, label %57, label %41
38: ; preds = %31
%39 = load i64, ptr @mimophytbl_info_sz_rev0, align 8, !tbaa !12
%40 = icmp eq i64 %39, 0
br i1 %40, label %57, label %49
41: ; preds = %35, %41
%42 = phi i64 [ %46, %41 ], [ 0, %35 ]
%43 = load ptr, ptr @mimophytbl_info_rev3, align 8, !tbaa !14
%44 = getelementptr inbounds i32, ptr %43, i64 %42
%45 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %44) #2
%46 = add nuw i64 %42, 1
%47 = load i64, ptr @mimophytbl_info_sz_rev3, align 8, !tbaa !12
%48 = icmp ult i64 %46, %47
br i1 %48, label %41, label %57, !llvm.loop !19
49: ; preds = %38, %49
%50 = phi i64 [ %54, %49 ], [ 0, %38 ]
%51 = load ptr, ptr @mimophytbl_info_rev0, align 8, !tbaa !14
%52 = getelementptr inbounds i32, ptr %51, i64 %50
%53 = tail call i32 @wlc_phy_write_table_nphy(ptr noundef nonnull %0, ptr noundef %52) #2
%54 = add nuw i64 %50, 1
%55 = load i64, ptr @mimophytbl_info_sz_rev0, align 8, !tbaa !12
%56 = icmp ult i64 %54, %55
br i1 %56, label %49, label %57, !llvm.loop !20
57: ; preds = %8, %23, %41, %49, %5, %20, %35, %38
ret void
}
declare i64 @NREV_GE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wlc_phy_write_table_nphy(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 0}
!7 = !{!"brcms_phy", !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 = !{!13, !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
|
linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_phy_extr_phy_n.c_wlc_phy_static_table_download_nphy
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_write_reg_bits.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_write_reg_bits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@regmask = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @af9013_write_reg_bits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @af9013_write_reg_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @af9013_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %23
9: ; preds = %5
%10 = load ptr, ptr @regmask, align 8, !tbaa !5
%11 = sext i32 %3 to i64
%12 = getelementptr i32, ptr %10, i64 %11
%13 = getelementptr i32, ptr %12, i64 -1
%14 = load i32, ptr %13, align 4, !tbaa !9
%15 = shl i32 %14, %2
%16 = load i32, ptr %6, align 4, !tbaa !9
%17 = xor i32 %15, -1
%18 = and i32 %16, %17
%19 = and i32 %14, %4
%20 = shl i32 %19, %2
%21 = or i32 %18, %20
store i32 %21, ptr %6, align 4, !tbaa !9
%22 = call i32 @af9013_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %21) #3
br label %23
23: ; preds = %5, %9
%24 = phi i32 [ %22, %9 ], [ %7, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @af9013_read_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @af9013_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_write_reg_bits.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_write_reg_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@regmask = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @af9013_write_reg_bits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @af9013_write_reg_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @af9013_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %23
9: ; preds = %5
%10 = load ptr, ptr @regmask, align 8, !tbaa !6
%11 = sext i32 %3 to i64
%12 = getelementptr i32, ptr %10, i64 %11
%13 = getelementptr i8, ptr %12, i64 -4
%14 = load i32, ptr %13, align 4, !tbaa !10
%15 = shl i32 %14, %2
%16 = load i32, ptr %6, align 4, !tbaa !10
%17 = xor i32 %15, -1
%18 = and i32 %16, %17
%19 = and i32 %14, %4
%20 = shl i32 %19, %2
%21 = or i32 %18, %20
store i32 %21, ptr %6, align 4, !tbaa !10
%22 = call i32 @af9013_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %21) #3
br label %23
23: ; preds = %5, %9
%24 = phi i32 [ %22, %9 ], [ %7, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @af9013_read_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @af9013_write_reg(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 = !{!"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}
|
fastsocket_kernel_drivers_media_dvb_frontends_extr_af9013.c_af9013_write_reg_bits
|
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_descrip.c_close.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_descrip.c_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @close(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @__pthread_testcancel(i32 noundef 1) #2
%5 = tail call i32 @close_nocancel(i32 noundef %0, ptr noundef %1, ptr noundef %2) #2
ret i32 %5
}
declare i32 @__pthread_testcancel(i32 noundef) local_unnamed_addr #1
declare i32 @close_nocancel(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)"}
|
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_descrip.c_close.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_descrip.c_close.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 @close(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @__pthread_testcancel(i32 noundef 1) #2
%5 = tail call i32 @close_nocancel(i32 noundef %0, ptr noundef %1, ptr noundef %2) #2
ret i32 %5
}
declare i32 @__pthread_testcancel(i32 noundef) local_unnamed_addr #1
declare i32 @close_nocancel(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)"}
|
darwin-xnu_bsd_kern_extr_kern_descrip.c_close
|
; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_be-fsstubs.c_lo_read.c'
source_filename = "AnghaBench/postgres/src/backend/libpq/extr_be-fsstubs.c_lo_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"
@cookies_size = dso_local local_unnamed_addr global i32 0, align 4
@cookies = dso_local local_unnamed_addr global ptr null, align 8
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"invalid large-object descriptor: %d\00", align 1
@IFS_RDLOCK = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"large object descriptor %d was not opened for reading\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @lo_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %0, -1
%5 = load i32, ptr @cookies_size, align 4
%6 = icmp sgt i32 %5, %0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = load ptr, ptr @cookies, align 8, !tbaa !5
%10 = zext nneg i32 %0 to i64
%11 = getelementptr inbounds ptr, ptr %9, i64 %10
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %21
14: ; preds = %8, %3
%15 = load i32, ptr @ERROR, align 4, !tbaa !9
%16 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !9
%17 = tail call i32 @errcode(i32 noundef %16) #2
%18 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %0) #2
%19 = tail call i32 @ereport(i32 noundef %15, i32 noundef %18) #2
%20 = load ptr, ptr @cookies, align 8, !tbaa !5
br label %21
21: ; preds = %14, %8
%22 = phi ptr [ %20, %14 ], [ %9, %8 ]
%23 = sext i32 %0 to i64
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !5
%26 = load i32, ptr %25, align 4, !tbaa !11
%27 = load i32, ptr @IFS_RDLOCK, align 4, !tbaa !9
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %21
%31 = load i32, ptr @ERROR, align 4, !tbaa !9
%32 = load i32, ptr @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE, align 4, !tbaa !9
%33 = tail call i32 @errcode(i32 noundef %32) #2
%34 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %0) #2
%35 = tail call i32 @ereport(i32 noundef %31, i32 noundef %34) #2
br label %36
36: ; preds = %30, %21
%37 = tail call i32 @inv_read(ptr noundef nonnull %25, ptr noundef %1, i32 noundef %2) #2
ret i32 %37
}
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inv_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
|
; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_be-fsstubs.c_lo_read.c'
source_filename = "AnghaBench/postgres/src/backend/libpq/extr_be-fsstubs.c_lo_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cookies_size = common local_unnamed_addr global i32 0, align 4
@cookies = common local_unnamed_addr global ptr null, align 8
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_OBJECT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"invalid large-object descriptor: %d\00", align 1
@IFS_RDLOCK = common local_unnamed_addr global i32 0, align 4
@ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"large object descriptor %d was not opened for reading\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @lo_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %0, -1
%5 = load i32, ptr @cookies_size, align 4
%6 = icmp sgt i32 %5, %0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = load ptr, ptr @cookies, align 8, !tbaa !6
%10 = zext nneg i32 %0 to i64
%11 = getelementptr inbounds ptr, ptr %9, i64 %10
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %21
14: ; preds = %8, %3
%15 = load i32, ptr @ERROR, align 4, !tbaa !10
%16 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !10
%17 = tail call i32 @errcode(i32 noundef %16) #2
%18 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %0) #2
%19 = tail call i32 @ereport(i32 noundef %15, i32 noundef %18) #2
%20 = load ptr, ptr @cookies, align 8, !tbaa !6
br label %21
21: ; preds = %14, %8
%22 = phi ptr [ %20, %14 ], [ %9, %8 ]
%23 = sext i32 %0 to i64
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !6
%26 = load i32, ptr %25, align 4, !tbaa !12
%27 = load i32, ptr @IFS_RDLOCK, align 4, !tbaa !10
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %21
%31 = load i32, ptr @ERROR, align 4, !tbaa !10
%32 = load i32, ptr @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE, align 4, !tbaa !10
%33 = tail call i32 @errcode(i32 noundef %32) #2
%34 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %0) #2
%35 = tail call i32 @ereport(i32 noundef %31, i32 noundef %34) #2
br label %36
36: ; preds = %30, %21
%37 = tail call i32 @inv_read(ptr noundef nonnull %25, ptr noundef %1, i32 noundef %2) #2
ret i32 %37
}
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inv_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
|
postgres_src_backend_libpq_extr_be-fsstubs.c_lo_read
|
; ModuleID = 'AnghaBench/freebsd/lib/libthr/thread/extr_thr_private.h__thr_isthreaded.c'
source_filename = "AnghaBench/freebsd/lib/libthr/thread/extr_thr_private.h__thr_isthreaded.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__isthreaded = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @_thr_isthreaded], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @_thr_isthreaded() #0 {
%1 = load i64, ptr @__isthreaded, align 8, !tbaa !5
%2 = icmp ne i64 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/lib/libthr/thread/extr_thr_private.h__thr_isthreaded.c'
source_filename = "AnghaBench/freebsd/lib/libthr/thread/extr_thr_private.h__thr_isthreaded.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__isthreaded = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @_thr_isthreaded], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @_thr_isthreaded() #0 {
%1 = load i64, ptr @__isthreaded, align 8, !tbaa !6
%2 = icmp ne i64 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_lib_libthr_thread_extr_thr_private.h__thr_isthreaded
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Server.c_SiAcceptTasksFromController.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Server.c_SiAcceptTasksFromController.c"
target datalayout = "e-m:e-p270:32:32-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 @SiAcceptTasksFromController(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %44, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = tail call i32 @SiAcceptTasksFromControllerMain(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%10 = load i32, ptr %8, align 4, !tbaa !12
%11 = tail call i32 @LockList(i32 noundef %10) #2
%12 = load i32, ptr %8, align 4, !tbaa !12
%13 = tail call ptr @ToArray(i32 noundef %12) #2
%14 = load i32, ptr %8, align 4, !tbaa !12
%15 = tail call i64 @LIST_NUM(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = load i32, ptr %8, align 4, !tbaa !12
%19 = tail call i32 @UnlockList(i32 noundef %18) #2
br label %42
20: ; preds = %6, %20
%21 = phi i64 [ %26, %20 ], [ 0, %6 ]
%22 = getelementptr inbounds ptr, ptr %13, i64 %21
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = tail call i32 @AddRef(i32 noundef %24) #2
%26 = add nuw i64 %21, 1
%27 = icmp eq i64 %26, %15
br i1 %27, label %28, label %20, !llvm.loop !18
28: ; preds = %20
%29 = load i32, ptr %8, align 4, !tbaa !12
%30 = tail call i32 @UnlockList(i32 noundef %29) #2
br label %31
31: ; preds = %28, %31
%32 = phi i64 [ %40, %31 ], [ 0, %28 ]
%33 = getelementptr inbounds ptr, ptr %13, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = tail call i32 @SetHubOffline(ptr noundef %34) #2
%36 = load ptr, ptr %33, align 8, !tbaa !15
%37 = tail call i32 @DelHub(ptr noundef nonnull %8, ptr noundef %36) #2
%38 = load ptr, ptr %33, align 8, !tbaa !15
%39 = tail call i32 @ReleaseHub(ptr noundef %38) #2
%40 = add nuw i64 %32, 1
%41 = icmp eq i64 %40, %15
br i1 %41, label %42, label %31, !llvm.loop !20
42: ; preds = %31, %17
%43 = tail call i32 @Free(ptr noundef %13) #2
br label %44
44: ; preds = %2, %42
ret void
}
declare i32 @SiAcceptTasksFromControllerMain(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LockList(i32 noundef) local_unnamed_addr #1
declare ptr @ToArray(i32 noundef) local_unnamed_addr #1
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1
declare i32 @AddRef(i32 noundef) local_unnamed_addr #1
declare i32 @UnlockList(i32 noundef) local_unnamed_addr #1
declare i32 @SetHubOffline(ptr noundef) local_unnamed_addr #1
declare i32 @DelHub(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseHub(ptr noundef) local_unnamed_addr #1
declare i32 @Free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_15__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_13__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_16__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_14__", !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Server.c_SiAcceptTasksFromController.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Server.c_SiAcceptTasksFromController.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 @SiAcceptTasksFromController(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %44, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = tail call i32 @SiAcceptTasksFromControllerMain(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%10 = load i32, ptr %8, align 4, !tbaa !13
%11 = tail call i32 @LockList(i32 noundef %10) #2
%12 = load i32, ptr %8, align 4, !tbaa !13
%13 = tail call ptr @ToArray(i32 noundef %12) #2
%14 = load i32, ptr %8, align 4, !tbaa !13
%15 = tail call i64 @LIST_NUM(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = load i32, ptr %8, align 4, !tbaa !13
%19 = tail call i32 @UnlockList(i32 noundef %18) #2
br label %42
20: ; preds = %6, %20
%21 = phi i64 [ %26, %20 ], [ 0, %6 ]
%22 = getelementptr inbounds ptr, ptr %13, i64 %21
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = tail call i32 @AddRef(i32 noundef %24) #2
%26 = add nuw i64 %21, 1
%27 = icmp eq i64 %26, %15
br i1 %27, label %28, label %20, !llvm.loop !19
28: ; preds = %20
%29 = load i32, ptr %8, align 4, !tbaa !13
%30 = tail call i32 @UnlockList(i32 noundef %29) #2
br label %31
31: ; preds = %28, %31
%32 = phi i64 [ %40, %31 ], [ 0, %28 ]
%33 = getelementptr inbounds ptr, ptr %13, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = tail call i32 @SetHubOffline(ptr noundef %34) #2
%36 = load ptr, ptr %33, align 8, !tbaa !16
%37 = tail call i32 @DelHub(ptr noundef nonnull %8, ptr noundef %36) #2
%38 = load ptr, ptr %33, align 8, !tbaa !16
%39 = tail call i32 @ReleaseHub(ptr noundef %38) #2
%40 = add nuw i64 %32, 1
%41 = icmp eq i64 %40, %15
br i1 %41, label %42, label %31, !llvm.loop !21
42: ; preds = %31, %17
%43 = tail call i32 @Free(ptr noundef %13) #2
br label %44
44: ; preds = %2, %42
ret void
}
declare i32 @SiAcceptTasksFromControllerMain(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LockList(i32 noundef) local_unnamed_addr #1
declare ptr @ToArray(i32 noundef) local_unnamed_addr #1
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1
declare i32 @AddRef(i32 noundef) local_unnamed_addr #1
declare i32 @UnlockList(i32 noundef) local_unnamed_addr #1
declare i32 @SetHubOffline(ptr noundef) local_unnamed_addr #1
declare i32 @DelHub(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseHub(ptr noundef) local_unnamed_addr #1
declare i32 @Free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_15__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_13__", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_16__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_14__", !15, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
|
SoftEtherVPN_src_Cedar_extr_Server.c_SiAcceptTasksFromController
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_readw.c'
source_filename = "AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_readw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @imcsmb_readw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @imcsmb_readw(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3) #0 {
%5 = load i32, ptr @TRUE, align 4, !tbaa !5
%6 = load i32, ptr @FALSE, align 4, !tbaa !5
%7 = tail call i32 @imcsmb_transfer(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3, i32 noundef %5, i32 noundef %6) #2
ret i32 %7
}
declare i32 @imcsmb_transfer(i32 noundef, i32 noundef, i8 noundef signext, 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/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_readw.c'
source_filename = "AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_readw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @imcsmb_readw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @imcsmb_readw(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3) #0 {
%5 = load i32, ptr @TRUE, align 4, !tbaa !6
%6 = load i32, ptr @FALSE, align 4, !tbaa !6
%7 = tail call i32 @imcsmb_transfer(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, ptr noundef %3, i32 noundef %5, i32 noundef %6) #2
ret i32 %7
}
declare i32 @imcsmb_transfer(i32 noundef, i32 noundef, i8 noundef signext, 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"}
|
freebsd_sys_dev_imcsmb_extr_imcsmb.c_imcsmb_readw
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_ppgtt_alloc_spt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_ppgtt_alloc_spt.c"
target datalayout = "e-m:e-p270:32:32-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.intel_vgpu = type { %struct.TYPE_10__, ptr }
%struct.TYPE_10__ = type { i32 }
%struct.intel_vgpu_ppgtt_spt = type { %struct.TYPE_11__, i32, i32, ptr }
%struct.TYPE_11__ = type { i32, i32, i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@__GFP_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"fail to allocate ppgtt shadow page\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@PCI_DMA_BIDIRECTIONAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fail to map dma addr\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@I915_GTT_PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ppgtt_alloc_spt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ppgtt_alloc_spt(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.intel_vgpu, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %5, align 8, !tbaa !14
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%9 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !17
%10 = or i32 %9, %8
%11 = tail call ptr @alloc_spt(i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %7
%14 = load ptr, ptr %3, align 8, !tbaa !5
%15 = tail call i64 @reclaim_one_ppgtt_mm(ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %7
17: ; preds = %13
%18 = tail call i32 @gvt_vgpu_err(ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !17
%20 = sub nsw i32 0, %19
br label %53
21: ; preds = %7
%22 = getelementptr inbounds %struct.intel_vgpu_ppgtt_spt, ptr %11, i64 0, i32 3
store ptr %0, ptr %22, align 8, !tbaa !18
%23 = getelementptr inbounds %struct.intel_vgpu_ppgtt_spt, ptr %11, i64 0, i32 2
%24 = tail call i32 @atomic_set(ptr noundef nonnull %23, i32 noundef 1) #2
%25 = getelementptr inbounds %struct.intel_vgpu_ppgtt_spt, ptr %11, i64 0, i32 1
%26 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %25) #2
store i32 %1, ptr %11, align 8, !tbaa !21
%27 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 0, i32 2
%28 = load i32, ptr %27, align 8, !tbaa !22
%29 = load i32, ptr @PCI_DMA_BIDIRECTIONAL, align 4, !tbaa !17
%30 = tail call i32 @dma_map_page(ptr noundef %6, i32 noundef %28, i32 noundef 0, i32 noundef 4096, i32 noundef %29) #2
%31 = tail call i64 @dma_mapping_error(ptr noundef %6, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %21
%34 = tail call i32 @gvt_vgpu_err(ptr noundef nonnull @.str.1) #2
%35 = load i32, ptr @EINVAL, align 4, !tbaa !17
%36 = sub nsw i32 0, %35
br label %50
37: ; preds = %21
%38 = load i32, ptr %27, align 8, !tbaa !22
%39 = tail call i32 @page_address(i32 noundef %38) #2
%40 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 0, i32 3
store i32 %39, ptr %40, align 4, !tbaa !23
%41 = load i32, ptr @I915_GTT_PAGE_SHIFT, align 4, !tbaa !17
%42 = ashr i32 %30, %41
%43 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 0, i32 1
store i32 %42, ptr %43, align 4, !tbaa !24
%44 = tail call i32 @radix_tree_insert(ptr noundef nonnull %0, i32 noundef %42, ptr noundef nonnull %11) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %56, label %46
46: ; preds = %37
%47 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17
%48 = load i32, ptr @PCI_DMA_BIDIRECTIONAL, align 4, !tbaa !17
%49 = tail call i32 @dma_unmap_page(ptr noundef %6, i32 noundef %30, i32 noundef %47, i32 noundef %48) #2
br label %50
50: ; preds = %46, %33
%51 = phi i32 [ %36, %33 ], [ %44, %46 ]
%52 = tail call i32 @free_spt(ptr noundef nonnull %11) #2
br label %53
53: ; preds = %17, %50
%54 = phi i32 [ %51, %50 ], [ %20, %17 ]
%55 = tail call ptr @ERR_PTR(i32 noundef %54) #2
br label %56
56: ; preds = %53, %37
%57 = phi ptr [ %11, %37 ], [ %55, %53 ]
ret ptr %57
}
declare ptr @alloc_spt(i32 noundef) local_unnamed_addr #1
declare i64 @reclaim_one_ppgtt_mm(ptr noundef) local_unnamed_addr #1
declare i32 @gvt_vgpu_err(ptr 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 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @dma_map_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @page_address(i32 noundef) local_unnamed_addr #1
declare i32 @radix_tree_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_spt(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 8}
!6 = !{!"intel_vgpu", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_10__", !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, !11, i64 0}
!13 = !{!"TYPE_12__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_9__", !16, i64 0}
!16 = !{!"TYPE_8__", !11, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !11, i64 24}
!19 = !{!"intel_vgpu_ppgtt_spt", !20, i64 0, !8, i64 16, !8, i64 20, !11, i64 24}
!20 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!21 = !{!19, !8, i64 0}
!22 = !{!19, !8, i64 8}
!23 = !{!19, !8, i64 12}
!24 = !{!19, !8, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_ppgtt_alloc_spt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_ppgtt_alloc_spt.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
@__GFP_ZERO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"fail to allocate ppgtt shadow page\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@PCI_DMA_BIDIRECTIONAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fail to map dma addr\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@I915_GTT_PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ppgtt_alloc_spt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ppgtt_alloc_spt(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load ptr, ptr %5, align 8, !tbaa !15
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !18
%9 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !18
%10 = or i32 %9, %8
%11 = tail call ptr @alloc_spt(i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %7
%14 = load ptr, ptr %3, align 8, !tbaa !6
%15 = tail call i64 @reclaim_one_ppgtt_mm(ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %7
17: ; preds = %13
%18 = tail call i32 @gvt_vgpu_err(ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !18
%20 = sub nsw i32 0, %19
br label %53
21: ; preds = %7
%22 = getelementptr inbounds i8, ptr %11, i64 24
store ptr %0, ptr %22, align 8, !tbaa !19
%23 = getelementptr inbounds i8, ptr %11, i64 20
%24 = tail call i32 @atomic_set(ptr noundef nonnull %23, i32 noundef 1) #2
%25 = getelementptr inbounds i8, ptr %11, i64 16
%26 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %25) #2
store i32 %1, ptr %11, align 8, !tbaa !22
%27 = getelementptr inbounds i8, ptr %11, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !23
%29 = load i32, ptr @PCI_DMA_BIDIRECTIONAL, align 4, !tbaa !18
%30 = tail call i32 @dma_map_page(ptr noundef %6, i32 noundef %28, i32 noundef 0, i32 noundef 4096, i32 noundef %29) #2
%31 = tail call i64 @dma_mapping_error(ptr noundef %6, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %21
%34 = tail call i32 @gvt_vgpu_err(ptr noundef nonnull @.str.1) #2
%35 = load i32, ptr @EINVAL, align 4, !tbaa !18
%36 = sub nsw i32 0, %35
br label %50
37: ; preds = %21
%38 = load i32, ptr %27, align 8, !tbaa !23
%39 = tail call i32 @page_address(i32 noundef %38) #2
%40 = getelementptr inbounds i8, ptr %11, i64 12
store i32 %39, ptr %40, align 4, !tbaa !24
%41 = load i32, ptr @I915_GTT_PAGE_SHIFT, align 4, !tbaa !18
%42 = ashr i32 %30, %41
%43 = getelementptr inbounds i8, ptr %11, i64 4
store i32 %42, ptr %43, align 4, !tbaa !25
%44 = tail call i32 @radix_tree_insert(ptr noundef nonnull %0, i32 noundef %42, ptr noundef nonnull %11) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %56, label %46
46: ; preds = %37
%47 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !18
%48 = load i32, ptr @PCI_DMA_BIDIRECTIONAL, align 4, !tbaa !18
%49 = tail call i32 @dma_unmap_page(ptr noundef %6, i32 noundef %30, i32 noundef %47, i32 noundef %48) #2
br label %50
50: ; preds = %46, %33
%51 = phi i32 [ %36, %33 ], [ %44, %46 ]
%52 = tail call i32 @free_spt(ptr noundef nonnull %11) #2
br label %53
53: ; preds = %17, %50
%54 = phi i32 [ %51, %50 ], [ %20, %17 ]
%55 = tail call ptr @ERR_PTR(i32 noundef %54) #2
br label %56
56: ; preds = %53, %37
%57 = phi ptr [ %11, %37 ], [ %55, %53 ]
ret ptr %57
}
declare ptr @alloc_spt(i32 noundef) local_unnamed_addr #1
declare i64 @reclaim_one_ppgtt_mm(ptr noundef) local_unnamed_addr #1
declare i32 @gvt_vgpu_err(ptr 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 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @dma_map_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @page_address(i32 noundef) local_unnamed_addr #1
declare i32 @radix_tree_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_spt(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 8}
!7 = !{!"intel_vgpu", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_10__", !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, !12, i64 0}
!14 = !{!"TYPE_12__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_9__", !17, i64 0}
!17 = !{!"TYPE_8__", !12, i64 0}
!18 = !{!9, !9, i64 0}
!19 = !{!20, !12, i64 24}
!20 = !{!"intel_vgpu_ppgtt_spt", !21, i64 0, !9, i64 16, !9, i64 20, !12, i64 24}
!21 = !{!"TYPE_11__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!22 = !{!20, !9, i64 0}
!23 = !{!20, !9, i64 8}
!24 = !{!20, !9, i64 12}
!25 = !{!20, !9, i64 4}
|
linux_drivers_gpu_drm_i915_gvt_extr_gtt.c_ppgtt_alloc_spt
|
; ModuleID = 'AnghaBench/systemd/src/basic/extr_time-util.c_usec_shift_clock.c'
source_filename = "AnghaBench/systemd/src/basic/extr_time-util.c_usec_shift_clock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USEC_INFINITY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @usec_shift_clock(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr @USEC_INFINITY, align 8, !tbaa !5
%5 = icmp eq i64 %4, %0
br i1 %5, label %20, label %6
6: ; preds = %3
%7 = tail call i64 @map_clock_id(i32 noundef %1) #2
%8 = tail call i64 @map_clock_id(i32 noundef %2) #2
%9 = icmp eq i64 %7, %8
br i1 %9, label %20, label %10
10: ; preds = %6
%11 = tail call i64 @now(i32 noundef %1) #2
%12 = tail call i64 @now(i32 noundef %2) #2
%13 = icmp slt i64 %11, %0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = tail call i64 @usec_sub_unsigned(i64 noundef %0, i64 noundef %11) #2
%16 = tail call i64 @usec_add(i64 noundef %12, i64 noundef %15) #2
br label %20
17: ; preds = %10
%18 = tail call i64 @usec_sub_unsigned(i64 noundef %11, i64 noundef %0) #2
%19 = tail call i64 @usec_sub_unsigned(i64 noundef %12, i64 noundef %18) #2
br label %20
20: ; preds = %6, %3, %17, %14
%21 = phi i64 [ %16, %14 ], [ %19, %17 ], [ %0, %3 ], [ %0, %6 ]
ret i64 %21
}
declare i64 @map_clock_id(i32 noundef) local_unnamed_addr #1
declare i64 @now(i32 noundef) local_unnamed_addr #1
declare i64 @usec_add(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @usec_sub_unsigned(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/systemd/src/basic/extr_time-util.c_usec_shift_clock.c'
source_filename = "AnghaBench/systemd/src/basic/extr_time-util.c_usec_shift_clock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USEC_INFINITY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @usec_shift_clock(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr @USEC_INFINITY, align 8, !tbaa !6
%5 = icmp eq i64 %4, %0
br i1 %5, label %20, label %6
6: ; preds = %3
%7 = tail call i64 @map_clock_id(i32 noundef %1) #2
%8 = tail call i64 @map_clock_id(i32 noundef %2) #2
%9 = icmp eq i64 %7, %8
br i1 %9, label %20, label %10
10: ; preds = %6
%11 = tail call i64 @now(i32 noundef %1) #2
%12 = tail call i64 @now(i32 noundef %2) #2
%13 = icmp slt i64 %11, %0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = tail call i64 @usec_sub_unsigned(i64 noundef %0, i64 noundef %11) #2
%16 = tail call i64 @usec_add(i64 noundef %12, i64 noundef %15) #2
br label %20
17: ; preds = %10
%18 = tail call i64 @usec_sub_unsigned(i64 noundef %11, i64 noundef %0) #2
%19 = tail call i64 @usec_sub_unsigned(i64 noundef %12, i64 noundef %18) #2
br label %20
20: ; preds = %6, %3, %17, %14
%21 = phi i64 [ %16, %14 ], [ %19, %17 ], [ %0, %3 ], [ %0, %6 ]
ret i64 %21
}
declare i64 @map_clock_id(i32 noundef) local_unnamed_addr #1
declare i64 @now(i32 noundef) local_unnamed_addr #1
declare i64 @usec_add(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @usec_sub_unsigned(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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
systemd_src_basic_extr_time-util.c_usec_shift_clock
|
; ModuleID = 'AnghaBench/libgit2/examples/extr_common.c_match_numeric_arg.c'
source_filename = "AnghaBench/libgit2/examples/extr_common.c_match_numeric_arg.c"
target datalayout = "e-m:e-p270:32:32-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.args_info = type { ptr, i64, i32 }
@.str = private unnamed_addr constant [42 x i8] c"expected numeric value following argument\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @match_numeric_arg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @match_numeric_arg(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.args_info, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = getelementptr inbounds ptr, ptr %3, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = tail call i64 @is_prefixed(ptr noundef %7, ptr noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %31, label %10
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %7, i64 %8
%12 = load i8, ptr %11, align 1, !tbaa !14
switch i8 %12, label %31 [
i8 0, label %13
i8 61, label %29
]
13: ; preds = %10
%14 = load i64, ptr %4, align 8, !tbaa !12
%15 = add i64 %14, 1
%16 = getelementptr inbounds %struct.args_info, ptr %0, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !15
%18 = sext i32 %17 to i64
%19 = icmp eq i64 %15, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = tail call i32 @fatal(ptr noundef nonnull @.str, ptr noundef %1) #2
%22 = load i64, ptr %4, align 8, !tbaa !12
%23 = add i64 %22, 1
br label %24
24: ; preds = %20, %13
%25 = phi i64 [ %23, %20 ], [ %15, %13 ]
store i64 %25, ptr %4, align 8, !tbaa !12
%26 = load ptr, ptr %0, align 8, !tbaa !5
%27 = getelementptr inbounds ptr, ptr %26, i64 %25
%28 = load ptr, ptr %27, align 8, !tbaa !13
br label %31
29: ; preds = %10
%30 = getelementptr inbounds i8, ptr %11, i64 1
br label %31
31: ; preds = %24, %29, %10, %2
%32 = phi ptr [ null, %2 ], [ %30, %29 ], [ %28, %24 ], [ %11, %10 ]
ret ptr %32
}
declare i64 @is_prefixed(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fatal(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 = !{!"args_info", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !11, i64 16}
|
; ModuleID = 'AnghaBench/libgit2/examples/extr_common.c_match_numeric_arg.c'
source_filename = "AnghaBench/libgit2/examples/extr_common.c_match_numeric_arg.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 [42 x i8] c"expected numeric value following argument\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @match_numeric_arg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @match_numeric_arg(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = getelementptr inbounds ptr, ptr %3, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = tail call i64 @is_prefixed(ptr noundef %7, ptr noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %31, label %10
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %7, i64 %8
%12 = load i8, ptr %11, align 1, !tbaa !15
switch i8 %12, label %31 [
i8 0, label %13
i8 61, label %29
]
13: ; preds = %10
%14 = load i64, ptr %4, align 8, !tbaa !13
%15 = add i64 %14, 1
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !16
%18 = sext i32 %17 to i64
%19 = icmp eq i64 %15, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = tail call i32 @fatal(ptr noundef nonnull @.str, ptr noundef %1) #2
%22 = load i64, ptr %4, align 8, !tbaa !13
%23 = add i64 %22, 1
br label %24
24: ; preds = %20, %13
%25 = phi i64 [ %23, %20 ], [ %15, %13 ]
store i64 %25, ptr %4, align 8, !tbaa !13
%26 = load ptr, ptr %0, align 8, !tbaa !6
%27 = getelementptr inbounds ptr, ptr %26, i64 %25
%28 = load ptr, ptr %27, align 8, !tbaa !14
br label %31
29: ; preds = %10
%30 = getelementptr inbounds i8, ptr %11, i64 1
br label %31
31: ; preds = %24, %29, %10, %2
%32 = phi ptr [ null, %2 ], [ %30, %29 ], [ %28, %24 ], [ %11, %10 ]
ret ptr %32
}
declare i64 @is_prefixed(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fatal(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 = !{!"args_info", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!9, !9, i64 0}
!16 = !{!7, !12, i64 16}
|
libgit2_examples_extr_common.c_match_numeric_arg
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.