IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__cherry_pick.c'
source_filename = "AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__cherry_pick.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GIT_CHERRYPICK_HEAD_FILE = dso_local local_unnamed_addr global i32 0, align 4
@GIT_REPOSITORY_STATE_CHERRYPICK = dso_local local_unnamed_addr global i32 0, align 4
@_repo = dso_local local_unnamed_addr global i32 0, align 4
@GIT_REPOSITORY_STATE_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_repo_state__cherry_pick() local_unnamed_addr #0 {
%1 = load i32, ptr @GIT_CHERRYPICK_HEAD_FILE, align 4, !tbaa !5
%2 = tail call i32 @setup_simple_state(i32 noundef %1) #2
%3 = load i32, ptr @GIT_REPOSITORY_STATE_CHERRYPICK, align 4, !tbaa !5
%4 = tail call i32 @assert_repo_state(i32 noundef %3) #2
%5 = load i32, ptr @_repo, align 4, !tbaa !5
%6 = tail call i32 @git_repository_state_cleanup(i32 noundef %5) #2
%7 = tail call i32 @cl_git_pass(i32 noundef %6) #2
%8 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !5
%9 = tail call i32 @assert_repo_state(i32 noundef %8) #2
ret void
}
declare i32 @setup_simple_state(i32 noundef) local_unnamed_addr #1
declare i32 @assert_repo_state(i32 noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_repository_state_cleanup(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/libgit2/tests/repo/extr_state.c_test_repo_state__cherry_pick.c'
source_filename = "AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__cherry_pick.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_CHERRYPICK_HEAD_FILE = common local_unnamed_addr global i32 0, align 4
@GIT_REPOSITORY_STATE_CHERRYPICK = common local_unnamed_addr global i32 0, align 4
@_repo = common local_unnamed_addr global i32 0, align 4
@GIT_REPOSITORY_STATE_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_repo_state__cherry_pick() local_unnamed_addr #0 {
%1 = load i32, ptr @GIT_CHERRYPICK_HEAD_FILE, align 4, !tbaa !6
%2 = tail call i32 @setup_simple_state(i32 noundef %1) #2
%3 = load i32, ptr @GIT_REPOSITORY_STATE_CHERRYPICK, align 4, !tbaa !6
%4 = tail call i32 @assert_repo_state(i32 noundef %3) #2
%5 = load i32, ptr @_repo, align 4, !tbaa !6
%6 = tail call i32 @git_repository_state_cleanup(i32 noundef %5) #2
%7 = tail call i32 @cl_git_pass(i32 noundef %6) #2
%8 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !6
%9 = tail call i32 @assert_repo_state(i32 noundef %8) #2
ret void
}
declare i32 @setup_simple_state(i32 noundef) local_unnamed_addr #1
declare i32 @assert_repo_state(i32 noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_repository_state_cleanup(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"}
|
libgit2_tests_repo_extr_state.c_test_repo_state__cherry_pick
|
; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_frontend.c_agp_find_seg_in_client.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_frontend.c_agp_find_seg_in_client.c"
target datalayout = "e-m:e-p270:32:32-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.agp_client = type { i32, ptr }
%struct.agp_segment_priv = type { i64, i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @agp_find_seg_in_client], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @agp_find_seg_in_client(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = lshr i64 %1, 12
%6 = sdiv i32 %2, 4096
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds %struct.agp_client, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = load i32, ptr %0, align 8, !tbaa !12
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %36
13: ; preds = %4, %31
%14 = phi i32 [ %32, %31 ], [ %11, %4 ]
%15 = phi i64 [ %33, %31 ], [ 0, %4 ]
%16 = getelementptr inbounds %struct.agp_segment_priv, ptr %10, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = icmp eq i64 %17, %5
br i1 %18, label %19, label %31
19: ; preds = %13
%20 = getelementptr inbounds %struct.agp_segment_priv, ptr %10, i64 %15, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = icmp eq i64 %21, %7
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = getelementptr inbounds %struct.agp_segment_priv, ptr %10, i64 %15, i32 2
%25 = load i32, ptr %24, align 8, !tbaa !17
%26 = tail call i64 @pgprot_val(i32 noundef %25) #2
%27 = tail call i64 @pgprot_val(i32 noundef %3) #2
%28 = icmp eq i64 %26, %27
br i1 %28, label %36, label %29
29: ; preds = %23
%30 = load i32, ptr %0, align 8, !tbaa !12
br label %31
31: ; preds = %29, %13, %19
%32 = phi i32 [ %30, %29 ], [ %14, %13 ], [ %14, %19 ]
%33 = add nuw nsw i64 %15, 1
%34 = sext i32 %32 to i64
%35 = icmp slt i64 %33, %34
br i1 %35, label %13, label %36, !llvm.loop !18
36: ; preds = %23, %31, %4
%37 = phi ptr [ null, %4 ], [ null, %31 ], [ %16, %23 ]
ret ptr %37
}
declare i64 @pgprot_val(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"agp_client", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"agp_segment_priv", !15, i64 0, !15, i64 8, !7, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !7, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_frontend.c_agp_find_seg_in_client.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_frontend.c_agp_find_seg_in_client.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.agp_segment_priv = type { i64, i64, i32 }
@llvm.used = appending global [1 x ptr] [ptr @agp_find_seg_in_client], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @agp_find_seg_in_client(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = lshr i64 %1, 12
%6 = sdiv i32 %2, 4096
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr %0, align 8, !tbaa !13
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %36
13: ; preds = %4, %31
%14 = phi i32 [ %32, %31 ], [ %11, %4 ]
%15 = phi i64 [ %33, %31 ], [ 0, %4 ]
%16 = getelementptr inbounds %struct.agp_segment_priv, ptr %10, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = icmp eq i64 %17, %5
br i1 %18, label %19, label %31
19: ; preds = %13
%20 = getelementptr inbounds i8, ptr %16, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp eq i64 %21, %7
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %16, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !18
%26 = tail call i64 @pgprot_val(i32 noundef %25) #2
%27 = tail call i64 @pgprot_val(i32 noundef %3) #2
%28 = icmp eq i64 %26, %27
br i1 %28, label %36, label %29
29: ; preds = %23
%30 = load i32, ptr %0, align 8, !tbaa !13
br label %31
31: ; preds = %29, %13, %19
%32 = phi i32 [ %30, %29 ], [ %14, %13 ], [ %14, %19 ]
%33 = add nuw nsw i64 %15, 1
%34 = sext i32 %32 to i64
%35 = icmp slt i64 %33, %34
br i1 %35, label %13, label %36, !llvm.loop !19
36: ; preds = %23, %31, %4
%37 = phi ptr [ null, %4 ], [ null, %31 ], [ %16, %23 ]
ret ptr %37
}
declare i64 @pgprot_val(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"agp_client", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"agp_segment_priv", !16, i64 0, !16, i64 8, !8, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !8, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_char_agp_extr_frontend.c_agp_find_seg_in_client
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_select_band.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_select_band.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rum_softc = type { i32, i64, i64 }
@RT2573_PHY_CSR0 = dso_local local_unnamed_addr global i32 0, align 4
@RT2573_PA_PE_2GHZ = dso_local local_unnamed_addr global i32 0, align 4
@RT2573_PA_PE_5GHZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rum_select_band], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rum_select_band(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %2
br label %6
6: ; preds = %5, %2
%7 = phi i32 [ 40, %5 ], [ 32, %2 ]
%8 = phi i32 [ 96, %5 ], [ 80, %2 ]
%9 = phi i32 [ 88, %5 ], [ 72, %2 ]
%10 = phi i32 [ 56, %5 ], [ 44, %2 ]
%11 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds %struct.rum_softc, ptr %0, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !5
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %13, %6
%18 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %17
%21 = getelementptr inbounds %struct.rum_softc, ptr %0, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !11
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %20, %13
%25 = or disjoint i32 %7, 16
%26 = add nuw nsw i32 %9, 16
%27 = add nuw nsw i32 %10, 16
br label %28
28: ; preds = %24, %20, %17
%29 = phi i32 [ %25, %24 ], [ %7, %20 ], [ %7, %17 ]
%30 = phi i32 [ %26, %24 ], [ %9, %20 ], [ %9, %17 ]
%31 = phi i32 [ %27, %24 ], [ %10, %20 ], [ %10, %17 ]
store i32 %29, ptr %0, align 8, !tbaa !12
%32 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 17, i32 noundef %29) #2
%33 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 96, i32 noundef %30) #2
%34 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 104, i32 noundef %31) #2
%35 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %28
%38 = getelementptr inbounds %struct.rum_softc, ptr %0, i64 0, i32 2
%39 = load i64, ptr %38, align 8, !tbaa !5
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %37, %28
%42 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %52, label %44
44: ; preds = %41
%45 = getelementptr inbounds %struct.rum_softc, ptr %0, i64 0, i32 1
%46 = load i64, ptr %45, align 8, !tbaa !11
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %44, %37
%49 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 75, i32 noundef 128) #2
%50 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 86, i32 noundef 128) #2
%51 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 88, i32 noundef 128) #2
br label %52
52: ; preds = %48, %44, %41
%53 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 35, i32 noundef %8) #2
%54 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 97, i32 noundef %9) #2
%55 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 98, i32 noundef %9) #2
%56 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%57 = icmp eq i64 %56, 0
%58 = load i32, ptr @RT2573_PHY_CSR0, align 4, !tbaa !13
%59 = load i32, ptr @RT2573_PA_PE_5GHZ, align 4
%60 = load i32, ptr @RT2573_PA_PE_2GHZ, align 4
%61 = select i1 %57, i32 %59, i32 %60
%62 = select i1 %57, i32 %60, i32 %59
%63 = tail call i32 @rum_modbits(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %61, i32 noundef %62) #2
ret void
}
declare i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef) local_unnamed_addr #1
declare i32 @rum_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rum_modbits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"rum_softc", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_select_band.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_select_band.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RT2573_PHY_CSR0 = common local_unnamed_addr global i32 0, align 4
@RT2573_PA_PE_2GHZ = common local_unnamed_addr global i32 0, align 4
@RT2573_PA_PE_5GHZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rum_select_band], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rum_select_band(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %2
br label %6
6: ; preds = %5, %2
%7 = phi i32 [ 40, %5 ], [ 32, %2 ]
%8 = phi i32 [ 96, %5 ], [ 80, %2 ]
%9 = phi i32 [ 88, %5 ], [ 72, %2 ]
%10 = phi i32 [ 56, %5 ], [ 44, %2 ]
%11 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !6
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %13, %6
%18 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !12
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %20, %13
%25 = or disjoint i32 %7, 16
%26 = add nuw nsw i32 %9, 16
%27 = add nuw nsw i32 %10, 16
br label %28
28: ; preds = %24, %20, %17
%29 = phi i32 [ %25, %24 ], [ %7, %20 ], [ %7, %17 ]
%30 = phi i32 [ %26, %24 ], [ %9, %20 ], [ %9, %17 ]
%31 = phi i32 [ %27, %24 ], [ %10, %20 ], [ %10, %17 ]
store i32 %29, ptr %0, align 8, !tbaa !13
%32 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 17, i32 noundef %29) #2
%33 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 96, i32 noundef %30) #2
%34 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 104, i32 noundef %31) #2
%35 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %28
%38 = getelementptr inbounds i8, ptr %0, i64 16
%39 = load i64, ptr %38, align 8, !tbaa !6
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %37, %28
%42 = tail call i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef %1) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %52, label %44
44: ; preds = %41
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = load i64, ptr %45, align 8, !tbaa !12
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %44, %37
%49 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 75, i32 noundef 128) #2
%50 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 86, i32 noundef 128) #2
%51 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 88, i32 noundef 128) #2
br label %52
52: ; preds = %48, %44, %41
%53 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 35, i32 noundef %8) #2
%54 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 97, i32 noundef %9) #2
%55 = tail call i32 @rum_bbp_write(ptr noundef nonnull %0, i32 noundef 98, i32 noundef %9) #2
%56 = tail call i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef %1) #2
%57 = icmp eq i64 %56, 0
%58 = load i32, ptr @RT2573_PHY_CSR0, align 4, !tbaa !14
%59 = load i32, ptr @RT2573_PA_PE_5GHZ, align 4
%60 = load i32, ptr @RT2573_PA_PE_2GHZ, align 4
%61 = select i1 %57, i32 %59, i32 %60
%62 = select i1 %57, i32 %60, i32 %59
%63 = tail call i32 @rum_modbits(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %61, i32 noundef %62) #2
ret void
}
declare i64 @IEEE80211_IS_CHAN_5GHZ(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_2GHZ(ptr noundef) local_unnamed_addr #1
declare i32 @rum_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rum_modbits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"rum_softc", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
|
freebsd_sys_dev_usb_wlan_extr_if_rum.c_rum_select_band
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_scl_filters.c_get_filter_3tap_64p.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_scl_filters.c_get_filter_3tap_64p.c"
target datalayout = "e-m:e-p270:32:32-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 }
@dc_fixpt_one = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8
@filter_3tap_64p_upscale = dso_local local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_117 = dso_local local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_150 = dso_local local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_183 = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @get_filter_3tap_64p(i64 %0) local_unnamed_addr #0 {
%2 = load i64, ptr @dc_fixpt_one, align 8, !tbaa !5
%3 = icmp sgt i64 %2, %0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @dc_fixpt_from_fraction(i32 noundef 4, i32 noundef 3) #2
%6 = icmp sgt i64 %5, %0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = tail call i64 @dc_fixpt_from_fraction(i32 noundef 5, i32 noundef 3) #2
%9 = icmp sgt i64 %8, %0
%10 = select i1 %9, ptr @filter_3tap_64p_150, ptr @filter_3tap_64p_183
br label %11
11: ; preds = %7, %4, %1
%12 = phi ptr [ @filter_3tap_64p_upscale, %1 ], [ @filter_3tap_64p_117, %4 ], [ %10, %7 ]
%13 = load ptr, ptr %12, align 8, !tbaa !10
ret ptr %13
}
declare i64 @dc_fixpt_from_fraction(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_scl_filters.c_get_filter_3tap_64p.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_scl_filters.c_get_filter_3tap_64p.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 { i64 }
@dc_fixpt_one = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8
@filter_3tap_64p_upscale = common local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_117 = common local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_150 = common local_unnamed_addr global ptr null, align 8
@filter_3tap_64p_183 = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @get_filter_3tap_64p(i64 %0) local_unnamed_addr #0 {
%2 = load i64, ptr @dc_fixpt_one, align 8, !tbaa !6
%3 = icmp sgt i64 %2, %0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @dc_fixpt_from_fraction(i32 noundef 4, i32 noundef 3) #2
%6 = icmp sgt i64 %5, %0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = tail call i64 @dc_fixpt_from_fraction(i32 noundef 5, i32 noundef 3) #2
%9 = icmp sgt i64 %8, %0
%10 = select i1 %9, ptr @filter_3tap_64p_150, ptr @filter_3tap_64p_183
br label %11
11: ; preds = %7, %4, %1
%12 = phi ptr [ @filter_3tap_64p_upscale, %1 ], [ @filter_3tap_64p_117, %4 ], [ %10, %7 ]
%13 = load ptr, ptr %12, align 8, !tbaa !11
ret ptr %13
}
declare i64 @dc_fixpt_from_fraction(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
|
linux_drivers_gpu_drm_amd_display_dc_dce_extr_dce_scl_filters.c_get_filter_3tap_64p
|
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utmutex.c_acpi_ut_delete_mutex.c'
source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utmutex.c_acpi_ut_delete_mutex.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@ut_delete_mutex = dso_local local_unnamed_addr global i32 0, align 4
@acpi_gbl_mutex_info = dso_local local_unnamed_addr global ptr null, align 8
@ACPI_MUTEX_NOT_ACQUIRED = dso_local local_unnamed_addr global i32 0, align 4
@return_VOID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_ut_delete_mutex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @acpi_ut_delete_mutex(i64 noundef %0) #0 {
%2 = load i32, ptr @ut_delete_mutex, align 4, !tbaa !5
%3 = tail call i32 @ACPI_FUNCTION_TRACE_U32(i32 noundef %2, i64 noundef %0) #2
%4 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @acpi_os_delete_mutex(ptr noundef %6) #2
%8 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !9
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %0, i32 1
store ptr null, ptr %9, align 8, !tbaa !11
%10 = load i32, ptr @ACPI_MUTEX_NOT_ACQUIRED, align 4, !tbaa !5
%11 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %0
store i32 %10, ptr %12, align 8, !tbaa !13
ret void
}
declare i32 @ACPI_FUNCTION_TRACE_U32(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @acpi_os_delete_mutex(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_2__", !6, i64 0, !10, i64 8}
!13 = !{!12, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utmutex.c_acpi_ut_delete_mutex.c'
source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utmutex.c_acpi_ut_delete_mutex.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, ptr }
@ut_delete_mutex = common local_unnamed_addr global i32 0, align 4
@acpi_gbl_mutex_info = common local_unnamed_addr global ptr null, align 8
@ACPI_MUTEX_NOT_ACQUIRED = common local_unnamed_addr global i32 0, align 4
@return_VOID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @acpi_ut_delete_mutex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @acpi_ut_delete_mutex(i64 noundef %0) #0 {
%2 = load i32, ptr @ut_delete_mutex, align 4, !tbaa !6
%3 = tail call i32 @ACPI_FUNCTION_TRACE_U32(i32 noundef %2, i64 noundef %0) #2
%4 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @acpi_os_delete_mutex(ptr noundef %6) #2
%8 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %0, i32 1
store ptr null, ptr %9, align 8, !tbaa !12
%10 = load i32, ptr @ACPI_MUTEX_NOT_ACQUIRED, align 4, !tbaa !6
%11 = load ptr, ptr @acpi_gbl_mutex_info, align 8, !tbaa !10
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %0
store i32 %10, ptr %12, align 8, !tbaa !14
ret void
}
declare i32 @ACPI_FUNCTION_TRACE_U32(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @acpi_os_delete_mutex(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
!14 = !{!13, !7, i64 0}
|
linux_drivers_acpi_acpica_extr_utmutex.c_acpi_ut_delete_mutex
|
; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http.c_ngx_http_add_server.c'
source_filename = "AnghaBench/nginx/src/http/extr_ngx_http.c_ngx_http_add_server.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i64, ptr }
%struct.TYPE_10__ = type { %struct.TYPE_12__, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32 }
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@NGX_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"a duplicate listen %V\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_add_server], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ngx_http_add_server(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_12__, ptr %2, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i64, ptr %2, align 8, !tbaa !14
%9 = icmp eq i64 %8, 0
br i1 %9, label %27, label %18
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !15
%12 = tail call i64 @ngx_array_init(ptr noundef nonnull %2, i32 noundef %11, i32 noundef 4, i32 noundef 8) #2
%13 = load i64, ptr @NGX_OK, align 8, !tbaa !17
%14 = icmp eq i64 %12, %13
br i1 %14, label %27, label %31
15: ; preds = %18
%16 = add nuw i64 %19, 1
%17 = icmp eq i64 %16, %8
br i1 %17, label %27, label %18, !llvm.loop !18
18: ; preds = %7, %15
%19 = phi i64 [ %16, %15 ], [ 0, %7 ]
%20 = getelementptr inbounds ptr, ptr %5, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !20
%22 = icmp eq ptr %21, %1
br i1 %22, label %23, label %15
23: ; preds = %18
%24 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !21
%25 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%26 = tail call i32 @ngx_conf_log_error(i32 noundef %24, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %25) #2
br label %31
27: ; preds = %15, %7, %10
%28 = tail call ptr @ngx_array_push(ptr noundef nonnull %2) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %27
store ptr %1, ptr %28, align 8, !tbaa !20
br label %31
31: ; preds = %27, %10, %30, %23
%32 = phi ptr [ @NGX_OK, %30 ], [ @NGX_ERROR, %23 ], [ @NGX_ERROR, %10 ], [ @NGX_ERROR, %27 ]
%33 = load i64, ptr %32, align 8, !tbaa !17
ret i64 %33
}
declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ngx_array_push(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 = !{!"TYPE_10__", !7, i64 0, !12, i64 16}
!7 = !{!"TYPE_12__", !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 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!6, !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_11__", !13, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}
!21 = !{!13, !13, i64 0}
|
; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http.c_ngx_http_add_server.c'
source_filename = "AnghaBench/nginx/src/http/extr_ngx_http.c_ngx_http_add_server.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@NGX_ERROR = common local_unnamed_addr global i64 0, align 8
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"a duplicate listen %V\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_add_server], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ngx_http_add_server(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i64, ptr %2, align 8, !tbaa !15
%9 = icmp eq i64 %8, 0
br i1 %9, label %27, label %18
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !16
%12 = tail call i64 @ngx_array_init(ptr noundef nonnull %2, i32 noundef %11, i32 noundef 4, i32 noundef 8) #2
%13 = load i64, ptr @NGX_OK, align 8, !tbaa !18
%14 = icmp eq i64 %12, %13
br i1 %14, label %27, label %31
15: ; preds = %18
%16 = add nuw i64 %19, 1
%17 = icmp eq i64 %16, %8
br i1 %17, label %27, label %18, !llvm.loop !19
18: ; preds = %7, %15
%19 = phi i64 [ %16, %15 ], [ 0, %7 ]
%20 = getelementptr inbounds ptr, ptr %5, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !21
%22 = icmp eq ptr %21, %1
br i1 %22, label %23, label %15
23: ; preds = %18
%24 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !22
%25 = getelementptr inbounds i8, ptr %2, i64 16
%26 = tail call i32 @ngx_conf_log_error(i32 noundef %24, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %25) #2
br label %31
27: ; preds = %15, %7, %10
%28 = tail call ptr @ngx_array_push(ptr noundef nonnull %2) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %27
store ptr %1, ptr %28, align 8, !tbaa !21
br label %31
31: ; preds = %27, %10, %30, %23
%32 = phi ptr [ @NGX_OK, %30 ], [ @NGX_ERROR, %23 ], [ @NGX_ERROR, %10 ], [ @NGX_ERROR, %27 ]
%33 = load i64, ptr %32, align 8, !tbaa !18
ret i64 %33
}
declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ngx_array_push(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 = !{!"TYPE_10__", !8, i64 0, !13, i64 16}
!8 = !{!"TYPE_12__", !9, i64 0, !12, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!7, !9, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_11__", !14, i64 0}
!18 = !{!9, !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !12, i64 0}
!22 = !{!14, !14, i64 0}
|
nginx_src_http_extr_ngx_http.c_ngx_http_add_server
|
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_move_8_pd_ai.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_move_8_pd_ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_move_8_pd_ai], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_move_8_pd_ai() #0 {
%1 = tail call i32 (...) @OPER_AY_AI_8() #2
%2 = tail call i32 (...) @EA_AX_PD_8() #2
%3 = tail call i32 @NFLAG_8(i32 noundef %1) #2
store i32 %3, ptr @FLAG_N, align 4, !tbaa !5
store i32 %1, ptr @FLAG_Z, align 4, !tbaa !5
%4 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %4, ptr @FLAG_V, align 4, !tbaa !5
%5 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5
store i32 %5, ptr @FLAG_C, align 4, !tbaa !5
%6 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2
ret void
}
declare i32 @OPER_AY_AI_8(...) local_unnamed_addr #1
declare i32 @EA_AX_PD_8(...) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_move_8_pd_ai.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_move_8_pd_ai.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m68k_op_move_8_pd_ai], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_move_8_pd_ai() #0 {
%1 = tail call i32 @OPER_AY_AI_8() #2
%2 = tail call i32 @EA_AX_PD_8() #2
%3 = tail call i32 @NFLAG_8(i32 noundef %1) #2
store i32 %3, ptr @FLAG_N, align 4, !tbaa !6
store i32 %1, ptr @FLAG_Z, align 4, !tbaa !6
%4 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %4, ptr @FLAG_V, align 4, !tbaa !6
%5 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6
store i32 %5, ptr @FLAG_C, align 4, !tbaa !6
%6 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2
ret void
}
declare i32 @OPER_AY_AI_8(...) local_unnamed_addr #1
declare i32 @EA_AX_PD_8(...) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_move_8_pd_ai
|
; ModuleID = 'AnghaBench/freebsd/contrib/diff/src/extr_ifdef.c_scan_char_literal.c'
source_filename = "AnghaBench/freebsd/contrib/diff/src/extr_ifdef.c_scan_char_literal.c"
target datalayout = "e-m:e-p270:32:32-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 @scan_char_literal], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal ptr @scan_char_literal(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 1
%4 = load i8, ptr %0, align 1, !tbaa !5
switch i8 %4, label %26 [
i8 0, label %33
i8 39, label %33
i8 92, label %5
]
5: ; preds = %2, %11
%6 = phi i8 [ %18, %11 ], [ 0, %2 ]
%7 = phi ptr [ %8, %11 ], [ %3, %2 ]
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = load i8, ptr %7, align 1, !tbaa !5
%10 = icmp eq i8 %9, 39
br i1 %10, label %19, label %11
11: ; preds = %5
%12 = sext i8 %9 to i32
%13 = add nsw i32 %12, -48
%14 = icmp ult i32 %13, 8
%15 = sext i8 %6 to i32
%16 = shl nsw i32 %15, 3
%17 = add nuw nsw i32 %13, %16
%18 = trunc i32 %17 to i8
br i1 %14, label %5, label %33, !llvm.loop !8
19: ; preds = %5
%20 = ptrtoint ptr %8 to i64
%21 = ptrtoint ptr %0 to i64
%22 = sub i64 %20, %21
%23 = trunc i64 %22 to i32
%24 = add i32 %23, -3
%25 = icmp ult i32 %24, 3
br i1 %25, label %30, label %33
26: ; preds = %2
%27 = getelementptr inbounds i8, ptr %0, i64 2
%28 = load i8, ptr %3, align 1, !tbaa !5
%29 = icmp eq i8 %28, 39
br i1 %29, label %30, label %33
30: ; preds = %26, %19
%31 = phi i8 [ %4, %26 ], [ %6, %19 ]
%32 = phi ptr [ %27, %26 ], [ %8, %19 ]
store i8 %31, ptr %1, align 1, !tbaa !5
br label %33
33: ; preds = %11, %26, %19, %2, %2, %30
%34 = phi ptr [ %32, %30 ], [ null, %2 ], [ null, %2 ], [ null, %19 ], [ null, %26 ], [ null, %11 ]
ret ptr %34
}
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/diff/src/extr_ifdef.c_scan_char_literal.c'
source_filename = "AnghaBench/freebsd/contrib/diff/src/extr_ifdef.c_scan_char_literal.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 @scan_char_literal], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal ptr @scan_char_literal(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 1
%4 = load i8, ptr %0, align 1, !tbaa !6
switch i8 %4, label %26 [
i8 0, label %33
i8 39, label %33
i8 92, label %5
]
5: ; preds = %2, %11
%6 = phi i8 [ %18, %11 ], [ 0, %2 ]
%7 = phi ptr [ %8, %11 ], [ %3, %2 ]
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = load i8, ptr %7, align 1, !tbaa !6
%10 = icmp eq i8 %9, 39
br i1 %10, label %19, label %11
11: ; preds = %5
%12 = sext i8 %9 to i32
%13 = add nsw i32 %12, -48
%14 = icmp ult i32 %13, 8
%15 = sext i8 %6 to i32
%16 = shl nsw i32 %15, 3
%17 = add nuw nsw i32 %13, %16
%18 = trunc i32 %17 to i8
br i1 %14, label %5, label %33, !llvm.loop !9
19: ; preds = %5
%20 = ptrtoint ptr %8 to i64
%21 = ptrtoint ptr %0 to i64
%22 = sub i64 %20, %21
%23 = trunc i64 %22 to i32
%24 = add i32 %23, -3
%25 = icmp ult i32 %24, 3
br i1 %25, label %30, label %33
26: ; preds = %2
%27 = getelementptr inbounds i8, ptr %0, i64 2
%28 = load i8, ptr %3, align 1, !tbaa !6
%29 = icmp eq i8 %28, 39
br i1 %29, label %30, label %33
30: ; preds = %26, %19
%31 = phi i8 [ %4, %26 ], [ %6, %19 ]
%32 = phi ptr [ %27, %26 ], [ %8, %19 ]
store i8 %31, ptr %1, align 1, !tbaa !6
br label %33
33: ; preds = %11, %26, %19, %2, %2, %30
%34 = phi ptr [ %32, %30 ], [ null, %2 ], [ null, %2 ], [ null, %19 ], [ null, %26 ], [ null, %11 ]
ret ptr %34
}
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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
freebsd_contrib_diff_src_extr_ifdef.c_scan_char_literal
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_cw1200_sdio.c_cw1200_sdio_off.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_cw1200_sdio.c_cw1200_sdio_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.cw1200_platform_data_sdio = type { ptr, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cw1200_sdio_off], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cw1200_sdio_off(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.cw1200_platform_data_sdio, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = tail call i32 @gpio_set_value(i64 noundef %3, i32 noundef 0) #2
%7 = tail call i32 @msleep(i32 noundef 30) #2
%8 = load i64, ptr %2, align 8, !tbaa !5
%9 = tail call i32 @gpio_free(i64 noundef %8) #2
br label %10
10: ; preds = %5, %1
%11 = getelementptr inbounds %struct.cw1200_platform_data_sdio, ptr %0, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef 0) #2
br label %16
16: ; preds = %14, %10
%17 = load ptr, ptr %0, align 8, !tbaa !12
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 %17(ptr noundef nonnull %0, i32 noundef 0) #2
br label %21
21: ; preds = %19, %16
ret i32 0
}
declare i32 @gpio_set_value(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @gpio_free(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 16}
!6 = !{!"cw1200_platform_data_sdio", !7, i64 0, !7, i64 8, !10, 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 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_cw1200_sdio.c_cw1200_sdio_off.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_cw1200_sdio.c_cw1200_sdio_off.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 @cw1200_sdio_off], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @cw1200_sdio_off(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = tail call i32 @gpio_set_value(i64 noundef %3, i32 noundef 0) #2
%7 = tail call i32 @msleep(i32 noundef 30) #2
%8 = load i64, ptr %2, align 8, !tbaa !6
%9 = tail call i32 @gpio_free(i64 noundef %8) #2
br label %10
10: ; preds = %5, %1
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef 0) #2
br label %16
16: ; preds = %14, %10
%17 = load ptr, ptr %0, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 %17(ptr noundef nonnull %0, i32 noundef 0) #2
br label %21
21: ; preds = %19, %16
ret i32 0
}
declare i32 @gpio_set_value(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @gpio_free(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 16}
!7 = !{!"cw1200_platform_data_sdio", !8, i64 0, !8, i64 8, !11, 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 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 0}
|
linux_drivers_net_wireless_st_cw1200_extr_cw1200_sdio.c_cw1200_sdio_off
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/xinstall/extr_xinstall.c_main.c'
source_filename = "AnghaBench/freebsd/usr.bin/xinstall/extr_xinstall.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"
%struct.stat = type { i64, i64, i32 }
@owner = dso_local local_unnamed_addr global ptr null, align 8
@group = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [32 x i8] c"B:bCcD:df:g:h:l:M:m:N:o:pSsT:Uv\00", align 1
@optarg = dso_local local_unnamed_addr global ptr null, align 8
@suffix = dso_local local_unnamed_addr global ptr null, align 8
@dobackup = dso_local local_unnamed_addr global i32 0, align 4
@docompare = dso_local local_unnamed_addr global i32 0, align 4
@destdir = dso_local local_unnamed_addr global ptr null, align 8
@dodir = dso_local local_unnamed_addr global i32 0, align 4
@haveopt_f = dso_local local_unnamed_addr global i32 0, align 4
@fflags = dso_local global ptr null, align 8
@haveopt_g = dso_local local_unnamed_addr global i32 0, align 4
@digest = dso_local local_unnamed_addr global ptr null, align 8
@LN_HARD = dso_local local_unnamed_addr global i32 0, align 4
@LN_MIXED = dso_local local_unnamed_addr global i32 0, align 4
@dolink = dso_local local_unnamed_addr global i32 0, align 4
@LN_SYMBOLIC = dso_local local_unnamed_addr global i32 0, align 4
@LN_RELATIVE = dso_local local_unnamed_addr global i32 0, align 4
@LN_ABSOLUTE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"%c: invalid link type\00", align 1
@metafile = dso_local local_unnamed_addr global ptr null, align 8
@haveopt_m = dso_local local_unnamed_addr global i32 0, align 4
@EX_USAGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"invalid file mode: %s\00", align 1
@mode = dso_local local_unnamed_addr global i32 0, align 4
@EX_OSERR = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [47 x i8] c"Unable to use user and group databases in `%s'\00", align 1
@haveopt_o = dso_local local_unnamed_addr global i32 0, align 4
@dopreserve = dso_local local_unnamed_addr global i32 0, align 4
@safecopy = dso_local local_unnamed_addr global i32 0, align 4
@dostrip = dso_local local_unnamed_addr global i32 0, align 4
@tags = dso_local local_unnamed_addr global ptr null, align 8
@dounpriv = dso_local local_unnamed_addr global i32 0, align 4
@verbose = dso_local local_unnamed_addr global i32 0, align 4
@optind = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [40 x i8] c"-d and -s may not be specified together\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"DONTSTRIP\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c"DONTSTRIP set - will not strip installed binaries\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@DIGEST_NONE = dso_local local_unnamed_addr global i32 0, align 4
@digesttype = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [4 x i8] c"md5\00", align 1
@DIGEST_MD5 = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [7 x i8] c"rmd160\00", align 1
@DIGEST_RIPEMD160 = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1
@DIGEST_SHA1 = dso_local local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [7 x i8] c"sha256\00", align 1
@DIGEST_SHA256 = dso_local local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [7 x i8] c"sha512\00", align 1
@DIGEST_SHA512 = dso_local local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [20 x i8] c"unknown digest `%s'\00", align 1
@gid = dso_local global ptr null, align 8
@.str.14 = private unnamed_addr constant [17 x i8] c"unknown group %s\00", align 1
@uid = dso_local global ptr null, align 8
@.str.15 = private unnamed_addr constant [16 x i8] c"unknown user %s\00", align 1
@.str.16 = private unnamed_addr constant [17 x i8] c"%s: invalid flag\00", align 1
@SETFLAGS = dso_local local_unnamed_addr global i32 0, align 4
@.str.17 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@metafp = dso_local local_unnamed_addr global ptr null, align 8
@.str.18 = private unnamed_addr constant [8 x i8] c"open %s\00", align 1
@EX_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [12 x i8] c"%s vanished\00", align 1
@ENOTDIR = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DIRECTORY = dso_local local_unnamed_addr global i32 0, align 4
@.str.21 = private unnamed_addr constant [37 x i8] c"target directory `%s' does not exist\00", align 1
@.str.22 = private unnamed_addr constant [31 x i8] c"target `%s' is not a directory\00", align 1
@EFTYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str.23 = private unnamed_addr constant [28 x i8] c"%s and %s are the same file\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 8
%4 = alloca %struct.stat, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
store i64 0, ptr %5, align 8, !tbaa !5
store ptr null, ptr @owner, align 8, !tbaa !9
store ptr null, ptr @group, align 8, !tbaa !9
%8 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #6
%9 = icmp eq i32 %8, -1
br i1 %9, label %113, label %10
10: ; preds = %2, %110
%11 = phi i32 [ %111, %110 ], [ %8, %2 ]
%12 = shl i32 %11, 24
%13 = ashr exact i32 %12, 24
switch i32 %13, label %108 [
i32 66, label %14
i32 98, label %16
i32 67, label %17
i32 99, label %110
i32 68, label %18
i32 100, label %20
i32 102, label %21
i32 103, label %23
i32 104, label %25
i32 108, label %27
i32 77, label %78
i32 109, label %80
i32 78, label %91
i32 111, label %99
i32 112, label %101
i32 83, label %102
i32 115, label %103
i32 84, label %104
i32 85, label %106
i32 118, label %107
]
14: ; preds = %10
%15 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %15, ptr @suffix, align 8, !tbaa !9
br label %16
16: ; preds = %10, %14
store i32 1, ptr @dobackup, align 4, !tbaa !11
br label %110
17: ; preds = %10
store i32 1, ptr @docompare, align 4, !tbaa !11
br label %110
18: ; preds = %10
%19 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %19, ptr @destdir, align 8, !tbaa !9
br label %110
20: ; preds = %10
store i32 1, ptr @dodir, align 4, !tbaa !11
br label %110
21: ; preds = %10
store i32 1, ptr @haveopt_f, align 4, !tbaa !11
%22 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %22, ptr @fflags, align 8, !tbaa !9
br label %110
23: ; preds = %10
store i32 1, ptr @haveopt_g, align 4, !tbaa !11
%24 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %24, ptr @group, align 8, !tbaa !9
br label %110
25: ; preds = %10
%26 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %26, ptr @digest, align 8, !tbaa !9
br label %110
27: ; preds = %10
%28 = load ptr, ptr @optarg, align 8, !tbaa !9
br label %29
29: ; preds = %76, %27
%30 = phi ptr [ %28, %27 ], [ %77, %76 ]
%31 = load i8, ptr %30, align 1, !tbaa !13
switch i8 %31, label %73 [
i8 0, label %110
i8 115, label %32
i8 104, label %41
i8 109, label %50
i8 97, label %59
i8 114, label %66
]
32: ; preds = %29
%33 = load i32, ptr @LN_HARD, align 4, !tbaa !11
%34 = load i32, ptr @LN_MIXED, align 4, !tbaa !11
%35 = or i32 %34, %33
%36 = xor i32 %35, -1
%37 = load i32, ptr @dolink, align 4, !tbaa !11
%38 = and i32 %37, %36
%39 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !11
%40 = or i32 %39, %38
store i32 %40, ptr @dolink, align 4, !tbaa !11
br label %76
41: ; preds = %29
%42 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !11
%43 = load i32, ptr @LN_MIXED, align 4, !tbaa !11
%44 = or i32 %43, %42
%45 = xor i32 %44, -1
%46 = load i32, ptr @dolink, align 4, !tbaa !11
%47 = and i32 %46, %45
%48 = load i32, ptr @LN_HARD, align 4, !tbaa !11
%49 = or i32 %48, %47
store i32 %49, ptr @dolink, align 4, !tbaa !11
br label %76
50: ; preds = %29
%51 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !11
%52 = load i32, ptr @LN_HARD, align 4, !tbaa !11
%53 = or i32 %52, %51
%54 = xor i32 %53, -1
%55 = load i32, ptr @dolink, align 4, !tbaa !11
%56 = and i32 %55, %54
%57 = load i32, ptr @LN_MIXED, align 4, !tbaa !11
%58 = or i32 %57, %56
store i32 %58, ptr @dolink, align 4, !tbaa !11
br label %76
59: ; preds = %29
%60 = load i32, ptr @LN_RELATIVE, align 4, !tbaa !11
%61 = xor i32 %60, -1
%62 = load i32, ptr @dolink, align 4, !tbaa !11
%63 = and i32 %62, %61
%64 = load i32, ptr @LN_ABSOLUTE, align 4, !tbaa !11
%65 = or i32 %64, %63
store i32 %65, ptr @dolink, align 4, !tbaa !11
br label %76
66: ; preds = %29
%67 = load i32, ptr @LN_ABSOLUTE, align 4, !tbaa !11
%68 = xor i32 %67, -1
%69 = load i32, ptr @dolink, align 4, !tbaa !11
%70 = and i32 %69, %68
%71 = load i32, ptr @LN_RELATIVE, align 4, !tbaa !11
%72 = or i32 %71, %70
store i32 %72, ptr @dolink, align 4, !tbaa !11
br label %76
73: ; preds = %29
%74 = sext i8 %31 to i32
%75 = tail call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %74) #6
br label %76
76: ; preds = %32, %41, %50, %59, %66, %73
%77 = getelementptr inbounds i8, ptr %30, i64 1
br label %29, !llvm.loop !14
78: ; preds = %10
%79 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %79, ptr @metafile, align 8, !tbaa !9
br label %110
80: ; preds = %10
store i32 1, ptr @haveopt_m, align 4, !tbaa !11
%81 = load ptr, ptr @optarg, align 8, !tbaa !9
%82 = tail call ptr @setmode(ptr noundef %81) #6
%83 = icmp eq ptr %82, null
br i1 %83, label %84, label %88
84: ; preds = %80
%85 = load i32, ptr @EX_USAGE, align 4, !tbaa !11
%86 = load ptr, ptr @optarg, align 8, !tbaa !9
%87 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %85, ptr noundef nonnull @.str.2, ptr noundef %86) #6
br label %88
88: ; preds = %84, %80
%89 = tail call i32 @getmode(ptr noundef %82, i32 noundef 0) #6
store i32 %89, ptr @mode, align 4, !tbaa !11
%90 = tail call i32 @free(ptr noundef %82) #6
br label %110
91: ; preds = %10
%92 = load ptr, ptr @optarg, align 8, !tbaa !9
%93 = tail call i32 @setup_getid(ptr noundef %92) #6
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %110
95: ; preds = %91
%96 = load i32, ptr @EX_OSERR, align 4, !tbaa !11
%97 = load ptr, ptr @optarg, align 8, !tbaa !9
%98 = tail call i32 @err(i32 noundef %96, ptr noundef nonnull @.str.3, ptr noundef %97) #6
br label %110
99: ; preds = %10
store i32 1, ptr @haveopt_o, align 4, !tbaa !11
%100 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %100, ptr @owner, align 8, !tbaa !9
br label %110
101: ; preds = %10
store i32 1, ptr @dopreserve, align 4, !tbaa !11
store i32 1, ptr @docompare, align 4, !tbaa !11
br label %110
102: ; preds = %10
store i32 1, ptr @safecopy, align 4, !tbaa !11
br label %110
103: ; preds = %10
store i32 1, ptr @dostrip, align 4, !tbaa !11
br label %110
104: ; preds = %10
%105 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %105, ptr @tags, align 8, !tbaa !9
br label %110
106: ; preds = %10
store i32 1, ptr @dounpriv, align 4, !tbaa !11
br label %110
107: ; preds = %10
store i32 1, ptr @verbose, align 4, !tbaa !11
br label %110
108: ; preds = %10
%109 = tail call i32 (...) @usage() #6
br label %110
110: ; preds = %29, %91, %95, %108, %107, %106, %104, %103, %102, %101, %99, %88, %78, %10, %25, %23, %21, %20, %18, %17, %16
%111 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #6
%112 = icmp eq i32 %111, -1
br i1 %112, label %113, label %10, !llvm.loop !16
113: ; preds = %110, %2
%114 = load i64, ptr @optind, align 8, !tbaa !5
%115 = trunc i64 %114 to i32
%116 = sub i32 %0, %115
%117 = getelementptr inbounds ptr, ptr %1, i64 %114
%118 = load i32, ptr @dostrip, align 4, !tbaa !11
%119 = icmp ne i32 %118, 0
%120 = load i32, ptr @dodir, align 4
%121 = icmp ne i32 %120, 0
%122 = select i1 %119, i1 %121, i1 false
br i1 %122, label %123, label %126
123: ; preds = %113
%124 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.4) #6
%125 = tail call i32 (...) @usage() #6
br label %126
126: ; preds = %123, %113
%127 = tail call ptr @getenv(ptr noundef nonnull @.str.5)
%128 = icmp eq ptr %127, null
br i1 %128, label %131, label %129
129: ; preds = %126
%130 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.6) #6
store i32 0, ptr @dostrip, align 4, !tbaa !11
br label %131
131: ; preds = %129, %126
%132 = icmp eq i32 %115, %0
br i1 %132, label %138, label %133
133: ; preds = %131
%134 = icmp ne i32 %116, 1
%135 = load i32, ptr @dodir, align 4
%136 = icmp ne i32 %135, 0
%137 = select i1 %134, i1 true, i1 %136
br i1 %137, label %140, label %138
138: ; preds = %133, %131
%139 = tail call i32 (...) @usage() #6
br label %140
140: ; preds = %138, %133
%141 = load ptr, ptr @digest, align 8, !tbaa !9
%142 = icmp eq ptr %141, null
br i1 %142, label %182, label %143
143: ; preds = %140
%144 = tail call i64 @strcmp(ptr noundef nonnull %141, ptr noundef nonnull @.str.7) #6
%145 = icmp eq i64 %144, 0
br i1 %145, label %146, label %148
146: ; preds = %143
%147 = load i32, ptr @DIGEST_NONE, align 4, !tbaa !11
store i32 %147, ptr @digesttype, align 4, !tbaa !11
br label %182
148: ; preds = %143
%149 = load ptr, ptr @digest, align 8, !tbaa !9
%150 = tail call i64 @strcmp(ptr noundef %149, ptr noundef nonnull @.str.8) #6
%151 = icmp eq i64 %150, 0
br i1 %151, label %152, label %154
152: ; preds = %148
%153 = load i32, ptr @DIGEST_MD5, align 4, !tbaa !11
store i32 %153, ptr @digesttype, align 4, !tbaa !11
br label %182
154: ; preds = %148
%155 = load ptr, ptr @digest, align 8, !tbaa !9
%156 = tail call i64 @strcmp(ptr noundef %155, ptr noundef nonnull @.str.9) #6
%157 = icmp eq i64 %156, 0
br i1 %157, label %158, label %160
158: ; preds = %154
%159 = load i32, ptr @DIGEST_RIPEMD160, align 4, !tbaa !11
store i32 %159, ptr @digesttype, align 4, !tbaa !11
br label %182
160: ; preds = %154
%161 = load ptr, ptr @digest, align 8, !tbaa !9
%162 = tail call i64 @strcmp(ptr noundef %161, ptr noundef nonnull @.str.10) #6
%163 = icmp eq i64 %162, 0
br i1 %163, label %164, label %166
164: ; preds = %160
%165 = load i32, ptr @DIGEST_SHA1, align 4, !tbaa !11
store i32 %165, ptr @digesttype, align 4, !tbaa !11
br label %182
166: ; preds = %160
%167 = load ptr, ptr @digest, align 8, !tbaa !9
%168 = tail call i64 @strcmp(ptr noundef %167, ptr noundef nonnull @.str.11) #6
%169 = icmp eq i64 %168, 0
br i1 %169, label %170, label %172
170: ; preds = %166
%171 = load i32, ptr @DIGEST_SHA256, align 4, !tbaa !11
store i32 %171, ptr @digesttype, align 4, !tbaa !11
br label %182
172: ; preds = %166
%173 = load ptr, ptr @digest, align 8, !tbaa !9
%174 = tail call i64 @strcmp(ptr noundef %173, ptr noundef nonnull @.str.12) #6
%175 = icmp eq i64 %174, 0
br i1 %175, label %176, label %178
176: ; preds = %172
%177 = load i32, ptr @DIGEST_SHA512, align 4, !tbaa !11
store i32 %177, ptr @digesttype, align 4, !tbaa !11
br label %182
178: ; preds = %172
%179 = load ptr, ptr @digest, align 8, !tbaa !9
%180 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.13, ptr noundef %179) #6
%181 = tail call i32 (...) @usage() #6
br label %182
182: ; preds = %146, %158, %170, %178, %176, %164, %152, %140
%183 = load i32, ptr @docompare, align 4, !tbaa !11
%184 = icmp ne i32 %183, 0
%185 = load i32, ptr @dostrip, align 4
%186 = icmp ne i32 %185, 0
%187 = select i1 %184, i1 %186, i1 false
br i1 %187, label %188, label %189
188: ; preds = %182
store i32 1, ptr @safecopy, align 4, !tbaa !11
br label %189
189: ; preds = %188, %182
%190 = load ptr, ptr @group, align 8, !tbaa !9
%191 = icmp eq ptr %190, null
%192 = load i32, ptr @dounpriv, align 4
%193 = icmp ne i32 %192, 0
%194 = select i1 %191, i1 true, i1 %193
br i1 %194, label %207, label %195
195: ; preds = %189
%196 = tail call i32 @gid_from_group(ptr noundef nonnull %190, ptr noundef nonnull @gid) #6
%197 = icmp eq i32 %196, -1
br i1 %197, label %198, label %208
198: ; preds = %195
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
%199 = load ptr, ptr @group, align 8, !tbaa !9
%200 = call i32 @parseid(ptr noundef %199, ptr noundef nonnull %6) #6
%201 = icmp eq i32 %200, 0
br i1 %201, label %202, label %205
202: ; preds = %198
%203 = load ptr, ptr @group, align 8, !tbaa !9
%204 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.14, ptr noundef %203) #6
br label %205
205: ; preds = %202, %198
%206 = load ptr, ptr %6, align 8, !tbaa !9
store ptr %206, ptr @gid, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
br label %208
207: ; preds = %189
store ptr inttoptr (i64 -1 to ptr), ptr @gid, align 8, !tbaa !9
br label %208
208: ; preds = %195, %205, %207
%209 = load ptr, ptr @owner, align 8, !tbaa !9
%210 = icmp eq ptr %209, null
%211 = load i32, ptr @dounpriv, align 4
%212 = icmp ne i32 %211, 0
%213 = select i1 %210, i1 true, i1 %212
br i1 %213, label %226, label %214
214: ; preds = %208
%215 = call i32 @uid_from_user(ptr noundef nonnull %209, ptr noundef nonnull @uid) #6
%216 = icmp eq i32 %215, -1
br i1 %216, label %217, label %227
217: ; preds = %214
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
%218 = load ptr, ptr @owner, align 8, !tbaa !9
%219 = call i32 @parseid(ptr noundef %218, ptr noundef nonnull %7) #6
%220 = icmp eq i32 %219, 0
br i1 %220, label %221, label %224
221: ; preds = %217
%222 = load ptr, ptr @owner, align 8, !tbaa !9
%223 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.15, ptr noundef %222) #6
br label %224
224: ; preds = %221, %217
%225 = load ptr, ptr %7, align 8, !tbaa !9
store ptr %225, ptr @uid, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
br label %227
226: ; preds = %208
store ptr inttoptr (i64 -1 to ptr), ptr @uid, align 8, !tbaa !9
br label %227
227: ; preds = %214, %224, %226
%228 = load ptr, ptr @fflags, align 8, !tbaa !9
%229 = icmp eq ptr %228, null
%230 = load i32, ptr @dounpriv, align 4
%231 = icmp ne i32 %230, 0
%232 = select i1 %229, i1 true, i1 %231
br i1 %232, label %242, label %233
233: ; preds = %227
%234 = call i64 @strtofflags(ptr noundef nonnull @fflags, ptr noundef nonnull %5, ptr noundef null) #6
%235 = icmp eq i64 %234, 0
br i1 %235, label %240, label %236
236: ; preds = %233
%237 = load i32, ptr @EX_USAGE, align 4, !tbaa !11
%238 = load ptr, ptr @fflags, align 8, !tbaa !9
%239 = call i32 (i32, ptr, ...) @errx(i32 noundef %237, ptr noundef nonnull @.str.16, ptr noundef %238) #6
br label %240
240: ; preds = %236, %233
%241 = load i32, ptr @SETFLAGS, align 4, !tbaa !11
br label %242
242: ; preds = %240, %227
%243 = phi i32 [ 0, %227 ], [ %241, %240 ]
%244 = load ptr, ptr @metafile, align 8, !tbaa !9
%245 = icmp eq ptr %244, null
br i1 %245, label %252, label %246
246: ; preds = %242
%247 = call ptr @fopen(ptr noundef nonnull %244, ptr noundef nonnull @.str.17)
store ptr %247, ptr @metafp, align 8, !tbaa !9
%248 = icmp eq ptr %247, null
br i1 %248, label %249, label %254
249: ; preds = %246
%250 = load ptr, ptr @metafile, align 8, !tbaa !9
%251 = call i32 @warn(ptr noundef nonnull @.str.18, ptr noundef %250) #6
br label %254
252: ; preds = %242
%253 = load i32, ptr @DIGEST_NONE, align 4, !tbaa !11
store i32 %253, ptr @digesttype, align 4, !tbaa !11
br label %254
254: ; preds = %246, %249, %252
%255 = load i32, ptr @dodir, align 4, !tbaa !11
%256 = icmp eq i32 %255, 0
br i1 %256, label %270, label %257
257: ; preds = %254
%258 = load ptr, ptr %117, align 8, !tbaa !9
%259 = icmp eq ptr %258, null
br i1 %259, label %267, label %260
260: ; preds = %257, %260
%261 = phi ptr [ %265, %260 ], [ %258, %257 ]
%262 = phi ptr [ %264, %260 ], [ %117, %257 ]
%263 = call i32 @install_dir(ptr noundef nonnull %261) #6
%264 = getelementptr inbounds ptr, ptr %262, i64 1
%265 = load ptr, ptr %264, align 8, !tbaa !9
%266 = icmp eq ptr %265, null
br i1 %266, label %267, label %260, !llvm.loop !17
267: ; preds = %260, %257
%268 = load i32, ptr @EX_OK, align 4, !tbaa !11
%269 = call i32 @exit(i32 noundef %268) #7
unreachable
270: ; preds = %254
%271 = sext i32 %116 to i64
%272 = getelementptr ptr, ptr %117, i64 %271
%273 = getelementptr ptr, ptr %272, i64 -1
%274 = load ptr, ptr %273, align 8, !tbaa !9
%275 = call i32 @stat(ptr noundef %274, ptr noundef nonnull %4)
%276 = icmp ne i32 %275, 0
br i1 %276, label %325, label %277
277: ; preds = %270
%278 = getelementptr inbounds %struct.stat, ptr %4, i64 0, i32 2
%279 = load i32, ptr %278, align 8, !tbaa !18
%280 = call i64 @S_ISDIR(i32 noundef %279) #6
%281 = icmp eq i64 %280, 0
br i1 %281, label %327, label %282
282: ; preds = %277
%283 = load i32, ptr @dolink, align 4, !tbaa !11
%284 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !11
%285 = and i32 %284, %283
%286 = icmp eq i32 %285, 0
br i1 %286, label %309, label %287
287: ; preds = %282
%288 = call i64 @lstat(ptr noundef %274, ptr noundef nonnull %4) #6
%289 = icmp eq i64 %288, 0
br i1 %289, label %293, label %290
290: ; preds = %287
%291 = load i32, ptr @EX_OSERR, align 4, !tbaa !11
%292 = call i32 @err(i32 noundef %291, ptr noundef nonnull @.str.19, ptr noundef %274) #6
br label %293
293: ; preds = %290, %287
%294 = load i32, ptr %278, align 8, !tbaa !18
%295 = call i64 @S_ISLNK(i32 noundef %294) #6
%296 = icmp eq i64 %295, 0
br i1 %296, label %309, label %297
297: ; preds = %293
%298 = icmp eq i32 %116, 2
br i1 %298, label %303, label %299
299: ; preds = %297
%300 = load i32, ptr @ENOTDIR, align 4, !tbaa !11
store i32 %300, ptr @errno, align 4, !tbaa !11
%301 = load i32, ptr @EX_USAGE, align 4, !tbaa !11
%302 = call i32 @err(i32 noundef %301, ptr noundef nonnull @.str.20, ptr noundef %274) #6
br label %303
303: ; preds = %299, %297
%304 = load ptr, ptr %117, align 8, !tbaa !9
%305 = load i64, ptr %5, align 8, !tbaa !5
%306 = call i32 @install(ptr noundef %304, ptr noundef %274, i64 noundef %305, i32 noundef %243) #6
%307 = load i32, ptr @EX_OK, align 4, !tbaa !11
%308 = call i32 @exit(i32 noundef %307) #7
unreachable
309: ; preds = %293, %282
%310 = load ptr, ptr %117, align 8, !tbaa !9
%311 = icmp eq ptr %310, %274
br i1 %311, label %322, label %312
312: ; preds = %309, %312
%313 = phi ptr [ %320, %312 ], [ %310, %309 ]
%314 = phi ptr [ %319, %312 ], [ %117, %309 ]
%315 = load i64, ptr %5, align 8, !tbaa !5
%316 = load i32, ptr @DIRECTORY, align 4, !tbaa !11
%317 = or i32 %316, %243
%318 = call i32 @install(ptr noundef %313, ptr noundef %274, i64 noundef %315, i32 noundef %317) #6
%319 = getelementptr inbounds ptr, ptr %314, i64 1
%320 = load ptr, ptr %319, align 8, !tbaa !9
%321 = icmp eq ptr %320, %274
br i1 %321, label %322, label %312, !llvm.loop !20
322: ; preds = %312, %309
%323 = load i32, ptr @EX_OK, align 4, !tbaa !11
%324 = call i32 @exit(i32 noundef %323) #7
unreachable
325: ; preds = %270
%326 = icmp eq i32 %116, 2
br i1 %326, label %369, label %329
327: ; preds = %277
%328 = icmp eq i32 %116, 2
br i1 %328, label %334, label %329
329: ; preds = %327, %325
%330 = phi ptr [ @.str.21, %325 ], [ @.str.22, %327 ]
%331 = load ptr, ptr %273, align 8, !tbaa !9
%332 = call i32 (ptr, ...) @warnx(ptr noundef nonnull %330, ptr noundef %331) #6
%333 = call i32 (...) @usage() #6
br label %334
334: ; preds = %327, %329
%335 = load i32, ptr @dolink, align 4
%336 = icmp ne i32 %335, 0
%337 = select i1 %276, i1 true, i1 %336
br i1 %337, label %369, label %338
338: ; preds = %334
%339 = load ptr, ptr %117, align 8, !tbaa !9
%340 = call i32 @stat(ptr noundef %339, ptr noundef nonnull %3)
%341 = icmp eq i32 %340, 0
br i1 %341, label %346, label %342
342: ; preds = %338
%343 = load i32, ptr @EX_OSERR, align 4, !tbaa !11
%344 = load ptr, ptr %117, align 8, !tbaa !9
%345 = call i32 @err(i32 noundef %343, ptr noundef nonnull @.str.20, ptr noundef %344) #6
br label %346
346: ; preds = %342, %338
%347 = getelementptr inbounds %struct.stat, ptr %4, i64 0, i32 2
%348 = load i32, ptr %347, align 8, !tbaa !18
%349 = call i32 @S_ISREG(i32 noundef %348) #6
%350 = icmp eq i32 %349, 0
br i1 %350, label %351, label %355
351: ; preds = %346
%352 = load i32, ptr @EFTYPE, align 4, !tbaa !11
store i32 %352, ptr @errno, align 4, !tbaa !11
%353 = load i32, ptr @EX_OSERR, align 4, !tbaa !11
%354 = call i32 @err(i32 noundef %353, ptr noundef nonnull @.str.20, ptr noundef %274) #6
br label %355
355: ; preds = %351, %346
%356 = load i64, ptr %4, align 8, !tbaa !21
%357 = load i64, ptr %3, align 8, !tbaa !21
%358 = icmp eq i64 %356, %357
br i1 %358, label %359, label %369
359: ; preds = %355
%360 = getelementptr inbounds %struct.stat, ptr %4, i64 0, i32 1
%361 = load i64, ptr %360, align 8, !tbaa !22
%362 = getelementptr inbounds %struct.stat, ptr %3, i64 0, i32 1
%363 = load i64, ptr %362, align 8, !tbaa !22
%364 = icmp eq i64 %361, %363
br i1 %364, label %365, label %369
365: ; preds = %359
%366 = load i32, ptr @EX_USAGE, align 4, !tbaa !11
%367 = load ptr, ptr %117, align 8, !tbaa !9
%368 = call i32 (i32, ptr, ...) @errx(i32 noundef %366, ptr noundef nonnull @.str.23, ptr noundef %367, ptr noundef %274) #6
br label %369
369: ; preds = %325, %355, %359, %365, %334
%370 = load ptr, ptr %117, align 8, !tbaa !9
%371 = load i64, ptr %5, align 8, !tbaa !5
%372 = call i32 @install(ptr noundef %370, ptr noundef %274, i64 noundef %371, i32 noundef %243) #6
%373 = load i32, ptr @EX_OK, align 4, !tbaa !11
%374 = call i32 @exit(i32 noundef %373) #7
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @setmode(ptr noundef) local_unnamed_addr #2
declare i32 @getmode(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @setup_getid(ptr noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gid_from_group(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @parseid(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @uid_from_user(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strtofflags(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @install_dir(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #5
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #4
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i64 @lstat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2
declare i32 @install(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = !{!19, !12, i64 16}
!19 = !{!"stat", !6, i64 0, !6, i64 8, !12, i64 16}
!20 = distinct !{!20, !15}
!21 = !{!19, !6, i64 0}
!22 = !{!19, !6, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/xinstall/extr_xinstall.c_main.c'
source_filename = "AnghaBench/freebsd/usr.bin/xinstall/extr_xinstall.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i64, i64, i32 }
@owner = common local_unnamed_addr global ptr null, align 8
@group = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [32 x i8] c"B:bCcD:df:g:h:l:M:m:N:o:pSsT:Uv\00", align 1
@optarg = common local_unnamed_addr global ptr null, align 8
@suffix = common local_unnamed_addr global ptr null, align 8
@dobackup = common local_unnamed_addr global i32 0, align 4
@docompare = common local_unnamed_addr global i32 0, align 4
@destdir = common local_unnamed_addr global ptr null, align 8
@dodir = common local_unnamed_addr global i32 0, align 4
@haveopt_f = common local_unnamed_addr global i32 0, align 4
@fflags = common global ptr null, align 8
@haveopt_g = common local_unnamed_addr global i32 0, align 4
@digest = common local_unnamed_addr global ptr null, align 8
@LN_HARD = common local_unnamed_addr global i32 0, align 4
@LN_MIXED = common local_unnamed_addr global i32 0, align 4
@dolink = common local_unnamed_addr global i32 0, align 4
@LN_SYMBOLIC = common local_unnamed_addr global i32 0, align 4
@LN_RELATIVE = common local_unnamed_addr global i32 0, align 4
@LN_ABSOLUTE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"%c: invalid link type\00", align 1
@metafile = common local_unnamed_addr global ptr null, align 8
@haveopt_m = common local_unnamed_addr global i32 0, align 4
@EX_USAGE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"invalid file mode: %s\00", align 1
@mode = common local_unnamed_addr global i32 0, align 4
@EX_OSERR = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [47 x i8] c"Unable to use user and group databases in `%s'\00", align 1
@haveopt_o = common local_unnamed_addr global i32 0, align 4
@dopreserve = common local_unnamed_addr global i32 0, align 4
@safecopy = common local_unnamed_addr global i32 0, align 4
@dostrip = common local_unnamed_addr global i32 0, align 4
@tags = common local_unnamed_addr global ptr null, align 8
@dounpriv = common local_unnamed_addr global i32 0, align 4
@verbose = common local_unnamed_addr global i32 0, align 4
@optind = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [40 x i8] c"-d and -s may not be specified together\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"DONTSTRIP\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c"DONTSTRIP set - will not strip installed binaries\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@DIGEST_NONE = common local_unnamed_addr global i32 0, align 4
@digesttype = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [4 x i8] c"md5\00", align 1
@DIGEST_MD5 = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [7 x i8] c"rmd160\00", align 1
@DIGEST_RIPEMD160 = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1
@DIGEST_SHA1 = common local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [7 x i8] c"sha256\00", align 1
@DIGEST_SHA256 = common local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [7 x i8] c"sha512\00", align 1
@DIGEST_SHA512 = common local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [20 x i8] c"unknown digest `%s'\00", align 1
@gid = common global ptr null, align 8
@.str.14 = private unnamed_addr constant [17 x i8] c"unknown group %s\00", align 1
@uid = common global ptr null, align 8
@.str.15 = private unnamed_addr constant [16 x i8] c"unknown user %s\00", align 1
@.str.16 = private unnamed_addr constant [17 x i8] c"%s: invalid flag\00", align 1
@SETFLAGS = common local_unnamed_addr global i32 0, align 4
@.str.17 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@metafp = common local_unnamed_addr global ptr null, align 8
@.str.18 = private unnamed_addr constant [8 x i8] c"open %s\00", align 1
@EX_OK = common local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [12 x i8] c"%s vanished\00", align 1
@ENOTDIR = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DIRECTORY = common local_unnamed_addr global i32 0, align 4
@.str.21 = private unnamed_addr constant [37 x i8] c"target directory `%s' does not exist\00", align 1
@.str.22 = private unnamed_addr constant [31 x i8] c"target `%s' is not a directory\00", align 1
@EFTYPE = common local_unnamed_addr global i32 0, align 4
@.str.23 = private unnamed_addr constant [28 x i8] c"%s and %s are the same file\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 8
%4 = alloca %struct.stat, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
store i64 0, ptr %5, align 8, !tbaa !6
store ptr null, ptr @owner, align 8, !tbaa !10
store ptr null, ptr @group, align 8, !tbaa !10
%8 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #6
%9 = icmp eq i32 %8, -1
br i1 %9, label %113, label %10
10: ; preds = %2, %110
%11 = phi i32 [ %111, %110 ], [ %8, %2 ]
%12 = shl i32 %11, 24
%13 = ashr exact i32 %12, 24
switch i32 %13, label %108 [
i32 66, label %14
i32 98, label %16
i32 67, label %17
i32 99, label %110
i32 68, label %18
i32 100, label %20
i32 102, label %21
i32 103, label %23
i32 104, label %25
i32 108, label %27
i32 77, label %78
i32 109, label %80
i32 78, label %91
i32 111, label %99
i32 112, label %101
i32 83, label %102
i32 115, label %103
i32 84, label %104
i32 85, label %106
i32 118, label %107
]
14: ; preds = %10
%15 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %15, ptr @suffix, align 8, !tbaa !10
br label %16
16: ; preds = %10, %14
store i32 1, ptr @dobackup, align 4, !tbaa !12
br label %110
17: ; preds = %10
store i32 1, ptr @docompare, align 4, !tbaa !12
br label %110
18: ; preds = %10
%19 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %19, ptr @destdir, align 8, !tbaa !10
br label %110
20: ; preds = %10
store i32 1, ptr @dodir, align 4, !tbaa !12
br label %110
21: ; preds = %10
store i32 1, ptr @haveopt_f, align 4, !tbaa !12
%22 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %22, ptr @fflags, align 8, !tbaa !10
br label %110
23: ; preds = %10
store i32 1, ptr @haveopt_g, align 4, !tbaa !12
%24 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %24, ptr @group, align 8, !tbaa !10
br label %110
25: ; preds = %10
%26 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %26, ptr @digest, align 8, !tbaa !10
br label %110
27: ; preds = %10
%28 = load ptr, ptr @optarg, align 8, !tbaa !10
br label %29
29: ; preds = %76, %27
%30 = phi ptr [ %28, %27 ], [ %77, %76 ]
%31 = load i8, ptr %30, align 1, !tbaa !14
switch i8 %31, label %73 [
i8 0, label %110
i8 115, label %32
i8 104, label %41
i8 109, label %50
i8 97, label %59
i8 114, label %66
]
32: ; preds = %29
%33 = load i32, ptr @LN_HARD, align 4, !tbaa !12
%34 = load i32, ptr @LN_MIXED, align 4, !tbaa !12
%35 = or i32 %34, %33
%36 = xor i32 %35, -1
%37 = load i32, ptr @dolink, align 4, !tbaa !12
%38 = and i32 %37, %36
%39 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !12
%40 = or i32 %39, %38
store i32 %40, ptr @dolink, align 4, !tbaa !12
br label %76
41: ; preds = %29
%42 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !12
%43 = load i32, ptr @LN_MIXED, align 4, !tbaa !12
%44 = or i32 %43, %42
%45 = xor i32 %44, -1
%46 = load i32, ptr @dolink, align 4, !tbaa !12
%47 = and i32 %46, %45
%48 = load i32, ptr @LN_HARD, align 4, !tbaa !12
%49 = or i32 %48, %47
store i32 %49, ptr @dolink, align 4, !tbaa !12
br label %76
50: ; preds = %29
%51 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !12
%52 = load i32, ptr @LN_HARD, align 4, !tbaa !12
%53 = or i32 %52, %51
%54 = xor i32 %53, -1
%55 = load i32, ptr @dolink, align 4, !tbaa !12
%56 = and i32 %55, %54
%57 = load i32, ptr @LN_MIXED, align 4, !tbaa !12
%58 = or i32 %57, %56
store i32 %58, ptr @dolink, align 4, !tbaa !12
br label %76
59: ; preds = %29
%60 = load i32, ptr @LN_RELATIVE, align 4, !tbaa !12
%61 = xor i32 %60, -1
%62 = load i32, ptr @dolink, align 4, !tbaa !12
%63 = and i32 %62, %61
%64 = load i32, ptr @LN_ABSOLUTE, align 4, !tbaa !12
%65 = or i32 %64, %63
store i32 %65, ptr @dolink, align 4, !tbaa !12
br label %76
66: ; preds = %29
%67 = load i32, ptr @LN_ABSOLUTE, align 4, !tbaa !12
%68 = xor i32 %67, -1
%69 = load i32, ptr @dolink, align 4, !tbaa !12
%70 = and i32 %69, %68
%71 = load i32, ptr @LN_RELATIVE, align 4, !tbaa !12
%72 = or i32 %71, %70
store i32 %72, ptr @dolink, align 4, !tbaa !12
br label %76
73: ; preds = %29
%74 = sext i8 %31 to i32
%75 = tail call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %74) #6
br label %76
76: ; preds = %32, %41, %50, %59, %66, %73
%77 = getelementptr inbounds i8, ptr %30, i64 1
br label %29, !llvm.loop !15
78: ; preds = %10
%79 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %79, ptr @metafile, align 8, !tbaa !10
br label %110
80: ; preds = %10
store i32 1, ptr @haveopt_m, align 4, !tbaa !12
%81 = load ptr, ptr @optarg, align 8, !tbaa !10
%82 = tail call ptr @setmode(ptr noundef %81) #6
%83 = icmp eq ptr %82, null
br i1 %83, label %84, label %88
84: ; preds = %80
%85 = load i32, ptr @EX_USAGE, align 4, !tbaa !12
%86 = load ptr, ptr @optarg, align 8, !tbaa !10
%87 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %85, ptr noundef nonnull @.str.2, ptr noundef %86) #6
br label %88
88: ; preds = %84, %80
%89 = tail call i32 @getmode(ptr noundef %82, i32 noundef 0) #6
store i32 %89, ptr @mode, align 4, !tbaa !12
%90 = tail call i32 @free(ptr noundef %82) #6
br label %110
91: ; preds = %10
%92 = load ptr, ptr @optarg, align 8, !tbaa !10
%93 = tail call i32 @setup_getid(ptr noundef %92) #6
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %110
95: ; preds = %91
%96 = load i32, ptr @EX_OSERR, align 4, !tbaa !12
%97 = load ptr, ptr @optarg, align 8, !tbaa !10
%98 = tail call i32 @err(i32 noundef %96, ptr noundef nonnull @.str.3, ptr noundef %97) #6
br label %110
99: ; preds = %10
store i32 1, ptr @haveopt_o, align 4, !tbaa !12
%100 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %100, ptr @owner, align 8, !tbaa !10
br label %110
101: ; preds = %10
store i32 1, ptr @dopreserve, align 4, !tbaa !12
store i32 1, ptr @docompare, align 4, !tbaa !12
br label %110
102: ; preds = %10
store i32 1, ptr @safecopy, align 4, !tbaa !12
br label %110
103: ; preds = %10
store i32 1, ptr @dostrip, align 4, !tbaa !12
br label %110
104: ; preds = %10
%105 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %105, ptr @tags, align 8, !tbaa !10
br label %110
106: ; preds = %10
store i32 1, ptr @dounpriv, align 4, !tbaa !12
br label %110
107: ; preds = %10
store i32 1, ptr @verbose, align 4, !tbaa !12
br label %110
108: ; preds = %10
%109 = tail call i32 @usage() #6
br label %110
110: ; preds = %29, %91, %95, %108, %107, %106, %104, %103, %102, %101, %99, %88, %78, %10, %25, %23, %21, %20, %18, %17, %16
%111 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #6
%112 = icmp eq i32 %111, -1
br i1 %112, label %113, label %10, !llvm.loop !17
113: ; preds = %110, %2
%114 = load i64, ptr @optind, align 8, !tbaa !6
%115 = trunc i64 %114 to i32
%116 = sub i32 %0, %115
%117 = getelementptr inbounds ptr, ptr %1, i64 %114
%118 = load i32, ptr @dostrip, align 4, !tbaa !12
%119 = icmp ne i32 %118, 0
%120 = load i32, ptr @dodir, align 4
%121 = icmp ne i32 %120, 0
%122 = select i1 %119, i1 %121, i1 false
br i1 %122, label %123, label %126
123: ; preds = %113
%124 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.4) #6
%125 = tail call i32 @usage() #6
br label %126
126: ; preds = %123, %113
%127 = tail call ptr @getenv(ptr noundef nonnull @.str.5)
%128 = icmp eq ptr %127, null
br i1 %128, label %131, label %129
129: ; preds = %126
%130 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.6) #6
store i32 0, ptr @dostrip, align 4, !tbaa !12
br label %131
131: ; preds = %129, %126
%132 = icmp eq i32 %115, %0
br i1 %132, label %138, label %133
133: ; preds = %131
%134 = icmp ne i32 %116, 1
%135 = load i32, ptr @dodir, align 4
%136 = icmp ne i32 %135, 0
%137 = select i1 %134, i1 true, i1 %136
br i1 %137, label %140, label %138
138: ; preds = %133, %131
%139 = tail call i32 @usage() #6
br label %140
140: ; preds = %138, %133
%141 = load ptr, ptr @digest, align 8, !tbaa !10
%142 = icmp eq ptr %141, null
br i1 %142, label %182, label %143
143: ; preds = %140
%144 = tail call i64 @strcmp(ptr noundef nonnull %141, ptr noundef nonnull @.str.7) #6
%145 = icmp eq i64 %144, 0
br i1 %145, label %146, label %148
146: ; preds = %143
%147 = load i32, ptr @DIGEST_NONE, align 4, !tbaa !12
store i32 %147, ptr @digesttype, align 4, !tbaa !12
br label %182
148: ; preds = %143
%149 = load ptr, ptr @digest, align 8, !tbaa !10
%150 = tail call i64 @strcmp(ptr noundef %149, ptr noundef nonnull @.str.8) #6
%151 = icmp eq i64 %150, 0
br i1 %151, label %152, label %154
152: ; preds = %148
%153 = load i32, ptr @DIGEST_MD5, align 4, !tbaa !12
store i32 %153, ptr @digesttype, align 4, !tbaa !12
br label %182
154: ; preds = %148
%155 = load ptr, ptr @digest, align 8, !tbaa !10
%156 = tail call i64 @strcmp(ptr noundef %155, ptr noundef nonnull @.str.9) #6
%157 = icmp eq i64 %156, 0
br i1 %157, label %158, label %160
158: ; preds = %154
%159 = load i32, ptr @DIGEST_RIPEMD160, align 4, !tbaa !12
store i32 %159, ptr @digesttype, align 4, !tbaa !12
br label %182
160: ; preds = %154
%161 = load ptr, ptr @digest, align 8, !tbaa !10
%162 = tail call i64 @strcmp(ptr noundef %161, ptr noundef nonnull @.str.10) #6
%163 = icmp eq i64 %162, 0
br i1 %163, label %164, label %166
164: ; preds = %160
%165 = load i32, ptr @DIGEST_SHA1, align 4, !tbaa !12
store i32 %165, ptr @digesttype, align 4, !tbaa !12
br label %182
166: ; preds = %160
%167 = load ptr, ptr @digest, align 8, !tbaa !10
%168 = tail call i64 @strcmp(ptr noundef %167, ptr noundef nonnull @.str.11) #6
%169 = icmp eq i64 %168, 0
br i1 %169, label %170, label %172
170: ; preds = %166
%171 = load i32, ptr @DIGEST_SHA256, align 4, !tbaa !12
store i32 %171, ptr @digesttype, align 4, !tbaa !12
br label %182
172: ; preds = %166
%173 = load ptr, ptr @digest, align 8, !tbaa !10
%174 = tail call i64 @strcmp(ptr noundef %173, ptr noundef nonnull @.str.12) #6
%175 = icmp eq i64 %174, 0
br i1 %175, label %176, label %178
176: ; preds = %172
%177 = load i32, ptr @DIGEST_SHA512, align 4, !tbaa !12
store i32 %177, ptr @digesttype, align 4, !tbaa !12
br label %182
178: ; preds = %172
%179 = load ptr, ptr @digest, align 8, !tbaa !10
%180 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.13, ptr noundef %179) #6
%181 = tail call i32 @usage() #6
br label %182
182: ; preds = %146, %158, %170, %178, %176, %164, %152, %140
%183 = load i32, ptr @docompare, align 4, !tbaa !12
%184 = icmp ne i32 %183, 0
%185 = load i32, ptr @dostrip, align 4
%186 = icmp ne i32 %185, 0
%187 = select i1 %184, i1 %186, i1 false
br i1 %187, label %188, label %189
188: ; preds = %182
store i32 1, ptr @safecopy, align 4, !tbaa !12
br label %189
189: ; preds = %188, %182
%190 = load ptr, ptr @group, align 8, !tbaa !10
%191 = icmp eq ptr %190, null
%192 = load i32, ptr @dounpriv, align 4
%193 = icmp ne i32 %192, 0
%194 = select i1 %191, i1 true, i1 %193
br i1 %194, label %207, label %195
195: ; preds = %189
%196 = tail call i32 @gid_from_group(ptr noundef nonnull %190, ptr noundef nonnull @gid) #6
%197 = icmp eq i32 %196, -1
br i1 %197, label %198, label %208
198: ; preds = %195
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
%199 = load ptr, ptr @group, align 8, !tbaa !10
%200 = call i32 @parseid(ptr noundef %199, ptr noundef nonnull %6) #6
%201 = icmp eq i32 %200, 0
br i1 %201, label %202, label %205
202: ; preds = %198
%203 = load ptr, ptr @group, align 8, !tbaa !10
%204 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.14, ptr noundef %203) #6
br label %205
205: ; preds = %202, %198
%206 = load ptr, ptr %6, align 8, !tbaa !10
store ptr %206, ptr @gid, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
br label %208
207: ; preds = %189
store ptr inttoptr (i64 -1 to ptr), ptr @gid, align 8, !tbaa !10
br label %208
208: ; preds = %195, %205, %207
%209 = load ptr, ptr @owner, align 8, !tbaa !10
%210 = icmp eq ptr %209, null
%211 = load i32, ptr @dounpriv, align 4
%212 = icmp ne i32 %211, 0
%213 = select i1 %210, i1 true, i1 %212
br i1 %213, label %226, label %214
214: ; preds = %208
%215 = call i32 @uid_from_user(ptr noundef nonnull %209, ptr noundef nonnull @uid) #6
%216 = icmp eq i32 %215, -1
br i1 %216, label %217, label %227
217: ; preds = %214
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
%218 = load ptr, ptr @owner, align 8, !tbaa !10
%219 = call i32 @parseid(ptr noundef %218, ptr noundef nonnull %7) #6
%220 = icmp eq i32 %219, 0
br i1 %220, label %221, label %224
221: ; preds = %217
%222 = load ptr, ptr @owner, align 8, !tbaa !10
%223 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.15, ptr noundef %222) #6
br label %224
224: ; preds = %221, %217
%225 = load ptr, ptr %7, align 8, !tbaa !10
store ptr %225, ptr @uid, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
br label %227
226: ; preds = %208
store ptr inttoptr (i64 -1 to ptr), ptr @uid, align 8, !tbaa !10
br label %227
227: ; preds = %214, %224, %226
%228 = load ptr, ptr @fflags, align 8, !tbaa !10
%229 = icmp eq ptr %228, null
%230 = load i32, ptr @dounpriv, align 4
%231 = icmp ne i32 %230, 0
%232 = select i1 %229, i1 true, i1 %231
br i1 %232, label %242, label %233
233: ; preds = %227
%234 = call i64 @strtofflags(ptr noundef nonnull @fflags, ptr noundef nonnull %5, ptr noundef null) #6
%235 = icmp eq i64 %234, 0
br i1 %235, label %240, label %236
236: ; preds = %233
%237 = load i32, ptr @EX_USAGE, align 4, !tbaa !12
%238 = load ptr, ptr @fflags, align 8, !tbaa !10
%239 = call i32 (i32, ptr, ...) @errx(i32 noundef %237, ptr noundef nonnull @.str.16, ptr noundef %238) #6
br label %240
240: ; preds = %236, %233
%241 = load i32, ptr @SETFLAGS, align 4, !tbaa !12
br label %242
242: ; preds = %240, %227
%243 = phi i32 [ 0, %227 ], [ %241, %240 ]
%244 = load ptr, ptr @metafile, align 8, !tbaa !10
%245 = icmp eq ptr %244, null
br i1 %245, label %252, label %246
246: ; preds = %242
%247 = call ptr @fopen(ptr noundef nonnull %244, ptr noundef nonnull @.str.17)
store ptr %247, ptr @metafp, align 8, !tbaa !10
%248 = icmp eq ptr %247, null
br i1 %248, label %249, label %254
249: ; preds = %246
%250 = load ptr, ptr @metafile, align 8, !tbaa !10
%251 = call i32 @warn(ptr noundef nonnull @.str.18, ptr noundef %250) #6
br label %254
252: ; preds = %242
%253 = load i32, ptr @DIGEST_NONE, align 4, !tbaa !12
store i32 %253, ptr @digesttype, align 4, !tbaa !12
br label %254
254: ; preds = %246, %249, %252
%255 = load i32, ptr @dodir, align 4, !tbaa !12
%256 = icmp eq i32 %255, 0
br i1 %256, label %270, label %257
257: ; preds = %254
%258 = load ptr, ptr %117, align 8, !tbaa !10
%259 = icmp eq ptr %258, null
br i1 %259, label %267, label %260
260: ; preds = %257, %260
%261 = phi ptr [ %265, %260 ], [ %258, %257 ]
%262 = phi ptr [ %264, %260 ], [ %117, %257 ]
%263 = call i32 @install_dir(ptr noundef nonnull %261) #6
%264 = getelementptr inbounds i8, ptr %262, i64 8
%265 = load ptr, ptr %264, align 8, !tbaa !10
%266 = icmp eq ptr %265, null
br i1 %266, label %267, label %260, !llvm.loop !18
267: ; preds = %260, %257
%268 = load i32, ptr @EX_OK, align 4, !tbaa !12
%269 = call i32 @exit(i32 noundef %268) #7
unreachable
270: ; preds = %254
%271 = sext i32 %116 to i64
%272 = getelementptr ptr, ptr %117, i64 %271
%273 = getelementptr i8, ptr %272, i64 -8
%274 = load ptr, ptr %273, align 8, !tbaa !10
%275 = call i32 @stat(ptr noundef %274, ptr noundef nonnull %4)
%276 = icmp ne i32 %275, 0
br i1 %276, label %325, label %277
277: ; preds = %270
%278 = getelementptr inbounds i8, ptr %4, i64 16
%279 = load i32, ptr %278, align 8, !tbaa !19
%280 = call i64 @S_ISDIR(i32 noundef %279) #6
%281 = icmp eq i64 %280, 0
br i1 %281, label %327, label %282
282: ; preds = %277
%283 = load i32, ptr @dolink, align 4, !tbaa !12
%284 = load i32, ptr @LN_SYMBOLIC, align 4, !tbaa !12
%285 = and i32 %284, %283
%286 = icmp eq i32 %285, 0
br i1 %286, label %309, label %287
287: ; preds = %282
%288 = call i64 @lstat(ptr noundef %274, ptr noundef nonnull %4) #6
%289 = icmp eq i64 %288, 0
br i1 %289, label %293, label %290
290: ; preds = %287
%291 = load i32, ptr @EX_OSERR, align 4, !tbaa !12
%292 = call i32 @err(i32 noundef %291, ptr noundef nonnull @.str.19, ptr noundef %274) #6
br label %293
293: ; preds = %290, %287
%294 = load i32, ptr %278, align 8, !tbaa !19
%295 = call i64 @S_ISLNK(i32 noundef %294) #6
%296 = icmp eq i64 %295, 0
br i1 %296, label %309, label %297
297: ; preds = %293
%298 = icmp eq i32 %116, 2
br i1 %298, label %303, label %299
299: ; preds = %297
%300 = load i32, ptr @ENOTDIR, align 4, !tbaa !12
store i32 %300, ptr @errno, align 4, !tbaa !12
%301 = load i32, ptr @EX_USAGE, align 4, !tbaa !12
%302 = call i32 @err(i32 noundef %301, ptr noundef nonnull @.str.20, ptr noundef %274) #6
br label %303
303: ; preds = %299, %297
%304 = load ptr, ptr %117, align 8, !tbaa !10
%305 = load i64, ptr %5, align 8, !tbaa !6
%306 = call i32 @install(ptr noundef %304, ptr noundef %274, i64 noundef %305, i32 noundef %243) #6
%307 = load i32, ptr @EX_OK, align 4, !tbaa !12
%308 = call i32 @exit(i32 noundef %307) #7
unreachable
309: ; preds = %293, %282
%310 = load ptr, ptr %117, align 8, !tbaa !10
%311 = icmp eq ptr %310, %274
br i1 %311, label %322, label %312
312: ; preds = %309, %312
%313 = phi ptr [ %320, %312 ], [ %310, %309 ]
%314 = phi ptr [ %319, %312 ], [ %117, %309 ]
%315 = load i64, ptr %5, align 8, !tbaa !6
%316 = load i32, ptr @DIRECTORY, align 4, !tbaa !12
%317 = or i32 %316, %243
%318 = call i32 @install(ptr noundef %313, ptr noundef %274, i64 noundef %315, i32 noundef %317) #6
%319 = getelementptr inbounds i8, ptr %314, i64 8
%320 = load ptr, ptr %319, align 8, !tbaa !10
%321 = icmp eq ptr %320, %274
br i1 %321, label %322, label %312, !llvm.loop !21
322: ; preds = %312, %309
%323 = load i32, ptr @EX_OK, align 4, !tbaa !12
%324 = call i32 @exit(i32 noundef %323) #7
unreachable
325: ; preds = %270
%326 = icmp eq i32 %116, 2
br i1 %326, label %369, label %329
327: ; preds = %277
%328 = icmp eq i32 %116, 2
br i1 %328, label %334, label %329
329: ; preds = %327, %325
%330 = phi ptr [ @.str.21, %325 ], [ @.str.22, %327 ]
%331 = load ptr, ptr %273, align 8, !tbaa !10
%332 = call i32 (ptr, ...) @warnx(ptr noundef nonnull %330, ptr noundef %331) #6
%333 = call i32 @usage() #6
br label %334
334: ; preds = %327, %329
%335 = load i32, ptr @dolink, align 4
%336 = icmp ne i32 %335, 0
%337 = select i1 %276, i1 true, i1 %336
br i1 %337, label %369, label %338
338: ; preds = %334
%339 = load ptr, ptr %117, align 8, !tbaa !10
%340 = call i32 @stat(ptr noundef %339, ptr noundef nonnull %3)
%341 = icmp eq i32 %340, 0
br i1 %341, label %346, label %342
342: ; preds = %338
%343 = load i32, ptr @EX_OSERR, align 4, !tbaa !12
%344 = load ptr, ptr %117, align 8, !tbaa !10
%345 = call i32 @err(i32 noundef %343, ptr noundef nonnull @.str.20, ptr noundef %344) #6
br label %346
346: ; preds = %342, %338
%347 = getelementptr inbounds i8, ptr %4, i64 16
%348 = load i32, ptr %347, align 8, !tbaa !19
%349 = call i32 @S_ISREG(i32 noundef %348) #6
%350 = icmp eq i32 %349, 0
br i1 %350, label %351, label %355
351: ; preds = %346
%352 = load i32, ptr @EFTYPE, align 4, !tbaa !12
store i32 %352, ptr @errno, align 4, !tbaa !12
%353 = load i32, ptr @EX_OSERR, align 4, !tbaa !12
%354 = call i32 @err(i32 noundef %353, ptr noundef nonnull @.str.20, ptr noundef %274) #6
br label %355
355: ; preds = %351, %346
%356 = load i64, ptr %4, align 8, !tbaa !22
%357 = load i64, ptr %3, align 8, !tbaa !22
%358 = icmp eq i64 %356, %357
br i1 %358, label %359, label %369
359: ; preds = %355
%360 = getelementptr inbounds i8, ptr %4, i64 8
%361 = load i64, ptr %360, align 8, !tbaa !23
%362 = getelementptr inbounds i8, ptr %3, i64 8
%363 = load i64, ptr %362, align 8, !tbaa !23
%364 = icmp eq i64 %361, %363
br i1 %364, label %365, label %369
365: ; preds = %359
%366 = load i32, ptr @EX_USAGE, align 4, !tbaa !12
%367 = load ptr, ptr %117, align 8, !tbaa !10
%368 = call i32 (i32, ptr, ...) @errx(i32 noundef %366, ptr noundef nonnull @.str.23, ptr noundef %367, ptr noundef %274) #6
br label %369
369: ; preds = %325, %355, %359, %365, %334
%370 = load ptr, ptr %117, align 8, !tbaa !10
%371 = load i64, ptr %5, align 8, !tbaa !6
%372 = call i32 @install(ptr noundef %370, ptr noundef %274, i64 noundef %371, i32 noundef %243) #6
%373 = load i32, ptr @EX_OK, align 4, !tbaa !12
%374 = call i32 @exit(i32 noundef %373) #7
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @setmode(ptr noundef) local_unnamed_addr #2
declare i32 @getmode(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @setup_getid(ptr noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gid_from_group(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @parseid(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @uid_from_user(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strtofflags(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @install_dir(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #5
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #4
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i64 @lstat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2
declare i32 @install(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!20, !13, i64 16}
!20 = !{!"stat", !7, i64 0, !7, i64 8, !13, i64 16}
!21 = distinct !{!21, !16}
!22 = !{!20, !7, i64 0}
!23 = !{!20, !7, i64 8}
|
freebsd_usr.bin_xinstall_extr_xinstall.c_main
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_ps3.c_ps3_console_write.c'
source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_ps3.c_ps3_console_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ps3_console_write], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @ps3_console_write(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_ps3.c_ps3_console_write.c'
source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_ps3.c_ps3_console_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ps3_console_write], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @ps3_console_write(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_arch_powerpc_boot_extr_ps3.c_ps3_console_write
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-cards.c_em28xx_usb_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-cards.c_em28xx_usb_disconnect.c"
target datalayout = "e-m:e-p270:32:32-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.em28xx = type { ptr, i64, i32, i32, i32, i32, ptr, i32, i32 }
@.str = private unnamed_addr constant [18 x i8] c"disconnecting %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [82 x i8] c"device %s is open! Deregistration and memory deallocation are deferred on close.\0A\00", align 1
@DEV_MISCONFIGURED = dso_local local_unnamed_addr global i32 0, align 4
@DEV_DISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @em28xx_usb_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @em28xx_usb_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #2
%4 = icmp eq ptr %2, null
br i1 %4, label %50, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 6
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 2
%11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 8
%13 = tail call i32 @wake_up_interruptible_all(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 7
%15 = tail call i32 @v4l2_device_disconnect(ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = icmp eq i64 %17, 0
br i1 %18, label %35, label %19
19: ; preds = %5
%20 = load ptr, ptr %6, align 8, !tbaa !5
%21 = tail call i32 @video_device_node_name(ptr noundef %20) #2
%22 = tail call i32 @em28xx_warn(ptr noundef nonnull @.str.1, i32 noundef %21) #2
%23 = load i32, ptr @DEV_MISCONFIGURED, align 4, !tbaa !15
%24 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 3
%25 = load i32, ptr %24, align 4, !tbaa !16
%26 = or i32 %25, %23
store i32 %26, ptr %24, align 4, !tbaa !16
%27 = tail call i32 @em28xx_uninit_isoc(ptr noundef nonnull %2) #2
%28 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !15
%29 = load i32, ptr %24, align 4, !tbaa !16
%30 = or i32 %29, %28
store i32 %30, ptr %24, align 4, !tbaa !16
%31 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 5
%32 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %31) #2
%33 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 4
%34 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %33) #2
br label %41
35: ; preds = %5
%36 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !15
%37 = getelementptr inbounds %struct.em28xx, ptr %2, i64 0, i32 3
%38 = load i32, ptr %37, align 4, !tbaa !16
%39 = or i32 %38, %36
store i32 %39, ptr %37, align 4, !tbaa !16
%40 = tail call i32 @em28xx_release_resources(ptr noundef nonnull %2) #2
br label %41
41: ; preds = %35, %19
%42 = tail call i32 @em28xx_close_extension(ptr noundef nonnull %2) #2
%43 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2
%44 = load i64, ptr %16, align 8, !tbaa !14
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %41
%47 = load ptr, ptr %2, align 8, !tbaa !17
%48 = tail call i32 @kfree(ptr noundef %47) #2
%49 = tail call i32 @kfree(ptr noundef nonnull %2) #2
br label %50
50: ; preds = %41, %46, %1
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible_all(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_device_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_warn(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @video_device_node_name(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_uninit_isoc(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_close_extension(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"em28xx", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !7, i64 32, !11, i64 40, !11, i64 44}
!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 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !11, i64 20}
!17 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-cards.c_em28xx_usb_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-cards.c_em28xx_usb_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [18 x i8] c"disconnecting %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [82 x i8] c"device %s is open! Deregistration and memory deallocation are deferred on close.\0A\00", align 1
@DEV_MISCONFIGURED = common local_unnamed_addr global i32 0, align 4
@DEV_DISCONNECTED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @em28xx_usb_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @em28xx_usb_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #2
%4 = icmp eq ptr %2, null
br i1 %4, label %50, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %2, i64 32
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %2, i64 16
%11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds i8, ptr %2, i64 44
%13 = tail call i32 @wake_up_interruptible_all(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %2, i64 40
%15 = tail call i32 @v4l2_device_disconnect(ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %2, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp eq i64 %17, 0
br i1 %18, label %35, label %19
19: ; preds = %5
%20 = load ptr, ptr %6, align 8, !tbaa !6
%21 = tail call i32 @video_device_node_name(ptr noundef %20) #2
%22 = tail call i32 @em28xx_warn(ptr noundef nonnull @.str.1, i32 noundef %21) #2
%23 = load i32, ptr @DEV_MISCONFIGURED, align 4, !tbaa !16
%24 = getelementptr inbounds i8, ptr %2, i64 20
%25 = load i32, ptr %24, align 4, !tbaa !17
%26 = or i32 %25, %23
store i32 %26, ptr %24, align 4, !tbaa !17
%27 = tail call i32 @em28xx_uninit_isoc(ptr noundef nonnull %2) #2
%28 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !16
%29 = load i32, ptr %24, align 4, !tbaa !17
%30 = or i32 %29, %28
store i32 %30, ptr %24, align 4, !tbaa !17
%31 = getelementptr inbounds i8, ptr %2, i64 28
%32 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %31) #2
%33 = getelementptr inbounds i8, ptr %2, i64 24
%34 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %33) #2
br label %41
35: ; preds = %5
%36 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !16
%37 = getelementptr inbounds i8, ptr %2, i64 20
%38 = load i32, ptr %37, align 4, !tbaa !17
%39 = or i32 %38, %36
store i32 %39, ptr %37, align 4, !tbaa !17
%40 = tail call i32 @em28xx_release_resources(ptr noundef nonnull %2) #2
br label %41
41: ; preds = %35, %19
%42 = tail call i32 @em28xx_close_extension(ptr noundef nonnull %2) #2
%43 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2
%44 = load i64, ptr %16, align 8, !tbaa !15
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %41
%47 = load ptr, ptr %2, align 8, !tbaa !18
%48 = tail call i32 @kfree(ptr noundef %47) #2
%49 = tail call i32 @kfree(ptr noundef nonnull %2) #2
br label %50
50: ; preds = %41, %46, %1
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible_all(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_device_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_warn(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @video_device_node_name(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_uninit_isoc(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @em28xx_close_extension(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 32}
!7 = !{!"em28xx", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !8, i64 32, !12, i64 40, !12, i64 44}
!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 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 20}
!18 = !{!7, !8, i64 0}
|
fastsocket_kernel_drivers_media_video_em28xx_extr_em28xx-cards.c_em28xx_usb_disconnect
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_set_rss_hash_key.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_set_rss_hash_key.c"
target datalayout = "e-m:e-p270:32:32-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 @xlgmac_set_rss_hash_key], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xlgmac_set_rss_hash_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @memcpy(i32 noundef %3, ptr noundef %1, i32 noundef 4) #2
%5 = tail call i32 @xlgmac_write_rss_hash_key(ptr noundef nonnull %0) #2
ret i32 %5
}
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xlgmac_write_rss_hash_key(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 = !{!"xlgmac_pdata", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_set_rss_hash_key.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_set_rss_hash_key.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 @xlgmac_set_rss_hash_key], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @xlgmac_set_rss_hash_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @memcpy(i32 noundef %3, ptr noundef %1, i32 noundef 4) #2
%5 = tail call i32 @xlgmac_write_rss_hash_key(ptr noundef nonnull %0) #2
ret i32 %5
}
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xlgmac_write_rss_hash_key(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 = !{!"xlgmac_pdata", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_ethernet_synopsys_extr_dwc-xlgmac-hw.c_xlgmac_set_rss_hash_key
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_symbol.c_block_info__new.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_symbol.c_block_info__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"
; Function Attrs: nounwind uwtable
define dso_local ptr @block_info__new() local_unnamed_addr #0 {
%1 = tail call ptr @zalloc(i32 noundef 4) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @refcount_set(ptr noundef nonnull %1, i32 noundef 1) #2
br label %5
5: ; preds = %3, %0
ret ptr %1
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_symbol.c_block_info__new.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_symbol.c_block_info__new.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 @block_info__new() local_unnamed_addr #0 {
%1 = tail call ptr @zalloc(i32 noundef 4) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @refcount_set(ptr noundef nonnull %1, i32 noundef 1) #2
br label %5
5: ; preds = %3, %0
ret ptr %1
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_tools_perf_util_extr_symbol.c_block_info__new
|
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_limit_req_module.c_ngx_http_limit_req.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_limit_req_module.c_ngx_http_limit_req.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_18__ = type { i64, i64 }
%struct.TYPE_21__ = type { i32, ptr }
%struct.TYPE_17__ = type { i64, ptr }
%struct.TYPE_16__ = type { i64, ptr }
%struct.TYPE_19__ = type { i32, i32, ptr }
@.str = private unnamed_addr constant [6 x i8] c"zone=\00", align 1
@ngx_http_limit_req_module = dso_local global i32 0, align 4
@NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"burst=\00", align 1
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"invalid burst value \22%V\22\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"delay=\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"invalid delay value \22%V\22\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"nodelay\00", align 1
@NGX_MAX_INT_T_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [23 x i8] c"invalid parameter \22%V\22\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\22%V\22 must have \22zone\22 parameter\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [13 x i8] c"is duplicate\00", align 1
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_limit_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ngx_http_limit_req(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.TYPE_18__, align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_17__, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = load i64, ptr %6, align 8, !tbaa !14
%10 = icmp ugt i64 %9, 1
br i1 %10, label %11, label %80
11: ; preds = %3, %68
%12 = phi i32 [ %71, %68 ], [ 0, %3 ]
%13 = phi ptr [ %70, %68 ], [ null, %3 ]
%14 = phi i64 [ %72, %68 ], [ 1, %3 ]
%15 = phi i32 [ %69, %68 ], [ 0, %3 ]
%16 = getelementptr inbounds %struct.TYPE_18__, ptr %8, i64 %14
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = call i64 @ngx_strncmp(i64 noundef %17, ptr noundef nonnull @.str, i32 noundef 5) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %11
%21 = load <2 x i64>, ptr %16, align 8, !tbaa !17
%22 = add nsw <2 x i64> %21, <i64 5, i64 -5>
store <2 x i64> %22, ptr %4, align 16, !tbaa !17
%23 = call ptr @ngx_shared_memory_add(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull @ngx_http_limit_req_module) #3
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %68
25: ; preds = %20
%26 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
27: ; preds = %11
%28 = load i64, ptr %16, align 8, !tbaa !15
%29 = call i64 @ngx_strncmp(i64 noundef %28, ptr noundef nonnull @.str.1, i32 noundef 6) #3
%30 = icmp eq i64 %29, 0
%31 = load i64, ptr %16, align 8, !tbaa !15
br i1 %30, label %32, label %43
32: ; preds = %27
%33 = add nsw i64 %31, 6
%34 = getelementptr inbounds %struct.TYPE_18__, ptr %8, i64 %14, i32 1
%35 = load i64, ptr %34, align 8, !tbaa !19
%36 = add nsw i64 %35, -6
%37 = call i32 @ngx_atoi(i64 noundef %33, i64 noundef %36) #3
%38 = icmp slt i32 %37, 1
br i1 %38, label %39, label %68
39: ; preds = %32
%40 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%41 = call i32 @ngx_conf_log_error(i32 noundef %40, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef nonnull %16) #3
%42 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
43: ; preds = %27
%44 = call i64 @ngx_strncmp(i64 noundef %31, ptr noundef nonnull @.str.3, i32 noundef 6) #3
%45 = icmp eq i64 %44, 0
%46 = load i64, ptr %16, align 8, !tbaa !15
br i1 %45, label %47, label %58
47: ; preds = %43
%48 = add nsw i64 %46, 6
%49 = getelementptr inbounds %struct.TYPE_18__, ptr %8, i64 %14, i32 1
%50 = load i64, ptr %49, align 8, !tbaa !19
%51 = add nsw i64 %50, -6
%52 = call i32 @ngx_atoi(i64 noundef %48, i64 noundef %51) #3
%53 = icmp slt i32 %52, 1
br i1 %53, label %54, label %68
54: ; preds = %47
%55 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%56 = call i32 @ngx_conf_log_error(i32 noundef %55, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef nonnull %16) #3
%57 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
58: ; preds = %43
%59 = call i64 @ngx_strcmp(i64 noundef %46, ptr noundef nonnull @.str.5) #3
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr @NGX_MAX_INT_T_VALUE, align 4, !tbaa !20
%63 = sdiv i32 %62, 1000
br label %68
64: ; preds = %58
%65 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%66 = call i32 @ngx_conf_log_error(i32 noundef %65, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %16) #3
%67 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
68: ; preds = %47, %32, %20, %61
%69 = phi i32 [ %15, %20 ], [ %15, %32 ], [ %52, %47 ], [ %63, %61 ]
%70 = phi ptr [ %23, %20 ], [ %13, %32 ], [ %13, %47 ], [ %13, %61 ]
%71 = phi i32 [ %12, %20 ], [ %37, %32 ], [ %12, %47 ], [ %12, %61 ]
%72 = add nuw i64 %14, 1
%73 = load ptr, ptr %5, align 8, !tbaa !5
%74 = load i64, ptr %73, align 8, !tbaa !14
%75 = icmp ult i64 %72, %74
br i1 %75, label %11, label %76, !llvm.loop !21
76: ; preds = %68
%77 = mul nsw i32 %71, 1000
%78 = mul nsw i32 %69, 1000
%79 = icmp eq ptr %70, null
br i1 %79, label %80, label %84
80: ; preds = %3, %76
%81 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%82 = call i32 @ngx_conf_log_error(i32 noundef %81, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef %1) #3
%83 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
84: ; preds = %76
%85 = getelementptr inbounds %struct.TYPE_16__, ptr %2, i64 0, i32 1
%86 = load ptr, ptr %85, align 8, !tbaa !23
%87 = icmp eq ptr %86, null
br i1 %87, label %88, label %95
88: ; preds = %84
%89 = load i32, ptr %0, align 8, !tbaa !26
%90 = call i64 @ngx_array_init(ptr noundef nonnull %2, i32 noundef %89, i32 noundef 1, i32 noundef 16) #3
%91 = load i64, ptr @NGX_OK, align 8, !tbaa !17
%92 = icmp eq i64 %90, %91
br i1 %92, label %95, label %93
93: ; preds = %88
%94 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
95: ; preds = %88, %84
%96 = load i64, ptr %2, align 8, !tbaa !27
%97 = icmp eq i64 %96, 0
br i1 %97, label %106, label %101
98: ; preds = %101
%99 = add nuw i64 %102, 1
%100 = icmp eq i64 %99, %96
br i1 %100, label %106, label %101, !llvm.loop !28
101: ; preds = %95, %98
%102 = phi i64 [ %99, %98 ], [ 0, %95 ]
%103 = getelementptr inbounds %struct.TYPE_19__, ptr %86, i64 %102, i32 2
%104 = load ptr, ptr %103, align 8, !tbaa !29
%105 = icmp eq ptr %70, %104
br i1 %105, label %115, label %98
106: ; preds = %98, %95
%107 = call ptr @ngx_array_push(ptr noundef nonnull %2) #3
%108 = icmp eq ptr %107, null
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !18
br label %115
111: ; preds = %106
%112 = getelementptr inbounds %struct.TYPE_19__, ptr %107, i64 0, i32 2
store ptr %70, ptr %112, align 8, !tbaa !29
store i32 %77, ptr %107, align 8, !tbaa !31
%113 = getelementptr inbounds %struct.TYPE_19__, ptr %107, i64 0, i32 1
store i32 %78, ptr %113, align 4, !tbaa !32
%114 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !18
br label %115
115: ; preds = %101, %111, %109, %93, %80, %64, %54, %39, %25
%116 = phi ptr [ %26, %25 ], [ %42, %39 ], [ %57, %54 ], [ %67, %64 ], [ %83, %80 ], [ %94, %93 ], [ %110, %109 ], [ %114, %111 ], [ @.str.8, %101 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret ptr %116
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ngx_strncmp(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_shared_memory_add(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_atoi(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_strcmp(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_21__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_17__", !13, i64 0, !10, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_18__", !13, i64 0, !13, i64 8}
!17 = !{!13, !13, i64 0}
!18 = !{!10, !10, i64 0}
!19 = !{!16, !13, i64 8}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !10, i64 8}
!24 = !{!"TYPE_20__", !25, i64 0}
!25 = !{!"TYPE_16__", !13, i64 0, !10, i64 8}
!26 = !{!6, !7, i64 0}
!27 = !{!24, !13, i64 0}
!28 = distinct !{!28, !22}
!29 = !{!30, !10, i64 8}
!30 = !{!"TYPE_19__", !7, i64 0, !7, i64 4, !10, i64 8}
!31 = !{!30, !7, i64 0}
!32 = !{!30, !7, i64 4}
|
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_limit_req_module.c_ngx_http_limit_req.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_limit_req_module.c_ngx_http_limit_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_18__ = type { i64, i64 }
%struct.TYPE_19__ = type { i32, i32, ptr }
@.str = private unnamed_addr constant [6 x i8] c"zone=\00", align 1
@ngx_http_limit_req_module = common global i32 0, align 4
@NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"burst=\00", align 1
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"invalid burst value \22%V\22\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"delay=\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"invalid delay value \22%V\22\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"nodelay\00", align 1
@NGX_MAX_INT_T_VALUE = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [23 x i8] c"invalid parameter \22%V\22\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"\22%V\22 must have \22zone\22 parameter\00", align 1
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [13 x i8] c"is duplicate\00", align 1
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_limit_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ngx_http_limit_req(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.TYPE_18__, align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load i64, ptr %6, align 8, !tbaa !15
%10 = icmp ugt i64 %9, 1
br i1 %10, label %11, label %80
11: ; preds = %3, %68
%12 = phi i32 [ %71, %68 ], [ 0, %3 ]
%13 = phi ptr [ %70, %68 ], [ null, %3 ]
%14 = phi i64 [ %72, %68 ], [ 1, %3 ]
%15 = phi i32 [ %69, %68 ], [ 0, %3 ]
%16 = getelementptr inbounds %struct.TYPE_18__, ptr %8, i64 %14
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = call i64 @ngx_strncmp(i64 noundef %17, ptr noundef nonnull @.str, i32 noundef 5) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %11
%21 = load <2 x i64>, ptr %16, align 8, !tbaa !18
%22 = add nsw <2 x i64> %21, <i64 5, i64 -5>
store <2 x i64> %22, ptr %4, align 16, !tbaa !18
%23 = call ptr @ngx_shared_memory_add(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull @ngx_http_limit_req_module) #3
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %68
25: ; preds = %20
%26 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
27: ; preds = %11
%28 = load i64, ptr %16, align 8, !tbaa !16
%29 = call i64 @ngx_strncmp(i64 noundef %28, ptr noundef nonnull @.str.1, i32 noundef 6) #3
%30 = icmp eq i64 %29, 0
%31 = load i64, ptr %16, align 8, !tbaa !16
br i1 %30, label %32, label %43
32: ; preds = %27
%33 = add nsw i64 %31, 6
%34 = getelementptr inbounds i8, ptr %16, i64 8
%35 = load i64, ptr %34, align 8, !tbaa !20
%36 = add nsw i64 %35, -6
%37 = call i32 @ngx_atoi(i64 noundef %33, i64 noundef %36) #3
%38 = icmp slt i32 %37, 1
br i1 %38, label %39, label %68
39: ; preds = %32
%40 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !21
%41 = call i32 @ngx_conf_log_error(i32 noundef %40, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef nonnull %16) #3
%42 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
43: ; preds = %27
%44 = call i64 @ngx_strncmp(i64 noundef %31, ptr noundef nonnull @.str.3, i32 noundef 6) #3
%45 = icmp eq i64 %44, 0
%46 = load i64, ptr %16, align 8, !tbaa !16
br i1 %45, label %47, label %58
47: ; preds = %43
%48 = add nsw i64 %46, 6
%49 = getelementptr inbounds i8, ptr %16, i64 8
%50 = load i64, ptr %49, align 8, !tbaa !20
%51 = add nsw i64 %50, -6
%52 = call i32 @ngx_atoi(i64 noundef %48, i64 noundef %51) #3
%53 = icmp slt i32 %52, 1
br i1 %53, label %54, label %68
54: ; preds = %47
%55 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !21
%56 = call i32 @ngx_conf_log_error(i32 noundef %55, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef nonnull %16) #3
%57 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
58: ; preds = %43
%59 = call i64 @ngx_strcmp(i64 noundef %46, ptr noundef nonnull @.str.5) #3
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr @NGX_MAX_INT_T_VALUE, align 4, !tbaa !21
%63 = sdiv i32 %62, 1000
br label %68
64: ; preds = %58
%65 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !21
%66 = call i32 @ngx_conf_log_error(i32 noundef %65, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %16) #3
%67 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
68: ; preds = %47, %32, %20, %61
%69 = phi i32 [ %15, %20 ], [ %15, %32 ], [ %52, %47 ], [ %63, %61 ]
%70 = phi ptr [ %23, %20 ], [ %13, %32 ], [ %13, %47 ], [ %13, %61 ]
%71 = phi i32 [ %12, %20 ], [ %37, %32 ], [ %12, %47 ], [ %12, %61 ]
%72 = add nuw i64 %14, 1
%73 = load ptr, ptr %5, align 8, !tbaa !6
%74 = load i64, ptr %73, align 8, !tbaa !15
%75 = icmp ult i64 %72, %74
br i1 %75, label %11, label %76, !llvm.loop !22
76: ; preds = %68
%77 = mul nsw i32 %71, 1000
%78 = mul nsw i32 %69, 1000
%79 = icmp eq ptr %70, null
br i1 %79, label %80, label %84
80: ; preds = %3, %76
%81 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !21
%82 = call i32 @ngx_conf_log_error(i32 noundef %81, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef %1) #3
%83 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
84: ; preds = %76
%85 = getelementptr inbounds i8, ptr %2, i64 8
%86 = load ptr, ptr %85, align 8, !tbaa !24
%87 = icmp eq ptr %86, null
br i1 %87, label %88, label %95
88: ; preds = %84
%89 = load i32, ptr %0, align 8, !tbaa !27
%90 = call i64 @ngx_array_init(ptr noundef nonnull %2, i32 noundef %89, i32 noundef 1, i32 noundef 16) #3
%91 = load i64, ptr @NGX_OK, align 8, !tbaa !18
%92 = icmp eq i64 %90, %91
br i1 %92, label %95, label %93
93: ; preds = %88
%94 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
95: ; preds = %88, %84
%96 = load i64, ptr %2, align 8, !tbaa !28
%97 = icmp eq i64 %96, 0
br i1 %97, label %106, label %101
98: ; preds = %101
%99 = add nuw i64 %102, 1
%100 = icmp eq i64 %99, %96
br i1 %100, label %106, label %101, !llvm.loop !29
101: ; preds = %95, %98
%102 = phi i64 [ %99, %98 ], [ 0, %95 ]
%103 = getelementptr inbounds %struct.TYPE_19__, ptr %86, i64 %102, i32 2
%104 = load ptr, ptr %103, align 8, !tbaa !30
%105 = icmp eq ptr %70, %104
br i1 %105, label %115, label %98
106: ; preds = %98, %95
%107 = call ptr @ngx_array_push(ptr noundef nonnull %2) #3
%108 = icmp eq ptr %107, null
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !19
br label %115
111: ; preds = %106
%112 = getelementptr inbounds i8, ptr %107, i64 8
store ptr %70, ptr %112, align 8, !tbaa !30
store i32 %77, ptr %107, align 8, !tbaa !32
%113 = getelementptr inbounds i8, ptr %107, i64 4
store i32 %78, ptr %113, align 4, !tbaa !33
%114 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !19
br label %115
115: ; preds = %101, %111, %109, %93, %80, %64, %54, %39, %25
%116 = phi ptr [ %26, %25 ], [ %42, %39 ], [ %57, %54 ], [ %67, %64 ], [ %83, %80 ], [ %94, %93 ], [ %110, %109 ], [ %114, %111 ], [ @.str.8, %101 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret ptr %116
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ngx_strncmp(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_shared_memory_add(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_atoi(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_strcmp(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_21__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_17__", !14, i64 0, !11, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_18__", !14, i64 0, !14, i64 8}
!18 = !{!14, !14, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!17, !14, i64 8}
!21 = !{!8, !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !11, i64 8}
!25 = !{!"TYPE_20__", !26, i64 0}
!26 = !{!"TYPE_16__", !14, i64 0, !11, i64 8}
!27 = !{!7, !8, i64 0}
!28 = !{!25, !14, i64 0}
!29 = distinct !{!29, !23}
!30 = !{!31, !11, i64 8}
!31 = !{!"TYPE_19__", !8, i64 0, !8, i64 4, !11, i64 8}
!32 = !{!31, !8, i64 0}
!33 = !{!31, !8, i64 4}
|
nginx_src_http_modules_extr_ngx_http_limit_req_module.c_ngx_http_limit_req
|
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_tclvar.c_tclvarSetOmit.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_tclvar.c_tclvarSetOmit.c"
target datalayout = "e-m:e-p270:32:32-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 [61 x i8] c"expr {[info exists ::tclvar_set_omit] && $::tclvar_set_omit}\00", align 1
@TCL_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tclvarSetOmit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tclvarSetOmit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !5
%3 = tail call i32 @Tcl_Eval(ptr noundef %0, ptr noundef nonnull @.str) #3
%4 = load i32, ptr @TCL_OK, align 4, !tbaa !5
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = tail call ptr @Tcl_GetObjResult(ptr noundef %0) #3
%8 = call i32 @Tcl_GetBooleanFromObj(i32 noundef 0, ptr noundef %7, ptr noundef nonnull %2) #3
%9 = load i32, ptr @TCL_OK, align 4, !tbaa !5
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br label %12
12: ; preds = %6, %1
%13 = phi i1 [ %11, %6 ], [ false, %1 ]
%14 = phi i32 [ %9, %6 ], [ %4, %1 ]
%15 = phi i32 [ %8, %6 ], [ %3, %1 ]
%16 = icmp eq i32 %15, %14
%17 = select i1 %16, i1 %13, i1 false
%18 = zext i1 %17 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @Tcl_Eval(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @Tcl_GetObjResult(ptr noundef) local_unnamed_addr #2
declare i32 @Tcl_GetBooleanFromObj(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_tclvar.c_tclvarSetOmit.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_tclvar.c_tclvarSetOmit.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 [61 x i8] c"expr {[info exists ::tclvar_set_omit] && $::tclvar_set_omit}\00", align 1
@TCL_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tclvarSetOmit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @tclvarSetOmit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !6
%3 = tail call i32 @Tcl_Eval(ptr noundef %0, ptr noundef nonnull @.str) #3
%4 = load i32, ptr @TCL_OK, align 4, !tbaa !6
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = tail call ptr @Tcl_GetObjResult(ptr noundef %0) #3
%8 = call i32 @Tcl_GetBooleanFromObj(i32 noundef 0, ptr noundef %7, ptr noundef nonnull %2) #3
%9 = load i32, ptr @TCL_OK, align 4, !tbaa !6
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br label %12
12: ; preds = %6, %1
%13 = phi i1 [ %11, %6 ], [ false, %1 ]
%14 = phi i32 [ %9, %6 ], [ %4, %1 ]
%15 = phi i32 [ %8, %6 ], [ %3, %1 ]
%16 = icmp eq i32 %15, %14
%17 = select i1 %16, i1 %13, i1 false
%18 = zext i1 %17 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @Tcl_Eval(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @Tcl_GetObjResult(ptr noundef) local_unnamed_addr #2
declare i32 @Tcl_GetBooleanFromObj(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
sqlcipher_src_extr_test_tclvar.c_tclvarSetOmit
|
; ModuleID = 'AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_alloc_user_entry.c'
source_filename = "AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_alloc_user_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, ptr, ptr }
%struct.TYPE_9__ = type { i32, ptr }
@.str = private unnamed_addr constant [18 x i8] c"handles used %lu\0A\00", align 1
@gpsi = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [51 x i8] c"Out of user handles! Used -> %lu, NM_Handle -> %d\0A\00", align 1
@FIRST_USER_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
@LAST_USER_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_user_entry], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @alloc_user_entry(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr @gpsi, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !9
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = getelementptr inbounds %struct.TYPE_9__, ptr %6, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !14
store ptr %10, ptr %5, align 8, !tbaa !12
%11 = load ptr, ptr @gpsi, align 8, !tbaa !5
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 4, !tbaa !9
br label %32
14: ; preds = %1
%15 = load i32, ptr %0, align 8, !tbaa !16
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = icmp slt i32 %15, %17
br i1 %18, label %23, label %19
19: ; preds = %14
%20 = load ptr, ptr @gpsi, align 8, !tbaa !5
%21 = load i32, ptr %20, align 4, !tbaa !9
%22 = tail call i32 @ERR(ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %15) #2
br label %32
23: ; preds = %14
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !18
%26 = add nsw i32 %15, 1
store i32 %26, ptr %0, align 8, !tbaa !16
%27 = sext i32 %15 to i64
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %25, i64 %27
store i32 1, ptr %28, align 8, !tbaa !19
%29 = load ptr, ptr @gpsi, align 8, !tbaa !5
%30 = load i32, ptr %29, align 4, !tbaa !9
%31 = add nsw i32 %30, 1
store i32 %31, ptr %29, align 4, !tbaa !9
br label %32
32: ; preds = %23, %19, %8
%33 = phi ptr [ %6, %8 ], [ null, %19 ], [ %28, %23 ]
ret ptr %33
}
declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef, 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_10__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16}
!14 = !{!15, !6, i64 8}
!15 = !{!"TYPE_9__", !11, i64 0, !6, i64 8}
!16 = !{!13, !11, i64 0}
!17 = !{!13, !11, i64 4}
!18 = !{!13, !6, i64 8}
!19 = !{!15, !11, i64 0}
|
; ModuleID = 'AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_alloc_user_entry.c'
source_filename = "AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_alloc_user_entry.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 { i32, ptr }
@.str = private unnamed_addr constant [18 x i8] c"handles used %lu\0A\00", align 1
@gpsi = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [51 x i8] c"Out of user handles! Used -> %lu, NM_Handle -> %d\0A\00", align 1
@FIRST_USER_HANDLE = common local_unnamed_addr global i32 0, align 4
@LAST_USER_HANDLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alloc_user_entry], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @alloc_user_entry(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr @gpsi, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %6, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !15
store ptr %10, ptr %5, align 8, !tbaa !13
%11 = load ptr, ptr @gpsi, align 8, !tbaa !6
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 4, !tbaa !10
br label %32
14: ; preds = %1
%15 = load i32, ptr %0, align 8, !tbaa !17
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = icmp slt i32 %15, %17
br i1 %18, label %23, label %19
19: ; preds = %14
%20 = load ptr, ptr @gpsi, align 8, !tbaa !6
%21 = load i32, ptr %20, align 4, !tbaa !10
%22 = tail call i32 @ERR(ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %15) #2
br label %32
23: ; preds = %14
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !19
%26 = add nsw i32 %15, 1
store i32 %26, ptr %0, align 8, !tbaa !17
%27 = sext i32 %15 to i64
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %25, i64 %27
store i32 1, ptr %28, align 8, !tbaa !20
%29 = load ptr, ptr @gpsi, align 8, !tbaa !6
%30 = load i32, ptr %29, align 4, !tbaa !10
%31 = add nsw i32 %30, 1
store i32 %31, ptr %29, align 4, !tbaa !10
br label %32
32: ; preds = %23, %19, %8
%33 = phi ptr [ %6, %8 ], [ null, %19 ], [ %28, %23 ]
ret ptr %33
}
declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef, 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, !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_10__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 16}
!15 = !{!16, !7, i64 8}
!16 = !{!"TYPE_9__", !12, i64 0, !7, i64 8}
!17 = !{!14, !12, i64 0}
!18 = !{!14, !12, i64 4}
!19 = !{!14, !7, i64 8}
!20 = !{!16, !12, i64 0}
|
reactos_win32ss_user_ntuser_extr_object.c_alloc_user_entry
|
; ModuleID = 'AnghaBench/freebsd/sbin/init/extr_init.c_construct_argv.c'
source_filename = "AnghaBench/freebsd/sbin/init/extr_init.c_construct_argv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @construct_argv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @construct_argv(ptr noundef %0) #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = add nsw i32 %2, 1
%4 = sdiv i32 %3, 2
%5 = shl i32 %4, 3
%6 = add i32 %5, 8
%7 = tail call i64 @malloc(i32 noundef %6) #2
%8 = inttoptr i64 %7 to ptr
%9 = tail call ptr @strk(ptr noundef %0) #2
store ptr %9, ptr %8, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = tail call i32 @free(ptr noundef nonnull %8) #2
br label %19
13: ; preds = %1, %13
%14 = phi i64 [ %16, %13 ], [ 1, %1 ]
%15 = tail call ptr @strk(ptr noundef null) #2
%16 = add nuw i64 %14, 1
%17 = getelementptr inbounds ptr, ptr %8, i64 %14
store ptr %15, ptr %17, align 8, !tbaa !5
%18 = icmp eq ptr %15, null
br i1 %18, label %19, label %13, !llvm.loop !9
19: ; preds = %13, %11
%20 = phi ptr [ null, %11 ], [ %8, %13 ]
ret ptr %20
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strk(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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/sbin/init/extr_init.c_construct_argv.c'
source_filename = "AnghaBench/freebsd/sbin/init/extr_init.c_construct_argv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @construct_argv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @construct_argv(ptr noundef %0) #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = add nsw i32 %2, 1
%4 = sdiv i32 %3, 2
%5 = shl i32 %4, 3
%6 = add i32 %5, 8
%7 = tail call i64 @malloc(i32 noundef %6) #2
%8 = inttoptr i64 %7 to ptr
%9 = tail call ptr @strk(ptr noundef %0) #2
store ptr %9, ptr %8, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = tail call i32 @free(ptr noundef nonnull %8) #2
br label %19
13: ; preds = %1, %13
%14 = phi i64 [ %16, %13 ], [ 1, %1 ]
%15 = tail call ptr @strk(ptr noundef null) #2
%16 = add nuw nsw i64 %14, 1
%17 = getelementptr inbounds ptr, ptr %8, i64 %14
store ptr %15, ptr %17, align 8, !tbaa !6
%18 = icmp eq ptr %15, null
br i1 %18, label %19, label %13, !llvm.loop !10
19: ; preds = %13, %11
%20 = phi ptr [ null, %11 ], [ %8, %13 ]
ret ptr %20
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strk(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, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
freebsd_sbin_init_extr_init.c_construct_argv
|
; ModuleID = 'AnghaBench/linux/drivers/mtd/spi-nor/extr_spi-nor.c_spi_nor_post_bfpt_fixups.c'
source_filename = "AnghaBench/linux/drivers/mtd/spi-nor/extr_spi-nor.c_spi_nor_post_bfpt_fixups.c"
target datalayout = "e-m:e-p270:32:32-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 @spi_nor_post_bfpt_fixups], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @spi_nor_post_bfpt_fixups(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = load ptr, ptr %6, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1
br label %13
13: ; preds = %4, %8, %11
%14 = phi i32 [ %12, %11 ], [ 0, %8 ], [ 0, %4 ]
ret i32 %14
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"spi_nor", !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__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/mtd/spi-nor/extr_spi-nor.c_spi_nor_post_bfpt_fixups.c'
source_filename = "AnghaBench/linux/drivers/mtd/spi-nor/extr_spi-nor.c_spi_nor_post_bfpt_fixups.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 @spi_nor_post_bfpt_fixups], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @spi_nor_post_bfpt_fixups(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = load ptr, ptr %6, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1
br label %13
13: ; preds = %4, %8, %11
%14 = phi i32 [ %12, %11 ], [ 0, %8 ], [ 0, %4 ]
ret i32 %14
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"spi_nor", !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__", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0}
|
linux_drivers_mtd_spi-nor_extr_spi-nor.c_spi_nor_post_bfpt_fixups
|
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_glx_load.c_LoadExt_NV_present_video.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_glx_load.c_LoadExt_NV_present_video.c"
target datalayout = "e-m:e-p270:32:32-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 [21 x i8] c"glXBindVideoDeviceNV\00", align 1
@_funcptr_glXBindVideoDeviceNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"glXEnumerateVideoDevicesNV\00", align 1
@_funcptr_glXEnumerateVideoDevicesNV = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @LoadExt_NV_present_video], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @LoadExt_NV_present_video() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glXBindVideoDeviceNV, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2
store i64 %4, ptr @_funcptr_glXEnumerateVideoDevicesNV, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
%6 = select i1 %2, i32 2, i32 1
%7 = select i1 %5, i32 %6, i32 %3
ret i32 %7
}
declare i64 @IntGetProcAddress(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_glx_load.c_LoadExt_NV_present_video.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_glx_load.c_LoadExt_NV_present_video.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 [21 x i8] c"glXBindVideoDeviceNV\00", align 1
@_funcptr_glXBindVideoDeviceNV = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"glXEnumerateVideoDevicesNV\00", align 1
@_funcptr_glXEnumerateVideoDevicesNV = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @LoadExt_NV_present_video], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 3) i32 @LoadExt_NV_present_video() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glXBindVideoDeviceNV, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2
store i64 %4, ptr @_funcptr_glXEnumerateVideoDevicesNV, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
%6 = select i1 %2, i32 2, i32 1
%7 = select i1 %5, i32 %6, i32 %3
ret i32 %7
}
declare i64 @IntGetProcAddress(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
Cinder_src_glload_extr_glx_load.c_LoadExt_NV_present_video
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_encx264.c_hb_x264_encopt_name.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_encx264.c_hb_x264_encopt_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@hb_x264_encopt_synonyms = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local ptr @hb_x264_encopt_name(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @hb_x264_encopt_synonyms, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %23, label %6
6: ; preds = %1
%7 = getelementptr inbounds ptr, ptr %3, i64 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %8)
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %6, %18
%12 = phi i64 [ %13, %18 ], [ 0, %6 ]
%13 = add nuw i64 %12, 1
%14 = getelementptr inbounds ptr, ptr %2, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !5
%16 = load ptr, ptr %15, align 8, !tbaa !5
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18, !llvm.loop !9
18: ; preds = %11
%19 = getelementptr inbounds ptr, ptr %15, i64 1
%20 = load ptr, ptr %19, align 8, !tbaa !5
%21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %20)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %11, !llvm.loop !9
23: ; preds = %11, %18, %6, %1
%24 = phi ptr [ %0, %1 ], [ %4, %6 ], [ %16, %18 ], [ %0, %11 ]
ret ptr %24
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { nofree 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" }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_encx264.c_hb_x264_encopt_name.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_encx264.c_hb_x264_encopt_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hb_x264_encopt_synonyms = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define ptr @hb_x264_encopt_name(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @hb_x264_encopt_synonyms, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %23, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %6, %18
%12 = phi i64 [ %13, %18 ], [ 0, %6 ]
%13 = add nuw nsw i64 %12, 1
%14 = getelementptr inbounds ptr, ptr %2, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !6
%16 = load ptr, ptr %15, align 8, !tbaa !6
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18, !llvm.loop !10
18: ; preds = %11
%19 = getelementptr inbounds i8, ptr %15, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !6
%21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %11, !llvm.loop !10
23: ; preds = %11, %18, %6, %1
%24 = phi ptr [ %0, %1 ], [ %4, %6 ], [ %16, %18 ], [ %0, %11 ]
ret ptr %24
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { nofree 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" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
HandBrake_libhb_extr_encx264.c_hb_x264_encopt_name
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_no_shared_libraries.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_no_shared_libraries.c"
target datalayout = "e-m:e-p270:32:32-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 @no_shared_libraries(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @objfile_purge_solibs() #2
%4 = tail call i32 @do_clear_solib(ptr noundef null) #2
ret void
}
declare i32 @objfile_purge_solibs(...) local_unnamed_addr #1
declare i32 @do_clear_solib(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_no_shared_libraries.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_no_shared_libraries.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 @no_shared_libraries(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @objfile_purge_solibs() #2
%4 = tail call i32 @do_clear_solib(ptr noundef null) #2
ret void
}
declare i32 @objfile_purge_solibs(...) local_unnamed_addr #1
declare i32 @do_clear_solib(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_contrib_gdb_gdb_extr_solib.c_no_shared_libraries
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_diff.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_diff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_DELEG_PERM_DIFF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfs_secpolicy_diff], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @zfs_secpolicy_diff(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%5 = tail call i32 @secpolicy_sys_config(ptr noundef %2, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = load i32, ptr @ZFS_DELEG_PERM_DIFF, align 4, !tbaa !5
%10 = tail call i32 @zfs_secpolicy_write_perms(i32 noundef %8, i32 noundef %9, ptr noundef %2) #2
br label %11
11: ; preds = %3, %7
%12 = phi i32 [ %10, %7 ], [ 0, %3 ]
ret i32 %12
}
declare i32 @secpolicy_sys_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @zfs_secpolicy_write_perms(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_diff.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_diff.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@ZFS_DELEG_PERM_DIFF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @zfs_secpolicy_diff], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @zfs_secpolicy_diff(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%5 = tail call i32 @secpolicy_sys_config(ptr noundef %2, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = load i32, ptr @ZFS_DELEG_PERM_DIFF, align 4, !tbaa !6
%10 = tail call i32 @zfs_secpolicy_write_perms(i32 noundef %8, i32 noundef %9, ptr noundef %2) #2
br label %11
11: ; preds = %3, %7
%12 = phi i32 [ %10, %7 ], [ 0, %3 ]
ret i32 %12
}
declare i32 @secpolicy_sys_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @zfs_secpolicy_write_perms(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
|
zfs_module_zfs_extr_zfs_ioctl.c_zfs_secpolicy_diff
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/modules/info_packet/extr_info_packet.c_mod_build_vsc_infopacket.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/modules/info_packet/extr_info_packet.c_mod_build_vsc_infopacket.c"
target datalayout = "e-m:e-p270:32:32-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.dc_stream_state = type { i64, i64, i64, %struct.TYPE_12__, ptr }
%struct.TYPE_12__ = type { i32, i32, i32 }
%struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.TYPE_7__ }
%struct.TYPE_9__ = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i64 }
%struct.TYPE_7__ = type { i32 }
%struct.dc_info_packet = type { i32, i32, i32, i32, ptr, i32 }
@TIMING_3D_FORMAT_NONE = dso_local local_unnamed_addr global i32 0, align 4
@VIEW_3D_FORMAT_NONE = dso_local local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_SRGB = dso_local local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_SRGB_LIMITED = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_sRGB = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_ADOBERGB = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_AdobeRGB = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_2020_RGB_FULLRANGE = dso_local local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_2020_RGB_LIMITEDRANGE = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_ITU_R_BT2020RGB = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_YCBCR601 = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU601 = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_YCBCR709 = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU709 = dso_local local_unnamed_addr global i32 0, align 4
@ColorimetryYCC_DP_AdobeYCC = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_2020_YCBCR = dso_local local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU2020YCbCr = dso_local local_unnamed_addr global i32 0, align 4
@switch.table.mod_build_vsc_infopacket = private unnamed_addr constant [8 x i32] [i32 2, i32 2, i32 2, i32 4, i32 4, i32 1, i32 2, i32 1], align 4
@switch.table.mod_build_vsc_infopacket.1 = private unnamed_addr constant [5 x i32] [i32 1, i32 0, i32 4, i32 3, i32 2], align 4
@switch.table.mod_build_vsc_infopacket.2 = private unnamed_addr constant [5 x i32] [i32 129, i32 128, i32 132, i32 131, i32 130], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @mod_build_vsc_infopacket(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @TIMING_3D_FORMAT_NONE, align 4, !tbaa !13
%6 = icmp eq i32 %4, %5
br i1 %6, label %13, label %7
7: ; preds = %2
%8 = load i64, ptr %0, align 8, !tbaa !14
%9 = load i64, ptr @VIEW_3D_FORMAT_NONE, align 8, !tbaa !15
%10 = icmp eq i64 %8, %9
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %7, %2
%14 = phi i1 [ true, %2 ], [ %10, %7 ]
%15 = phi i32 [ 0, %2 ], [ %12, %7 ]
%16 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, 0
%19 = select i1 %18, i32 %15, i32 2
%20 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 4
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 0, i32 1
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = icmp sgt i32 %23, 19
br i1 %24, label %25, label %28
25: ; preds = %13
%26 = load i64, ptr %21, align 8, !tbaa !24
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25, %13
switch i32 %19, label %33 [
i32 0, label %140
i32 2, label %29
i32 1, label %32
]
29: ; preds = %28
store <4 x i32> <i32 0, i32 7, i32 2, i32 8>, ptr %1, align 8, !tbaa !13
%30 = getelementptr inbounds %struct.dc_info_packet, ptr %1, i64 0, i32 4
%31 = load ptr, ptr %30, align 8, !tbaa !25
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(112) %31, i8 0, i64 112, i1 false), !tbaa !13
br label %34
32: ; preds = %28
store <4 x i32> <i32 0, i32 7, i32 1, i32 1>, ptr %1, align 8, !tbaa !13
br label %34
33: ; preds = %28
unreachable
34: ; preds = %32, %29
%35 = getelementptr inbounds %struct.dc_info_packet, ptr %1, i64 0, i32 5
store i32 1, ptr %35, align 8, !tbaa !27
br label %36
36: ; preds = %34, %25
%37 = phi i1 [ true, %25 ], [ false, %34 ]
br i1 %14, label %50, label %38
38: ; preds = %36
%39 = load i32, ptr %3, align 8, !tbaa !5
%40 = add i32 %39, -128
%41 = icmp ult i32 %40, 8
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = zext nneg i32 %40 to i64
%44 = getelementptr inbounds [8 x i32], ptr @switch.table.mod_build_vsc_infopacket, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
br label %46
46: ; preds = %38, %42
%47 = phi i32 [ %45, %42 ], [ 0, %38 ]
%48 = getelementptr inbounds %struct.dc_info_packet, ptr %1, i64 0, i32 4
%49 = load ptr, ptr %48, align 8, !tbaa !25
store i32 %47, ptr %49, align 4, !tbaa !13
br label %50
50: ; preds = %46, %36
br i1 %37, label %51, label %140
51: ; preds = %50
store <4 x i32> <i32 0, i32 7, i32 5, i32 19>, ptr %1, align 8, !tbaa !13
%52 = getelementptr inbounds %struct.dc_info_packet, ptr %1, i64 0, i32 5
store i32 1, ptr %52, align 8, !tbaa !27
%53 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 3, i32 1
%54 = load i32, ptr %53, align 4, !tbaa !28
switch i32 %54, label %103 [
i32 138, label %56
i32 136, label %80
i32 137, label %55
i32 139, label %57
]
55: ; preds = %51
br label %80
56: ; preds = %51
br label %80
57: ; preds = %51
%58 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 2
%59 = load i64, ptr %58, align 8, !tbaa !29
%60 = load i64, ptr @COLOR_SPACE_SRGB, align 8, !tbaa !15
%61 = icmp eq i64 %59, %60
%62 = load i64, ptr @COLOR_SPACE_SRGB_LIMITED, align 8
%63 = icmp eq i64 %59, %62
%64 = select i1 %61, i1 true, i1 %63
br i1 %64, label %65, label %67
65: ; preds = %57
%66 = load i32, ptr @ColorimetryRGB_DP_sRGB, align 4, !tbaa !13
br label %105
67: ; preds = %57
%68 = load i64, ptr @COLOR_SPACE_ADOBERGB, align 8, !tbaa !15
%69 = icmp eq i64 %59, %68
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = load i32, ptr @ColorimetryRGB_DP_AdobeRGB, align 4, !tbaa !13
br label %105
72: ; preds = %67
%73 = load i64, ptr @COLOR_SPACE_2020_RGB_FULLRANGE, align 8, !tbaa !15
%74 = icmp eq i64 %59, %73
%75 = load i64, ptr @COLOR_SPACE_2020_RGB_LIMITEDRANGE, align 8
%76 = icmp eq i64 %59, %75
%77 = select i1 %74, i1 true, i1 %76
%78 = load i32, ptr @ColorimetryRGB_DP_ITU_R_BT2020RGB, align 4
%79 = select i1 %77, i32 %78, i32 0
br label %105
80: ; preds = %51, %55, %56
%81 = phi i32 [ 32, %55 ], [ 48, %56 ], [ 16, %51 ]
%82 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 2
%83 = load i64, ptr %82, align 8, !tbaa !29
%84 = load i64, ptr @COLOR_SPACE_YCBCR601, align 8, !tbaa !15
%85 = icmp eq i64 %83, %84
br i1 %85, label %86, label %88
86: ; preds = %80
%87 = load i32, ptr @ColorimetryYCC_DP_ITU601, align 4, !tbaa !13
br label %105
88: ; preds = %80
%89 = load i64, ptr @COLOR_SPACE_YCBCR709, align 8, !tbaa !15
%90 = icmp eq i64 %83, %89
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = load i32, ptr @ColorimetryYCC_DP_ITU709, align 4, !tbaa !13
br label %105
93: ; preds = %88
%94 = load i64, ptr @COLOR_SPACE_ADOBERGB, align 8, !tbaa !15
%95 = icmp eq i64 %83, %94
br i1 %95, label %96, label %98
96: ; preds = %93
%97 = load i32, ptr @ColorimetryYCC_DP_AdobeYCC, align 4, !tbaa !13
br label %105
98: ; preds = %93
%99 = load i64, ptr @COLOR_SPACE_2020_YCBCR, align 8, !tbaa !15
%100 = icmp eq i64 %83, %99
%101 = load i32, ptr @ColorimetryYCC_DP_ITU2020YCbCr, align 4
%102 = select i1 %100, i32 %101, i32 0
br label %105
103: ; preds = %51
%104 = load i32, ptr @ColorimetryRGB_DP_sRGB, align 4, !tbaa !13
br label %105
105: ; preds = %72, %98, %86, %96, %91, %65, %70, %103
%106 = phi i32 [ 0, %103 ], [ %81, %86 ], [ %81, %91 ], [ %81, %96 ], [ 0, %65 ], [ 0, %70 ], [ %81, %98 ], [ 0, %72 ]
%107 = phi i1 [ false, %103 ], [ true, %86 ], [ true, %91 ], [ true, %96 ], [ false, %65 ], [ false, %70 ], [ true, %98 ], [ false, %72 ]
%108 = phi i32 [ %104, %103 ], [ %87, %86 ], [ %92, %91 ], [ %97, %96 ], [ %66, %65 ], [ %71, %70 ], [ %102, %98 ], [ %79, %72 ]
%109 = or i32 %108, %106
%110 = getelementptr inbounds %struct.dc_info_packet, ptr %1, i64 0, i32 4
%111 = load ptr, ptr %110, align 8, !tbaa !25
%112 = getelementptr inbounds i32, ptr %111, i64 16
store i32 %109, ptr %112, align 4, !tbaa !13
%113 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 3, i32 2
%114 = load i32, ptr %113, align 8, !tbaa !30
%115 = getelementptr inbounds i32, ptr %111, i64 17
%116 = add i32 %114, -140
%117 = icmp ult i32 %116, 5
br i1 %117, label %118, label %125
118: ; preds = %105
%119 = zext nneg i32 %116 to i64
%120 = getelementptr inbounds [5 x i32], ptr @switch.table.mod_build_vsc_infopacket.1, i64 0, i64 %119
%121 = load i32, ptr %120, align 4
%122 = zext nneg i32 %116 to i64
%123 = getelementptr inbounds [5 x i32], ptr @switch.table.mod_build_vsc_infopacket.2, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
br label %125
125: ; preds = %118, %105
%126 = phi i32 [ 0, %105 ], [ %121, %118 ]
%127 = phi i32 [ 128, %105 ], [ %124, %118 ]
store i32 %126, ptr %115, align 4, !tbaa !13
%128 = getelementptr inbounds %struct.dc_stream_state, ptr %0, i64 0, i32 2
%129 = load i64, ptr %128, align 8, !tbaa !29
%130 = load i64, ptr @COLOR_SPACE_SRGB_LIMITED, align 8, !tbaa !15
%131 = icmp eq i64 %129, %130
br i1 %131, label %136, label %132
132: ; preds = %125
%133 = load i64, ptr @COLOR_SPACE_2020_RGB_LIMITEDRANGE, align 8, !tbaa !15
%134 = icmp eq i64 %129, %133
%135 = or i1 %107, %134
br i1 %135, label %136, label %138
136: ; preds = %132, %125
%137 = getelementptr inbounds i32, ptr %111, i64 17
store i32 %127, ptr %137, align 4, !tbaa !13
br label %138
138: ; preds = %132, %136
%139 = getelementptr inbounds i32, ptr %111, i64 18
store i32 0, ptr %139, align 4, !tbaa !13
br label %140
140: ; preds = %50, %138, %28
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(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, !11, i64 24}
!6 = !{!"dc_stream_state", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !12, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_12__", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !12, i64 40}
!18 = !{!19, !11, i64 8}
!19 = !{!"TYPE_11__", !20, i64 0}
!20 = !{!"TYPE_10__", !21, i64 0, !23, i64 8}
!21 = !{!"TYPE_9__", !22, i64 0}
!22 = !{!"TYPE_8__", !7, i64 0}
!23 = !{!"TYPE_7__", !11, i64 0}
!24 = !{!19, !7, i64 0}
!25 = !{!26, !12, i64 16}
!26 = !{!"dc_info_packet", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !11, i64 24}
!27 = !{!26, !11, i64 24}
!28 = !{!6, !11, i64 28}
!29 = !{!6, !7, i64 16}
!30 = !{!6, !11, i64 32}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/modules/info_packet/extr_info_packet.c_mod_build_vsc_infopacket.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/modules/info_packet/extr_info_packet.c_mod_build_vsc_infopacket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIMING_3D_FORMAT_NONE = common local_unnamed_addr global i32 0, align 4
@VIEW_3D_FORMAT_NONE = common local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_SRGB = common local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_SRGB_LIMITED = common local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_sRGB = common local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_ADOBERGB = common local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_AdobeRGB = common local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_2020_RGB_FULLRANGE = common local_unnamed_addr global i64 0, align 8
@COLOR_SPACE_2020_RGB_LIMITEDRANGE = common local_unnamed_addr global i64 0, align 8
@ColorimetryRGB_DP_ITU_R_BT2020RGB = common local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_YCBCR601 = common local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU601 = common local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_YCBCR709 = common local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU709 = common local_unnamed_addr global i32 0, align 4
@ColorimetryYCC_DP_AdobeYCC = common local_unnamed_addr global i32 0, align 4
@COLOR_SPACE_2020_YCBCR = common local_unnamed_addr global i64 0, align 8
@ColorimetryYCC_DP_ITU2020YCbCr = common local_unnamed_addr global i32 0, align 4
@switch.table.mod_build_vsc_infopacket = private unnamed_addr constant [8 x i32] [i32 2, i32 2, i32 2, i32 4, i32 4, i32 1, i32 2, i32 1], align 4
@switch.table.mod_build_vsc_infopacket.1 = private unnamed_addr constant [5 x i32] [i32 1, i32 0, i32 4, i32 3, i32 2], align 4
@switch.table.mod_build_vsc_infopacket.2 = private unnamed_addr constant [5 x i32] [i32 129, i32 128, i32 132, i32 131, i32 130], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @mod_build_vsc_infopacket(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @TIMING_3D_FORMAT_NONE, align 4, !tbaa !14
%6 = icmp eq i32 %4, %5
br i1 %6, label %13, label %7
7: ; preds = %2
%8 = load i64, ptr %0, align 8, !tbaa !15
%9 = load i64, ptr @VIEW_3D_FORMAT_NONE, align 8, !tbaa !16
%10 = icmp eq i64 %8, %9
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %7, %2
%14 = phi i1 [ true, %2 ], [ %10, %7 ]
%15 = phi i32 [ 0, %2 ], [ %12, %7 ]
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !17
%18 = icmp eq i64 %17, 0
%19 = select i1 %18, i32 %15, i32 2
%20 = getelementptr inbounds i8, ptr %0, i64 40
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = getelementptr inbounds i8, ptr %21, i64 8
%23 = load i32, ptr %22, align 8, !tbaa !19
%24 = icmp sgt i32 %23, 19
br i1 %24, label %25, label %28
25: ; preds = %13
%26 = load i64, ptr %21, align 8, !tbaa !25
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25, %13
switch i32 %19, label %33 [
i32 0, label %139
i32 2, label %29
i32 1, label %32
]
29: ; preds = %28
store <4 x i32> <i32 0, i32 7, i32 2, i32 8>, ptr %1, align 8, !tbaa !14
%30 = getelementptr inbounds i8, ptr %1, i64 16
%31 = load ptr, ptr %30, align 8, !tbaa !26
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(112) %31, i8 0, i64 112, i1 false), !tbaa !14
br label %34
32: ; preds = %28
store <4 x i32> <i32 0, i32 7, i32 1, i32 1>, ptr %1, align 8, !tbaa !14
br label %34
33: ; preds = %28
unreachable
34: ; preds = %32, %29
%35 = getelementptr inbounds i8, ptr %1, i64 24
store i32 1, ptr %35, align 8, !tbaa !28
br label %36
36: ; preds = %34, %25
%37 = phi i1 [ true, %25 ], [ false, %34 ]
br i1 %14, label %50, label %38
38: ; preds = %36
%39 = load i32, ptr %3, align 8, !tbaa !6
%40 = add i32 %39, -128
%41 = icmp ult i32 %40, 8
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = zext nneg i32 %40 to i64
%44 = getelementptr inbounds [8 x i32], ptr @switch.table.mod_build_vsc_infopacket, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
br label %46
46: ; preds = %38, %42
%47 = phi i32 [ %45, %42 ], [ 0, %38 ]
%48 = getelementptr inbounds i8, ptr %1, i64 16
%49 = load ptr, ptr %48, align 8, !tbaa !26
store i32 %47, ptr %49, align 4, !tbaa !14
br label %50
50: ; preds = %46, %36
br i1 %37, label %51, label %139
51: ; preds = %50
store <4 x i32> <i32 0, i32 7, i32 5, i32 19>, ptr %1, align 8, !tbaa !14
%52 = getelementptr inbounds i8, ptr %1, i64 24
store i32 1, ptr %52, align 8, !tbaa !28
%53 = getelementptr inbounds i8, ptr %0, i64 28
%54 = load i32, ptr %53, align 4, !tbaa !29
switch i32 %54, label %103 [
i32 138, label %56
i32 136, label %80
i32 137, label %55
i32 139, label %57
]
55: ; preds = %51
br label %80
56: ; preds = %51
br label %80
57: ; preds = %51
%58 = getelementptr inbounds i8, ptr %0, i64 16
%59 = load i64, ptr %58, align 8, !tbaa !30
%60 = load i64, ptr @COLOR_SPACE_SRGB, align 8, !tbaa !16
%61 = icmp eq i64 %59, %60
%62 = load i64, ptr @COLOR_SPACE_SRGB_LIMITED, align 8
%63 = icmp eq i64 %59, %62
%64 = select i1 %61, i1 true, i1 %63
br i1 %64, label %65, label %67
65: ; preds = %57
%66 = load i32, ptr @ColorimetryRGB_DP_sRGB, align 4, !tbaa !14
br label %105
67: ; preds = %57
%68 = load i64, ptr @COLOR_SPACE_ADOBERGB, align 8, !tbaa !16
%69 = icmp eq i64 %59, %68
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = load i32, ptr @ColorimetryRGB_DP_AdobeRGB, align 4, !tbaa !14
br label %105
72: ; preds = %67
%73 = load i64, ptr @COLOR_SPACE_2020_RGB_FULLRANGE, align 8, !tbaa !16
%74 = icmp eq i64 %59, %73
%75 = load i64, ptr @COLOR_SPACE_2020_RGB_LIMITEDRANGE, align 8
%76 = icmp eq i64 %59, %75
%77 = select i1 %74, i1 true, i1 %76
%78 = load i32, ptr @ColorimetryRGB_DP_ITU_R_BT2020RGB, align 4
%79 = select i1 %77, i32 %78, i32 0
br label %105
80: ; preds = %51, %55, %56
%81 = phi i32 [ 32, %55 ], [ 48, %56 ], [ 16, %51 ]
%82 = getelementptr inbounds i8, ptr %0, i64 16
%83 = load i64, ptr %82, align 8, !tbaa !30
%84 = load i64, ptr @COLOR_SPACE_YCBCR601, align 8, !tbaa !16
%85 = icmp eq i64 %83, %84
br i1 %85, label %86, label %88
86: ; preds = %80
%87 = load i32, ptr @ColorimetryYCC_DP_ITU601, align 4, !tbaa !14
br label %105
88: ; preds = %80
%89 = load i64, ptr @COLOR_SPACE_YCBCR709, align 8, !tbaa !16
%90 = icmp eq i64 %83, %89
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = load i32, ptr @ColorimetryYCC_DP_ITU709, align 4, !tbaa !14
br label %105
93: ; preds = %88
%94 = load i64, ptr @COLOR_SPACE_ADOBERGB, align 8, !tbaa !16
%95 = icmp eq i64 %83, %94
br i1 %95, label %96, label %98
96: ; preds = %93
%97 = load i32, ptr @ColorimetryYCC_DP_AdobeYCC, align 4, !tbaa !14
br label %105
98: ; preds = %93
%99 = load i64, ptr @COLOR_SPACE_2020_YCBCR, align 8, !tbaa !16
%100 = icmp eq i64 %83, %99
%101 = load i32, ptr @ColorimetryYCC_DP_ITU2020YCbCr, align 4
%102 = select i1 %100, i32 %101, i32 0
br label %105
103: ; preds = %51
%104 = load i32, ptr @ColorimetryRGB_DP_sRGB, align 4, !tbaa !14
br label %105
105: ; preds = %72, %98, %86, %96, %91, %65, %70, %103
%106 = phi i32 [ 0, %103 ], [ %81, %86 ], [ %81, %91 ], [ %81, %96 ], [ 0, %65 ], [ 0, %70 ], [ %81, %98 ], [ 0, %72 ]
%107 = phi i1 [ false, %103 ], [ true, %86 ], [ true, %91 ], [ true, %96 ], [ false, %65 ], [ false, %70 ], [ true, %98 ], [ false, %72 ]
%108 = phi i32 [ %104, %103 ], [ %87, %86 ], [ %92, %91 ], [ %97, %96 ], [ %66, %65 ], [ %71, %70 ], [ %102, %98 ], [ %79, %72 ]
%109 = or i32 %108, %106
%110 = getelementptr inbounds i8, ptr %1, i64 16
%111 = load ptr, ptr %110, align 8, !tbaa !26
%112 = getelementptr inbounds i8, ptr %111, i64 64
store i32 %109, ptr %112, align 4, !tbaa !14
%113 = getelementptr inbounds i8, ptr %0, i64 32
%114 = load i32, ptr %113, align 8, !tbaa !31
%115 = getelementptr inbounds i8, ptr %111, i64 68
%116 = add i32 %114, -140
%117 = icmp ult i32 %116, 5
br i1 %117, label %118, label %125
118: ; preds = %105
%119 = zext nneg i32 %116 to i64
%120 = getelementptr inbounds [5 x i32], ptr @switch.table.mod_build_vsc_infopacket.1, i64 0, i64 %119
%121 = load i32, ptr %120, align 4
%122 = zext nneg i32 %116 to i64
%123 = getelementptr inbounds [5 x i32], ptr @switch.table.mod_build_vsc_infopacket.2, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
br label %125
125: ; preds = %118, %105
%126 = phi i32 [ 0, %105 ], [ %121, %118 ]
%127 = phi i32 [ 128, %105 ], [ %124, %118 ]
store i32 %126, ptr %115, align 4, !tbaa !14
%128 = getelementptr inbounds i8, ptr %0, i64 16
%129 = load i64, ptr %128, align 8, !tbaa !30
%130 = load i64, ptr @COLOR_SPACE_SRGB_LIMITED, align 8, !tbaa !16
%131 = icmp eq i64 %129, %130
br i1 %131, label %136, label %132
132: ; preds = %125
%133 = load i64, ptr @COLOR_SPACE_2020_RGB_LIMITEDRANGE, align 8, !tbaa !16
%134 = icmp eq i64 %129, %133
%135 = or i1 %107, %134
br i1 %135, label %136, label %137
136: ; preds = %132, %125
store i32 %127, ptr %115, align 4, !tbaa !14
br label %137
137: ; preds = %132, %136
%138 = getelementptr inbounds i8, ptr %111, i64 72
store i32 0, ptr %138, align 4, !tbaa !14
br label %139
139: ; preds = %50, %137, %28
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(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, !12, i64 24}
!7 = !{!"dc_stream_state", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !13, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_12__", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 8}
!18 = !{!7, !13, i64 40}
!19 = !{!20, !12, i64 8}
!20 = !{!"TYPE_11__", !21, i64 0}
!21 = !{!"TYPE_10__", !22, i64 0, !24, i64 8}
!22 = !{!"TYPE_9__", !23, i64 0}
!23 = !{!"TYPE_8__", !8, i64 0}
!24 = !{!"TYPE_7__", !12, i64 0}
!25 = !{!20, !8, i64 0}
!26 = !{!27, !13, i64 16}
!27 = !{!"dc_info_packet", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 24}
!28 = !{!27, !12, i64 24}
!29 = !{!7, !12, i64 28}
!30 = !{!7, !8, i64 16}
!31 = !{!7, !12, i64 32}
|
linux_drivers_gpu_drm_amd_display_modules_info_packet_extr_info_packet.c_mod_build_vsc_infopacket
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c_rtl8723e_suspend.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c_rtl8723e_suspend.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @rtl8723e_suspend(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c_rtl8723e_suspend.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c_rtl8723e_suspend.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @rtl8723e_suspend(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_hw.c_rtl8723e_suspend
|
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_ldump.c_luaU_dump.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_ldump.c_luaU_dump.c"
target datalayout = "e-m:e-p270:32:32-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, i32, ptr, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local i32 @luaU_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.TYPE_9__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
%7 = getelementptr inbounds %struct.TYPE_9__, ptr %6, i64 0, i32 4
store ptr %0, ptr %7, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_9__, ptr %6, i64 0, i32 3
store i32 %2, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.TYPE_9__, ptr %6, i64 0, i32 2
store ptr %3, ptr %9, align 8, !tbaa !12
store i32 %4, ptr %6, align 8, !tbaa !13
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %6, i64 0, i32 1
store i32 0, ptr %10, align 4, !tbaa !14
%11 = call i32 @DumpHeader(ptr noundef nonnull %6) #3
%12 = load i32, ptr %1, align 4, !tbaa !15
%13 = call i32 @DumpByte(i32 noundef %12, ptr noundef nonnull %6) #3
%14 = call i32 @DumpFunction(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull %6) #3
%15 = load i32, ptr %10, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DumpHeader(ptr noundef) local_unnamed_addr #2
declare i32 @DumpByte(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DumpFunction(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, !10, i64 24}
!6 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_8__", !7, i64 0}
|
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_ldump.c_luaU_dump.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_ldump.c_luaU_dump.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 { i32, i32, ptr, i32, ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @luaU_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.TYPE_9__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
%7 = getelementptr inbounds i8, ptr %6, i64 24
store ptr %0, ptr %7, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %6, i64 16
store i32 %2, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %3, ptr %9, align 8, !tbaa !13
store i32 %4, ptr %6, align 8, !tbaa !14
%10 = getelementptr inbounds i8, ptr %6, i64 4
store i32 0, ptr %10, align 4, !tbaa !15
%11 = call i32 @DumpHeader(ptr noundef nonnull %6) #3
%12 = load i32, ptr %1, align 4, !tbaa !16
%13 = call i32 @DumpByte(i32 noundef %12, ptr noundef nonnull %6) #3
%14 = call i32 @DumpFunction(ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull %6) #3
%15 = load i32, ptr %10, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DumpHeader(ptr noundef) local_unnamed_addr #2
declare i32 @DumpByte(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DumpFunction(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, !11, i64 24}
!7 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !8, i64 4}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_8__", !8, i64 0}
|
xLua_build_lua-5.3.3_src_extr_ldump.c_luaU_dump
|
; ModuleID = 'AnghaBench/linux/drivers/net/fjes/extr_fjes.h_fjes_dbg_adapter_init.c'
source_filename = "AnghaBench/linux/drivers/net/fjes/extr_fjes.h_fjes_dbg_adapter_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 @fjes_dbg_adapter_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @fjes_dbg_adapter_init(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/fjes/extr_fjes.h_fjes_dbg_adapter_init.c'
source_filename = "AnghaBench/linux/drivers/net/fjes/extr_fjes.h_fjes_dbg_adapter_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 @fjes_dbg_adapter_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @fjes_dbg_adapter_init(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_fjes_extr_fjes.h_fjes_dbg_adapter_init
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_power_down_phy_copper.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_power_down_phy_copper.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
@PHY_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@MII_CR_POWER_DOWN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @igb_power_down_phy_copper(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = load i32, ptr @PHY_CONTROL, align 4, !tbaa !5
%6 = call i32 %4(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %2) #3
%7 = load i32, ptr @MII_CR_POWER_DOWN, align 4, !tbaa !5
%8 = load i32, ptr %2, align 4, !tbaa !5
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4, !tbaa !5
%10 = load ptr, ptr %0, align 8, !tbaa !14
%11 = load i32, ptr @PHY_CONTROL, align 4, !tbaa !5
%12 = call i32 %10(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %9) #3
%13 = call i32 @usleep_range(i32 noundef 1000, i32 noundef 2000) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 8}
!10 = !{!"e1000_hw", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_power_down_phy_copper.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_power_down_phy_copper.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PHY_CONTROL = common local_unnamed_addr global i32 0, align 4
@MII_CR_POWER_DOWN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @igb_power_down_phy_copper(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @PHY_CONTROL, align 4, !tbaa !6
%6 = call i32 %4(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %2) #3
%7 = load i32, ptr @MII_CR_POWER_DOWN, align 4, !tbaa !6
%8 = load i32, ptr %2, align 4, !tbaa !6
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4, !tbaa !6
%10 = load ptr, ptr %0, align 8, !tbaa !15
%11 = load i32, ptr @PHY_CONTROL, align 4, !tbaa !6
%12 = call i32 %10(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %9) #3
%13 = call i32 @usleep_range(i32 noundef 1000, i32 noundef 2000) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 8}
!11 = !{!"e1000_hw", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !14, i64 0}
|
linux_drivers_net_ethernet_intel_igb_extr_e1000_phy.c_igb_power_down_phy_copper
|
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/extr_lsm_file.c_fsMmapPage.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/extr_lsm_file.c_fsMmapPage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsMmapPage], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @fsMmapPage(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = trunc i64 %1 to i32
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = mul nsw i32 %4, %3
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = icmp sle i32 %5, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
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, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/extr_lsm_file.c_fsMmapPage.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/extr_lsm_file.c_fsMmapPage.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 @fsMmapPage], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @fsMmapPage(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = trunc i64 %1 to i32
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = mul nsw i32 %4, %3
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = icmp sle i32 %5, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
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, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
|
sqlcipher_ext_lsm1_extr_lsm_file.c_fsMmapPage
|
; ModuleID = 'AnghaBench/macvim/src/extr_regexp.c_skipchr_keepstart.c'
source_filename = "AnghaBench/macvim/src/extr_regexp.c_skipchr_keepstart.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@prev_at_start = dso_local local_unnamed_addr global i32 0, align 4
@prevchr = dso_local local_unnamed_addr global i32 0, align 4
@prevprevchr = dso_local local_unnamed_addr global i32 0, align 4
@at_start = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @skipchr_keepstart], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @skipchr_keepstart() #0 {
%1 = load i32, ptr @prev_at_start, align 4, !tbaa !5
%2 = load i32, ptr @prevchr, align 4, !tbaa !5
%3 = load i32, ptr @prevprevchr, align 4, !tbaa !5
%4 = tail call i32 (...) @skipchr() #2
store i32 %1, ptr @at_start, align 4, !tbaa !5
store i32 %2, ptr @prevchr, align 4, !tbaa !5
store i32 %3, ptr @prevprevchr, align 4, !tbaa !5
ret void
}
declare i32 @skipchr(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/macvim/src/extr_regexp.c_skipchr_keepstart.c'
source_filename = "AnghaBench/macvim/src/extr_regexp.c_skipchr_keepstart.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@prev_at_start = common local_unnamed_addr global i32 0, align 4
@prevchr = common local_unnamed_addr global i32 0, align 4
@prevprevchr = common local_unnamed_addr global i32 0, align 4
@at_start = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @skipchr_keepstart], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @skipchr_keepstart() #0 {
%1 = load i32, ptr @prev_at_start, align 4, !tbaa !6
%2 = load i32, ptr @prevchr, align 4, !tbaa !6
%3 = load i32, ptr @prevprevchr, align 4, !tbaa !6
%4 = tail call i32 @skipchr() #2
store i32 %1, ptr @at_start, align 4, !tbaa !6
store i32 %2, ptr @prevchr, align 4, !tbaa !6
store i32 %3, ptr @prevprevchr, align 4, !tbaa !6
ret void
}
declare i32 @skipchr(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
|
macvim_src_extr_regexp.c_skipchr_keepstart
|
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_LogCheckpointStart.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_LogCheckpointStart.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LOG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"%s starting:%s%s%s%s%s%s%s%s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"restartpoint\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"checkpoint\00", align 1
@CHECKPOINT_IS_SHUTDOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c" shutdown\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@CHECKPOINT_END_OF_RECOVERY = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c" end-of-recovery\00", align 1
@CHECKPOINT_IMMEDIATE = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [11 x i8] c" immediate\00", align 1
@CHECKPOINT_FORCE = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c" force\00", align 1
@CHECKPOINT_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [6 x i8] c" wait\00", align 1
@CHECKPOINT_CAUSE_XLOG = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [5 x i8] c" wal\00", align 1
@CHECKPOINT_CAUSE_TIME = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [6 x i8] c" time\00", align 1
@CHECKPOINT_FLUSH_ALL = dso_local local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [11 x i8] c" flush-all\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @LogCheckpointStart], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @LogCheckpointStart(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @LOG, align 4, !tbaa !5
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, ptr @.str.2, ptr @.str.1
%6 = load i32, ptr @CHECKPOINT_IS_SHUTDOWN, align 4, !tbaa !5
%7 = and i32 %6, %0
%8 = icmp eq i32 %7, 0
%9 = select i1 %8, ptr @.str.4, ptr @.str.3
%10 = load i32, ptr @CHECKPOINT_END_OF_RECOVERY, align 4, !tbaa !5
%11 = and i32 %10, %0
%12 = icmp eq i32 %11, 0
%13 = select i1 %12, ptr @.str.4, ptr @.str.5
%14 = load i32, ptr @CHECKPOINT_IMMEDIATE, align 4, !tbaa !5
%15 = and i32 %14, %0
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, ptr @.str.4, ptr @.str.6
%18 = load i32, ptr @CHECKPOINT_FORCE, align 4, !tbaa !5
%19 = and i32 %18, %0
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, ptr @.str.4, ptr @.str.7
%22 = load i32, ptr @CHECKPOINT_WAIT, align 4, !tbaa !5
%23 = and i32 %22, %0
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, ptr @.str.4, ptr @.str.8
%26 = load i32, ptr @CHECKPOINT_CAUSE_XLOG, align 4, !tbaa !5
%27 = and i32 %26, %0
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, ptr @.str.4, ptr @.str.9
%30 = load i32, ptr @CHECKPOINT_CAUSE_TIME, align 4, !tbaa !5
%31 = and i32 %30, %0
%32 = icmp eq i32 %31, 0
%33 = select i1 %32, ptr @.str.4, ptr @.str.10
%34 = load i32, ptr @CHECKPOINT_FLUSH_ALL, align 4, !tbaa !5
%35 = and i32 %34, %0
%36 = icmp eq i32 %35, 0
%37 = select i1 %36, ptr @.str.4, ptr @.str.11
%38 = tail call i32 @elog(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %9, ptr noundef nonnull %13, ptr noundef nonnull %17, ptr noundef nonnull %21, ptr noundef nonnull %25, ptr noundef nonnull %29, ptr noundef nonnull %33, ptr noundef nonnull %37) #2
ret void
}
declare i32 @elog(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_LogCheckpointStart.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_LogCheckpointStart.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LOG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"%s starting:%s%s%s%s%s%s%s%s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"restartpoint\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"checkpoint\00", align 1
@CHECKPOINT_IS_SHUTDOWN = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c" shutdown\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@CHECKPOINT_END_OF_RECOVERY = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c" end-of-recovery\00", align 1
@CHECKPOINT_IMMEDIATE = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [11 x i8] c" immediate\00", align 1
@CHECKPOINT_FORCE = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c" force\00", align 1
@CHECKPOINT_WAIT = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [6 x i8] c" wait\00", align 1
@CHECKPOINT_CAUSE_XLOG = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [5 x i8] c" wal\00", align 1
@CHECKPOINT_CAUSE_TIME = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [6 x i8] c" time\00", align 1
@CHECKPOINT_FLUSH_ALL = common local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [11 x i8] c" flush-all\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @LogCheckpointStart], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @LogCheckpointStart(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @LOG, align 4, !tbaa !6
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, ptr @.str.2, ptr @.str.1
%6 = load i32, ptr @CHECKPOINT_IS_SHUTDOWN, align 4, !tbaa !6
%7 = and i32 %6, %0
%8 = icmp eq i32 %7, 0
%9 = select i1 %8, ptr @.str.4, ptr @.str.3
%10 = load i32, ptr @CHECKPOINT_END_OF_RECOVERY, align 4, !tbaa !6
%11 = and i32 %10, %0
%12 = icmp eq i32 %11, 0
%13 = select i1 %12, ptr @.str.4, ptr @.str.5
%14 = load i32, ptr @CHECKPOINT_IMMEDIATE, align 4, !tbaa !6
%15 = and i32 %14, %0
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, ptr @.str.4, ptr @.str.6
%18 = load i32, ptr @CHECKPOINT_FORCE, align 4, !tbaa !6
%19 = and i32 %18, %0
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, ptr @.str.4, ptr @.str.7
%22 = load i32, ptr @CHECKPOINT_WAIT, align 4, !tbaa !6
%23 = and i32 %22, %0
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, ptr @.str.4, ptr @.str.8
%26 = load i32, ptr @CHECKPOINT_CAUSE_XLOG, align 4, !tbaa !6
%27 = and i32 %26, %0
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, ptr @.str.4, ptr @.str.9
%30 = load i32, ptr @CHECKPOINT_CAUSE_TIME, align 4, !tbaa !6
%31 = and i32 %30, %0
%32 = icmp eq i32 %31, 0
%33 = select i1 %32, ptr @.str.4, ptr @.str.10
%34 = load i32, ptr @CHECKPOINT_FLUSH_ALL, align 4, !tbaa !6
%35 = and i32 %34, %0
%36 = icmp eq i32 %35, 0
%37 = select i1 %36, ptr @.str.4, ptr @.str.11
%38 = tail call i32 @elog(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %9, ptr noundef nonnull %13, ptr noundef nonnull %17, ptr noundef nonnull %21, ptr noundef nonnull %25, ptr noundef nonnull %29, ptr noundef nonnull %33, ptr noundef nonnull %37) #2
ret void
}
declare i32 @elog(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
postgres_src_backend_access_transam_extr_xlog.c_LogCheckpointStart
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_mbx.c_igb_read_mbx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_mbx.c_igb_read_mbx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_mbx_info = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
@E1000_ERR_MBX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @igb_read_mbx(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @E1000_ERR_MBX, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
%8 = getelementptr inbounds %struct.e1000_mbx_info, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %5
%12 = load i64, ptr %0, align 8, !tbaa !14
%13 = tail call i64 @llvm.smin.i64(i64 %12, i64 %2)
%14 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %13, i64 noundef %3, i32 noundef %4) #2
br label %15
15: ; preds = %11, %5
%16 = phi i32 [ %14, %11 ], [ %7, %5 ]
ret i32 %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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) }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !13, i64 8}
!10 = !{!"e1000_mbx_info", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_mbx.c_igb_read_mbx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_mbx.c_igb_read_mbx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E1000_ERR_MBX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @igb_read_mbx(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @E1000_ERR_MBX, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %5
%12 = load i64, ptr %0, align 8, !tbaa !15
%13 = tail call i64 @llvm.smin.i64(i64 %12, i64 %2)
%14 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %13, i64 noundef %3, i32 noundef %4) #2
br label %15
15: ; preds = %11, %5
%16 = phi i32 [ %14, %11 ], [ %7, %5 ]
ret i32 %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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) }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !14, i64 8}
!11 = !{!"e1000_mbx_info", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !12, i64 0}
|
linux_drivers_net_ethernet_intel_igb_extr_e1000_mbx.c_igb_read_mbx
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/rand/extr_drbg_lib.c_RAND_DRBG_get0_public.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/rand/extr_drbg_lib.c_RAND_DRBG_get0_public.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@rand_drbg_init = dso_local global i32 0, align 4
@do_rand_drbg_init = dso_local local_unnamed_addr global i32 0, align 4
@public_drbg = dso_local global i32 0, align 4
@OPENSSL_INIT_THREAD_RAND = dso_local local_unnamed_addr global i32 0, align 4
@master_drbg = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @RAND_DRBG_get0_public() local_unnamed_addr #0 {
%1 = load i32, ptr @do_rand_drbg_init, align 4, !tbaa !5
%2 = tail call i32 @RUN_ONCE(ptr noundef nonnull @rand_drbg_init, i32 noundef %1) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %0
%5 = tail call ptr @CRYPTO_THREAD_get_local(ptr noundef nonnull @public_drbg) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr @OPENSSL_INIT_THREAD_RAND, align 4, !tbaa !5
%9 = tail call i32 @ossl_init_thread_start(i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr @master_drbg, align 4, !tbaa !5
%13 = tail call ptr @drbg_setup(i32 noundef %12) #2
%14 = tail call i32 @CRYPTO_THREAD_set_local(ptr noundef nonnull @public_drbg, ptr noundef %13) #2
br label %15
15: ; preds = %4, %11, %7, %0
%16 = phi ptr [ null, %0 ], [ null, %7 ], [ %13, %11 ], [ %5, %4 ]
ret ptr %16
}
declare i32 @RUN_ONCE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @CRYPTO_THREAD_get_local(ptr noundef) local_unnamed_addr #1
declare i32 @ossl_init_thread_start(i32 noundef) local_unnamed_addr #1
declare ptr @drbg_setup(i32 noundef) local_unnamed_addr #1
declare i32 @CRYPTO_THREAD_set_local(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/rand/extr_drbg_lib.c_RAND_DRBG_get0_public.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/rand/extr_drbg_lib.c_RAND_DRBG_get0_public.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rand_drbg_init = common global i32 0, align 4
@do_rand_drbg_init = common local_unnamed_addr global i32 0, align 4
@public_drbg = common global i32 0, align 4
@OPENSSL_INIT_THREAD_RAND = common local_unnamed_addr global i32 0, align 4
@master_drbg = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @RAND_DRBG_get0_public() local_unnamed_addr #0 {
%1 = load i32, ptr @do_rand_drbg_init, align 4, !tbaa !6
%2 = tail call i32 @RUN_ONCE(ptr noundef nonnull @rand_drbg_init, i32 noundef %1) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %0
%5 = tail call ptr @CRYPTO_THREAD_get_local(ptr noundef nonnull @public_drbg) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr @OPENSSL_INIT_THREAD_RAND, align 4, !tbaa !6
%9 = tail call i32 @ossl_init_thread_start(i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr @master_drbg, align 4, !tbaa !6
%13 = tail call ptr @drbg_setup(i32 noundef %12) #2
%14 = tail call i32 @CRYPTO_THREAD_set_local(ptr noundef nonnull @public_drbg, ptr noundef %13) #2
br label %15
15: ; preds = %4, %11, %7, %0
%16 = phi ptr [ null, %0 ], [ null, %7 ], [ %13, %11 ], [ %5, %4 ]
ret ptr %16
}
declare i32 @RUN_ONCE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @CRYPTO_THREAD_get_local(ptr noundef) local_unnamed_addr #1
declare i32 @ossl_init_thread_start(i32 noundef) local_unnamed_addr #1
declare ptr @drbg_setup(i32 noundef) local_unnamed_addr #1
declare i32 @CRYPTO_THREAD_set_local(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_crypto_openssl_crypto_rand_extr_drbg_lib.c_RAND_DRBG_get0_public
|
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/pf/extr_pf_ioctl.c_pf_addr_copyout.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf_ioctl.c_pf_addr_copyout.c"
target datalayout = "e-m:e-p270:32:32-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 @pf_addr_copyout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pf_addr_copyout(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %2, label %7 [
i32 129, label %3
i32 128, label %5
]
3: ; preds = %1
%4 = tail call i32 @pfi_dynaddr_copyout(ptr noundef nonnull %0) #2
br label %7
5: ; preds = %1
%6 = tail call i32 @pf_tbladdr_copyout(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %5, %3
ret void
}
declare i32 @pfi_dynaddr_copyout(ptr noundef) local_unnamed_addr #1
declare i32 @pf_tbladdr_copyout(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 = !{!"pf_addr_wrap", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/pf/extr_pf_ioctl.c_pf_addr_copyout.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf_ioctl.c_pf_addr_copyout.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 @pf_addr_copyout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pf_addr_copyout(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %2, label %7 [
i32 129, label %3
i32 128, label %5
]
3: ; preds = %1
%4 = tail call i32 @pfi_dynaddr_copyout(ptr noundef nonnull %0) #2
br label %7
5: ; preds = %1
%6 = tail call i32 @pf_tbladdr_copyout(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %5, %3
ret void
}
declare i32 @pfi_dynaddr_copyout(ptr noundef) local_unnamed_addr #1
declare i32 @pf_tbladdr_copyout(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 = !{!"pf_addr_wrap", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_netpfil_pf_extr_pf_ioctl.c_pf_addr_copyout
|
; ModuleID = 'AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_lkc.h_sym_is_choice_value.c'
source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_lkc.h_sym_is_choice_value.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SYMBOL_CHOICEVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sym_is_choice_value], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @sym_is_choice_value(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @SYMBOL_CHOICEVAL, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
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 = !{!"symbol", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_lkc.h_sym_is_choice_value.c'
source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_lkc.h_sym_is_choice_value.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SYMBOL_CHOICEVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sym_is_choice_value], 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 @sym_is_choice_value(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @SYMBOL_CHOICEVAL, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
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 = !{!"symbol", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
fastsocket_kernel_firmware_carl9170fw_config_extr_lkc.h_sym_is_choice_value
|
; ModuleID = 'AnghaBench/linux/drivers/iio/frequency/extr_adf4371.c_adf4371_pll_fract_n_get_rate.c'
source_filename = "AnghaBench/linux/drivers/iio/frequency/extr_adf4371.c_adf4371_pll_fract_n_get_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.adf4371_state = type { i32, i32, i32, i32, i64, i64 }
@ADF4371_MODULUS1 = dso_local local_unnamed_addr global i32 0, align 4
@ADF4371_CH_RF8 = dso_local local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RFAUX8 = dso_local local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RF16 = dso_local local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RF32 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @adf4371_pll_fract_n_get_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @adf4371_pll_fract_n_get_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.adf4371_state, ptr %0, i64 0, i32 5
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = trunc i64 %4 to i32
%6 = load i32, ptr @ADF4371_MODULUS1, align 4, !tbaa !11
%7 = mul nsw i32 %6, %5
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = add nsw i32 %7, %8
%10 = getelementptr inbounds %struct.adf4371_state, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = mul nsw i32 %9, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds %struct.adf4371_state, ptr %0, i64 0, i32 4
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = trunc i64 %15 to i32
%17 = mul nsw i32 %11, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds %struct.adf4371_state, ptr %0, i64 0, i32 2
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = tail call i32 @do_div(i64 noundef %18, i32 noundef %20) #2
%22 = load i32, ptr @ADF4371_MODULUS1, align 4, !tbaa !11
%23 = sdiv i32 %22, 2
%24 = sext i32 %23 to i64
%25 = add nsw i64 %18, %13
%26 = add nsw i64 %25, %24
%27 = load i64, ptr @ADF4371_CH_RF8, align 8, !tbaa !16
%28 = icmp eq i64 %27, %1
%29 = load i64, ptr @ADF4371_CH_RFAUX8, align 8
%30 = icmp eq i64 %29, %1
%31 = select i1 %28, i1 true, i1 %30
br i1 %31, label %32, label %35
32: ; preds = %2
%33 = getelementptr inbounds %struct.adf4371_state, ptr %0, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !17
br label %35
35: ; preds = %2, %32
%36 = phi i32 [ %34, %32 ], [ 0, %2 ]
%37 = shl i32 %22, %36
%38 = tail call i32 @do_div(i64 noundef %26, i32 noundef %37) #2
%39 = load i64, ptr @ADF4371_CH_RF16, align 8, !tbaa !16
%40 = icmp eq i64 %39, %1
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = shl nsw i64 %26, 1
br label %48
43: ; preds = %35
%44 = load i64, ptr @ADF4371_CH_RF32, align 8, !tbaa !16
%45 = icmp eq i64 %44, %1
%46 = shl nsw i64 %26, 2
%47 = select i1 %45, i64 %46, i64 %26
br label %48
48: ; preds = %43, %41
%49 = phi i64 [ %42, %41 ], [ %47, %43 ]
ret i64 %49
}
declare i32 @do_div(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, !10, i64 24}
!6 = !{!"adf4371_state", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !7, i64 8}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !7, i64 12}
|
; ModuleID = 'AnghaBench/linux/drivers/iio/frequency/extr_adf4371.c_adf4371_pll_fract_n_get_rate.c'
source_filename = "AnghaBench/linux/drivers/iio/frequency/extr_adf4371.c_adf4371_pll_fract_n_get_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADF4371_MODULUS1 = common local_unnamed_addr global i32 0, align 4
@ADF4371_CH_RF8 = common local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RFAUX8 = common local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RF16 = common local_unnamed_addr global i64 0, align 8
@ADF4371_CH_RF32 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @adf4371_pll_fract_n_get_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @adf4371_pll_fract_n_get_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = trunc i64 %4 to i32
%6 = load i32, ptr @ADF4371_MODULUS1, align 4, !tbaa !12
%7 = mul nsw i32 %6, %5
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = add nsw i32 %7, %8
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = mul nsw i32 %9, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = trunc i64 %15 to i32
%17 = mul nsw i32 %11, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !16
%21 = tail call i32 @do_div(i64 noundef %18, i32 noundef %20) #2
%22 = load i32, ptr @ADF4371_MODULUS1, align 4, !tbaa !12
%23 = sdiv i32 %22, 2
%24 = sext i32 %23 to i64
%25 = add nsw i64 %18, %13
%26 = add nsw i64 %25, %24
%27 = load i64, ptr @ADF4371_CH_RF8, align 8, !tbaa !17
%28 = icmp eq i64 %27, %1
%29 = load i64, ptr @ADF4371_CH_RFAUX8, align 8
%30 = icmp eq i64 %29, %1
%31 = select i1 %28, i1 true, i1 %30
br i1 %31, label %32, label %35
32: ; preds = %2
%33 = getelementptr inbounds i8, ptr %0, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !18
br label %35
35: ; preds = %2, %32
%36 = phi i32 [ %34, %32 ], [ 0, %2 ]
%37 = shl i32 %22, %36
%38 = tail call i32 @do_div(i64 noundef %26, i32 noundef %37) #2
%39 = load i64, ptr @ADF4371_CH_RF16, align 8, !tbaa !17
%40 = icmp eq i64 %39, %1
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = shl nsw i64 %26, 1
br label %48
43: ; preds = %35
%44 = load i64, ptr @ADF4371_CH_RF32, align 8, !tbaa !17
%45 = icmp eq i64 %44, %1
%46 = shl nsw i64 %26, 2
%47 = select i1 %45, i64 %46, i64 %26
br label %48
48: ; preds = %43, %41
%49 = phi i64 [ %42, %41 ], [ %47, %43 ]
ret i64 %49
}
declare i32 @do_div(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, !11, i64 24}
!7 = !{!"adf4371_state", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !8, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !8, i64 12}
|
linux_drivers_iio_frequency_extr_adf4371.c_adf4371_pll_fract_n_get_rate
|
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cbin.c_is_section_symbol.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cbin.c_is_section_symbol.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@R_BIN_TYPE_SECTION_STR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_section_symbol], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_section_symbol(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %3
%9 = load i64, ptr %0, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i32, ptr @R_BIN_TYPE_SECTION_STR, align 4, !tbaa !13
%13 = tail call i32 @strcmp(i64 noundef %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %8, %11, %1, %3
%17 = phi i32 [ 0, %3 ], [ 0, %1 ], [ 0, %8 ], [ %15, %11 ]
ret i32 %17
}
declare i32 @strcmp(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, !10, i64 8}
!6 = !{!"TYPE_3__", !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 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cbin.c_is_section_symbol.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cbin.c_is_section_symbol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@R_BIN_TYPE_SECTION_STR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_section_symbol], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_section_symbol(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %3
%9 = load i64, ptr %0, align 8, !tbaa !13
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i32, ptr @R_BIN_TYPE_SECTION_STR, align 4, !tbaa !14
%13 = tail call i32 @strcmp(i64 noundef %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %8, %11, %1, %3
%17 = phi i32 [ 0, %3 ], [ 0, %1 ], [ 0, %8 ], [ %15, %11 ]
ret i32 %17
}
declare i32 @strcmp(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, !11, i64 8}
!7 = !{!"TYPE_3__", !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 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
|
radare2_libr_core_extr_cbin.c_is_section_symbol
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_updn.c_updn_delete.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_updn.c_updn_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @updn_delete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @updn_delete(ptr noundef %0) #0 {
%2 = tail call i32 @free(ptr noundef %0) #2
ret void
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_updn.c_updn_delete.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_updn.c_updn_delete.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 @updn_delete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @updn_delete(ptr noundef %0) #0 {
%2 = tail call i32 @free(ptr noundef %0) #2
ret void
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_contrib_ofed_opensm_opensm_extr_osm_ucast_updn.c_updn_delete
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_aes_unwrap.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_aes_unwrap.c"
target datalayout = "e-m:e-p270:32:32-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 @aes_unwrap(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i64 (...) @TEST_FAIL() #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = shl i64 %1, 3
%11 = call i64 @AES_set_decrypt_key(ptr noundef %0, i64 noundef %10, ptr noundef nonnull %6) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %9
%14 = shl i32 %2, 3
%15 = add i32 %14, 8
%16 = call i32 @AES_unwrap_key(ptr noundef nonnull %6, ptr noundef null, ptr noundef %4, ptr noundef %3, i32 noundef %15) #3
%17 = call i32 @OPENSSL_cleanse(ptr noundef nonnull %6, i32 noundef 4) #3
%18 = icmp slt i32 %16, 1
%19 = sext i1 %18 to i32
br label %20
20: ; preds = %9, %5, %13
%21 = phi i32 [ %19, %13 ], [ -1, %5 ], [ -1, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @TEST_FAIL(...) local_unnamed_addr #2
declare i64 @AES_set_decrypt_key(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @AES_unwrap_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_aes_unwrap.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_aes_unwrap.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 -1, 1) i32 @aes_unwrap(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i64 @TEST_FAIL() #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = shl i64 %1, 3
%11 = call i64 @AES_set_decrypt_key(ptr noundef %0, i64 noundef %10, ptr noundef nonnull %6) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %9
%14 = shl i32 %2, 3
%15 = add i32 %14, 8
%16 = call i32 @AES_unwrap_key(ptr noundef nonnull %6, ptr noundef null, ptr noundef %4, ptr noundef %3, i32 noundef %15) #3
%17 = call i32 @OPENSSL_cleanse(ptr noundef nonnull %6, i32 noundef 4) #3
%18 = icmp slt i32 %16, 1
%19 = sext i1 %18 to i32
br label %20
20: ; preds = %9, %5, %13
%21 = phi i32 [ %19, %13 ], [ -1, %5 ], [ -1, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @TEST_FAIL(...) local_unnamed_addr #2
declare i64 @AES_set_decrypt_key(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @AES_unwrap_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_contrib_wpa_src_crypto_extr_crypto_openssl.c_aes_unwrap
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_act.c_bta_dm_ble_read_scan_reports.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_act.c_bta_dm_ble_read_scan_reports.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_10__ = type { %struct.TYPE_8__, %struct.TYPE_7__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32, i32 }
@BTM_CMD_STARTED = dso_local local_unnamed_addr global i64 0, align 8
@BTM_BLE_BATCH_SCAN_READ_REPTS_EVT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @bta_dm_ble_read_scan_reports(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_9__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @BTM_BleGetVendorCapabilities(ptr noundef nonnull %2) #3
%4 = load i64, ptr %2, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%8 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = load i32, ptr %7, align 4, !tbaa !15
%11 = call i64 @BTM_BleReadScanReports(i32 noundef %9, i32 noundef %10) #3
br label %12
12: ; preds = %6, %1
%13 = phi i64 [ %11, %6 ], [ 0, %1 ]
%14 = load i64, ptr @BTM_CMD_STARTED, align 8, !tbaa !16
%15 = icmp eq i64 %14, %13
br i1 %15, label %20, label %16
16: ; preds = %12
%17 = load i32, ptr @BTM_BLE_BATCH_SCAN_READ_REPTS_EVT, align 4, !tbaa !17
%18 = load i32, ptr %0, align 4, !tbaa !18
%19 = call i32 @bta_ble_scan_setup_cb(i32 noundef %17, i32 noundef %18, i64 noundef %13) #3
br label %20
20: ; preds = %16, %12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BTM_BleGetVendorCapabilities(ptr noundef) local_unnamed_addr #2
declare i64 @BTM_BleReadScanReports(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bta_ble_scan_setup_cb(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_10__", !12, i64 0, !14, i64 4}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"TYPE_7__", !13, i64 0, !13, i64 4}
!15 = !{!11, !13, i64 4}
!16 = !{!7, !7, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!11, !13, i64 0}
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_act.c_bta_dm_ble_read_scan_reports.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_act.c_bta_dm_ble_read_scan_reports.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 }
@BTM_CMD_STARTED = common local_unnamed_addr global i64 0, align 8
@BTM_BLE_BATCH_SCAN_READ_REPTS_EVT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @bta_dm_ble_read_scan_reports(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_9__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @BTM_BleGetVendorCapabilities(ptr noundef nonnull %2) #3
%4 = load i64, ptr %2, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = load i32, ptr %7, align 4, !tbaa !16
%11 = call i64 @BTM_BleReadScanReports(i32 noundef %9, i32 noundef %10) #3
br label %12
12: ; preds = %6, %1
%13 = phi i64 [ %11, %6 ], [ 0, %1 ]
%14 = load i64, ptr @BTM_CMD_STARTED, align 8, !tbaa !17
%15 = icmp eq i64 %14, %13
br i1 %15, label %20, label %16
16: ; preds = %12
%17 = load i32, ptr @BTM_BLE_BATCH_SCAN_READ_REPTS_EVT, align 4, !tbaa !18
%18 = load i32, ptr %0, align 4, !tbaa !19
%19 = call i32 @bta_ble_scan_setup_cb(i32 noundef %17, i32 noundef %18, i64 noundef %13) #3
br label %20
20: ; preds = %16, %12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BTM_BleGetVendorCapabilities(ptr noundef) local_unnamed_addr #2
declare i64 @BTM_BleReadScanReports(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bta_ble_scan_setup_cb(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_10__", !13, i64 0, !15, i64 4}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!"TYPE_7__", !14, i64 0, !14, i64 4}
!16 = !{!12, !14, i64 4}
!17 = !{!8, !8, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!12, !14, i64 0}
|
esp-idf_components_bt_host_bluedroid_bta_dm_extr_bta_dm_act.c_bta_dm_ble_read_scan_reports
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_supported_modes.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_supported_modes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SUPPORTED_10baseT_Half = dso_local local_unnamed_addr global i32 0, align 4
@SUPPORTED_10baseT_Full = dso_local local_unnamed_addr global i32 0, align 4
@SUPPORTED_100baseT_Half = dso_local local_unnamed_addr global i32 0, align 4
@SUPPORTED_100baseT_Full = dso_local local_unnamed_addr global i32 0, align 4
@SKY2_HW_GIGABIT = dso_local local_unnamed_addr global i32 0, align 4
@SUPPORTED_1000baseT_Half = dso_local local_unnamed_addr global i32 0, align 4
@SUPPORTED_1000baseT_Full = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sky2_supported_modes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sky2_supported_modes(ptr noundef %0) #0 {
%2 = tail call i64 @sky2_is_copper(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = load i32, ptr @SUPPORTED_10baseT_Half, align 4, !tbaa !5
%6 = load i32, ptr @SUPPORTED_10baseT_Full, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @SUPPORTED_100baseT_Half, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = load i32, ptr @SUPPORTED_100baseT_Full, align 4, !tbaa !5
%11 = or i32 %9, %10
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = load i32, ptr @SKY2_HW_GIGABIT, align 4, !tbaa !5
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
%16 = load i32, ptr @SUPPORTED_1000baseT_Half, align 4
%17 = load i32, ptr @SUPPORTED_1000baseT_Full, align 4
%18 = or i32 %17, %16
%19 = select i1 %15, i32 0, i32 %18
%20 = or i32 %11, %19
br label %25
21: ; preds = %1
%22 = load i32, ptr @SUPPORTED_1000baseT_Half, align 4, !tbaa !5
%23 = load i32, ptr @SUPPORTED_1000baseT_Full, align 4, !tbaa !5
%24 = or i32 %23, %22
br label %25
25: ; preds = %21, %4
%26 = phi i32 [ %20, %4 ], [ %24, %21 ]
ret i32 %26
}
declare i64 @sky2_is_copper(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 = !{!"sky2_hw", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_supported_modes.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_supported_modes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SUPPORTED_10baseT_Half = common local_unnamed_addr global i32 0, align 4
@SUPPORTED_10baseT_Full = common local_unnamed_addr global i32 0, align 4
@SUPPORTED_100baseT_Half = common local_unnamed_addr global i32 0, align 4
@SUPPORTED_100baseT_Full = common local_unnamed_addr global i32 0, align 4
@SKY2_HW_GIGABIT = common local_unnamed_addr global i32 0, align 4
@SUPPORTED_1000baseT_Half = common local_unnamed_addr global i32 0, align 4
@SUPPORTED_1000baseT_Full = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sky2_supported_modes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sky2_supported_modes(ptr noundef %0) #0 {
%2 = tail call i64 @sky2_is_copper(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = load i32, ptr @SUPPORTED_10baseT_Half, align 4, !tbaa !6
%6 = load i32, ptr @SUPPORTED_10baseT_Full, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @SUPPORTED_100baseT_Half, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = load i32, ptr @SUPPORTED_100baseT_Full, align 4, !tbaa !6
%11 = or i32 %9, %10
%12 = load i32, ptr %0, align 4, !tbaa !10
%13 = load i32, ptr @SKY2_HW_GIGABIT, align 4, !tbaa !6
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
%16 = load i32, ptr @SUPPORTED_1000baseT_Half, align 4
%17 = load i32, ptr @SUPPORTED_1000baseT_Full, align 4
%18 = or i32 %17, %16
%19 = select i1 %15, i32 0, i32 %18
%20 = or i32 %11, %19
br label %25
21: ; preds = %1
%22 = load i32, ptr @SUPPORTED_1000baseT_Half, align 4, !tbaa !6
%23 = load i32, ptr @SUPPORTED_1000baseT_Full, align 4, !tbaa !6
%24 = or i32 %23, %22
br label %25
25: ; preds = %21, %4
%26 = phi i32 [ %20, %4 ], [ %24, %21 ]
ret i32 %26
}
declare i64 @sky2_is_copper(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 = !{!"sky2_hw", !7, i64 0}
|
linux_drivers_net_ethernet_marvell_extr_sky2.c_sky2_supported_modes
|
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_pci_msi.c_free_msi.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_pci_msi.c_free_msi.c"
target datalayout = "e-m:e-p270:32:32-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.pci_pbm_info = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_msi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_msi(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.pci_pbm_info, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = trunc i64 %4 to i32
%6 = sub i32 %1, %5
%7 = load i32, ptr %0, align 8, !tbaa !11
%8 = tail call i32 @clear_bit(i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"pci_pbm_info", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_pci_msi.c_free_msi.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_pci_msi.c_free_msi.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 @free_msi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_msi(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = trunc i64 %4 to i32
%6 = sub i32 %1, %5
%7 = load i32, ptr %0, align 8, !tbaa !12
%8 = tail call i32 @clear_bit(i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"pci_pbm_info", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
|
linux_arch_sparc_kernel_extr_pci_msi.c_free_msi
|
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_gpio.c_GPIO_ReadOutputDataBit.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_gpio.c_GPIO_ReadOutputDataBit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@Bit_RESET = dso_local local_unnamed_addr global i64 0, align 8
@Bit_SET = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @GPIO_ReadOutputDataBit(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_GPIO_ALL_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_GET_GPIO_PIN(i32 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = and i32 %7, %1
%9 = load i64, ptr @Bit_RESET, align 8, !tbaa !10
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %8, %10
%12 = load i64, ptr @Bit_SET, align 8
%13 = trunc i64 %12 to i32
%14 = select i1 %11, i32 %10, i32 %13
ret i32 %14
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_GPIO_ALL_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_GET_GPIO_PIN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_gpio.c_GPIO_ReadOutputDataBit.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_gpio.c_GPIO_ReadOutputDataBit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Bit_RESET = common local_unnamed_addr global i64 0, align 8
@Bit_SET = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @GPIO_ReadOutputDataBit(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_GPIO_ALL_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_GET_GPIO_PIN(i32 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = and i32 %7, %1
%9 = load i64, ptr @Bit_RESET, align 8, !tbaa !11
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %8, %10
%12 = load i64, ptr @Bit_SET, align 8
%13 = trunc i64 %12 to i32
%14 = select i1 %11, i32 %10, i32 %13
ret i32 %14
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_GPIO_ALL_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_GET_GPIO_PIN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
|
anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_gpio.c_GPIO_ReadOutputDataBit
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_d3.c_iwl_mvm_set_default_unicast_key.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_d3.c_iwl_mvm_set_default_unicast_key.c"
target datalayout = "e-m:e-p270:32:32-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 @iwl_mvm_set_default_unicast_key(ptr nocapture noundef readnone %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %1) #2
store i32 %2, ptr %4, align 4, !tbaa !5
ret void
}
declare ptr @iwl_mvm_vif_from_mac80211(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 = !{!"iwl_mvm_vif", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_d3.c_iwl_mvm_set_default_unicast_key.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_d3.c_iwl_mvm_set_default_unicast_key.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 @iwl_mvm_set_default_unicast_key(ptr nocapture noundef readnone %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %1) #2
store i32 %2, ptr %4, align 4, !tbaa !6
ret void
}
declare ptr @iwl_mvm_vif_from_mac80211(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 = !{!"iwl_mvm_vif", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_net_wireless_iwlwifi_mvm_extr_d3.c_iwl_mvm_set_default_unicast_key
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_rom_fast_read.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_rom_fast_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"
@KERN_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%s: qla4_82xx_rom_lock failed\0A\00", align 1
@DRIVER_NAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qla4_82xx_rom_fast_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qla4_82xx_rom_fast_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i64 @qla4_82xx_rom_lock(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %20, label %6
6: ; preds = %3, %6
%7 = phi i32 [ %9, %6 ], [ 0, %3 ]
%8 = tail call i32 @udelay(i32 noundef 100) #2
%9 = add nuw nsw i32 %7, 1
%10 = tail call i64 @qla4_82xx_rom_lock(ptr noundef %0) #2
%11 = icmp ne i64 %10, 0
%12 = icmp ult i32 %7, 49999
%13 = select i1 %11, i1 %12, i1 false
br i1 %13, label %6, label %14, !llvm.loop !5
14: ; preds = %6
%15 = icmp ugt i32 %7, 49998
br i1 %15, label %16, label %20
16: ; preds = %14
%17 = load i32, ptr @KERN_WARNING, align 4, !tbaa !7
%18 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !7
%19 = tail call i32 @ql4_printk(i32 noundef %17, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %18) #2
br label %23
20: ; preds = %3, %14
%21 = tail call i32 @qla4_82xx_do_rom_fast_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%22 = tail call i32 @qla4_82xx_rom_unlock(ptr noundef %0) #2
br label %23
23: ; preds = %20, %16
%24 = phi i32 [ -1, %16 ], [ %21, %20 ]
ret i32 %24
}
declare i64 @qla4_82xx_rom_lock(ptr noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ql4_printk(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla4_82xx_do_rom_fast_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qla4_82xx_rom_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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_rom_fast_read.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_rom_fast_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KERN_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%s: qla4_82xx_rom_lock failed\0A\00", align 1
@DRIVER_NAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qla4_82xx_rom_fast_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qla4_82xx_rom_fast_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i64 @qla4_82xx_rom_lock(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %20, label %6
6: ; preds = %3, %6
%7 = phi i32 [ %9, %6 ], [ 0, %3 ]
%8 = tail call i32 @udelay(i32 noundef 100) #2
%9 = add nuw nsw i32 %7, 1
%10 = tail call i64 @qla4_82xx_rom_lock(ptr noundef %0) #2
%11 = icmp ne i64 %10, 0
%12 = icmp ult i32 %7, 49999
%13 = select i1 %11, i1 %12, i1 false
br i1 %13, label %6, label %14, !llvm.loop !6
14: ; preds = %6
%15 = icmp ugt i32 %7, 49998
br i1 %15, label %16, label %20
16: ; preds = %14
%17 = load i32, ptr @KERN_WARNING, align 4, !tbaa !8
%18 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !8
%19 = tail call i32 @ql4_printk(i32 noundef %17, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %18) #2
br label %23
20: ; preds = %3, %14
%21 = tail call i32 @qla4_82xx_do_rom_fast_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%22 = tail call i32 @qla4_82xx_rom_unlock(ptr noundef %0) #2
br label %23
23: ; preds = %20, %16
%24 = phi i32 [ -1, %16 ], [ %21, %20 ]
ret i32 %24
}
declare i64 @qla4_82xx_rom_lock(ptr noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ql4_printk(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla4_82xx_do_rom_fast_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qla4_82xx_rom_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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_scsi_qla4xxx_extr_ql4_nx.c_qla4_82xx_rom_fast_read
|
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_send.c_dmu_send_estimate.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_send.c_dmu_send_estimate.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EXDEV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dmu_send_estimate(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%11 = tail call i32 @dsl_pool_config_held(ptr noundef %10) #3
%12 = tail call i32 @ASSERT(i32 noundef %11) #3
%13 = load i32, ptr %0, align 8, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %4
%16 = load i32, ptr @EINVAL, align 4, !tbaa !14
%17 = tail call i32 @SET_ERROR(i32 noundef %16) #3
br label %50
18: ; preds = %4
%19 = icmp eq ptr %1, null
br i1 %19, label %32, label %20
20: ; preds = %18
%21 = load i32, ptr %1, align 8, !tbaa !13
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @EINVAL, align 4, !tbaa !14
%25 = tail call i32 @SET_ERROR(i32 noundef %24) #3
br label %50
26: ; preds = %20
%27 = tail call i32 @dsl_dataset_is_before(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr @EXDEV, align 4, !tbaa !14
%31 = tail call i32 @SET_ERROR(i32 noundef %30) #3
br label %50
32: ; preds = %18
%33 = tail call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3
%34 = load i32, ptr %33, align 4, !tbaa !15
store i32 %34, ptr %5, align 4, !tbaa !14
%35 = tail call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3
%36 = getelementptr inbounds %struct.TYPE_14__, ptr %35, i64 0, i32 1
%37 = load i32, ptr %36, align 4, !tbaa !17
store i32 %37, ptr %6, align 4, !tbaa !14
br label %44
38: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%39 = call i32 @dsl_dataset_space_written(ptr noundef nonnull %1, ptr noundef nonnull %0, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%40 = icmp eq i32 %39, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = load i32, ptr %5, align 4, !tbaa !14
%43 = load i32, ptr %6, align 4, !tbaa !14
br label %44
44: ; preds = %41, %32
%45 = phi i32 [ %43, %41 ], [ %37, %32 ]
%46 = phi i32 [ %42, %41 ], [ %34, %32 ]
%47 = call i32 @dmu_adjust_send_estimate_for_indirects(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %45, i32 noundef %2, ptr noundef %3) #3
%48 = load i32, ptr %3, align 4, !tbaa !14
%49 = add i32 %48, 8
store i32 %49, ptr %3, align 4, !tbaa !14
br label %50
50: ; preds = %38, %44, %29, %23, %15
%51 = phi i32 [ %47, %44 ], [ %39, %38 ], [ %31, %29 ], [ %25, %23 ], [ %17, %15 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_pool_config_held(ptr noundef) local_unnamed_addr #2
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_is_before(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dsl_dataset_phys(ptr noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_space_written(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
declare i32 @dmu_adjust_send_estimate_for_indirects(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_13__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_12__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_14__", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 4}
|
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_send.c_dmu_send_estimate.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dmu_send.c_dmu_send_estimate.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
@EXDEV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dmu_send_estimate(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%11 = tail call i32 @dsl_pool_config_held(ptr noundef %10) #3
%12 = tail call i32 @ASSERT(i32 noundef %11) #3
%13 = load i32, ptr %0, align 8, !tbaa !14
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %4
%16 = load i32, ptr @EINVAL, align 4, !tbaa !15
%17 = tail call i32 @SET_ERROR(i32 noundef %16) #3
br label %50
18: ; preds = %4
%19 = icmp eq ptr %1, null
br i1 %19, label %32, label %20
20: ; preds = %18
%21 = load i32, ptr %1, align 8, !tbaa !14
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @EINVAL, align 4, !tbaa !15
%25 = tail call i32 @SET_ERROR(i32 noundef %24) #3
br label %50
26: ; preds = %20
%27 = tail call i32 @dsl_dataset_is_before(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr @EXDEV, align 4, !tbaa !15
%31 = tail call i32 @SET_ERROR(i32 noundef %30) #3
br label %50
32: ; preds = %18
%33 = tail call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3
%34 = load i32, ptr %33, align 4, !tbaa !16
store i32 %34, ptr %5, align 4, !tbaa !15
%35 = tail call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3
%36 = getelementptr inbounds i8, ptr %35, i64 4
%37 = load i32, ptr %36, align 4, !tbaa !18
store i32 %37, ptr %6, align 4, !tbaa !15
br label %44
38: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%39 = call i32 @dsl_dataset_space_written(ptr noundef nonnull %1, ptr noundef nonnull %0, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%40 = icmp eq i32 %39, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = load i32, ptr %5, align 4, !tbaa !15
%43 = load i32, ptr %6, align 4, !tbaa !15
br label %44
44: ; preds = %41, %32
%45 = phi i32 [ %43, %41 ], [ %37, %32 ]
%46 = phi i32 [ %42, %41 ], [ %34, %32 ]
%47 = call i32 @dmu_adjust_send_estimate_for_indirects(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %45, i32 noundef %2, ptr noundef %3) #3
%48 = load i32, ptr %3, align 4, !tbaa !15
%49 = add i32 %48, 8
store i32 %49, ptr %3, align 4, !tbaa !15
br label %50
50: ; preds = %38, %44, %29, %23, %15
%51 = phi i32 [ %47, %44 ], [ %39, %38 ], [ %31, %29 ], [ %25, %23 ], [ %17, %15 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_pool_config_held(ptr noundef) local_unnamed_addr #2
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_is_before(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dsl_dataset_phys(ptr noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_space_written(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
declare i32 @dmu_adjust_send_estimate_for_indirects(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_13__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_12__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_14__", !8, i64 0, !8, i64 4}
!18 = !{!17, !8, i64 4}
|
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dmu_send.c_dmu_send_estimate
|
; ModuleID = 'AnghaBench/skynet/skynet-src/extr_socket_server.c_do_bind.c'
source_filename = "AnghaBench/skynet/skynet-src/extr_socket_server.c_do_bind.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.addrinfo = type { i32, i32, i32, i64, i32 }
@.str = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@AF_UNSPEC = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_UDP = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_DGRAM = dso_local local_unnamed_addr global i32 0, align 4
@SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4
@SO_REUSEADDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_bind], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @do_bind(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca i32, align 4
%6 = alloca %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca [16 x i8], align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 1, ptr %5, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store ptr null, ptr %7, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
%9 = icmp eq ptr %0, null
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i8, ptr %0, align 1, !tbaa !11
%12 = icmp eq i8 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10, %4
br label %14
14: ; preds = %13, %10
%15 = phi ptr [ @.str, %13 ], [ %0, %10 ]
%16 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.1, i32 noundef %1) #3
%17 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #3
%18 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !5
store i32 %18, ptr %6, align 8, !tbaa !12
%19 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !5
%20 = icmp eq i32 %19, %2
br i1 %20, label %26, label %21
21: ; preds = %14
%22 = load i32, ptr @IPPROTO_UDP, align 4, !tbaa !5
%23 = icmp eq i32 %22, %2
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24) #3
br label %26
26: ; preds = %14, %21
%27 = phi ptr [ @SOCK_DGRAM, %21 ], [ @SOCK_STREAM, %14 ]
%28 = load i32, ptr %27, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.addrinfo, ptr %6, i64 0, i32 4
store i32 %28, ptr %29, align 8
%30 = getelementptr inbounds %struct.addrinfo, ptr %6, i64 0, i32 1
store i32 %2, ptr %30, align 4, !tbaa !15
%31 = call i32 @getaddrinfo(ptr noundef nonnull %15, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %60
33: ; preds = %26
%34 = load ptr, ptr %7, align 8, !tbaa !9
%35 = load i32, ptr %34, align 8, !tbaa !12
store i32 %35, ptr %3, align 4, !tbaa !5
%36 = getelementptr inbounds %struct.addrinfo, ptr %34, i64 0, i32 4
%37 = load i32, ptr %36, align 8, !tbaa !16
%38 = call i32 @socket(i32 noundef %35, i32 noundef %37, i32 noundef 0) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %56, label %40
40: ; preds = %33
%41 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !5
%42 = load i32, ptr @SO_REUSEADDR, align 4, !tbaa !5
%43 = call i32 @setsockopt(i32 noundef %38, i32 noundef %41, i32 noundef %42, ptr noundef nonnull %5, i32 noundef 4) #3
%44 = icmp eq i32 %43, -1
br i1 %44, label %54, label %45
45: ; preds = %40
%46 = load ptr, ptr %7, align 8, !tbaa !9
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i64 0, i32 3
%48 = load i64, ptr %47, align 8, !tbaa !17
%49 = inttoptr i64 %48 to ptr
%50 = getelementptr inbounds %struct.addrinfo, ptr %46, i64 0, i32 2
%51 = load i32, ptr %50, align 8, !tbaa !18
%52 = call i32 @bind(i32 noundef %38, ptr noundef %49, i32 noundef %51) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %45, %40
%55 = call i32 @close(i32 noundef %38) #3
br label %56
56: ; preds = %54, %33, %45
%57 = phi i32 [ %38, %45 ], [ -1, %33 ], [ -1, %54 ]
%58 = load ptr, ptr %7, align 8, !tbaa !9
%59 = call i32 @freeaddrinfo(ptr noundef %58) #3
br label %60
60: ; preds = %56, %26
%61 = phi i32 [ -1, %26 ], [ %57, %56 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"addrinfo", !6, i64 0, !6, i64 4, !6, i64 8, !14, i64 16, !6, i64 24}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !6, i64 4}
!16 = !{!13, !6, i64 24}
!17 = !{!13, !14, i64 16}
!18 = !{!13, !6, i64 8}
|
; ModuleID = 'AnghaBench/skynet/skynet-src/extr_socket_server.c_do_bind.c'
source_filename = "AnghaBench/skynet/skynet-src/extr_socket_server.c_do_bind.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.addrinfo = type { i32, i32, i32, i64, i32 }
@.str = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@AF_UNSPEC = common local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@IPPROTO_UDP = common local_unnamed_addr global i32 0, align 4
@SOCK_DGRAM = common local_unnamed_addr global i32 0, align 4
@SOL_SOCKET = common local_unnamed_addr global i32 0, align 4
@SO_REUSEADDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @do_bind], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, -2147483648) i32 @do_bind(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca i32, align 4
%6 = alloca %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca [16 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 1, ptr %5, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store ptr null, ptr %7, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
%9 = icmp eq ptr %0, null
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i8, ptr %0, align 1, !tbaa !12
%12 = icmp eq i8 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10, %4
br label %14
14: ; preds = %13, %10
%15 = phi ptr [ @.str, %13 ], [ %0, %10 ]
%16 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.1, i32 noundef %1) #3
%17 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #3
%18 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !6
store i32 %18, ptr %6, align 8, !tbaa !13
%19 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !6
%20 = icmp eq i32 %19, %2
br i1 %20, label %26, label %21
21: ; preds = %14
%22 = load i32, ptr @IPPROTO_UDP, align 4, !tbaa !6
%23 = icmp eq i32 %22, %2
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24) #3
br label %26
26: ; preds = %14, %21
%27 = phi ptr [ @SOCK_DGRAM, %21 ], [ @SOCK_STREAM, %14 ]
%28 = load i32, ptr %27, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %6, i64 24
store i32 %28, ptr %29, align 8
%30 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %2, ptr %30, align 4, !tbaa !16
%31 = call i32 @getaddrinfo(ptr noundef nonnull %15, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %60
33: ; preds = %26
%34 = load ptr, ptr %7, align 8, !tbaa !10
%35 = load i32, ptr %34, align 8, !tbaa !13
store i32 %35, ptr %3, align 4, !tbaa !6
%36 = getelementptr inbounds i8, ptr %34, i64 24
%37 = load i32, ptr %36, align 8, !tbaa !17
%38 = call i32 @socket(i32 noundef %35, i32 noundef %37, i32 noundef 0) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %56, label %40
40: ; preds = %33
%41 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !6
%42 = load i32, ptr @SO_REUSEADDR, align 4, !tbaa !6
%43 = call i32 @setsockopt(i32 noundef %38, i32 noundef %41, i32 noundef %42, ptr noundef nonnull %5, i32 noundef 4) #3
%44 = icmp eq i32 %43, -1
br i1 %44, label %54, label %45
45: ; preds = %40
%46 = load ptr, ptr %7, align 8, !tbaa !10
%47 = getelementptr inbounds i8, ptr %46, i64 16
%48 = load i64, ptr %47, align 8, !tbaa !18
%49 = inttoptr i64 %48 to ptr
%50 = getelementptr inbounds i8, ptr %46, i64 8
%51 = load i32, ptr %50, align 8, !tbaa !19
%52 = call i32 @bind(i32 noundef %38, ptr noundef %49, i32 noundef %51) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %45, %40
%55 = call i32 @close(i32 noundef %38) #3
br label %56
56: ; preds = %54, %33, %45
%57 = phi i32 [ %38, %45 ], [ -1, %33 ], [ -1, %54 ]
%58 = load ptr, ptr %7, align 8, !tbaa !10
%59 = call i32 @freeaddrinfo(ptr noundef %58) #3
br label %60
60: ; preds = %56, %26
%61 = phi i32 [ -1, %26 ], [ %57, %56 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"addrinfo", !7, i64 0, !7, i64 4, !7, i64 8, !15, i64 16, !7, i64 24}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !7, i64 4}
!17 = !{!14, !7, i64 24}
!18 = !{!14, !15, i64 16}
!19 = !{!14, !7, i64 8}
|
skynet_skynet-src_extr_socket_server.c_do_bind
|
; ModuleID = 'AnghaBench/linux/mm/extr_zswap.c_zswap_fill_page.c'
source_filename = "AnghaBench/linux/mm/extr_zswap.c_zswap_fill_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 @zswap_fill_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zswap_fill_page(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%4 = ashr i32 %3, 3
%5 = tail call i32 @memset_l(ptr noundef %0, i64 noundef %1, i32 noundef %4) #2
ret void
}
declare i32 @memset_l(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/mm/extr_zswap.c_zswap_fill_page.c'
source_filename = "AnghaBench/linux/mm/extr_zswap.c_zswap_fill_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 @zswap_fill_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zswap_fill_page(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%4 = ashr i32 %3, 3
%5 = tail call i32 @memset_l(ptr noundef %0, i64 noundef %1, i32 noundef %4) #2
ret void
}
declare i32 @memset_l(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_mm_extr_zswap.c_zswap_fill_page
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/seccomp/extr_..kselftest_harness.h___register_test.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/seccomp/extr_..kselftest_harness.h___register_test.c"
target datalayout = "e-m:e-p270:32:32-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.__test_metadata = type { ptr, ptr }
@__test_count = dso_local local_unnamed_addr global i32 0, align 4
@__test_list = dso_local local_unnamed_addr global ptr null, align 8
@__constructor_order = dso_local local_unnamed_addr global i64 0, align 8
@_CONSTRUCTOR_ORDER_FORWARD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @__register_test], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @__register_test(ptr noundef %0) #0 {
%2 = load i32, ptr @__test_count, align 4, !tbaa !5
%3 = add nsw i32 %2, 1
store i32 %3, ptr @__test_count, align 4, !tbaa !5
%4 = load ptr, ptr @__test_list, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %1
store ptr %0, ptr @__test_list, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.__test_metadata, ptr %0, i64 0, i32 1
store ptr null, ptr %7, align 8, !tbaa !11
br label %18
8: ; preds = %1
%9 = load i64, ptr @__constructor_order, align 8, !tbaa !13
%10 = load i64, ptr @_CONSTRUCTOR_ORDER_FORWARD, align 8, !tbaa !13
%11 = icmp eq i64 %9, %10
%12 = getelementptr inbounds %struct.__test_metadata, ptr %0, i64 0, i32 1
br i1 %11, label %13, label %17
13: ; preds = %8
store ptr null, ptr %12, align 8, !tbaa !11
%14 = load ptr, ptr %4, align 8, !tbaa !15
store ptr %14, ptr %0, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.__test_metadata, ptr %14, i64 0, i32 1
store ptr %0, ptr %15, align 8, !tbaa !11
%16 = load ptr, ptr @__test_list, align 8, !tbaa !9
br label %18
17: ; preds = %8
store ptr %4, ptr %12, align 8, !tbaa !11
store ptr %0, ptr %4, align 8, !tbaa !15
store ptr %0, ptr %0, align 8, !tbaa !15
br label %18
18: ; preds = %6, %17, %13
%19 = phi ptr [ %0, %6 ], [ @__test_list, %17 ], [ %16, %13 ]
store ptr %0, ptr %19, align 8, !tbaa !9
ret void
}
attributes #0 = { inlinehint 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"__test_metadata", !10, i64 0, !10, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/seccomp/extr_..kselftest_harness.h___register_test.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/seccomp/extr_..kselftest_harness.h___register_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__test_count = common local_unnamed_addr global i32 0, align 4
@__test_list = common local_unnamed_addr global ptr null, align 8
@__constructor_order = common local_unnamed_addr global i64 0, align 8
@_CONSTRUCTOR_ORDER_FORWARD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @__register_test], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @__register_test(ptr noundef %0) #0 {
%2 = load i32, ptr @__test_count, align 4, !tbaa !6
%3 = add nsw i32 %2, 1
store i32 %3, ptr @__test_count, align 4, !tbaa !6
%4 = load ptr, ptr @__test_list, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %1
store ptr %0, ptr @__test_list, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %0, i64 8
store ptr null, ptr %7, align 8, !tbaa !12
br label %18
8: ; preds = %1
%9 = load i64, ptr @__constructor_order, align 8, !tbaa !14
%10 = load i64, ptr @_CONSTRUCTOR_ORDER_FORWARD, align 8, !tbaa !14
%11 = icmp eq i64 %9, %10
%12 = getelementptr inbounds i8, ptr %0, i64 8
br i1 %11, label %13, label %17
13: ; preds = %8
store ptr null, ptr %12, align 8, !tbaa !12
%14 = load ptr, ptr %4, align 8, !tbaa !16
store ptr %14, ptr %0, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %14, i64 8
store ptr %0, ptr %15, align 8, !tbaa !12
%16 = load ptr, ptr @__test_list, align 8, !tbaa !10
br label %18
17: ; preds = %8
store ptr %4, ptr %12, align 8, !tbaa !12
store ptr %0, ptr %4, align 8, !tbaa !16
store ptr %0, ptr %0, align 8, !tbaa !16
br label %18
18: ; preds = %6, %17, %13
%19 = phi ptr [ %0, %6 ], [ @__test_list, %17 ], [ %16, %13 ]
store ptr %0, ptr %19, align 8, !tbaa !10
ret void
}
attributes #0 = { inlinehint 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"__test_metadata", !11, i64 0, !11, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !11, i64 0}
|
linux_tools_testing_selftests_seccomp_extr_..kselftest_harness.h___register_test
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_set_bandwidth.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_set_bandwidth.c"
target datalayout = "e-m:e-p270:32:32-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.dst_state = type { i32, i64, i32, ptr }
@DST_TYPE_IS_TERR = dso_local local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@DST_TYPE_HAS_CA = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dst_set_bandwidth], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal i32 @dst_set_bandwidth(ptr nocapture noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr @DST_TYPE_IS_TERR, align 8, !tbaa !13
%6 = icmp eq i64 %4, %5
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !14
%9 = sub nsw i32 0, %8
br label %53
10: ; preds = %2
switch i32 %1, label %50 [
i32 6000000, label %11
i32 7000000, label %24
i32 8000000, label %37
]
11: ; preds = %10
%12 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !14
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
%17 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 3
%18 = load ptr, ptr %17, align 8, !tbaa !16
br i1 %16, label %21, label %19
19: ; preds = %11
%20 = getelementptr inbounds i32, ptr %18, i64 7
store i32 6, ptr %20, align 4, !tbaa !14
br label %53
21: ; preds = %11
%22 = getelementptr inbounds i32, ptr %18, i64 6
store i32 6, ptr %22, align 4, !tbaa !14
%23 = getelementptr inbounds i32, ptr %18, i64 7
store i32 0, ptr %23, align 4, !tbaa !14
br label %53
24: ; preds = %10
%25 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 2
%26 = load i32, ptr %25, align 8, !tbaa !15
%27 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !14
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
%30 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 3
%31 = load ptr, ptr %30, align 8, !tbaa !16
br i1 %29, label %34, label %32
32: ; preds = %24
%33 = getelementptr inbounds i32, ptr %31, i64 7
store i32 7, ptr %33, align 4, !tbaa !14
br label %53
34: ; preds = %24
%35 = getelementptr inbounds i32, ptr %31, i64 6
store i32 7, ptr %35, align 4, !tbaa !14
%36 = getelementptr inbounds i32, ptr %31, i64 7
store i32 0, ptr %36, align 4, !tbaa !14
br label %53
37: ; preds = %10
%38 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 2
%39 = load i32, ptr %38, align 8, !tbaa !15
%40 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !14
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
%43 = getelementptr inbounds %struct.dst_state, ptr %0, i64 0, i32 3
%44 = load ptr, ptr %43, align 8, !tbaa !16
br i1 %42, label %47, label %45
45: ; preds = %37
%46 = getelementptr inbounds i32, ptr %44, i64 7
store i32 8, ptr %46, align 4, !tbaa !14
br label %53
47: ; preds = %37
%48 = getelementptr inbounds i32, ptr %44, i64 6
store i32 8, ptr %48, align 4, !tbaa !14
%49 = getelementptr inbounds i32, ptr %44, i64 7
store i32 0, ptr %49, align 4, !tbaa !14
br label %53
50: ; preds = %10
%51 = load i32, ptr @EINVAL, align 4, !tbaa !14
%52 = sub nsw i32 0, %51
br label %53
53: ; preds = %21, %19, %34, %32, %47, %45, %50, %7
%54 = phi i32 [ %9, %7 ], [ %52, %50 ], [ 0, %45 ], [ 0, %47 ], [ 0, %32 ], [ 0, %34 ], [ 0, %19 ], [ 0, %21 ]
ret i32 %54
}
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, !7, i64 0}
!6 = !{!"dst_state", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !11, i64 24}
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_set_bandwidth.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_set_bandwidth.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DST_TYPE_IS_TERR = common local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@DST_TYPE_HAS_CA = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dst_set_bandwidth], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @dst_set_bandwidth(ptr nocapture noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !13
%5 = load i64, ptr @DST_TYPE_IS_TERR, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !15
%9 = sub nsw i32 0, %8
br label %50
10: ; preds = %2
switch i32 %1, label %47 [
i32 6000000, label %11
i32 7000000, label %23
i32 8000000, label %35
]
11: ; preds = %10
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !16
%14 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !15
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
%17 = getelementptr inbounds i8, ptr %0, i64 24
%18 = load ptr, ptr %17, align 8, !tbaa !17
br i1 %16, label %21, label %19
19: ; preds = %11
%20 = getelementptr inbounds i8, ptr %18, i64 28
store i32 6, ptr %20, align 4, !tbaa !15
br label %50
21: ; preds = %11
%22 = getelementptr inbounds i8, ptr %18, i64 24
store <2 x i32> <i32 6, i32 0>, ptr %22, align 4, !tbaa !15
br label %50
23: ; preds = %10
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !16
%26 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !15
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
%29 = getelementptr inbounds i8, ptr %0, i64 24
%30 = load ptr, ptr %29, align 8, !tbaa !17
br i1 %28, label %33, label %31
31: ; preds = %23
%32 = getelementptr inbounds i8, ptr %30, i64 28
store i32 7, ptr %32, align 4, !tbaa !15
br label %50
33: ; preds = %23
%34 = getelementptr inbounds i8, ptr %30, i64 24
store <2 x i32> <i32 7, i32 0>, ptr %34, align 4, !tbaa !15
br label %50
35: ; preds = %10
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load i32, ptr %36, align 8, !tbaa !16
%38 = load i32, ptr @DST_TYPE_HAS_CA, align 4, !tbaa !15
%39 = and i32 %38, %37
%40 = icmp eq i32 %39, 0
%41 = getelementptr inbounds i8, ptr %0, i64 24
%42 = load ptr, ptr %41, align 8, !tbaa !17
br i1 %40, label %45, label %43
43: ; preds = %35
%44 = getelementptr inbounds i8, ptr %42, i64 28
store i32 8, ptr %44, align 4, !tbaa !15
br label %50
45: ; preds = %35
%46 = getelementptr inbounds i8, ptr %42, i64 24
store <2 x i32> <i32 8, i32 0>, ptr %46, align 4, !tbaa !15
br label %50
47: ; preds = %10
%48 = load i32, ptr @EINVAL, align 4, !tbaa !15
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %21, %19, %33, %31, %45, %43, %47, %7
%51 = phi i32 [ %9, %7 ], [ %49, %47 ], [ 0, %43 ], [ 0, %45 ], [ 0, %31 ], [ 0, %33 ], [ 0, %19 ], [ 0, %21 ]
ret i32 %51
}
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, !8, i64 0}
!7 = !{!"dst_state", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !12, i64 24}
|
linux_drivers_media_pci_bt8xx_extr_dst.c_dst_set_bandwidth
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_disable_inject.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_disable_inject.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
%struct.i7core_pvt = type { %struct.TYPE_2__, ptr }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@MC_CHANNEL_ERROR_INJECT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @disable_inject], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @disable_inject(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
store i64 0, ptr %3, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.i7core_pvt, ptr %2, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !14
%6 = load i64, ptr %2, align 8, !tbaa !15
%7 = getelementptr inbounds ptr, ptr %5, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !16
%9 = load i32, ptr %8, align 4, !tbaa !17
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr @ENODEV, align 4, !tbaa !17
%13 = sub nsw i32 0, %12
br label %17
14: ; preds = %1
%15 = load i32, ptr @MC_CHANNEL_ERROR_INJECT, align 4, !tbaa !17
%16 = tail call i32 @pci_write_config_dword(i32 noundef %9, i32 noundef %15, i32 noundef 0) #2
br label %17
17: ; preds = %14, %11
%18 = phi i32 [ 0, %14 ], [ %13, %11 ]
ret i32 %18
}
declare i32 @pci_write_config_dword(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mem_ctl_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"i7core_pvt", !12, i64 0, !7, i64 16}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 16}
!15 = !{!11, !13, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_disable_inject.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_disable_inject.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@MC_CHANNEL_ERROR_INJECT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @disable_inject], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @disable_inject(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
store i64 0, ptr %3, align 8, !tbaa !11
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !15
%6 = load i64, ptr %2, align 8, !tbaa !16
%7 = getelementptr inbounds ptr, ptr %5, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !17
%9 = load i32, ptr %8, align 4, !tbaa !18
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr @ENODEV, align 4, !tbaa !18
%13 = sub nsw i32 0, %12
br label %17
14: ; preds = %1
%15 = load i32, ptr @MC_CHANNEL_ERROR_INJECT, align 4, !tbaa !18
%16 = tail call i32 @pci_write_config_dword(i32 noundef %9, i32 noundef %15, i32 noundef 0) #2
br label %17
17: ; preds = %14, %11
%18 = phi i32 [ 0, %14 ], [ %13, %11 ]
ret i32 %18
}
declare i32 @pci_write_config_dword(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mem_ctl_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"i7core_pvt", !13, i64 0, !8, i64 16}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !8, i64 16}
!16 = !{!12, !14, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !9, i64 0}
|
fastsocket_kernel_drivers_edac_extr_i7core_edac.c_disable_inject
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mss12.c_decode_region_masked.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mss12.c_decode_region_masked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { ptr, i32, ptr, ptr }
@AV_EF_EXPLODE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_region_masked], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @decode_region_masked(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%13 = icmp sgt i32 %9, 0
br i1 %13, label %14, label %112
14: ; preds = %11
%15 = mul nsw i32 %7, %5
%16 = add nsw i32 %15, %6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %4, i64 %17
%19 = mul nsw i32 %7, %3
%20 = add nsw i32 %19, %6
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %2, i64 %21
%23 = load ptr, ptr %0, align 8, !tbaa !5
%24 = mul nsw i32 %6, 3
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %12, align 8, !tbaa !11
%28 = mul nsw i32 %27, %7
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = icmp sgt i32 %8, 0
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%34 = sext i32 %3 to i64
%35 = sext i32 %5 to i64
%36 = zext nneg i32 %8 to i64
br label %37
37: ; preds = %14, %104
%38 = phi i32 [ %27, %14 ], [ %105, %104 ]
%39 = phi ptr [ %30, %14 ], [ %109, %104 ]
%40 = phi i32 [ 0, %14 ], [ %110, %104 ]
%41 = phi ptr [ %22, %14 ], [ %106, %104 ]
%42 = phi ptr [ %18, %14 ], [ %107, %104 ]
br i1 %31, label %43, label %104
43: ; preds = %37
%44 = add nsw i32 %40, %7
br label %45
45: ; preds = %43, %99
%46 = phi i64 [ 0, %43 ], [ %100, %99 ]
%47 = load ptr, ptr %32, align 8, !tbaa !12
%48 = load i32, ptr %47, align 4, !tbaa !13
%49 = load i32, ptr @AV_EF_EXPLODE, align 4, !tbaa !15
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %45
%53 = getelementptr inbounds i32, ptr %42, i64 %46
%54 = load i32, ptr %53, align 4, !tbaa !15
br label %62
55: ; preds = %45
%56 = load ptr, ptr %0, align 8, !tbaa !5
%57 = icmp eq ptr %56, null
%58 = getelementptr inbounds i32, ptr %42, i64 %46
%59 = load i32, ptr %58, align 4, !tbaa !15
br i1 %57, label %61, label %60
60: ; preds = %55
switch i32 %59, label %112 [
i32 1, label %62
i32 2, label %62
i32 4, label %62
]
61: ; preds = %55
switch i32 %59, label %112 [
i32 128, label %62
i32 255, label %62
]
62: ; preds = %52, %60, %60, %60, %61, %61
%63 = phi i32 [ %54, %52 ], [ %59, %60 ], [ %59, %60 ], [ %59, %60 ], [ %59, %61 ], [ %59, %61 ]
switch i32 %63, label %73 [
i32 2, label %64
i32 4, label %68
i32 128, label %99
]
64: ; preds = %62
%65 = trunc i64 %46 to i32
%66 = add i32 %65, %6
%67 = tail call i32 @copy_rectangles(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %44, i32 noundef 1, i32 noundef 1) #2
br label %99
68: ; preds = %62
%69 = trunc i64 %46 to i32
%70 = add i32 %69, %6
%71 = tail call i64 @motion_compensation(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %44, i32 noundef 1, i32 noundef 1) #2
%72 = icmp eq i64 %71, 0
br i1 %72, label %99, label %112
73: ; preds = %62
%74 = trunc i64 %46 to i32
%75 = or i32 %40, %74
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %73
%78 = tail call i32 @decode_pixel(ptr noundef %1, ptr noundef %10, ptr noundef null, i32 noundef 0, i32 noundef 0) #2
br label %84
79: ; preds = %73
%80 = getelementptr inbounds i32, ptr %41, i64 %46
%81 = xor i32 %74, -1
%82 = add nsw i32 %81, %8
%83 = tail call i32 @decode_pixel_in_context(ptr noundef %1, ptr noundef %10, ptr noundef %80, i32 noundef %3, i32 noundef %74, i32 noundef %40, i32 noundef %82) #2
br label %84
84: ; preds = %79, %77
%85 = phi i32 [ %83, %79 ], [ %78, %77 ]
%86 = icmp slt i32 %85, 0
br i1 %86, label %112, label %87
87: ; preds = %84
%88 = getelementptr inbounds i32, ptr %41, i64 %46
store i32 %85, ptr %88, align 4, !tbaa !15
%89 = load ptr, ptr %0, align 8, !tbaa !5
%90 = icmp eq ptr %89, null
br i1 %90, label %99, label %91
91: ; preds = %87
%92 = mul nuw nsw i64 %46, 3
%93 = getelementptr inbounds i32, ptr %39, i64 %92
%94 = load ptr, ptr %33, align 8, !tbaa !16
%95 = zext nneg i32 %85 to i64
%96 = getelementptr inbounds i32, ptr %94, i64 %95
%97 = load i32, ptr %96, align 4, !tbaa !15
%98 = tail call i32 @AV_WB24(ptr noundef %93, i32 noundef %97) #2
br label %99
99: ; preds = %62, %64, %91, %87, %68
%100 = add nuw nsw i64 %46, 1
%101 = icmp eq i64 %100, %36
br i1 %101, label %102, label %45, !llvm.loop !17
102: ; preds = %99
%103 = load i32, ptr %12, align 8, !tbaa !11
br label %104
104: ; preds = %102, %37
%105 = phi i32 [ %103, %102 ], [ %38, %37 ]
%106 = getelementptr inbounds i32, ptr %41, i64 %34
%107 = getelementptr inbounds i32, ptr %42, i64 %35
%108 = sext i32 %105 to i64
%109 = getelementptr inbounds i32, ptr %39, i64 %108
%110 = add nuw nsw i32 %40, 1
%111 = icmp eq i32 %110, %9
br i1 %111, label %112, label %37, !llvm.loop !19
112: ; preds = %104, %84, %68, %60, %61, %11
%113 = phi i32 [ 0, %11 ], [ %85, %84 ], [ -1, %68 ], [ -1, %60 ], [ -1, %61 ], [ 0, %104 ]
ret i32 %113
}
declare i32 @copy_rectangles(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @motion_compensation(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_pixel(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_pixel_in_context(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AV_WB24(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_7__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 24}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_6__", !10, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !7, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mss12.c_decode_region_masked.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mss12.c_decode_region_masked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_EF_EXPLODE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @decode_region_masked], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @decode_region_masked(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = icmp sgt i32 %9, 0
br i1 %13, label %14, label %112
14: ; preds = %11
%15 = mul nsw i32 %7, %5
%16 = add nsw i32 %15, %6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %4, i64 %17
%19 = mul nsw i32 %7, %3
%20 = add nsw i32 %19, %6
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %2, i64 %21
%23 = load ptr, ptr %0, align 8, !tbaa !6
%24 = mul nsw i32 %6, 3
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %12, align 8, !tbaa !12
%28 = mul nsw i32 %27, %7
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = icmp sgt i32 %8, 0
%32 = getelementptr inbounds i8, ptr %0, i64 24
%33 = getelementptr inbounds i8, ptr %0, i64 16
%34 = sext i32 %3 to i64
%35 = sext i32 %5 to i64
%36 = zext nneg i32 %8 to i64
br label %37
37: ; preds = %14, %104
%38 = phi i32 [ %27, %14 ], [ %105, %104 ]
%39 = phi ptr [ %30, %14 ], [ %109, %104 ]
%40 = phi i32 [ 0, %14 ], [ %110, %104 ]
%41 = phi ptr [ %22, %14 ], [ %106, %104 ]
%42 = phi ptr [ %18, %14 ], [ %107, %104 ]
br i1 %31, label %43, label %104
43: ; preds = %37
%44 = add nsw i32 %40, %7
br label %45
45: ; preds = %43, %99
%46 = phi i64 [ 0, %43 ], [ %100, %99 ]
%47 = load ptr, ptr %32, align 8, !tbaa !13
%48 = load i32, ptr %47, align 4, !tbaa !14
%49 = load i32, ptr @AV_EF_EXPLODE, align 4, !tbaa !16
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %45
%53 = getelementptr inbounds i32, ptr %42, i64 %46
%54 = load i32, ptr %53, align 4, !tbaa !16
br label %62
55: ; preds = %45
%56 = load ptr, ptr %0, align 8, !tbaa !6
%57 = icmp eq ptr %56, null
%58 = getelementptr inbounds i32, ptr %42, i64 %46
%59 = load i32, ptr %58, align 4, !tbaa !16
br i1 %57, label %61, label %60
60: ; preds = %55
switch i32 %59, label %112 [
i32 1, label %62
i32 2, label %62
i32 4, label %62
]
61: ; preds = %55
switch i32 %59, label %112 [
i32 128, label %62
i32 255, label %62
]
62: ; preds = %52, %60, %60, %60, %61, %61
%63 = phi i32 [ %54, %52 ], [ %59, %60 ], [ %59, %60 ], [ %59, %60 ], [ %59, %61 ], [ %59, %61 ]
switch i32 %63, label %73 [
i32 2, label %64
i32 4, label %68
i32 128, label %99
]
64: ; preds = %62
%65 = trunc i64 %46 to i32
%66 = add i32 %65, %6
%67 = tail call i32 @copy_rectangles(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %44, i32 noundef 1, i32 noundef 1) #2
br label %99
68: ; preds = %62
%69 = trunc i64 %46 to i32
%70 = add i32 %69, %6
%71 = tail call i64 @motion_compensation(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %44, i32 noundef 1, i32 noundef 1) #2
%72 = icmp eq i64 %71, 0
br i1 %72, label %99, label %112
73: ; preds = %62
%74 = trunc nuw nsw i64 %46 to i32
%75 = or i32 %40, %74
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %73
%78 = tail call i32 @decode_pixel(ptr noundef %1, ptr noundef %10, ptr noundef null, i32 noundef 0, i32 noundef 0) #2
br label %84
79: ; preds = %73
%80 = getelementptr inbounds i32, ptr %41, i64 %46
%81 = xor i32 %74, -1
%82 = add nsw i32 %81, %8
%83 = tail call i32 @decode_pixel_in_context(ptr noundef %1, ptr noundef %10, ptr noundef %80, i32 noundef %3, i32 noundef %74, i32 noundef %40, i32 noundef %82) #2
br label %84
84: ; preds = %79, %77
%85 = phi i32 [ %83, %79 ], [ %78, %77 ]
%86 = icmp slt i32 %85, 0
br i1 %86, label %112, label %87
87: ; preds = %84
%88 = getelementptr inbounds i32, ptr %41, i64 %46
store i32 %85, ptr %88, align 4, !tbaa !16
%89 = load ptr, ptr %0, align 8, !tbaa !6
%90 = icmp eq ptr %89, null
br i1 %90, label %99, label %91
91: ; preds = %87
%92 = mul i64 %46, 12
%93 = getelementptr inbounds i8, ptr %39, i64 %92
%94 = load ptr, ptr %33, align 8, !tbaa !17
%95 = zext nneg i32 %85 to i64
%96 = getelementptr inbounds i32, ptr %94, i64 %95
%97 = load i32, ptr %96, align 4, !tbaa !16
%98 = tail call i32 @AV_WB24(ptr noundef %93, i32 noundef %97) #2
br label %99
99: ; preds = %62, %64, %91, %87, %68
%100 = add nuw nsw i64 %46, 1
%101 = icmp eq i64 %100, %36
br i1 %101, label %102, label %45, !llvm.loop !18
102: ; preds = %99
%103 = load i32, ptr %12, align 8, !tbaa !12
br label %104
104: ; preds = %102, %37
%105 = phi i32 [ %103, %102 ], [ %38, %37 ]
%106 = getelementptr inbounds i32, ptr %41, i64 %34
%107 = getelementptr inbounds i32, ptr %42, i64 %35
%108 = sext i32 %105 to i64
%109 = getelementptr inbounds i32, ptr %39, i64 %108
%110 = add nuw nsw i32 %40, 1
%111 = icmp eq i32 %110, %9
br i1 %111, label %112, label %37, !llvm.loop !20
112: ; preds = %104, %84, %68, %60, %61, %11
%113 = phi i32 [ 0, %11 ], [ %85, %84 ], [ -1, %68 ], [ -1, %60 ], [ -1, %61 ], [ 0, %104 ]
ret i32 %113
}
declare i32 @copy_rectangles(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @motion_compensation(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_pixel(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_pixel_in_context(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AV_WB24(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_7__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 24}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_6__", !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !8, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
|
FFmpeg_libavcodec_extr_mss12.c_decode_region_masked
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-av.c_saa7113_init.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-av.c_saa7113_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.budget = type { i32, ptr }
@saa7113_tab = dso_local local_unnamed_addr global ptr null, align 8
@SAA7146_GPIO_OUTHI = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"saa7113 not found on KNC card\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"saa7113 detected and initializing\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"saa7113 status=%02x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @saa7113_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @saa7113_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.budget, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr @saa7113_tab, align 8, !tbaa !11
%5 = load i32, ptr @SAA7146_GPIO_OUTHI, align 4, !tbaa !12
%6 = tail call i32 @saa7146_setgpio(ptr noundef %3, i32 noundef 0, i32 noundef %5) #2
%7 = tail call i32 @msleep(i32 noundef 200) #2
%8 = tail call i32 @i2c_writereg(ptr noundef %0, i32 noundef 74, i32 noundef 1, i32 noundef 8) #2
%9 = icmp eq i32 %8, 1
br i1 %9, label %14, label %10
10: ; preds = %1
%11 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %30
14: ; preds = %1
%15 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.1) #2
%16 = load i32, ptr %4, align 4, !tbaa !12
%17 = icmp eq i32 %16, 255
br i1 %17, label %27, label %18
18: ; preds = %14, %18
%19 = phi i32 [ %25, %18 ], [ %16, %14 ]
%20 = phi ptr [ %24, %18 ], [ %4, %14 ]
%21 = getelementptr inbounds i32, ptr %20, i64 1
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = tail call i32 @i2c_writereg(ptr noundef %0, i32 noundef 74, i32 noundef %19, i32 noundef %22) #2
%24 = getelementptr inbounds i32, ptr %20, i64 2
%25 = load i32, ptr %24, align 4, !tbaa !12
%26 = icmp eq i32 %25, 255
br i1 %26, label %27, label %18, !llvm.loop !13
27: ; preds = %18, %14
%28 = tail call i32 @i2c_readreg(ptr noundef %0, i32 noundef 74, i32 noundef 31) #2
%29 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %28) #2
br label %30
30: ; preds = %27, %10
%31 = phi i32 [ %13, %10 ], [ 0, %27 ]
ret i32 %31
}
declare i32 @saa7146_setgpio(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_writereg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @i2c_readreg(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, !10, i64 8}
!6 = !{!"budget", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-av.c_saa7113_init.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-av.c_saa7113_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@saa7113_tab = common local_unnamed_addr global ptr null, align 8
@SAA7146_GPIO_OUTHI = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"saa7113 not found on KNC card\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"saa7113 detected and initializing\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"saa7113 status=%02x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @saa7113_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @saa7113_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr @saa7113_tab, align 8, !tbaa !12
%5 = load i32, ptr @SAA7146_GPIO_OUTHI, align 4, !tbaa !13
%6 = tail call i32 @saa7146_setgpio(ptr noundef %3, i32 noundef 0, i32 noundef %5) #2
%7 = tail call i32 @msleep(i32 noundef 200) #2
%8 = tail call i32 @i2c_writereg(ptr noundef %0, i32 noundef 74, i32 noundef 1, i32 noundef 8) #2
%9 = icmp eq i32 %8, 1
br i1 %9, label %14, label %10
10: ; preds = %1
%11 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %30
14: ; preds = %1
%15 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.1) #2
%16 = load i32, ptr %4, align 4, !tbaa !13
%17 = icmp eq i32 %16, 255
br i1 %17, label %27, label %18
18: ; preds = %14, %18
%19 = phi i32 [ %25, %18 ], [ %16, %14 ]
%20 = phi ptr [ %24, %18 ], [ %4, %14 ]
%21 = getelementptr inbounds i8, ptr %20, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !13
%23 = tail call i32 @i2c_writereg(ptr noundef %0, i32 noundef 74, i32 noundef %19, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %20, i64 8
%25 = load i32, ptr %24, align 4, !tbaa !13
%26 = icmp eq i32 %25, 255
br i1 %26, label %27, label %18, !llvm.loop !14
27: ; preds = %18, %14
%28 = tail call i32 @i2c_readreg(ptr noundef %0, i32 noundef 74, i32 noundef 31) #2
%29 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %28) #2
br label %30
30: ; preds = %27, %10
%31 = phi i32 [ %13, %10 ], [ 0, %27 ]
ret i32 %31
}
declare i32 @saa7146_setgpio(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_writereg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @i2c_readreg(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, !11, i64 8}
!7 = !{!"budget", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_media_pci_ttpci_extr_budget-av.c_saa7113_init
|
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_autoconfigure_get_device_name_index.c'
source_filename = "AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_autoconfigure_get_device_name_index.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@input_device_name_index = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @input_autoconfigure_get_device_name_index(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @input_device_name_index, align 8, !tbaa !5
%3 = zext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !9
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/RetroArch/tasks/extr_task_autodetect.c_input_autoconfigure_get_device_name_index.c'
source_filename = "AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_autoconfigure_get_device_name_index.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@input_device_name_index = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @input_autoconfigure_get_device_name_index(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @input_device_name_index, align 8, !tbaa !6
%3 = zext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !10
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
|
RetroArch_tasks_extr_task_autodetect.c_input_autoconfigure_get_device_name_index
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_vt8231.c_set_in_max.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_vt8231.c_set_in_max.c"
target datalayout = "e-m:e-p270:32:32-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.vt8231_data = type { i32, ptr }
@regvoltmax = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_in_max], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @set_in_max(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%8 = tail call i64 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2
%9 = tail call i32 @mutex_lock(ptr noundef %7) #2
%10 = mul i64 %8, 958
%11 = udiv i64 %10, 10000
%12 = add nuw nsw i64 %11, 3
%13 = tail call i32 @SENSORS_LIMIT(i64 noundef %12, i32 noundef 0, i32 noundef 255) #2
%14 = getelementptr inbounds %struct.vt8231_data, ptr %7, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !10
%16 = sext i32 %6 to i64
%17 = getelementptr inbounds i32, ptr %15, i64 %16
store i32 %13, ptr %17, align 4, !tbaa !13
%18 = load ptr, ptr @regvoltmax, align 8, !tbaa !14
%19 = getelementptr inbounds i32, ptr %18, i64 %16
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = tail call i32 @vt8231_write_value(ptr noundef %7, i32 noundef %20, i32 noundef %13) #2
%22 = tail call i32 @mutex_unlock(ptr noundef %7) #2
ret i64 %3
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @SENSORS_LIMIT(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vt8231_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sensor_device_attribute", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"vt8231_data", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !12, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_vt8231.c_set_in_max.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_vt8231.c_set_in_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@regvoltmax = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_in_max], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @set_in_max(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%8 = tail call i64 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2
%9 = tail call i32 @mutex_lock(ptr noundef %7) #2
%10 = mul i64 %8, 958
%11 = udiv i64 %10, 10000
%12 = add nuw nsw i64 %11, 3
%13 = tail call i32 @SENSORS_LIMIT(i64 noundef %12, i32 noundef 0, i32 noundef 255) #2
%14 = getelementptr inbounds i8, ptr %7, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !11
%16 = sext i32 %6 to i64
%17 = getelementptr inbounds i32, ptr %15, i64 %16
store i32 %13, ptr %17, align 4, !tbaa !14
%18 = load ptr, ptr @regvoltmax, align 8, !tbaa !15
%19 = getelementptr inbounds i32, ptr %18, i64 %16
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = tail call i32 @vt8231_write_value(ptr noundef %7, i32 noundef %20, i32 noundef %13) #2
%22 = tail call i32 @mutex_unlock(ptr noundef %7) #2
ret i64 %3
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @SENSORS_LIMIT(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vt8231_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sensor_device_attribute", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"vt8231_data", !8, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!13, !13, i64 0}
|
fastsocket_kernel_drivers_hwmon_extr_vt8231.c_set_in_max
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/projectkb/alice/boards/ST_STM32F072B_DISCOVERY/extr_board.c_boardInit.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/projectkb/alice/boards/ST_STM32F072B_DISCOVERY/extr_board.c_boardInit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @boardInit() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/projectkb/alice/boards/ST_STM32F072B_DISCOVERY/extr_board.c_boardInit.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/projectkb/alice/boards/ST_STM32F072B_DISCOVERY/extr_board.c_boardInit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @boardInit() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
qmk_firmware_keyboards_projectkb_alice_boards_ST_STM32F072B_DISCOVERY_extr_board.c_boardInit
|
; ModuleID = 'AnghaBench/linux/drivers/usb/typec/tcpm/extr_tcpm.c_tcpm_src_attach.c'
source_filename = "AnghaBench/linux/drivers/usb/typec/tcpm/extr_tcpm.c_tcpm_src_attach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tcpm_port = type { i64, i32, i64, i32, i32, ptr, ptr }
@TYPEC_CC_RD = dso_local local_unnamed_addr global i64 0, align 8
@TYPEC_POLARITY_CC2 = dso_local local_unnamed_addr global i32 0, align 4
@TYPEC_POLARITY_CC1 = dso_local local_unnamed_addr global i32 0, align 4
@TYPEC_SOURCE = dso_local local_unnamed_addr global i32 0, align 4
@TYPEC_HOST = dso_local local_unnamed_addr global i32 0, align 4
@TYPEC_CC_RA = dso_local local_unnamed_addr global i64 0, align 8
@TYPEC_STATE_SAFE = dso_local local_unnamed_addr global i32 0, align 4
@USB_ROLE_NONE = dso_local local_unnamed_addr global i32 0, align 4
@TYPEC_ORIENTATION_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcpm_src_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tcpm_src_attach(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @TYPEC_CC_RD, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
%5 = load i32, ptr @TYPEC_POLARITY_CC2, align 4
%6 = load i32, ptr @TYPEC_POLARITY_CC1, align 4
%7 = select i1 %4, i32 %5, i32 %6
%8 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %63
11: ; preds = %1
%12 = tail call i32 @tcpm_set_polarity(ptr noundef nonnull %0, i32 noundef %7) #2
%13 = icmp slt i32 %12, 0
br i1 %13, label %63, label %14
14: ; preds = %11
%15 = load i32, ptr @TYPEC_SOURCE, align 4, !tbaa !14
%16 = load i32, ptr @TYPEC_HOST, align 4, !tbaa !14
%17 = tail call i32 @tcpm_set_roles(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %15, i32 noundef %16) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %63, label %19
19: ; preds = %14
%20 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 5
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = tail call i32 %22(ptr noundef nonnull %21, i32 noundef 1) #2
%24 = icmp slt i32 %23, 0
br i1 %24, label %57, label %25
25: ; preds = %19
%26 = load i32, ptr @TYPEC_POLARITY_CC1, align 4, !tbaa !14
%27 = icmp eq i32 %7, %26
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i64, ptr %0, align 8, !tbaa !5
%30 = load i64, ptr @TYPEC_CC_RA, align 8, !tbaa !12
%31 = icmp eq i64 %29, %30
br i1 %31, label %40, label %32
32: ; preds = %28, %25
%33 = load i32, ptr @TYPEC_POLARITY_CC2, align 4, !tbaa !14
%34 = icmp eq i32 %7, %33
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 2
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = load i64, ptr @TYPEC_CC_RA, align 8, !tbaa !12
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %35, %28
%41 = tail call i32 @tcpm_set_vconn(ptr noundef nonnull %0, i32 noundef 1) #2
%42 = icmp slt i32 %41, 0
br i1 %42, label %52, label %43
43: ; preds = %40, %35, %32
%44 = tail call i32 @tcpm_set_vbus(ptr noundef nonnull %0, i32 noundef 1) #2
%45 = icmp slt i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %43
%47 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 3
store i32 0, ptr %47, align 8, !tbaa !19
%48 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 6
store ptr null, ptr %48, align 8, !tbaa !20
store i32 1, ptr %8, align 8, !tbaa !13
%49 = getelementptr inbounds %struct.tcpm_port, ptr %0, i64 0, i32 4
store i32 1, ptr %49, align 4, !tbaa !21
br label %63
50: ; preds = %43
%51 = tail call i32 @tcpm_set_vconn(ptr noundef nonnull %0, i32 noundef 0) #2
br label %52
52: ; preds = %40, %50
%53 = phi i32 [ %41, %40 ], [ %44, %50 ]
%54 = load ptr, ptr %20, align 8, !tbaa !15
%55 = load ptr, ptr %54, align 8, !tbaa !16
%56 = tail call i32 %55(ptr noundef nonnull %54, i32 noundef 0) #2
br label %57
57: ; preds = %19, %52
%58 = phi i32 [ %23, %19 ], [ %53, %52 ]
%59 = load i32, ptr @TYPEC_STATE_SAFE, align 4, !tbaa !14
%60 = load i32, ptr @USB_ROLE_NONE, align 4, !tbaa !14
%61 = load i32, ptr @TYPEC_ORIENTATION_NONE, align 4, !tbaa !14
%62 = tail call i32 @tcpm_mux_set(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %60, i32 noundef %61) #2
br label %63
63: ; preds = %14, %11, %1, %57, %46
%64 = phi i32 [ %58, %57 ], [ 0, %46 ], [ 0, %1 ], [ %12, %11 ], [ %17, %14 ]
ret i32 %64
}
declare i32 @tcpm_set_polarity(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_roles(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_vconn(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_mux_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tcpm_port", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32, !11, i64 40}
!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 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !11, i64 32}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_3__", !11, i64 0}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !10, i64 24}
!20 = !{!6, !11, i64 40}
!21 = !{!6, !10, i64 28}
|
; ModuleID = 'AnghaBench/linux/drivers/usb/typec/tcpm/extr_tcpm.c_tcpm_src_attach.c'
source_filename = "AnghaBench/linux/drivers/usb/typec/tcpm/extr_tcpm.c_tcpm_src_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPEC_CC_RD = common local_unnamed_addr global i64 0, align 8
@TYPEC_POLARITY_CC2 = common local_unnamed_addr global i32 0, align 4
@TYPEC_POLARITY_CC1 = common local_unnamed_addr global i32 0, align 4
@TYPEC_SOURCE = common local_unnamed_addr global i32 0, align 4
@TYPEC_HOST = common local_unnamed_addr global i32 0, align 4
@TYPEC_CC_RA = common local_unnamed_addr global i64 0, align 8
@TYPEC_STATE_SAFE = common local_unnamed_addr global i32 0, align 4
@USB_ROLE_NONE = common local_unnamed_addr global i32 0, align 4
@TYPEC_ORIENTATION_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tcpm_src_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @tcpm_src_attach(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @TYPEC_CC_RD, align 8, !tbaa !13
%4 = icmp eq i64 %2, %3
%5 = load i32, ptr @TYPEC_POLARITY_CC2, align 4
%6 = load i32, ptr @TYPEC_POLARITY_CC1, align 4
%7 = select i1 %4, i32 %5, i32 %6
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %62
11: ; preds = %1
%12 = tail call i32 @tcpm_set_polarity(ptr noundef nonnull %0, i32 noundef %7) #2
%13 = icmp slt i32 %12, 0
br i1 %13, label %62, label %14
14: ; preds = %11
%15 = load i32, ptr @TYPEC_SOURCE, align 4, !tbaa !15
%16 = load i32, ptr @TYPEC_HOST, align 4, !tbaa !15
%17 = tail call i32 @tcpm_set_roles(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %15, i32 noundef %16) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %62, label %19
19: ; preds = %14
%20 = getelementptr inbounds i8, ptr %0, i64 32
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = tail call i32 %22(ptr noundef nonnull %21, i32 noundef 1) #2
%24 = icmp slt i32 %23, 0
br i1 %24, label %56, label %25
25: ; preds = %19
%26 = load i32, ptr @TYPEC_POLARITY_CC1, align 4, !tbaa !15
%27 = icmp eq i32 %7, %26
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i64, ptr %0, align 8, !tbaa !6
%30 = load i64, ptr @TYPEC_CC_RA, align 8, !tbaa !13
%31 = icmp eq i64 %29, %30
br i1 %31, label %40, label %32
32: ; preds = %28, %25
%33 = load i32, ptr @TYPEC_POLARITY_CC2, align 4, !tbaa !15
%34 = icmp eq i32 %7, %33
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load i64, ptr %36, align 8, !tbaa !19
%38 = load i64, ptr @TYPEC_CC_RA, align 8, !tbaa !13
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %35, %28
%41 = tail call i32 @tcpm_set_vconn(ptr noundef nonnull %0, i32 noundef 1) #2
%42 = icmp slt i32 %41, 0
br i1 %42, label %51, label %43
43: ; preds = %40, %35, %32
%44 = tail call i32 @tcpm_set_vbus(ptr noundef nonnull %0, i32 noundef 1) #2
%45 = icmp slt i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = getelementptr inbounds i8, ptr %0, i64 24
%48 = getelementptr inbounds i8, ptr %0, i64 40
store ptr null, ptr %48, align 8, !tbaa !20
store i32 1, ptr %8, align 8, !tbaa !14
store <2 x i32> <i32 0, i32 1>, ptr %47, align 8, !tbaa !15
br label %62
49: ; preds = %43
%50 = tail call i32 @tcpm_set_vconn(ptr noundef nonnull %0, i32 noundef 0) #2
br label %51
51: ; preds = %40, %49
%52 = phi i32 [ %41, %40 ], [ %44, %49 ]
%53 = load ptr, ptr %20, align 8, !tbaa !16
%54 = load ptr, ptr %53, align 8, !tbaa !17
%55 = tail call i32 %54(ptr noundef nonnull %53, i32 noundef 0) #2
br label %56
56: ; preds = %19, %51
%57 = phi i32 [ %23, %19 ], [ %52, %51 ]
%58 = load i32, ptr @TYPEC_STATE_SAFE, align 4, !tbaa !15
%59 = load i32, ptr @USB_ROLE_NONE, align 4, !tbaa !15
%60 = load i32, ptr @TYPEC_ORIENTATION_NONE, align 4, !tbaa !15
%61 = tail call i32 @tcpm_mux_set(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %59, i32 noundef %60) #2
br label %62
62: ; preds = %14, %11, %1, %56, %46
%63 = phi i32 [ %57, %56 ], [ 0, %46 ], [ 0, %1 ], [ %12, %11 ], [ %17, %14 ]
ret i32 %63
}
declare i32 @tcpm_set_polarity(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_roles(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_vconn(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcpm_mux_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tcpm_port", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !12, i64 32, !12, i64 40}
!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 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !12, i64 32}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_3__", !12, i64 0}
!19 = !{!7, !8, i64 16}
!20 = !{!7, !12, i64 40}
|
linux_drivers_usb_typec_tcpm_extr_tcpm.c_tcpm_src_attach
|
; ModuleID = 'AnghaBench/linux/arch/x86/mm/extr_mpx.c_mpx_unmap_tables.c'
source_filename = "AnghaBench/linux/arch/x86/mm/extr_mpx.c_mpx_unmap_tables.c"
target datalayout = "e-m:e-p270:32:32-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 @mpx_unmap_tables], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mpx_unmap_tables(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @trace_mpx_unmap_search(i64 noundef %1, i64 noundef %2) #3
br label %5
5: ; preds = %8, %3
%6 = phi i64 [ %1, %3 ], [ %11, %8 ]
%7 = icmp ult i64 %6, %2
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = add nuw i64 %6, 1
%10 = tail call i32 @bd_entry_virt_space(ptr noundef %0) #3
%11 = tail call i64 @ALIGN(i64 noundef %9, i32 noundef %10) #3
%12 = tail call i64 @llvm.umin.i64(i64 %11, i64 %2)
%13 = tail call i32 @try_unmap_single_bt(ptr noundef %0, i64 noundef %6, i64 noundef %12) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %5, label %15, !llvm.loop !5
15: ; preds = %5, %8
%16 = phi i32 [ %13, %8 ], [ 0, %5 ]
ret i32 %16
}
declare i32 @trace_mpx_unmap_search(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ALIGN(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bd_entry_virt_space(ptr noundef) local_unnamed_addr #1
declare i32 @try_unmap_single_bt(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/arch/x86/mm/extr_mpx.c_mpx_unmap_tables.c'
source_filename = "AnghaBench/linux/arch/x86/mm/extr_mpx.c_mpx_unmap_tables.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 @mpx_unmap_tables], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mpx_unmap_tables(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @trace_mpx_unmap_search(i64 noundef %1, i64 noundef %2) #3
br label %5
5: ; preds = %8, %3
%6 = phi i64 [ %1, %3 ], [ %11, %8 ]
%7 = icmp ult i64 %6, %2
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = add nuw i64 %6, 1
%10 = tail call i32 @bd_entry_virt_space(ptr noundef %0) #3
%11 = tail call i64 @ALIGN(i64 noundef %9, i32 noundef %10) #3
%12 = tail call i64 @llvm.umin.i64(i64 %11, i64 %2)
%13 = tail call i32 @try_unmap_single_bt(ptr noundef %0, i64 noundef %6, i64 noundef %12) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %5, label %15, !llvm.loop !6
15: ; preds = %5, %8
%16 = phi i32 [ %13, %8 ], [ 0, %5 ]
ret i32 %16
}
declare i32 @trace_mpx_unmap_search(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ALIGN(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bd_entry_virt_space(ptr noundef) local_unnamed_addr #1
declare i32 @try_unmap_single_bt(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
linux_arch_x86_mm_extr_mpx.c_mpx_unmap_tables
|
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_exports.c_selinux_secmark_refcount_inc.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_exports.c_selinux_secmark_refcount_inc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@selinux_secmark_refcount = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @selinux_secmark_refcount_inc() local_unnamed_addr #0 {
%1 = tail call i32 @atomic_inc(ptr noundef nonnull @selinux_secmark_refcount) #2
ret void
}
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_exports.c_selinux_secmark_refcount_inc.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_exports.c_selinux_secmark_refcount_inc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@selinux_secmark_refcount = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @selinux_secmark_refcount_inc() local_unnamed_addr #0 {
%1 = tail call i32 @atomic_inc(ptr noundef nonnull @selinux_secmark_refcount) #2
ret void
}
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_security_selinux_extr_exports.c_selinux_secmark_refcount_inc
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_uuid.c_osdep_uuidgen.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_uuid.c_osdep_uuidgen.c"
target datalayout = "e-m:e-p270:32:32-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.timeval = type { i32, i64 }
%struct.TYPE_3__ = type { i32, i32, i32, i32, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @osdep_uuidgen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @osdep_uuidgen(ptr nocapture noundef %0) #0 {
%2 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
%3 = call i32 @gettimeofday(ptr noundef nonnull %2, ptr noundef null)
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 (...) @abort() #6
unreachable
7: ; preds = %1
%8 = getelementptr inbounds %struct.timeval, ptr %2, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !5
%10 = mul nsw i64 %9, 10000000
%11 = add nsw i64 %10, 122192928000000000
%12 = load i32, ptr %2, align 8, !tbaa !11
%13 = mul nsw i32 %12, 10
%14 = sext i32 %13 to i64
%15 = add nsw i64 %11, %14
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
store i64 %15, ptr %16, align 8, !tbaa !12
%17 = lshr i64 %15, 32
%18 = trunc i64 %17 to i32
store i32 %18, ptr %0, align 8, !tbaa !15
%19 = lshr i64 %15, 48
%20 = trunc i64 %19 to i32
%21 = and i32 %20, 4095
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%23 = or disjoint i32 %21, 4096
store i32 %23, ptr %22, align 4, !tbaa !16
%24 = tail call i32 (...) @random() #5
%25 = lshr i32 %24, 8
%26 = and i32 %25, 63
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store i32 %26, ptr %27, align 8, !tbaa !17
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
store i32 %24, ptr %28, align 4, !tbaa !18
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%30 = tail call i32 (...) @random() #5
%31 = load ptr, ptr %29, align 8, !tbaa !19
store i32 %30, ptr %31, align 4, !tbaa !20
%32 = tail call i32 (...) @random() #5
%33 = load ptr, ptr %29, align 8, !tbaa !19
%34 = getelementptr inbounds i32, ptr %33, i64 1
store i32 %32, ptr %34, align 4, !tbaa !20
%35 = tail call i32 (...) @random() #5
%36 = load ptr, ptr %29, align 8, !tbaa !19
%37 = getelementptr inbounds i32, ptr %36, i64 2
store i32 %35, ptr %37, align 4, !tbaa !20
%38 = tail call i32 (...) @random() #5
%39 = load ptr, ptr %29, align 8, !tbaa !19
%40 = getelementptr inbounds i32, ptr %39, i64 3
store i32 %38, ptr %40, align 4, !tbaa !20
%41 = tail call i32 (...) @random() #5
%42 = load ptr, ptr %29, align 8, !tbaa !19
%43 = getelementptr inbounds i32, ptr %42, i64 4
store i32 %41, ptr %43, align 4, !tbaa !20
%44 = tail call i32 (...) @random() #5
%45 = load ptr, ptr %29, align 8, !tbaa !19
%46 = getelementptr inbounds i32, ptr %45, i64 5
store i32 %44, ptr %46, align 4, !tbaa !20
%47 = load i32, ptr %45, align 4, !tbaa !20
%48 = or i32 %47, 1
store i32 %48, ptr %45, align 4, !tbaa !20
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #3
declare i32 @random(...) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"timeval", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 24}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !14, i64 16, !10, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!13, !7, i64 4}
!17 = !{!13, !7, i64 8}
!18 = !{!13, !7, i64 12}
!19 = !{!13, !14, i64 16}
!20 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_uuid.c_osdep_uuidgen.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_uuid.c_osdep_uuidgen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i32, i64 }
@llvm.used = appending global [1 x ptr] [ptr @osdep_uuidgen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @osdep_uuidgen(ptr nocapture noundef %0) #0 {
%2 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
%3 = call i32 @gettimeofday(ptr noundef nonnull %2, ptr noundef null)
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @abort() #6
unreachable
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %2, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !6
%10 = mul nsw i64 %9, 10000000
%11 = add nsw i64 %10, 122192928000000000
%12 = load i32, ptr %2, align 8, !tbaa !12
%13 = mul nsw i32 %12, 10
%14 = sext i32 %13 to i64
%15 = add nsw i64 %11, %14
%16 = getelementptr inbounds i8, ptr %0, i64 24
store i64 %15, ptr %16, align 8, !tbaa !13
%17 = lshr i64 %15, 32
%18 = trunc nuw i64 %17 to i32
store i32 %18, ptr %0, align 8, !tbaa !16
%19 = lshr i64 %15, 48
%20 = trunc nuw nsw i64 %19 to i32
%21 = and i32 %20, 4095
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = or disjoint i32 %21, 4096
store i32 %23, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @random() #5
%25 = lshr i32 %24, 8
%26 = and i32 %25, 63
%27 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %26, ptr %27, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %24, ptr %28, align 4, !tbaa !19
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = tail call i32 @random() #5
%31 = load ptr, ptr %29, align 8, !tbaa !20
store i32 %30, ptr %31, align 4, !tbaa !21
%32 = tail call i32 @random() #5
%33 = load ptr, ptr %29, align 8, !tbaa !20
%34 = getelementptr inbounds i8, ptr %33, i64 4
store i32 %32, ptr %34, align 4, !tbaa !21
%35 = tail call i32 @random() #5
%36 = load ptr, ptr %29, align 8, !tbaa !20
%37 = getelementptr inbounds i8, ptr %36, i64 8
store i32 %35, ptr %37, align 4, !tbaa !21
%38 = tail call i32 @random() #5
%39 = load ptr, ptr %29, align 8, !tbaa !20
%40 = getelementptr inbounds i8, ptr %39, i64 12
store i32 %38, ptr %40, align 4, !tbaa !21
%41 = tail call i32 @random() #5
%42 = load ptr, ptr %29, align 8, !tbaa !20
%43 = getelementptr inbounds i8, ptr %42, i64 16
store i32 %41, ptr %43, align 4, !tbaa !21
%44 = tail call i32 @random() #5
%45 = load ptr, ptr %29, align 8, !tbaa !20
%46 = getelementptr inbounds i8, ptr %45, i64 20
store i32 %44, ptr %46, align 4, !tbaa !21
%47 = load i32, ptr %45, align 4, !tbaa !21
%48 = or i32 %47, 1
store i32 %48, ptr %45, align 4, !tbaa !21
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #3
declare i32 @random(...) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"timeval", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 24}
!14 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !15, i64 16, !11, i64 24}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!14, !8, i64 0}
!17 = !{!14, !8, i64 4}
!18 = !{!14, !8, i64 8}
!19 = !{!14, !8, i64 12}
!20 = !{!14, !15, i64 16}
!21 = !{!8, !8, i64 0}
|
freebsd_usr.bin_mkimg_extr_uuid.c_osdep_uuidgen
|
; ModuleID = 'AnghaBench/hiredis/extr_read.c___redisReaderSetError.c'
source_filename = "AnghaBench/hiredis/extr_read.c___redisReaderSetError.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, ptr, i32, i32, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__redisReaderSetError], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__redisReaderSetError(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %16, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 7
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %7
%12 = load ptr, ptr %9, align 8, !tbaa !12
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 %12(ptr noundef nonnull %5) #5
store ptr null, ptr %4, align 8, !tbaa !5
br label %16
16: ; preds = %14, %11, %7, %3
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = tail call i32 @sdsfree(ptr noundef %18) #5
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %20, i8 0, i64 16, i1 false)
store i32 -1, ptr %0, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store i32 %1, ptr %21, align 4, !tbaa !16
%22 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2)
%23 = tail call i64 @llvm.umin.i64(i64 %22, i64 7)
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !17
%26 = tail call i32 @memcpy(ptr noundef %25, ptr noundef %2, i64 noundef %23) #5
%27 = load ptr, ptr %24, align 8, !tbaa !17
%28 = getelementptr inbounds i8, ptr %27, i64 %23
store i8 0, ptr %28, align 1, !tbaa !18
ret void
}
declare i32 @sdsfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 40}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_4__", !10, i64 0}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !10, i64 8}
!18 = !{!8, !8, i64 0}
|
; ModuleID = 'AnghaBench/hiredis/extr_read.c___redisReaderSetError.c'
source_filename = "AnghaBench/hiredis/extr_read.c___redisReaderSetError.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 @__redisReaderSetError], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__redisReaderSetError(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %16, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %7
%12 = load ptr, ptr %9, align 8, !tbaa !13
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 %12(ptr noundef nonnull %5) #5
store ptr null, ptr %4, align 8, !tbaa !6
br label %16
16: ; preds = %14, %11, %7, %3
%17 = getelementptr inbounds i8, ptr %0, i64 24
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = tail call i32 @sdsfree(ptr noundef %18) #5
%20 = getelementptr inbounds i8, ptr %0, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %20, i8 0, i64 16, i1 false)
store i32 -1, ptr %0, align 8, !tbaa !16
%21 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %1, ptr %21, align 4, !tbaa !17
%22 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #5
%23 = tail call i64 @llvm.umin.i64(i64 %22, i64 7)
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !18
%26 = tail call i32 @memcpy(ptr noundef %25, ptr noundef %2, i64 noundef %23) #5
%27 = load ptr, ptr %24, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %27, i64 %23
store i8 0, ptr %28, align 1, !tbaa !19
ret void
}
declare i32 @sdsfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !11, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 40}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_4__", !11, i64 0}
!15 = !{!7, !11, i64 24}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !11, i64 8}
!19 = !{!9, !9, i64 0}
|
hiredis_extr_read.c___redisReaderSetError
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_page.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_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
; Function Attrs: nounwind uwtable
define dso_local void @gve_free_page(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @dma_mapping_error(ptr noundef %0, i32 noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%9 = tail call i32 @dma_unmap_page(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %3) #2
br label %10
10: ; preds = %7, %4
%11 = icmp eq ptr %1, null
br i1 %11, label %14, label %12
12: ; preds = %10
%13 = tail call i32 @put_page(ptr noundef nonnull %1) #2
br label %14
14: ; preds = %12, %10
ret void
}
declare i32 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_page.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_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
; Function Attrs: nounwind ssp uwtable(sync)
define void @gve_free_page(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @dma_mapping_error(ptr noundef %0, i32 noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%9 = tail call i32 @dma_unmap_page(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %3) #2
br label %10
10: ; preds = %7, %4
%11 = icmp eq ptr %1, null
br i1 %11, label %14, label %12
12: ; preds = %10
%13 = tail call i32 @put_page(ptr noundef nonnull %1) #2
br label %14
14: ; preds = %12, %10
ret void
}
declare i32 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_ethernet_google_gve_extr_gve_main.c_gve_free_page
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_write_and_verify.c_sati_write_and_verify_16_translate_command.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_write_and_verify.c_sati_write_and_verify_16_translate_command.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i32, i32 }
@SATI_SEQUENCE_STATE_INITIAL = dso_local local_unnamed_addr global i64 0, align 8
@SATI_SEQUENCE_STATE_INCOMPLETE = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@SATI_SEQUENCE_STATE_AWAIT_RESPONSE = dso_local local_unnamed_addr global i64 0, align 8
@SATI_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@SATI_SEQUENCE_WRITE_AND_VERIFY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sati_write_and_verify_16_translate_command(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @SATI_SEQUENCE_STATE_INITIAL, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = tail call i32 @sati_write_16_translate_command(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2
%9 = load i64, ptr @SATI_SEQUENCE_STATE_INCOMPLETE, align 8, !tbaa !11
store i64 %9, ptr %0, align 8, !tbaa !5
%10 = load i32, ptr @TRUE, align 4, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
store i32 %10, ptr %11, align 4, !tbaa !13
br label %20
12: ; preds = %3
%13 = load i64, ptr @SATI_SEQUENCE_STATE_INCOMPLETE, align 8, !tbaa !11
%14 = icmp eq i64 %4, %13
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 @sati_verify_16_translate_command(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2
%17 = load i64, ptr @SATI_SEQUENCE_STATE_AWAIT_RESPONSE, align 8, !tbaa !11
store i64 %17, ptr %0, align 8, !tbaa !5
br label %20
18: ; preds = %12
%19 = load i32, ptr @SATI_FAILURE, align 4, !tbaa !12
br label %24
20: ; preds = %15, %7
%21 = phi i32 [ %8, %7 ], [ %16, %15 ]
%22 = load i32, ptr @SATI_SEQUENCE_WRITE_AND_VERIFY, align 4, !tbaa !12
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store i32 %22, ptr %23, align 8, !tbaa !14
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %21, %20 ], [ %19, %18 ]
ret i32 %25
}
declare i32 @sati_write_16_translate_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sati_verify_16_translate_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 12}
!14 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_write_and_verify.c_sati_write_and_verify_16_translate_command.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_write_and_verify.c_sati_write_and_verify_16_translate_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SATI_SEQUENCE_STATE_INITIAL = common local_unnamed_addr global i64 0, align 8
@SATI_SEQUENCE_STATE_INCOMPLETE = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i32 0, align 4
@SATI_SEQUENCE_STATE_AWAIT_RESPONSE = common local_unnamed_addr global i64 0, align 8
@SATI_FAILURE = common local_unnamed_addr global i32 0, align 4
@SATI_SEQUENCE_WRITE_AND_VERIFY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sati_write_and_verify_16_translate_command(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @SATI_SEQUENCE_STATE_INITIAL, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = tail call i32 @sati_write_16_translate_command(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2
%9 = load i64, ptr @SATI_SEQUENCE_STATE_INCOMPLETE, align 8, !tbaa !12
store i64 %9, ptr %0, align 8, !tbaa !6
%10 = load i32, ptr @TRUE, align 4, !tbaa !13
%11 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %10, ptr %11, align 4, !tbaa !14
br label %20
12: ; preds = %3
%13 = load i64, ptr @SATI_SEQUENCE_STATE_INCOMPLETE, align 8, !tbaa !12
%14 = icmp eq i64 %4, %13
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 @sati_verify_16_translate_command(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2
%17 = load i64, ptr @SATI_SEQUENCE_STATE_AWAIT_RESPONSE, align 8, !tbaa !12
store i64 %17, ptr %0, align 8, !tbaa !6
br label %20
18: ; preds = %12
%19 = load i32, ptr @SATI_FAILURE, align 4, !tbaa !13
br label %24
20: ; preds = %15, %7
%21 = phi i32 [ %8, %7 ], [ %16, %15 ]
%22 = load i32, ptr @SATI_SEQUENCE_WRITE_AND_VERIFY, align 4, !tbaa !13
%23 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %22, ptr %23, align 8, !tbaa !15
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %21, %20 ], [ %19, %18 ]
ret i32 %25
}
declare i32 @sati_write_16_translate_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sati_verify_16_translate_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 12}
!15 = !{!7, !11, i64 8}
|
freebsd_sys_dev_isci_scil_extr_sati_write_and_verify.c_sati_write_and_verify_16_translate_command
|
; ModuleID = 'AnghaBench/linux/drivers/char/extr_virtio_console.c_set_console_size.c'
source_filename = "AnghaBench/linux/drivers/char/extr_virtio_console.c_set_console_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_console_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_console_size(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = tail call i32 @is_console_port(ptr noundef nonnull %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store ptr %1, ptr %9, align 8, !tbaa !5
store ptr %2, ptr %0, align 8, !tbaa !12
br label %10
10: ; preds = %3, %5, %8
ret void
}
declare i32 @is_console_port(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 8}
!6 = !{!"port", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!6, !9, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/char/extr_virtio_console.c_set_console_size.c'
source_filename = "AnghaBench/linux/drivers/char/extr_virtio_console.c_set_console_size.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 @set_console_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_console_size(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = tail call i32 @is_console_port(ptr noundef nonnull %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %9, align 8, !tbaa !6
store ptr %2, ptr %0, align 8, !tbaa !13
br label %10
10: ; preds = %3, %5, %8
ret void
}
declare i32 @is_console_port(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 8}
!7 = !{!"port", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!7, !10, i64 0}
|
linux_drivers_char_extr_virtio_console.c_set_console_size
|
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_stub_rx.c_tweak_reset_device_cmd.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_stub_rx.c_tweak_reset_device_cmd.c"
target datalayout = "e-m:e-p270:32:32-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.urb = type { ptr, i64 }
@.str = private unnamed_addr constant [24 x i8] c"usb_queue_reset_device\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"could not obtain lock to reset device\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tweak_reset_device_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @tweak_reset_device_cmd(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.urb, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %0, align 8, !tbaa !13
%7 = tail call i32 @dev_info(ptr noundef %6, ptr noundef nonnull @.str) #2
%8 = load i32, ptr %5, align 4, !tbaa !14
%9 = tail call i64 @usb_lock_device_for_reset(i32 noundef %8, ptr noundef null) #2
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %0, align 8, !tbaa !13
%13 = tail call i32 @dev_err(ptr noundef %12, ptr noundef nonnull @.str.1) #2
br label %19
14: ; preds = %1
%15 = load i32, ptr %5, align 4, !tbaa !14
%16 = tail call i32 @usb_reset_device(i32 noundef %15) #2
%17 = load i32, ptr %5, align 4, !tbaa !14
%18 = tail call i32 @usb_unlock_device(i32 noundef %17) #2
br label %19
19: ; preds = %14, %11
ret i32 0
}
declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @usb_lock_device_for_reset(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_reset_device(i32 noundef) local_unnamed_addr #1
declare i32 @usb_unlock_device(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"urb", !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, !7, i64 0}
!12 = !{!"stub_priv", !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"stub_device", !16, i64 0}
!16 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_stub_rx.c_tweak_reset_device_cmd.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_stub_rx.c_tweak_reset_device_cmd.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"usb_queue_reset_device\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"could not obtain lock to reset device\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tweak_reset_device_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @tweak_reset_device_cmd(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %0, align 8, !tbaa !14
%7 = tail call i32 @dev_info(ptr noundef %6, ptr noundef nonnull @.str) #2
%8 = load i32, ptr %5, align 4, !tbaa !15
%9 = tail call i64 @usb_lock_device_for_reset(i32 noundef %8, ptr noundef null) #2
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %0, align 8, !tbaa !14
%13 = tail call i32 @dev_err(ptr noundef %12, ptr noundef nonnull @.str.1) #2
br label %19
14: ; preds = %1
%15 = load i32, ptr %5, align 4, !tbaa !15
%16 = tail call i32 @usb_reset_device(i32 noundef %15) #2
%17 = load i32, ptr %5, align 4, !tbaa !15
%18 = tail call i32 @usb_unlock_device(i32 noundef %17) #2
br label %19
19: ; preds = %14, %11
ret i32 0
}
declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @usb_lock_device_for_reset(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_reset_device(i32 noundef) local_unnamed_addr #1
declare i32 @usb_unlock_device(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"urb", !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, !8, i64 0}
!13 = !{!"stub_priv", !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"stub_device", !17, i64 0}
!17 = !{!"int", !9, i64 0}
|
linux_drivers_usb_usbip_extr_stub_rx.c_tweak_reset_device_cmd
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_mgmt.c_mgmt_get_nic_conf.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_mgmt.c_mgmt_get_nic_conf.c"
target datalayout = "e-m:e-p270:32:32-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.be_dma_mem = type { i32 }
@CMD_SUBSYSTEM_ISCSI = dso_local local_unnamed_addr global i32 0, align 4
@OPCODE_COMMON_ISCSI_NTWK_GET_NIC_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mgmt_get_nic_conf(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.be_dma_mem, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @CMD_SUBSYSTEM_ISCSI, align 4, !tbaa !5
%5 = load i32, ptr @OPCODE_COMMON_ISCSI_NTWK_GET_NIC_CONFIG, align 4, !tbaa !5
%6 = call i32 @beiscsi_prep_nemb_cmd(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5, i32 noundef 4) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @beiscsi_exec_nemb_cmd(ptr noundef %0, ptr noundef nonnull %3, ptr noundef null, ptr noundef %1, i32 noundef 4) #3
br label %10
10: ; preds = %2, %8
%11 = phi i32 [ %9, %8 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @beiscsi_prep_nemb_cmd(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @beiscsi_exec_nemb_cmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_mgmt.c_mgmt_get_nic_conf.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_mgmt.c_mgmt_get_nic_conf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.be_dma_mem = type { i32 }
@CMD_SUBSYSTEM_ISCSI = common local_unnamed_addr global i32 0, align 4
@OPCODE_COMMON_ISCSI_NTWK_GET_NIC_CONFIG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mgmt_get_nic_conf(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.be_dma_mem, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @CMD_SUBSYSTEM_ISCSI, align 4, !tbaa !6
%5 = load i32, ptr @OPCODE_COMMON_ISCSI_NTWK_GET_NIC_CONFIG, align 4, !tbaa !6
%6 = call i32 @beiscsi_prep_nemb_cmd(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5, i32 noundef 4) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @beiscsi_exec_nemb_cmd(ptr noundef %0, ptr noundef nonnull %3, ptr noundef null, ptr noundef %1, i32 noundef 4) #3
br label %10
10: ; preds = %2, %8
%11 = phi i32 [ %9, %8 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @beiscsi_prep_nemb_cmd(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @beiscsi_exec_nemb_cmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_scsi_be2iscsi_extr_be_mgmt.c_mgmt_get_nic_conf
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_ethtool.c_igb_intr_test.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_ethtool.c_igb_intr_test.c"
target datalayout = "e-m:e-p270:32:32-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.igb_adapter = type { i32, i32, ptr, ptr, ptr, %struct.e1000_hw }
%struct.e1000_hw = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_4__ = type { i32, i32 }
@igb_test_intr = dso_local local_unnamed_addr global i32 0, align 4
@IGB_FLAG_HAS_MSI = dso_local local_unnamed_addr global i32 0, align 4
@IRQF_PROBE_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@IRQF_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"testing %s interrupt\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"shared\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"unshared\00", align 1
@E1000_IMC = dso_local local_unnamed_addr global i32 0, align 4
@E1000_ICR = dso_local local_unnamed_addr global i32 0, align 4
@E1000_ICS = dso_local local_unnamed_addr global i32 0, align 4
@E1000_IMS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @igb_intr_test], section "llvm.metadata"
@switch.table.igb_intr_test = private unnamed_addr constant [7 x i32] [i32 2010971861, i32 2010971861, i32 2010971861, i32 2010971861, i32 2010971861, i32 2010446845, i32 938770141], align 4
; Function Attrs: nounwind uwtable
define internal i32 @igb_intr_test(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 5
%4 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 4
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr %7, align 4, !tbaa !14
store i32 0, ptr %1, align 4, !tbaa !16
%9 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = icmp eq ptr %10, null
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %10, align 4, !tbaa !18
%14 = load i32, ptr @igb_test_intr, align 4, !tbaa !16
%15 = load i32, ptr %5, align 4, !tbaa !20
%16 = tail call i64 @request_irq(i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %15, ptr noundef nonnull %0) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %42, label %18
18: ; preds = %12
store i32 1, ptr %1, align 4, !tbaa !16
br label %124
19: ; preds = %2
%20 = load i32, ptr %0, align 8, !tbaa !22
%21 = load i32, ptr @IGB_FLAG_HAS_MSI, align 4, !tbaa !16
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr @igb_test_intr, align 4, !tbaa !16
br i1 %23, label %30, label %25
25: ; preds = %19
%26 = load i32, ptr %5, align 4, !tbaa !20
%27 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %24, i32 noundef 0, i32 noundef %26, ptr noundef nonnull %0) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %42, label %29
29: ; preds = %25
store i32 1, ptr %1, align 4, !tbaa !16
br label %124
30: ; preds = %19
%31 = load i32, ptr @IRQF_PROBE_SHARED, align 4, !tbaa !16
%32 = load i32, ptr %5, align 4, !tbaa !20
%33 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %24, i32 noundef %31, i32 noundef %32, ptr noundef nonnull %0) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %30
%36 = load i32, ptr @igb_test_intr, align 4, !tbaa !16
%37 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !16
%38 = load i32, ptr %5, align 4, !tbaa !20
%39 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef nonnull %0) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %35
store i32 1, ptr %1, align 4, !tbaa !16
br label %124
42: ; preds = %30, %25, %12, %35
%43 = phi i1 [ false, %35 ], [ false, %12 ], [ true, %25 ], [ true, %30 ]
%44 = phi ptr [ @.str.1, %35 ], [ @.str.1, %12 ], [ @.str.2, %25 ], [ @.str.2, %30 ]
%45 = load ptr, ptr %6, align 8, !tbaa !13
%46 = getelementptr inbounds %struct.TYPE_4__, ptr %45, i64 0, i32 1
%47 = tail call i32 @dev_info(ptr noundef nonnull %46, ptr noundef nonnull @.str, ptr noundef nonnull %44) #2
%48 = load i32, ptr @E1000_IMC, align 4, !tbaa !16
%49 = tail call i32 @wr32(i32 noundef %48, i32 noundef -1) #2
%50 = tail call i32 (...) @wrfl() #2
%51 = tail call i32 @msleep(i32 noundef 10) #2
%52 = load i32, ptr %3, align 4, !tbaa !23
%53 = add i32 %52, -128
%54 = icmp ult i32 %53, 7
br i1 %54, label %55, label %59
55: ; preds = %42
%56 = zext nneg i32 %53 to i64
%57 = getelementptr inbounds [7 x i32], ptr @switch.table.igb_intr_test, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
br label %59
59: ; preds = %42, %55
%60 = phi i32 [ %58, %55 ], [ 2147483647, %42 ]
%61 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 1
br label %62
62: ; preds = %59, %106
%63 = phi i32 [ 0, %59 ], [ %107, %106 ]
%64 = shl nuw nsw i32 1, %63
%65 = and i32 %64, %60
%66 = icmp eq i32 %65, 0
br i1 %66, label %106, label %67
67: ; preds = %62
br i1 %43, label %68, label %80
68: ; preds = %67
store i32 0, ptr %61, align 4, !tbaa !24
%69 = load i32, ptr @E1000_ICR, align 4, !tbaa !16
%70 = tail call i32 @wr32(i32 noundef %69, i32 noundef -1) #2
%71 = load i32, ptr @E1000_IMC, align 4, !tbaa !16
%72 = tail call i32 @wr32(i32 noundef %71, i32 noundef %64) #2
%73 = load i32, ptr @E1000_ICS, align 4, !tbaa !16
%74 = tail call i32 @wr32(i32 noundef %73, i32 noundef %64) #2
%75 = tail call i32 (...) @wrfl() #2
%76 = tail call i32 @msleep(i32 noundef 10) #2
%77 = load i32, ptr %61, align 4, !tbaa !24
%78 = and i32 %77, %64
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %109
80: ; preds = %68, %67
store i32 0, ptr %61, align 4, !tbaa !24
%81 = load i32, ptr @E1000_ICR, align 4, !tbaa !16
%82 = tail call i32 @wr32(i32 noundef %81, i32 noundef -1) #2
%83 = load i32, ptr @E1000_IMS, align 4, !tbaa !16
%84 = tail call i32 @wr32(i32 noundef %83, i32 noundef %64) #2
%85 = load i32, ptr @E1000_ICS, align 4, !tbaa !16
%86 = tail call i32 @wr32(i32 noundef %85, i32 noundef %64) #2
%87 = tail call i32 (...) @wrfl() #2
%88 = tail call i32 @msleep(i32 noundef 10) #2
%89 = load i32, ptr %61, align 4, !tbaa !24
%90 = and i32 %89, %64
%91 = icmp eq i32 %90, 0
br i1 %91, label %109, label %92
92: ; preds = %80
br i1 %43, label %93, label %106
93: ; preds = %92
store i32 0, ptr %61, align 4, !tbaa !24
%94 = load i32, ptr @E1000_ICR, align 4, !tbaa !16
%95 = tail call i32 @wr32(i32 noundef %94, i32 noundef -1) #2
%96 = load i32, ptr @E1000_IMC, align 4, !tbaa !16
%97 = xor i32 %64, -1
%98 = tail call i32 @wr32(i32 noundef %96, i32 noundef %97) #2
%99 = load i32, ptr @E1000_ICS, align 4, !tbaa !16
%100 = tail call i32 @wr32(i32 noundef %99, i32 noundef %97) #2
%101 = tail call i32 (...) @wrfl() #2
%102 = tail call i32 @msleep(i32 noundef 10) #2
%103 = load i32, ptr %61, align 4, !tbaa !24
%104 = and i32 %103, %64
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %109
106: ; preds = %92, %93, %62
%107 = add nuw nsw i32 %63, 1
%108 = icmp eq i32 %107, 31
br i1 %108, label %111, label %62, !llvm.loop !25
109: ; preds = %93, %80, %68
%110 = phi i32 [ 3, %68 ], [ 4, %80 ], [ 5, %93 ]
store i32 %110, ptr %1, align 4, !tbaa !16
br label %111
111: ; preds = %106, %109
%112 = load i32, ptr @E1000_IMC, align 4, !tbaa !16
%113 = tail call i32 @wr32(i32 noundef %112, i32 noundef -1) #2
%114 = tail call i32 (...) @wrfl() #2
%115 = tail call i32 @msleep(i32 noundef 10) #2
%116 = load ptr, ptr %9, align 8, !tbaa !17
%117 = icmp eq ptr %116, null
br i1 %117, label %120, label %118
118: ; preds = %111
%119 = load i32, ptr %116, align 4, !tbaa !18
br label %120
120: ; preds = %111, %118
%121 = phi i32 [ %119, %118 ], [ %8, %111 ]
%122 = tail call i32 @free_irq(i32 noundef %121, ptr noundef nonnull %0) #2
%123 = load i32, ptr %1, align 4, !tbaa !16
br label %124
124: ; preds = %120, %41, %29, %18
%125 = phi i32 [ -1, %18 ], [ %123, %120 ], [ -1, %29 ], [ -1, %41 ]
ret i32 %125
}
declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wrfl(...) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(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 24}
!6 = !{!"igb_adapter", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"e1000_hw", !12, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!6, !10, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_6__", !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"net_device", !7, i64 0}
!22 = !{!6, !7, i64 0}
!23 = !{!11, !7, i64 0}
!24 = !{!6, !7, i64 4}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_ethtool.c_igb_intr_test.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_ethtool.c_igb_intr_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@igb_test_intr = common local_unnamed_addr global i32 0, align 4
@IGB_FLAG_HAS_MSI = common local_unnamed_addr global i32 0, align 4
@IRQF_PROBE_SHARED = common local_unnamed_addr global i32 0, align 4
@IRQF_SHARED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"testing %s interrupt\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"shared\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"unshared\00", align 1
@E1000_IMC = common local_unnamed_addr global i32 0, align 4
@E1000_ICR = common local_unnamed_addr global i32 0, align 4
@E1000_ICS = common local_unnamed_addr global i32 0, align 4
@E1000_IMS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @igb_intr_test], section "llvm.metadata"
@switch.table.igb_intr_test = private unnamed_addr constant [7 x i32] [i32 2010971861, i32 2010971861, i32 2010971861, i32 2010971861, i32 2010971861, i32 2010446845, i32 938770141], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @igb_intr_test(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr %7, align 4, !tbaa !15
store i32 0, ptr %1, align 4, !tbaa !17
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = icmp eq ptr %10, null
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %10, align 4, !tbaa !19
%14 = load i32, ptr @igb_test_intr, align 4, !tbaa !17
%15 = load i32, ptr %5, align 4, !tbaa !21
%16 = tail call i64 @request_irq(i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %15, ptr noundef nonnull %0) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %42, label %18
18: ; preds = %12
store i32 1, ptr %1, align 4, !tbaa !17
br label %124
19: ; preds = %2
%20 = load i32, ptr %0, align 8, !tbaa !23
%21 = load i32, ptr @IGB_FLAG_HAS_MSI, align 4, !tbaa !17
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr @igb_test_intr, align 4, !tbaa !17
br i1 %23, label %30, label %25
25: ; preds = %19
%26 = load i32, ptr %5, align 4, !tbaa !21
%27 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %24, i32 noundef 0, i32 noundef %26, ptr noundef nonnull %0) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %42, label %29
29: ; preds = %25
store i32 1, ptr %1, align 4, !tbaa !17
br label %124
30: ; preds = %19
%31 = load i32, ptr @IRQF_PROBE_SHARED, align 4, !tbaa !17
%32 = load i32, ptr %5, align 4, !tbaa !21
%33 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %24, i32 noundef %31, i32 noundef %32, ptr noundef nonnull %0) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %30
%36 = load i32, ptr @igb_test_intr, align 4, !tbaa !17
%37 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !17
%38 = load i32, ptr %5, align 4, !tbaa !21
%39 = tail call i64 @request_irq(i32 noundef %8, i32 noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef nonnull %0) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %35
store i32 1, ptr %1, align 4, !tbaa !17
br label %124
42: ; preds = %30, %25, %12, %35
%43 = phi i1 [ false, %35 ], [ false, %12 ], [ true, %25 ], [ true, %30 ]
%44 = phi ptr [ @.str.1, %35 ], [ @.str.1, %12 ], [ @.str.2, %25 ], [ @.str.2, %30 ]
%45 = load ptr, ptr %6, align 8, !tbaa !14
%46 = getelementptr inbounds i8, ptr %45, i64 4
%47 = tail call i32 @dev_info(ptr noundef nonnull %46, ptr noundef nonnull @.str, ptr noundef nonnull %44) #2
%48 = load i32, ptr @E1000_IMC, align 4, !tbaa !17
%49 = tail call i32 @wr32(i32 noundef %48, i32 noundef -1) #2
%50 = tail call i32 @wrfl() #2
%51 = tail call i32 @msleep(i32 noundef 10) #2
%52 = load i32, ptr %3, align 4, !tbaa !24
%53 = add i32 %52, -128
%54 = icmp ult i32 %53, 7
br i1 %54, label %55, label %59
55: ; preds = %42
%56 = zext nneg i32 %53 to i64
%57 = getelementptr inbounds [7 x i32], ptr @switch.table.igb_intr_test, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
br label %59
59: ; preds = %42, %55
%60 = phi i32 [ %58, %55 ], [ 2147483647, %42 ]
%61 = getelementptr inbounds i8, ptr %0, i64 4
br label %62
62: ; preds = %59, %106
%63 = phi i32 [ 0, %59 ], [ %107, %106 ]
%64 = shl nuw nsw i32 1, %63
%65 = and i32 %64, %60
%66 = icmp eq i32 %65, 0
br i1 %66, label %106, label %67
67: ; preds = %62
br i1 %43, label %68, label %80
68: ; preds = %67
store i32 0, ptr %61, align 4, !tbaa !25
%69 = load i32, ptr @E1000_ICR, align 4, !tbaa !17
%70 = tail call i32 @wr32(i32 noundef %69, i32 noundef -1) #2
%71 = load i32, ptr @E1000_IMC, align 4, !tbaa !17
%72 = tail call i32 @wr32(i32 noundef %71, i32 noundef %64) #2
%73 = load i32, ptr @E1000_ICS, align 4, !tbaa !17
%74 = tail call i32 @wr32(i32 noundef %73, i32 noundef %64) #2
%75 = tail call i32 @wrfl() #2
%76 = tail call i32 @msleep(i32 noundef 10) #2
%77 = load i32, ptr %61, align 4, !tbaa !25
%78 = and i32 %77, %64
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %109
80: ; preds = %68, %67
store i32 0, ptr %61, align 4, !tbaa !25
%81 = load i32, ptr @E1000_ICR, align 4, !tbaa !17
%82 = tail call i32 @wr32(i32 noundef %81, i32 noundef -1) #2
%83 = load i32, ptr @E1000_IMS, align 4, !tbaa !17
%84 = tail call i32 @wr32(i32 noundef %83, i32 noundef %64) #2
%85 = load i32, ptr @E1000_ICS, align 4, !tbaa !17
%86 = tail call i32 @wr32(i32 noundef %85, i32 noundef %64) #2
%87 = tail call i32 @wrfl() #2
%88 = tail call i32 @msleep(i32 noundef 10) #2
%89 = load i32, ptr %61, align 4, !tbaa !25
%90 = and i32 %89, %64
%91 = icmp eq i32 %90, 0
br i1 %91, label %109, label %92
92: ; preds = %80
br i1 %43, label %93, label %106
93: ; preds = %92
store i32 0, ptr %61, align 4, !tbaa !25
%94 = load i32, ptr @E1000_ICR, align 4, !tbaa !17
%95 = tail call i32 @wr32(i32 noundef %94, i32 noundef -1) #2
%96 = load i32, ptr @E1000_IMC, align 4, !tbaa !17
%97 = xor i32 %64, -1
%98 = tail call i32 @wr32(i32 noundef %96, i32 noundef %97) #2
%99 = load i32, ptr @E1000_ICS, align 4, !tbaa !17
%100 = tail call i32 @wr32(i32 noundef %99, i32 noundef %97) #2
%101 = tail call i32 @wrfl() #2
%102 = tail call i32 @msleep(i32 noundef 10) #2
%103 = load i32, ptr %61, align 4, !tbaa !25
%104 = and i32 %103, %64
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %109
106: ; preds = %92, %93, %62
%107 = add nuw nsw i32 %63, 1
%108 = icmp eq i32 %107, 31
br i1 %108, label %111, label %62, !llvm.loop !26
109: ; preds = %93, %80, %68
%110 = phi i32 [ 3, %68 ], [ 4, %80 ], [ 5, %93 ]
store i32 %110, ptr %1, align 4, !tbaa !17
br label %111
111: ; preds = %106, %109
%112 = load i32, ptr @E1000_IMC, align 4, !tbaa !17
%113 = tail call i32 @wr32(i32 noundef %112, i32 noundef -1) #2
%114 = tail call i32 @wrfl() #2
%115 = tail call i32 @msleep(i32 noundef 10) #2
%116 = load ptr, ptr %9, align 8, !tbaa !18
%117 = icmp eq ptr %116, null
br i1 %117, label %120, label %118
118: ; preds = %111
%119 = load i32, ptr %116, align 4, !tbaa !19
br label %120
120: ; preds = %111, %118
%121 = phi i32 [ %119, %118 ], [ %8, %111 ]
%122 = tail call i32 @free_irq(i32 noundef %121, ptr noundef nonnull %0) #2
%123 = load i32, ptr %1, align 4, !tbaa !17
br label %124
124: ; preds = %120, %41, %29, %18
%125 = phi i32 [ -1, %18 ], [ %123, %120 ], [ -1, %29 ], [ -1, %41 ]
ret i32 %125
}
declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wrfl(...) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(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 24}
!7 = !{!"igb_adapter", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"e1000_hw", !13, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
!14 = !{!7, !11, i64 16}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_6__", !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"net_device", !8, i64 0}
!23 = !{!7, !8, i64 0}
!24 = !{!12, !8, i64 0}
!25 = !{!7, !8, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_net_igb_extr_igb_ethtool.c_igb_intr_test
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genoutput.c_output_prologue.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genoutput.c_output_prologue.c"
target datalayout = "e-m:e-p270:32:32-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 [103 x i8] c"/* Generated automatically by the program `genoutput'\0A from the machine description file `md'. */\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"#include \22config.h\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"#include \22system.h\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"#include \22coretypes.h\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"#include \22tm.h\22\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"#include \22flags.h\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"#include \22ggc.h\22\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"#include \22rtl.h\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"#include \22expr.h\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"#include \22insn-codes.h\22\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"#include \22tm_p.h\22\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"#include \22function.h\22\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"#include \22regs.h\22\0A\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"#include \22hard-reg-set.h\22\0A\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"#include \22real.h\22\0A\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"#include \22insn-config.h\22\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c"#include \22conditions.h\22\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"#include \22insn-attr.h\22\0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [21 x i8] c"#include \22recog.h\22\0A\0A\00", align 1
@.str.19 = private unnamed_addr constant [21 x i8] c"#include \22toplev.h\22\0A\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"#include \22output.h\22\0A\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"#include \22target.h\22\0A\00", align 1
@.str.22 = private unnamed_addr constant [25 x i8] c"#include \22tm-constrs.h\22\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @output_prologue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @output_prologue() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.6) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.7) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.8) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.9) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str.10) #2
%12 = tail call i32 @printf(ptr noundef nonnull @.str.11) #2
%13 = tail call i32 @printf(ptr noundef nonnull @.str.12) #2
%14 = tail call i32 @printf(ptr noundef nonnull @.str.13) #2
%15 = tail call i32 @printf(ptr noundef nonnull @.str.14) #2
%16 = tail call i32 @printf(ptr noundef nonnull @.str.15) #2
%17 = tail call i32 @printf(ptr noundef nonnull @.str.16) #2
%18 = tail call i32 @printf(ptr noundef nonnull @.str.17) #2
%19 = tail call i32 @printf(ptr noundef nonnull @.str.18) #2
%20 = tail call i32 @printf(ptr noundef nonnull @.str.19) #2
%21 = tail call i32 @printf(ptr noundef nonnull @.str.20) #2
%22 = tail call i32 @printf(ptr noundef nonnull @.str.21) #2
%23 = tail call i32 @printf(ptr noundef nonnull @.str.22) #2
ret void
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genoutput.c_output_prologue.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genoutput.c_output_prologue.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 [103 x i8] c"/* Generated automatically by the program `genoutput'\0A from the machine description file `md'. */\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"#include \22config.h\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"#include \22system.h\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"#include \22coretypes.h\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"#include \22tm.h\22\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"#include \22flags.h\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"#include \22ggc.h\22\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"#include \22rtl.h\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"#include \22expr.h\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"#include \22insn-codes.h\22\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"#include \22tm_p.h\22\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"#include \22function.h\22\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"#include \22regs.h\22\0A\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"#include \22hard-reg-set.h\22\0A\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"#include \22real.h\22\0A\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"#include \22insn-config.h\22\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c"#include \22conditions.h\22\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"#include \22insn-attr.h\22\0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [21 x i8] c"#include \22recog.h\22\0A\0A\00", align 1
@.str.19 = private unnamed_addr constant [21 x i8] c"#include \22toplev.h\22\0A\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"#include \22output.h\22\0A\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"#include \22target.h\22\0A\00", align 1
@.str.22 = private unnamed_addr constant [25 x i8] c"#include \22tm-constrs.h\22\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @output_prologue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @output_prologue() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.6) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.7) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.8) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.9) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str.10) #2
%12 = tail call i32 @printf(ptr noundef nonnull @.str.11) #2
%13 = tail call i32 @printf(ptr noundef nonnull @.str.12) #2
%14 = tail call i32 @printf(ptr noundef nonnull @.str.13) #2
%15 = tail call i32 @printf(ptr noundef nonnull @.str.14) #2
%16 = tail call i32 @printf(ptr noundef nonnull @.str.15) #2
%17 = tail call i32 @printf(ptr noundef nonnull @.str.16) #2
%18 = tail call i32 @printf(ptr noundef nonnull @.str.17) #2
%19 = tail call i32 @printf(ptr noundef nonnull @.str.18) #2
%20 = tail call i32 @printf(ptr noundef nonnull @.str.19) #2
%21 = tail call i32 @printf(ptr noundef nonnull @.str.20) #2
%22 = tail call i32 @printf(ptr noundef nonnull @.str.21) #2
%23 = tail call i32 @printf(ptr noundef nonnull @.str.22) #2
ret void
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_contrib_gcc_extr_genoutput.c_output_prologue
|
; ModuleID = 'AnghaBench/RetroArch/libretro-db/extr_rmsgpack_test.c_stub_read_map_start.c'
source_filename = "AnghaBench/RetroArch/libretro-db/extr_rmsgpack_test.c_stub_read_map_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @stub_read_map_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @stub_read_map_start(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @stub_state_push_map(ptr noundef %1, i32 noundef %0) #2
ret i32 0
}
declare i32 @stub_state_push_map(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/RetroArch/libretro-db/extr_rmsgpack_test.c_stub_read_map_start.c'
source_filename = "AnghaBench/RetroArch/libretro-db/extr_rmsgpack_test.c_stub_read_map_start.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 @stub_read_map_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @stub_read_map_start(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @stub_state_push_map(ptr noundef %1, i32 noundef %0) #2
ret i32 0
}
declare i32 @stub_state_push_map(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)"}
|
RetroArch_libretro-db_extr_rmsgpack_test.c_stub_read_map_start
|
; ModuleID = 'AnghaBench/seafile/daemon/extr_test-sync-tree.c_main.c'
source_filename = "AnghaBench/seafile/daemon/extr_test-sync-tree.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"
@.str = private unnamed_addr constant [10 x i8] c"a/b/c.txt\00", align 1
@S_IFREG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"a/b/c/d\00", align 1
@S_IFDIR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"a/xxx.txt\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"a/b/c.txt: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"a/b/c/d: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"a/d/f.foo\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"a/d/f.foo: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"a/b\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"a/b: %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"a/c.pdf\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1
@str = private unnamed_addr constant [15 x i8] c"test after add\00", align 1
@str.14 = private unnamed_addr constant [15 x i8] c"test after del\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr (...) @sync_status_tree_new() #4
%4 = load i32, ptr @S_IFREG, align 4, !tbaa !5
%5 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #4
%6 = load i32, ptr @S_IFDIR, align 4, !tbaa !5
%7 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str.1, i32 noundef %6) #4
%8 = load i32, ptr @S_IFREG, align 4, !tbaa !5
%9 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str.2, i32 noundef %8) #4
%10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%11 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str) #4
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %11)
%13 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %13)
%15 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.6) #4
%16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %15)
%17 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.8) #4
%18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %17)
%19 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str) #4
%20 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%21 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.2) #4
%22 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.10) #4
%23 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.14)
%24 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str) #4
%25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %24)
%26 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %26)
%28 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.8) #4
%29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %28)
%30 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.12) #4
%31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %30)
ret i32 0
}
declare ptr @sync_status_tree_new(...) local_unnamed_addr #1
declare i32 @sync_status_tree_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @sync_status_tree_exists(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sync_status_tree_del(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
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"}
|
; ModuleID = 'AnghaBench/seafile/daemon/extr_test-sync-tree.c_main.c'
source_filename = "AnghaBench/seafile/daemon/extr_test-sync-tree.c_main.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 [10 x i8] c"a/b/c.txt\00", align 1
@S_IFREG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"a/b/c/d\00", align 1
@S_IFDIR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"a/xxx.txt\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"a/b/c.txt: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"a/b/c/d: %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"a/d/f.foo\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"a/d/f.foo: %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"a/b\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"a/b: %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"a/c.pdf\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1
@str = private unnamed_addr constant [15 x i8] c"test after add\00", align 1
@str.14 = private unnamed_addr constant [15 x i8] c"test after del\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr @sync_status_tree_new() #4
%4 = load i32, ptr @S_IFREG, align 4, !tbaa !6
%5 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #4
%6 = load i32, ptr @S_IFDIR, align 4, !tbaa !6
%7 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str.1, i32 noundef %6) #4
%8 = load i32, ptr @S_IFREG, align 4, !tbaa !6
%9 = tail call i32 @sync_status_tree_add(ptr noundef %3, ptr noundef nonnull @.str.2, i32 noundef %8) #4
%10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%11 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str) #4
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %11)
%13 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %13)
%15 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.6) #4
%16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %15)
%17 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.8) #4
%18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %17)
%19 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str) #4
%20 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%21 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.2) #4
%22 = tail call i32 @sync_status_tree_del(ptr noundef %3, ptr noundef nonnull @.str.10) #4
%23 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.14)
%24 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str) #4
%25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %24)
%26 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.1) #4
%27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %26)
%28 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.8) #4
%29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %28)
%30 = tail call i32 @sync_status_tree_exists(ptr noundef %3, ptr noundef nonnull @.str.12) #4
%31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %30)
ret i32 0
}
declare ptr @sync_status_tree_new(...) local_unnamed_addr #1
declare i32 @sync_status_tree_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @sync_status_tree_exists(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sync_status_tree_del(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
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"}
|
seafile_daemon_extr_test-sync-tree.c_main
|
; ModuleID = 'AnghaBench/freebsd/contrib/amd/amd/extr_conf.c_gopt_debug_mtab_file.c'
source_filename = "AnghaBench/freebsd/contrib/amd/amd/extr_conf.c_gopt_debug_mtab_file.c"
target datalayout = "e-m:e-p270:32:32-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 }
@gopt = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gopt_debug_mtab_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gopt_debug_mtab_file(ptr noundef %0) #0 {
%2 = tail call i32 @xstrdup(ptr noundef %0) #2
store i32 %2, ptr @gopt, align 4, !tbaa !5
ret i32 0
}
declare i32 @xstrdup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/amd/amd/extr_conf.c_gopt_debug_mtab_file.c'
source_filename = "AnghaBench/freebsd/contrib/amd/amd/extr_conf.c_gopt_debug_mtab_file.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 }
@gopt = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @gopt_debug_mtab_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gopt_debug_mtab_file(ptr noundef %0) #0 {
%2 = tail call i32 @xstrdup(ptr noundef %0) #2
store i32 %2, ptr @gopt, align 4, !tbaa !6
ret i32 0
}
declare i32 @xstrdup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_amd_amd_extr_conf.c_gopt_debug_mtab_file
|
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_curl_multi_socket.c'
source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_socket.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CURLM_RECURSIVE_API_CALL = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@CURLM_OK = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @curl_multi_socket(ptr noundef %0, i32 noundef %1, ptr 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 %8, label %6
6: ; preds = %3
%7 = load i64, ptr @CURLM_RECURSIVE_API_CALL, align 8, !tbaa !10
br label %15
8: ; preds = %3
%9 = load i32, ptr @FALSE, align 4, !tbaa !11
%10 = tail call i64 @multi_socket(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %1, i32 noundef 0, ptr noundef %2) #2
%11 = load i64, ptr @CURLM_OK, align 8, !tbaa !10
%12 = icmp slt i64 %11, %10
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 @Curl_update_timer(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %8, %13, %6
%16 = phi i64 [ %7, %6 ], [ %10, %13 ], [ %10, %8 ]
ret i64 %16
}
declare i64 @multi_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Curl_update_timer(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 = !{!"Curl_multi", !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/curl/lib/extr_multi.c_curl_multi_socket.c'
source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_socket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURLM_RECURSIVE_API_CALL = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
@CURLM_OK = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @curl_multi_socket(ptr noundef %0, i32 noundef %1, ptr 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 %8, label %6
6: ; preds = %3
%7 = load i64, ptr @CURLM_RECURSIVE_API_CALL, align 8, !tbaa !11
br label %15
8: ; preds = %3
%9 = load i32, ptr @FALSE, align 4, !tbaa !12
%10 = tail call i64 @multi_socket(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %1, i32 noundef 0, ptr noundef %2) #2
%11 = load i64, ptr @CURLM_OK, align 8, !tbaa !11
%12 = icmp slt i64 %11, %10
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 @Curl_update_timer(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %8, %13, %6
%16 = phi i64 [ %7, %6 ], [ %10, %13 ], [ %10, %8 ]
ret i64 %16
}
declare i64 @multi_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Curl_update_timer(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 = !{!"Curl_multi", !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}
|
curl_lib_extr_multi.c_curl_multi_socket
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_convert_port_to_host.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_convert_port_to_host.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HOST_NULL = dso_local local_unnamed_addr global i64 0, align 8
@IKOT_HOST = dso_local local_unnamed_addr global i64 0, align 8
@IKOT_HOST_PRIV = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @convert_port_to_host(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @HOST_NULL, align 8, !tbaa !5
%3 = tail call i64 @IP_VALID(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %17, label %5
5: ; preds = %1
%6 = tail call i64 @ip_kotype(ptr noundef %0) #2
%7 = load i64, ptr @IKOT_HOST, align 8, !tbaa !5
%8 = icmp eq i64 %6, %7
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = tail call i64 @ip_kotype(ptr noundef %0) #2
%11 = load i64, ptr @IKOT_HOST_PRIV, align 8, !tbaa !5
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %9, %5
%14 = load i64, ptr %0, align 8, !tbaa !9
%15 = tail call i32 @ip_active(ptr noundef nonnull %0) #2
%16 = tail call i32 @assert(i32 noundef %15) #2
br label %17
17: ; preds = %9, %13, %1
%18 = phi i64 [ %14, %13 ], [ %2, %9 ], [ %2, %1 ]
ret i64 %18
}
declare i64 @IP_VALID(ptr noundef) local_unnamed_addr #1
declare i64 @ip_kotype(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @ip_active(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_6__", !6, i64 0}
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_convert_port_to_host.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_convert_port_to_host.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HOST_NULL = common local_unnamed_addr global i64 0, align 8
@IKOT_HOST = common local_unnamed_addr global i64 0, align 8
@IKOT_HOST_PRIV = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @convert_port_to_host(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @HOST_NULL, align 8, !tbaa !6
%3 = tail call i64 @IP_VALID(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %17, label %5
5: ; preds = %1
%6 = tail call i64 @ip_kotype(ptr noundef %0) #2
%7 = load i64, ptr @IKOT_HOST, align 8, !tbaa !6
%8 = icmp eq i64 %6, %7
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = tail call i64 @ip_kotype(ptr noundef %0) #2
%11 = load i64, ptr @IKOT_HOST_PRIV, align 8, !tbaa !6
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %9, %5
%14 = load i64, ptr %0, align 8, !tbaa !10
%15 = tail call i32 @ip_active(ptr noundef nonnull %0) #2
%16 = tail call i32 @assert(i32 noundef %15) #2
br label %17
17: ; preds = %9, %13, %1
%18 = phi i64 [ %14, %13 ], [ %2, %9 ], [ %2, %1 ]
ret i64 %18
}
declare i64 @IP_VALID(ptr noundef) local_unnamed_addr #1
declare i64 @ip_kotype(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @ip_active(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
|
darwin-xnu_osfmk_kern_extr_ipc_host.c_convert_port_to_host
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_cm.c_find_route.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_cm.c_find_route.c"
target datalayout = "e-m:e-p270:32:32-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.flowi4 = type { i32 }
@init_net = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_route], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @find_route(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca %struct.flowi4, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !5
%9 = call ptr @ip_route_output_ports(ptr noundef nonnull @init_net, ptr noundef nonnull %7, ptr noundef null, i32 noundef %2, i32 noundef %1, i32 noundef %4, i32 noundef %3, i32 noundef %8, i32 noundef %5, i32 noundef 0) #3
%10 = call i64 @IS_ERR(ptr noundef %9) #3
%11 = icmp eq i64 %10, 0
%12 = select i1 %11, ptr %9, ptr null
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret ptr %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ip_route_output_ports(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_cm.c_find_route.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_cm.c_find_route.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.flowi4 = type { i32 }
@init_net = common global i32 0, align 4
@IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @find_route], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @find_route(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca %struct.flowi4, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !6
%9 = call ptr @ip_route_output_ports(ptr noundef nonnull @init_net, ptr noundef nonnull %7, ptr noundef null, i32 noundef %2, i32 noundef %1, i32 noundef %4, i32 noundef %3, i32 noundef %8, i32 noundef %5, i32 noundef 0) #3
%10 = call i64 @IS_ERR(ptr noundef %9) #3
%11 = icmp eq i64 %10, 0
%12 = select i1 %11, ptr %9, ptr null
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret ptr %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ip_route_output_ports(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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"}
|
linux_drivers_infiniband_hw_cxgb3_extr_iwch_cm.c_find_route
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_tcd.c_opj_tcd_dc_level_shift_decode.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_tcd.c_opj_tcd_dc_level_shift_decode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_16__ = type { i32, ptr, ptr, ptr, ptr }
%struct.TYPE_15__ = type { i64, ptr }
%struct.TYPE_14__ = type { ptr, i32, ptr, i64, ptr }
%struct.TYPE_17__ = type { i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.TYPE_19__ = type { i32, i32, i64 }
%struct.TYPE_18__ = type { i32, i64 }
@INT_MAX = dso_local local_unnamed_addr global i64 0, align 8
@INT_MIN = dso_local local_unnamed_addr global i64 0, align 8
@OPJ_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @opj_tcd_dc_level_shift_decode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @opj_tcd_dc_level_shift_decode(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 4
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = icmp eq i64 %5, 0
br i1 %6, label %172, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !16
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !19
%13 = load ptr, ptr %12, align 8, !tbaa !20
%14 = getelementptr inbounds %struct.TYPE_15__, ptr %4, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !22
%16 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
br label %17
17: ; preds = %7, %165
%18 = phi i64 [ 0, %7 ], [ %166, %165 ]
%19 = phi ptr [ %15, %7 ], [ %169, %165 ]
%20 = phi ptr [ %13, %7 ], [ %168, %165 ]
%21 = phi ptr [ %10, %7 ], [ %167, %165 ]
%22 = load ptr, ptr %16, align 8, !tbaa !23
%23 = icmp eq ptr %22, null
br i1 %23, label %28, label %24
24: ; preds = %17
%25 = getelementptr inbounds i32, ptr %22, i64 %18
%26 = load i32, ptr %25, align 4, !tbaa !24
%27 = icmp eq i32 %26, 0
br i1 %27, label %165, label %28
28: ; preds = %24, %17
%29 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 0, i32 4
%30 = load ptr, ptr %29, align 8, !tbaa !25
%31 = load i32, ptr %21, align 8, !tbaa !27
%32 = sext i32 %31 to i64
%33 = load i32, ptr %0, align 8, !tbaa !29
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %47
35: ; preds = %28
%36 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32
%37 = load i64, ptr %36, align 8, !tbaa !30
%38 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 1
%39 = load i64, ptr %38, align 8, !tbaa !32
%40 = sub i64 %37, %39
%41 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 2
%42 = load i64, ptr %41, align 8, !tbaa !33
%43 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 3
%44 = load i64, ptr %43, align 8, !tbaa !34
%45 = sub i64 %42, %44
%46 = load ptr, ptr %19, align 8, !tbaa !35
br label %80
47: ; preds = %28
%48 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 5
%49 = load i64, ptr %48, align 8, !tbaa !36
%50 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 4
%51 = load i64, ptr %50, align 8, !tbaa !37
%52 = sub nsw i64 %49, %51
%53 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 7
%54 = load i64, ptr %53, align 8, !tbaa !38
%55 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32, i32 6
%56 = load i64, ptr %55, align 8, !tbaa !39
%57 = sub nsw i64 %54, %56
%58 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 0, i32 1
%59 = load i32, ptr %58, align 8, !tbaa !40
%60 = sext i32 %59 to i64
%61 = getelementptr %struct.TYPE_17__, ptr %30, i64 %60
%62 = getelementptr %struct.TYPE_17__, ptr %61, i64 -1, i32 5
%63 = load i64, ptr %62, align 8, !tbaa !36
%64 = getelementptr %struct.TYPE_17__, ptr %61, i64 -1, i32 4
%65 = load i64, ptr %64, align 8, !tbaa !37
%66 = sub nsw i64 %63, %65
%67 = sub i64 %66, %52
%68 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 0, i32 2
%69 = load ptr, ptr %68, align 8, !tbaa !41
%70 = icmp eq i64 %57, 0
br i1 %70, label %76, label %71
71: ; preds = %47
%72 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 0, i32 3
%73 = load i64, ptr %72, align 8, !tbaa !42
%74 = udiv i64 %73, %57
%75 = icmp ule i64 %66, %74
br label %76
76: ; preds = %71, %47
%77 = phi i1 [ true, %47 ], [ %75, %71 ]
%78 = zext i1 %77 to i32
%79 = tail call i32 @assert(i32 noundef %78) #2
br label %80
80: ; preds = %76, %35
%81 = phi i64 [ %52, %76 ], [ %40, %35 ]
%82 = phi i64 [ %57, %76 ], [ %45, %35 ]
%83 = phi ptr [ %69, %76 ], [ %46, %35 ]
%84 = phi i64 [ %67, %76 ], [ 0, %35 ]
%85 = getelementptr inbounds %struct.TYPE_19__, ptr %21, i64 0, i32 2
%86 = load i64, ptr %85, align 8, !tbaa !43
%87 = icmp eq i64 %86, 0
%88 = getelementptr inbounds %struct.TYPE_19__, ptr %21, i64 0, i32 1
%89 = load i32, ptr %88, align 4, !tbaa !44
br i1 %87, label %95, label %90
90: ; preds = %80
%91 = add nsw i32 %89, -1
%92 = shl nuw i32 1, %91
%93 = sub nsw i32 0, %92
%94 = add nsw i32 %92, -1
br label %98
95: ; preds = %80
%96 = shl nsw i32 -1, %89
%97 = xor i32 %96, -1
br label %98
98: ; preds = %95, %90
%99 = phi i32 [ %93, %90 ], [ 0, %95 ]
%100 = phi i32 [ %94, %90 ], [ %97, %95 ]
%101 = load i32, ptr %20, align 8, !tbaa !45
%102 = icmp eq i32 %101, 1
%103 = icmp eq i64 %82, 0
br i1 %102, label %108, label %104
104: ; preds = %98
br i1 %103, label %165, label %105
105: ; preds = %104
%106 = icmp eq i64 %81, 0
%107 = getelementptr inbounds %struct.TYPE_18__, ptr %20, i64 0, i32 1
br label %131
108: ; preds = %98
br i1 %103, label %165, label %109
109: ; preds = %108
%110 = icmp eq i64 %81, 0
%111 = getelementptr inbounds %struct.TYPE_18__, ptr %20, i64 0, i32 1
br label %112
112: ; preds = %109, %126
%113 = phi ptr [ %83, %109 ], [ %128, %126 ]
%114 = phi i64 [ 0, %109 ], [ %129, %126 ]
br i1 %110, label %126, label %115
115: ; preds = %112, %115
%116 = phi ptr [ %123, %115 ], [ %113, %112 ]
%117 = phi i64 [ %124, %115 ], [ 0, %112 ]
%118 = load i32, ptr %116, align 4, !tbaa !24
%119 = sext i32 %118 to i64
%120 = load i64, ptr %111, align 8, !tbaa !47
%121 = add nsw i64 %120, %119
%122 = tail call i32 @opj_int_clamp(i64 noundef %121, i32 noundef %99, i32 noundef %100) #2
store i32 %122, ptr %116, align 4, !tbaa !24
%123 = getelementptr inbounds i32, ptr %116, i64 1
%124 = add nuw i64 %117, 1
%125 = icmp eq i64 %124, %81
br i1 %125, label %126, label %115, !llvm.loop !48
126: ; preds = %115, %112
%127 = phi ptr [ %113, %112 ], [ %123, %115 ]
%128 = getelementptr inbounds i32, ptr %127, i64 %84
%129 = add nuw i64 %114, 1
%130 = icmp eq i64 %129, %82
br i1 %130, label %165, label %112, !llvm.loop !50
131: ; preds = %105, %160
%132 = phi ptr [ %83, %105 ], [ %162, %160 ]
%133 = phi i64 [ 0, %105 ], [ %163, %160 ]
br i1 %106, label %160, label %134
134: ; preds = %131
%135 = load i64, ptr @INT_MAX, align 8, !tbaa !51
br label %136
136: ; preds = %134, %155
%137 = phi i64 [ %156, %155 ], [ %135, %134 ]
%138 = phi ptr [ %157, %155 ], [ %132, %134 ]
%139 = phi i64 [ %158, %155 ], [ 0, %134 ]
%140 = load i64, ptr %138, align 8, !tbaa !51
%141 = icmp sgt i64 %140, %137
br i1 %141, label %142, label %143
142: ; preds = %136
store i32 %100, ptr %138, align 4, !tbaa !24
br label %155
143: ; preds = %136
%144 = load i64, ptr @INT_MIN, align 8, !tbaa !51
%145 = icmp slt i64 %140, %144
br i1 %145, label %146, label %147
146: ; preds = %143
store i32 %99, ptr %138, align 4, !tbaa !24
br label %155
147: ; preds = %143
%148 = tail call i32 @opj_lrintf(i64 noundef %140) #2
%149 = sext i32 %148 to i64
%150 = load i64, ptr %107, align 8, !tbaa !47
%151 = add nsw i64 %150, %149
%152 = tail call i64 @opj_int64_clamp(i64 noundef %151, i32 noundef %99, i32 noundef %100) #2
%153 = trunc i64 %152 to i32
store i32 %153, ptr %138, align 4, !tbaa !24
%154 = load i64, ptr @INT_MAX, align 8, !tbaa !51
br label %155
155: ; preds = %146, %147, %142
%156 = phi i64 [ %137, %146 ], [ %154, %147 ], [ %137, %142 ]
%157 = getelementptr inbounds i32, ptr %138, i64 1
%158 = add nuw i64 %139, 1
%159 = icmp eq i64 %158, %81
br i1 %159, label %160, label %136, !llvm.loop !52
160: ; preds = %155, %131
%161 = phi ptr [ %132, %131 ], [ %157, %155 ]
%162 = getelementptr inbounds i32, ptr %161, i64 %84
%163 = add nuw i64 %133, 1
%164 = icmp eq i64 %163, %82
br i1 %164, label %165, label %131, !llvm.loop !53
165: ; preds = %160, %126, %104, %108, %24
%166 = add nuw i64 %18, 1
%167 = getelementptr inbounds %struct.TYPE_19__, ptr %21, i64 1
%168 = getelementptr inbounds %struct.TYPE_18__, ptr %20, i64 1
%169 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 1
%170 = load i64, ptr %4, align 8, !tbaa !13
%171 = icmp ult i64 %166, %170
br i1 %171, label %17, label %172, !llvm.loop !54
172: ; preds = %165, %1
%173 = load i32, ptr @OPJ_TRUE, align 4, !tbaa !24
ret i32 %173
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @opj_int_clamp(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @opj_lrintf(i64 noundef) local_unnamed_addr #1
declare i64 @opj_int64_clamp(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_11__", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_15__", !15, i64 0, !10, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !10, i64 16}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_13__", !10, i64 0}
!19 = !{!6, !10, i64 24}
!20 = !{!21, !10, i64 0}
!21 = !{!"TYPE_12__", !10, i64 0}
!22 = !{!14, !10, i64 8}
!23 = !{!6, !10, i64 8}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !10, i64 32}
!26 = !{!"TYPE_14__", !10, i64 0, !7, i64 8, !10, i64 16, !15, i64 24, !10, i64 32}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_19__", !7, i64 0, !7, i64 4, !15, i64 8}
!29 = !{!6, !7, i64 0}
!30 = !{!31, !15, i64 0}
!31 = !{!"TYPE_17__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56}
!32 = !{!31, !15, i64 8}
!33 = !{!31, !15, i64 16}
!34 = !{!31, !15, i64 24}
!35 = !{!26, !10, i64 0}
!36 = !{!31, !15, i64 40}
!37 = !{!31, !15, i64 32}
!38 = !{!31, !15, i64 56}
!39 = !{!31, !15, i64 48}
!40 = !{!26, !7, i64 8}
!41 = !{!26, !10, i64 16}
!42 = !{!26, !15, i64 24}
!43 = !{!28, !15, i64 8}
!44 = !{!28, !7, i64 4}
!45 = !{!46, !7, i64 0}
!46 = !{!"TYPE_18__", !7, i64 0, !15, i64 8}
!47 = !{!46, !15, i64 8}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = !{!15, !15, i64 0}
!52 = distinct !{!52, !49}
!53 = distinct !{!53, !49}
!54 = distinct !{!54, !49}
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_tcd.c_opj_tcd_dc_level_shift_decode.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_tcd.c_opj_tcd_dc_level_shift_decode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i64, i64, i64, i64, i64, i64, i64, i64 }
@INT_MAX = common local_unnamed_addr global i64 0, align 8
@INT_MIN = common local_unnamed_addr global i64 0, align 8
@OPJ_TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @opj_tcd_dc_level_shift_decode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @opj_tcd_dc_level_shift_decode(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 32
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = icmp eq i64 %5, 0
br i1 %6, label %172, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !17
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load ptr, ptr %11, align 8, !tbaa !20
%13 = load ptr, ptr %12, align 8, !tbaa !21
%14 = getelementptr inbounds i8, ptr %4, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !23
%16 = getelementptr inbounds i8, ptr %0, i64 8
br label %17
17: ; preds = %7, %165
%18 = phi i64 [ 0, %7 ], [ %166, %165 ]
%19 = phi ptr [ %15, %7 ], [ %169, %165 ]
%20 = phi ptr [ %13, %7 ], [ %168, %165 ]
%21 = phi ptr [ %10, %7 ], [ %167, %165 ]
%22 = load ptr, ptr %16, align 8, !tbaa !24
%23 = icmp eq ptr %22, null
br i1 %23, label %28, label %24
24: ; preds = %17
%25 = getelementptr inbounds i32, ptr %22, i64 %18
%26 = load i32, ptr %25, align 4, !tbaa !25
%27 = icmp eq i32 %26, 0
br i1 %27, label %165, label %28
28: ; preds = %24, %17
%29 = getelementptr inbounds i8, ptr %19, i64 32
%30 = load ptr, ptr %29, align 8, !tbaa !26
%31 = load i32, ptr %21, align 8, !tbaa !28
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 %32
%34 = load i32, ptr %0, align 8, !tbaa !30
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %47
36: ; preds = %28
%37 = load i64, ptr %33, align 8, !tbaa !31
%38 = getelementptr inbounds i8, ptr %33, i64 8
%39 = load i64, ptr %38, align 8, !tbaa !33
%40 = sub i64 %37, %39
%41 = getelementptr inbounds i8, ptr %33, i64 16
%42 = load i64, ptr %41, align 8, !tbaa !34
%43 = getelementptr inbounds i8, ptr %33, i64 24
%44 = load i64, ptr %43, align 8, !tbaa !35
%45 = sub i64 %42, %44
%46 = load ptr, ptr %19, align 8, !tbaa !36
br label %80
47: ; preds = %28
%48 = getelementptr inbounds i8, ptr %33, i64 40
%49 = load i64, ptr %48, align 8, !tbaa !37
%50 = getelementptr inbounds i8, ptr %33, i64 32
%51 = load i64, ptr %50, align 8, !tbaa !38
%52 = sub nsw i64 %49, %51
%53 = getelementptr inbounds i8, ptr %33, i64 56
%54 = load i64, ptr %53, align 8, !tbaa !39
%55 = getelementptr inbounds i8, ptr %33, i64 48
%56 = load i64, ptr %55, align 8, !tbaa !40
%57 = sub nsw i64 %54, %56
%58 = getelementptr inbounds i8, ptr %19, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !41
%60 = sext i32 %59 to i64
%61 = getelementptr %struct.TYPE_17__, ptr %30, i64 %60
%62 = getelementptr i8, ptr %61, i64 -24
%63 = load i64, ptr %62, align 8, !tbaa !37
%64 = getelementptr i8, ptr %61, i64 -32
%65 = load i64, ptr %64, align 8, !tbaa !38
%66 = sub nsw i64 %63, %65
%67 = sub i64 %66, %52
%68 = getelementptr inbounds i8, ptr %19, i64 16
%69 = load ptr, ptr %68, align 8, !tbaa !42
%70 = icmp eq i64 %57, 0
br i1 %70, label %76, label %71
71: ; preds = %47
%72 = getelementptr inbounds i8, ptr %19, i64 24
%73 = load i64, ptr %72, align 8, !tbaa !43
%74 = udiv i64 %73, %57
%75 = icmp ule i64 %66, %74
br label %76
76: ; preds = %71, %47
%77 = phi i1 [ true, %47 ], [ %75, %71 ]
%78 = zext i1 %77 to i32
%79 = tail call i32 @assert(i32 noundef %78) #2
br label %80
80: ; preds = %76, %36
%81 = phi i64 [ %52, %76 ], [ %40, %36 ]
%82 = phi i64 [ %57, %76 ], [ %45, %36 ]
%83 = phi ptr [ %69, %76 ], [ %46, %36 ]
%84 = phi i64 [ %67, %76 ], [ 0, %36 ]
%85 = getelementptr inbounds i8, ptr %21, i64 8
%86 = load i64, ptr %85, align 8, !tbaa !44
%87 = icmp eq i64 %86, 0
%88 = getelementptr inbounds i8, ptr %21, i64 4
%89 = load i32, ptr %88, align 4, !tbaa !45
br i1 %87, label %95, label %90
90: ; preds = %80
%91 = add nsw i32 %89, -1
%92 = shl nuw i32 1, %91
%93 = sub nsw i32 0, %92
%94 = add nsw i32 %92, -1
br label %98
95: ; preds = %80
%96 = shl nsw i32 -1, %89
%97 = xor i32 %96, -1
br label %98
98: ; preds = %95, %90
%99 = phi i32 [ %93, %90 ], [ 0, %95 ]
%100 = phi i32 [ %94, %90 ], [ %97, %95 ]
%101 = load i32, ptr %20, align 8, !tbaa !46
%102 = icmp eq i32 %101, 1
%103 = icmp eq i64 %82, 0
br i1 %102, label %108, label %104
104: ; preds = %98
br i1 %103, label %165, label %105
105: ; preds = %104
%106 = icmp eq i64 %81, 0
%107 = getelementptr inbounds i8, ptr %20, i64 8
br label %131
108: ; preds = %98
br i1 %103, label %165, label %109
109: ; preds = %108
%110 = icmp eq i64 %81, 0
%111 = getelementptr inbounds i8, ptr %20, i64 8
br label %112
112: ; preds = %109, %126
%113 = phi ptr [ %83, %109 ], [ %128, %126 ]
%114 = phi i64 [ 0, %109 ], [ %129, %126 ]
br i1 %110, label %126, label %115
115: ; preds = %112, %115
%116 = phi ptr [ %123, %115 ], [ %113, %112 ]
%117 = phi i64 [ %124, %115 ], [ 0, %112 ]
%118 = load i32, ptr %116, align 4, !tbaa !25
%119 = sext i32 %118 to i64
%120 = load i64, ptr %111, align 8, !tbaa !48
%121 = add nsw i64 %120, %119
%122 = tail call i32 @opj_int_clamp(i64 noundef %121, i32 noundef %99, i32 noundef %100) #2
store i32 %122, ptr %116, align 4, !tbaa !25
%123 = getelementptr inbounds i8, ptr %116, i64 4
%124 = add nuw i64 %117, 1
%125 = icmp eq i64 %124, %81
br i1 %125, label %126, label %115, !llvm.loop !49
126: ; preds = %115, %112
%127 = phi ptr [ %113, %112 ], [ %123, %115 ]
%128 = getelementptr inbounds i32, ptr %127, i64 %84
%129 = add nuw i64 %114, 1
%130 = icmp eq i64 %129, %82
br i1 %130, label %165, label %112, !llvm.loop !51
131: ; preds = %105, %160
%132 = phi ptr [ %83, %105 ], [ %162, %160 ]
%133 = phi i64 [ 0, %105 ], [ %163, %160 ]
br i1 %106, label %160, label %134
134: ; preds = %131
%135 = load i64, ptr @INT_MAX, align 8, !tbaa !52
br label %136
136: ; preds = %134, %155
%137 = phi i64 [ %156, %155 ], [ %135, %134 ]
%138 = phi ptr [ %157, %155 ], [ %132, %134 ]
%139 = phi i64 [ %158, %155 ], [ 0, %134 ]
%140 = load i64, ptr %138, align 8, !tbaa !52
%141 = icmp sgt i64 %140, %137
br i1 %141, label %142, label %143
142: ; preds = %136
store i32 %100, ptr %138, align 4, !tbaa !25
br label %155
143: ; preds = %136
%144 = load i64, ptr @INT_MIN, align 8, !tbaa !52
%145 = icmp slt i64 %140, %144
br i1 %145, label %146, label %147
146: ; preds = %143
store i32 %99, ptr %138, align 4, !tbaa !25
br label %155
147: ; preds = %143
%148 = tail call i32 @opj_lrintf(i64 noundef %140) #2
%149 = sext i32 %148 to i64
%150 = load i64, ptr %107, align 8, !tbaa !48
%151 = add nsw i64 %150, %149
%152 = tail call i64 @opj_int64_clamp(i64 noundef %151, i32 noundef %99, i32 noundef %100) #2
%153 = trunc i64 %152 to i32
store i32 %153, ptr %138, align 4, !tbaa !25
%154 = load i64, ptr @INT_MAX, align 8, !tbaa !52
br label %155
155: ; preds = %146, %147, %142
%156 = phi i64 [ %137, %146 ], [ %154, %147 ], [ %137, %142 ]
%157 = getelementptr inbounds i8, ptr %138, i64 4
%158 = add nuw i64 %139, 1
%159 = icmp eq i64 %158, %81
br i1 %159, label %160, label %136, !llvm.loop !53
160: ; preds = %155, %131
%161 = phi ptr [ %132, %131 ], [ %157, %155 ]
%162 = getelementptr inbounds i32, ptr %161, i64 %84
%163 = add nuw i64 %133, 1
%164 = icmp eq i64 %163, %82
br i1 %164, label %165, label %131, !llvm.loop !54
165: ; preds = %160, %126, %104, %108, %24
%166 = add nuw i64 %18, 1
%167 = getelementptr inbounds i8, ptr %21, i64 16
%168 = getelementptr inbounds i8, ptr %20, i64 16
%169 = getelementptr inbounds i8, ptr %19, i64 40
%170 = load i64, ptr %4, align 8, !tbaa !14
%171 = icmp ult i64 %166, %170
br i1 %171, label %17, label %172, !llvm.loop !55
172: ; preds = %165, %1
%173 = load i32, ptr @OPJ_TRUE, align 4, !tbaa !25
ret i32 %173
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @opj_int_clamp(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @opj_lrintf(i64 noundef) local_unnamed_addr #1
declare i64 @opj_int64_clamp(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!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_11__", !11, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_15__", !16, i64 0, !11, i64 8}
!16 = !{!"long", !9, i64 0}
!17 = !{!7, !11, i64 16}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_13__", !11, i64 0}
!20 = !{!7, !11, i64 24}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_12__", !11, i64 0}
!23 = !{!15, !11, i64 8}
!24 = !{!7, !11, i64 8}
!25 = !{!8, !8, i64 0}
!26 = !{!27, !11, i64 32}
!27 = !{!"TYPE_14__", !11, i64 0, !8, i64 8, !11, i64 16, !16, i64 24, !11, i64 32}
!28 = !{!29, !8, i64 0}
!29 = !{!"TYPE_19__", !8, i64 0, !8, i64 4, !16, i64 8}
!30 = !{!7, !8, i64 0}
!31 = !{!32, !16, i64 0}
!32 = !{!"TYPE_17__", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56}
!33 = !{!32, !16, i64 8}
!34 = !{!32, !16, i64 16}
!35 = !{!32, !16, i64 24}
!36 = !{!27, !11, i64 0}
!37 = !{!32, !16, i64 40}
!38 = !{!32, !16, i64 32}
!39 = !{!32, !16, i64 56}
!40 = !{!32, !16, i64 48}
!41 = !{!27, !8, i64 8}
!42 = !{!27, !11, i64 16}
!43 = !{!27, !16, i64 24}
!44 = !{!29, !16, i64 8}
!45 = !{!29, !8, i64 4}
!46 = !{!47, !8, i64 0}
!47 = !{!"TYPE_18__", !8, i64 0, !16, i64 8}
!48 = !{!47, !16, i64 8}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = distinct !{!51, !50}
!52 = !{!16, !16, i64 0}
!53 = distinct !{!53, !50}
!54 = distinct !{!54, !50}
!55 = distinct !{!55, !50}
|
sumatrapdf_ext_openjpeg_src_lib_openjp2_extr_tcd.c_opj_tcd_dc_level_shift_decode
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/amdtemp/extr_amdtemp.c_amdtemp_decode_fam10h_to_16h.c'
source_filename = "AnghaBench/freebsd/sys/dev/amdtemp/extr_amdtemp.c_amdtemp_decode_fam10h_to_16h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AMDTEMP_REPTMP10H_CURTMP_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_CURTMP_MASK = dso_local local_unnamed_addr global i32 0, align 4
@cpu_id = dso_local local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_TJSEL_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_TJSEL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@AMDTEMP_CURTMP_RANGE_ADJUST = dso_local local_unnamed_addr global i64 0, align 8
@AMDTEMP_ZERO_C_TO_K = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @amdtemp_decode_fam10h_to_16h], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @amdtemp_decode_fam10h_to_16h(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AMDTEMP_REPTMP10H_CURTMP_SHIFT, align 4, !tbaa !5
%4 = ashr i32 %1, %3
%5 = load i32, ptr @AMDTEMP_REPTMP10H_CURTMP_MASK, align 4, !tbaa !5
%6 = and i32 %4, %5
%7 = mul nsw i32 %6, 5
%8 = sdiv i32 %7, 4
%9 = load i32, ptr @cpu_id, align 4, !tbaa !5
%10 = tail call i32 @CPUID_TO_FAMILY(i32 noundef %9) #2
%11 = icmp sgt i32 %10, 20
br i1 %11, label %12, label %22
12: ; preds = %2
%13 = load i32, ptr @AMDTEMP_REPTMP10H_TJSEL_SHIFT, align 4, !tbaa !5
%14 = ashr i32 %1, %13
%15 = load i32, ptr @AMDTEMP_REPTMP10H_TJSEL_MASK, align 4, !tbaa !5
%16 = and i32 %14, %15
%17 = icmp eq i32 %16, 3
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load i64, ptr @AMDTEMP_CURTMP_RANGE_ADJUST, align 8, !tbaa !9
%20 = trunc i64 %19 to i32
%21 = sub i32 %8, %20
br label %22
22: ; preds = %18, %12, %2
%23 = phi i32 [ %21, %18 ], [ %8, %12 ], [ %8, %2 ]
%24 = load i64, ptr @AMDTEMP_ZERO_C_TO_K, align 8, !tbaa !9
%25 = mul nsw i32 %0, 10
%26 = trunc i64 %24 to i32
%27 = add i32 %23, %25
%28 = add i32 %27, %26
ret i32 %28
}
declare i32 @CPUID_TO_FAMILY(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/amdtemp/extr_amdtemp.c_amdtemp_decode_fam10h_to_16h.c'
source_filename = "AnghaBench/freebsd/sys/dev/amdtemp/extr_amdtemp.c_amdtemp_decode_fam10h_to_16h.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AMDTEMP_REPTMP10H_CURTMP_SHIFT = common local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_CURTMP_MASK = common local_unnamed_addr global i32 0, align 4
@cpu_id = common local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_TJSEL_SHIFT = common local_unnamed_addr global i32 0, align 4
@AMDTEMP_REPTMP10H_TJSEL_MASK = common local_unnamed_addr global i32 0, align 4
@AMDTEMP_CURTMP_RANGE_ADJUST = common local_unnamed_addr global i64 0, align 8
@AMDTEMP_ZERO_C_TO_K = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @amdtemp_decode_fam10h_to_16h], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @amdtemp_decode_fam10h_to_16h(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AMDTEMP_REPTMP10H_CURTMP_SHIFT, align 4, !tbaa !6
%4 = ashr i32 %1, %3
%5 = load i32, ptr @AMDTEMP_REPTMP10H_CURTMP_MASK, align 4, !tbaa !6
%6 = and i32 %4, %5
%7 = mul nsw i32 %6, 5
%8 = sdiv i32 %7, 4
%9 = load i32, ptr @cpu_id, align 4, !tbaa !6
%10 = tail call i32 @CPUID_TO_FAMILY(i32 noundef %9) #2
%11 = icmp sgt i32 %10, 20
br i1 %11, label %12, label %22
12: ; preds = %2
%13 = load i32, ptr @AMDTEMP_REPTMP10H_TJSEL_SHIFT, align 4, !tbaa !6
%14 = ashr i32 %1, %13
%15 = load i32, ptr @AMDTEMP_REPTMP10H_TJSEL_MASK, align 4, !tbaa !6
%16 = and i32 %14, %15
%17 = icmp eq i32 %16, 3
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load i64, ptr @AMDTEMP_CURTMP_RANGE_ADJUST, align 8, !tbaa !10
%20 = trunc i64 %19 to i32
%21 = sub i32 %8, %20
br label %22
22: ; preds = %18, %12, %2
%23 = phi i32 [ %21, %18 ], [ %8, %12 ], [ %8, %2 ]
%24 = load i64, ptr @AMDTEMP_ZERO_C_TO_K, align 8, !tbaa !10
%25 = mul nsw i32 %0, 10
%26 = trunc i64 %24 to i32
%27 = add i32 %23, %25
%28 = add i32 %27, %26
ret i32 %28
}
declare i32 @CPUID_TO_FAMILY(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
|
freebsd_sys_dev_amdtemp_extr_amdtemp.c_amdtemp_decode_fam10h_to_16h
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_sglist.c_sglist_split.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sglist.c_sglist_split.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sglist = type { i32, i32, i32, ptr }
%struct.TYPE_3__ = type { i64, i64 }
@EDOOFUS = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@EFBIG = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sglist_split(ptr nocapture noundef %0, ptr nocapture noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = icmp sgt i32 %5, 1
br i1 %6, label %15, label %7
7: ; preds = %4
%8 = getelementptr inbounds %struct.sglist, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %87
11: ; preds = %7
%12 = getelementptr inbounds %struct.sglist, ptr %0, i64 0, i32 3
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = zext nneg i32 %9 to i64
br label %19
15: ; preds = %4
%16 = load i32, ptr @EDOOFUS, align 4, !tbaa !13
br label %87
17: ; preds = %19
%18 = icmp eq i64 %25, %14
br i1 %18, label %30, label %19, !llvm.loop !14
19: ; preds = %11, %17
%20 = phi i64 [ 0, %11 ], [ %25, %17 ]
%21 = phi i64 [ 0, %11 ], [ %24, %17 ]
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %20
%23 = load i64, ptr %22, align 8, !tbaa !16
%24 = add i64 %23, %21
%25 = add nuw nsw i64 %20, 1
%26 = icmp ult i64 %24, %2
br i1 %26, label %17, label %27
27: ; preds = %19
%28 = trunc i64 %25 to i32
%29 = sub i64 %24, %2
br label %30
30: ; preds = %17, %27
%31 = phi i32 [ %28, %27 ], [ %9, %17 ]
%32 = phi i64 [ %29, %27 ], [ 0, %17 ]
%33 = load ptr, ptr %1, align 8, !tbaa !19
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = tail call ptr @sglist_alloc(i32 noundef %31, i32 noundef %3) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load i32, ptr @ENOMEM, align 4, !tbaa !13
br label %87
40: ; preds = %35
store ptr %36, ptr %1, align 8, !tbaa !19
br label %53
41: ; preds = %30
%42 = getelementptr inbounds %struct.sglist, ptr %33, i64 0, i32 2
%43 = load i32, ptr %42, align 8, !tbaa !20
%44 = icmp slt i32 %43, %31
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load i32, ptr @EFBIG, align 4, !tbaa !13
br label %87
47: ; preds = %41
%48 = getelementptr inbounds %struct.sglist, ptr %33, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !11
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %87
53: ; preds = %47, %40
%54 = phi ptr [ %36, %40 ], [ %33, %47 ]
%55 = getelementptr inbounds %struct.sglist, ptr %0, i64 0, i32 3
%56 = load ptr, ptr %55, align 8, !tbaa !12
%57 = getelementptr inbounds %struct.sglist, ptr %54, i64 0, i32 3
%58 = load ptr, ptr %57, align 8, !tbaa !12
%59 = shl i32 %31, 2
%60 = tail call i32 @bcopy(ptr noundef %56, ptr noundef %58, i32 noundef %59) #2
%61 = getelementptr inbounds %struct.sglist, ptr %54, i64 0, i32 1
store i32 %31, ptr %61, align 4, !tbaa !11
%62 = icmp eq i64 %32, 0
%63 = load ptr, ptr %55, align 8, !tbaa !12
br i1 %62, label %64, label %66
64: ; preds = %53
%65 = sext i32 %31 to i64
br label %79
66: ; preds = %53
%67 = add nsw i32 %31, -1
%68 = load ptr, ptr %57, align 8, !tbaa !12
%69 = sext i32 %67 to i64
%70 = getelementptr inbounds %struct.TYPE_3__, ptr %68, i64 %69
%71 = load i64, ptr %70, align 8, !tbaa !16
%72 = sub i64 %71, %32
store i64 %72, ptr %70, align 8, !tbaa !16
%73 = getelementptr inbounds %struct.TYPE_3__, ptr %68, i64 %69, i32 1
%74 = load i64, ptr %73, align 8, !tbaa !21
%75 = add i64 %74, %32
%76 = getelementptr inbounds %struct.TYPE_3__, ptr %63, i64 %69, i32 1
store i64 %75, ptr %76, align 8, !tbaa !21
%77 = getelementptr inbounds %struct.TYPE_3__, ptr %63, i64 %69
store i64 %32, ptr %77, align 8, !tbaa !16
%78 = shl i32 %67, 2
br label %79
79: ; preds = %64, %66
%80 = phi i64 [ %65, %64 ], [ %69, %66 ]
%81 = phi i32 [ %59, %64 ], [ %78, %66 ]
%82 = phi i32 [ %31, %64 ], [ %67, %66 ]
%83 = load i32, ptr %8, align 4, !tbaa !11
%84 = sub nsw i32 %83, %82
store i32 %84, ptr %8, align 4, !tbaa !11
%85 = getelementptr inbounds %struct.TYPE_3__, ptr %63, i64 %80
%86 = tail call i32 @bcopy(ptr noundef %85, ptr noundef %63, i32 noundef %81) #2
br label %87
87: ; preds = %7, %79, %51, %45, %38, %15
%88 = phi i32 [ %16, %15 ], [ %39, %38 ], [ 0, %79 ], [ %46, %45 ], [ %52, %51 ], [ 0, %7 ]
ret i32 %88
}
declare ptr @sglist_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcopy(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 = !{!"sglist", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 16}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_3__", !18, i64 0, !18, i64 8}
!18 = !{!"long", !8, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !7, i64 8}
!21 = !{!17, !18, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_sglist.c_sglist_split.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sglist.c_sglist_split.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 { i64, i64 }
@EDOOFUS = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@EFBIG = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sglist_split(ptr nocapture noundef %0, ptr nocapture noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = icmp sgt i32 %5, 1
br i1 %6, label %15, label %7
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %86
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = zext nneg i32 %9 to i64
br label %19
15: ; preds = %4
%16 = load i32, ptr @EDOOFUS, align 4, !tbaa !14
br label %86
17: ; preds = %19
%18 = icmp eq i64 %25, %14
br i1 %18, label %30, label %19, !llvm.loop !15
19: ; preds = %11, %17
%20 = phi i64 [ 0, %11 ], [ %25, %17 ]
%21 = phi i64 [ 0, %11 ], [ %24, %17 ]
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %20
%23 = load i64, ptr %22, align 8, !tbaa !17
%24 = add i64 %23, %21
%25 = add nuw nsw i64 %20, 1
%26 = icmp ult i64 %24, %2
br i1 %26, label %17, label %27
27: ; preds = %19
%28 = trunc i64 %25 to i32
%29 = sub i64 %24, %2
br label %30
30: ; preds = %17, %27
%31 = phi i32 [ %28, %27 ], [ %9, %17 ]
%32 = phi i64 [ %29, %27 ], [ 0, %17 ]
%33 = load ptr, ptr %1, align 8, !tbaa !20
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = tail call ptr @sglist_alloc(i32 noundef %31, i32 noundef %3) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load i32, ptr @ENOMEM, align 4, !tbaa !14
br label %86
40: ; preds = %35
store ptr %36, ptr %1, align 8, !tbaa !20
br label %53
41: ; preds = %30
%42 = getelementptr inbounds i8, ptr %33, i64 8
%43 = load i32, ptr %42, align 8, !tbaa !21
%44 = icmp slt i32 %43, %31
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load i32, ptr @EFBIG, align 4, !tbaa !14
br label %86
47: ; preds = %41
%48 = getelementptr inbounds i8, ptr %33, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !12
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = load i32, ptr @EINVAL, align 4, !tbaa !14
br label %86
53: ; preds = %47, %40
%54 = phi ptr [ %36, %40 ], [ %33, %47 ]
%55 = load ptr, ptr %12, align 8, !tbaa !13
%56 = getelementptr inbounds i8, ptr %54, i64 16
%57 = load ptr, ptr %56, align 8, !tbaa !13
%58 = shl i32 %31, 2
%59 = tail call i32 @bcopy(ptr noundef %55, ptr noundef %57, i32 noundef %58) #2
%60 = getelementptr inbounds i8, ptr %54, i64 4
store i32 %31, ptr %60, align 4, !tbaa !12
%61 = icmp eq i64 %32, 0
%62 = load ptr, ptr %12, align 8, !tbaa !13
br i1 %61, label %63, label %65
63: ; preds = %53
%64 = sext i32 %31 to i64
br label %78
65: ; preds = %53
%66 = add nsw i32 %31, -1
%67 = load ptr, ptr %56, align 8, !tbaa !13
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds %struct.TYPE_3__, ptr %67, i64 %68
%70 = load i64, ptr %69, align 8, !tbaa !17
%71 = sub i64 %70, %32
store i64 %71, ptr %69, align 8, !tbaa !17
%72 = getelementptr inbounds %struct.TYPE_3__, ptr %67, i64 %68, i32 1
%73 = load i64, ptr %72, align 8, !tbaa !22
%74 = add i64 %73, %32
%75 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i64 %68, i32 1
store i64 %74, ptr %75, align 8, !tbaa !22
%76 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i64 %68
store i64 %32, ptr %76, align 8, !tbaa !17
%77 = shl i32 %66, 2
br label %78
78: ; preds = %63, %65
%79 = phi i64 [ %64, %63 ], [ %68, %65 ]
%80 = phi i32 [ %58, %63 ], [ %77, %65 ]
%81 = phi i32 [ %31, %63 ], [ %66, %65 ]
%82 = load i32, ptr %8, align 4, !tbaa !12
%83 = sub nsw i32 %82, %81
store i32 %83, ptr %8, align 4, !tbaa !12
%84 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i64 %79
%85 = tail call i32 @bcopy(ptr noundef %84, ptr noundef %62, i32 noundef %80) #2
br label %86
86: ; preds = %7, %78, %51, %45, %38, %15
%87 = phi i32 [ %16, %15 ], [ %39, %38 ], [ 0, %78 ], [ %46, %45 ], [ %52, %51 ], [ 0, %7 ]
ret i32 %87
}
declare ptr @sglist_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcopy(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 = !{!"sglist", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 16}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_3__", !19, i64 0, !19, i64 8}
!19 = !{!"long", !9, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !8, i64 8}
!22 = !{!18, !19, i64 8}
|
freebsd_sys_kern_extr_subr_sglist.c_sglist_split
|
; ModuleID = 'AnghaBench/linux/drivers/nfc/microread/extr_i2c.c_microread_i2c_read.c'
source_filename = "AnghaBench/linux/drivers/nfc/microread/extr_i2c.c_microread_i2c_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"
@MICROREAD_I2C_LLC_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"cannot read len byte\0A\00", align 1
@EREMOTEIO = dso_local local_unnamed_addr global i32 0, align 4
@MICROREAD_I2C_LLC_MIN_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"invalid len byte\0A\00", align 1
@EBADMSG = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"cc frame read\00", align 1
@MICROREAD_I2C_FRAME_TAILROOM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @microread_i2c_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @microread_i2c_read(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = load i32, ptr @MICROREAD_I2C_LLC_MAX_SIZE, align 4, !tbaa !5
%5 = add nsw i32 %4, -1
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i32, i64 %6, align 16
%9 = load ptr, ptr %0, align 8, !tbaa !9
%10 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef nonnull %3, i32 noundef 1) #4
%11 = icmp eq i32 %10, 1
br i1 %11, label %16, label %12
12: ; preds = %2
%13 = call i32 @nfc_err(ptr noundef %9, ptr noundef nonnull @.str) #4
%14 = load i32, ptr @EREMOTEIO, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %71
16: ; preds = %2
%17 = load i32, ptr %3, align 4, !tbaa !5
%18 = load i32, ptr @MICROREAD_I2C_LLC_MIN_SIZE, align 4, !tbaa !5
%19 = icmp slt i32 %17, %18
%20 = load i32, ptr @MICROREAD_I2C_LLC_MAX_SIZE, align 4
%21 = icmp sgt i32 %17, %20
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @nfc_err(ptr noundef %9, ptr noundef nonnull @.str.1) #4
br label %61
25: ; preds = %16
%26 = add nsw i32 %17, 1
%27 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%28 = call ptr @alloc_skb(i32 noundef %26, i32 noundef %27) #4
store ptr %28, ptr %1, align 8, !tbaa !12
%29 = icmp eq ptr %28, null
br i1 %29, label %61, label %30
30: ; preds = %25
%31 = load i32, ptr %3, align 4, !tbaa !5
%32 = call i32 @skb_put_u8(ptr noundef nonnull %28, i32 noundef %31) #4
%33 = load ptr, ptr %1, align 8, !tbaa !12
%34 = load i32, ptr %3, align 4, !tbaa !5
%35 = call ptr @skb_put(ptr noundef %33, i32 noundef %34) #4
%36 = load i32, ptr %3, align 4, !tbaa !5
%37 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef %35, i32 noundef %36) #4
%38 = load i32, ptr %3, align 4, !tbaa !5
%39 = icmp eq i32 %37, %38
%40 = load ptr, ptr %1, align 8, !tbaa !12
br i1 %39, label %45, label %41
41: ; preds = %30
%42 = call i32 @kfree_skb(ptr noundef %40) #4
%43 = load i32, ptr @EREMOTEIO, align 4, !tbaa !5
%44 = sub nsw i32 0, %43
br label %71
45: ; preds = %30
%46 = call i32 @I2C_DUMP_SKB(ptr noundef nonnull @.str.2, ptr noundef %40) #4
%47 = load ptr, ptr %1, align 8, !tbaa !12
%48 = call i32 @check_crc(ptr noundef %47) #4
%49 = icmp eq i32 %48, 0
%50 = load ptr, ptr %1, align 8, !tbaa !12
br i1 %49, label %53, label %51
51: ; preds = %45
%52 = call i32 @kfree_skb(ptr noundef %50) #4
br label %61
53: ; preds = %45
%54 = call i32 @skb_pull(ptr noundef %50, i32 noundef 1) #4
%55 = load ptr, ptr %1, align 8, !tbaa !12
%56 = load i64, ptr %55, align 8, !tbaa !13
%57 = load i64, ptr @MICROREAD_I2C_FRAME_TAILROOM, align 8, !tbaa !16
%58 = sub nsw i64 %56, %57
%59 = call i32 @skb_trim(ptr noundef nonnull %55, i64 noundef %58) #4
%60 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 6000) #4
br label %71
61: ; preds = %25, %51, %23
%62 = phi ptr [ @EBADMSG, %23 ], [ @EBADMSG, %51 ], [ @ENOMEM, %25 ]
%63 = load i32, ptr %62, align 4, !tbaa !5
%64 = shl i32 %5, 2
%65 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef nonnull %8, i32 noundef %64) #4
%66 = icmp slt i32 %65, 0
%67 = load i32, ptr @EREMOTEIO, align 4
%68 = select i1 %66, i32 %67, i32 %63
%69 = sub nsw i32 0, %68
%70 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 6000) #4
br label %71
71: ; preds = %61, %53, %41, %12
%72 = phi i32 [ %15, %12 ], [ %69, %61 ], [ %44, %41 ], [ 0, %53 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @i2c_master_recv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @nfc_err(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @skb_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #3
declare i32 @I2C_DUMP_SKB(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @check_crc(ptr noundef) local_unnamed_addr #3
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @skb_trim(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"microread_i2c_phy", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"sk_buff", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/nfc/microread/extr_i2c.c_microread_i2c_read.c'
source_filename = "AnghaBench/linux/drivers/nfc/microread/extr_i2c.c_microread_i2c_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MICROREAD_I2C_LLC_MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"cannot read len byte\0A\00", align 1
@EREMOTEIO = common local_unnamed_addr global i32 0, align 4
@MICROREAD_I2C_LLC_MIN_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"invalid len byte\0A\00", align 1
@EBADMSG = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"cc frame read\00", align 1
@MICROREAD_I2C_FRAME_TAILROOM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @microread_i2c_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @microread_i2c_read(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = load i32, ptr @MICROREAD_I2C_LLC_MAX_SIZE, align 4, !tbaa !6
%5 = add nsw i32 %4, -1
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i32, i64 %6, align 4
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef nonnull %3, i32 noundef 1) #4
%11 = icmp eq i32 %10, 1
br i1 %11, label %16, label %12
12: ; preds = %2
%13 = call i32 @nfc_err(ptr noundef %9, ptr noundef nonnull @.str) #4
%14 = load i32, ptr @EREMOTEIO, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %71
16: ; preds = %2
%17 = load i32, ptr %3, align 4, !tbaa !6
%18 = load i32, ptr @MICROREAD_I2C_LLC_MIN_SIZE, align 4, !tbaa !6
%19 = icmp slt i32 %17, %18
%20 = load i32, ptr @MICROREAD_I2C_LLC_MAX_SIZE, align 4
%21 = icmp sgt i32 %17, %20
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @nfc_err(ptr noundef %9, ptr noundef nonnull @.str.1) #4
br label %61
25: ; preds = %16
%26 = add nsw i32 %17, 1
%27 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%28 = call ptr @alloc_skb(i32 noundef %26, i32 noundef %27) #4
store ptr %28, ptr %1, align 8, !tbaa !13
%29 = icmp eq ptr %28, null
br i1 %29, label %61, label %30
30: ; preds = %25
%31 = load i32, ptr %3, align 4, !tbaa !6
%32 = call i32 @skb_put_u8(ptr noundef nonnull %28, i32 noundef %31) #4
%33 = load ptr, ptr %1, align 8, !tbaa !13
%34 = load i32, ptr %3, align 4, !tbaa !6
%35 = call ptr @skb_put(ptr noundef %33, i32 noundef %34) #4
%36 = load i32, ptr %3, align 4, !tbaa !6
%37 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef %35, i32 noundef %36) #4
%38 = load i32, ptr %3, align 4, !tbaa !6
%39 = icmp eq i32 %37, %38
%40 = load ptr, ptr %1, align 8, !tbaa !13
br i1 %39, label %45, label %41
41: ; preds = %30
%42 = call i32 @kfree_skb(ptr noundef %40) #4
%43 = load i32, ptr @EREMOTEIO, align 4, !tbaa !6
%44 = sub nsw i32 0, %43
br label %71
45: ; preds = %30
%46 = call i32 @I2C_DUMP_SKB(ptr noundef nonnull @.str.2, ptr noundef %40) #4
%47 = load ptr, ptr %1, align 8, !tbaa !13
%48 = call i32 @check_crc(ptr noundef %47) #4
%49 = icmp eq i32 %48, 0
%50 = load ptr, ptr %1, align 8, !tbaa !13
br i1 %49, label %53, label %51
51: ; preds = %45
%52 = call i32 @kfree_skb(ptr noundef %50) #4
br label %61
53: ; preds = %45
%54 = call i32 @skb_pull(ptr noundef %50, i32 noundef 1) #4
%55 = load ptr, ptr %1, align 8, !tbaa !13
%56 = load i64, ptr %55, align 8, !tbaa !14
%57 = load i64, ptr @MICROREAD_I2C_FRAME_TAILROOM, align 8, !tbaa !17
%58 = sub nsw i64 %56, %57
%59 = call i32 @skb_trim(ptr noundef nonnull %55, i64 noundef %58) #4
%60 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 6000) #4
br label %71
61: ; preds = %25, %51, %23
%62 = phi ptr [ @EBADMSG, %23 ], [ @EBADMSG, %51 ], [ @ENOMEM, %25 ]
%63 = load i32, ptr %62, align 4, !tbaa !6
%64 = shl i32 %5, 2
%65 = call i32 @i2c_master_recv(ptr noundef %9, ptr noundef nonnull %8, i32 noundef %64) #4
%66 = icmp slt i32 %65, 0
%67 = load i32, ptr @EREMOTEIO, align 4
%68 = select i1 %66, i32 %67, i32 %63
%69 = sub nsw i32 0, %68
%70 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 6000) #4
br label %71
71: ; preds = %61, %53, %41, %12
%72 = phi i32 [ %15, %12 ], [ %69, %61 ], [ %44, %41 ], [ 0, %53 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @i2c_master_recv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @nfc_err(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @skb_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #3
declare i32 @I2C_DUMP_SKB(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @check_crc(ptr noundef) local_unnamed_addr #3
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @skb_trim(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"microread_i2c_phy", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"sk_buff", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!16, !16, i64 0}
|
linux_drivers_nfc_microread_extr_i2c.c_microread_i2c_read
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/v3d/extr_v3d_drv.h_to_v3d_dev.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/v3d/extr_v3d_drv.h_to_v3d_dev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @to_v3d_dev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @to_v3d_dev(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
ret ptr %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/v3d/extr_v3d_drv.h_to_v3d_dev.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/v3d/extr_v3d_drv.h_to_v3d_dev.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 @to_v3d_dev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @to_v3d_dev(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
ret ptr %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_v3d_extr_v3d_drv.h_to_v3d_dev
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_rndis.c_hn_rndis_get_mtu.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_rndis.c_hn_rndis_get_mtu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OID_GEN_MAXIMUM_FRAME_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"invalid mtu len %zu\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @hn_rndis_get_mtu(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 4, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr @OID_GEN_MAXIMUM_FRAME_SIZE, align 4, !tbaa !9
%5 = call i32 @hn_rndis_query(ptr noundef %0, i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef %1, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load i64, ptr %3, align 8, !tbaa !5
%9 = icmp eq i64 %8, 4
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = load i32, ptr %0, align 4, !tbaa !11
%12 = call i32 @if_printf(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %8) #3
%13 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %14
14: ; preds = %7, %2, %10
%15 = phi i32 [ %13, %10 ], [ %5, %2 ], [ 0, %7 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hn_rndis_query(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @if_printf(i32 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"hn_softc", !10, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_rndis.c_hn_rndis_get_mtu.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_rndis.c_hn_rndis_get_mtu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OID_GEN_MAXIMUM_FRAME_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"invalid mtu len %zu\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @hn_rndis_get_mtu(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 4, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr @OID_GEN_MAXIMUM_FRAME_SIZE, align 4, !tbaa !10
%5 = call i32 @hn_rndis_query(ptr noundef %0, i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef %1, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load i64, ptr %3, align 8, !tbaa !6
%9 = icmp eq i64 %8, 4
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = load i32, ptr %0, align 4, !tbaa !12
%12 = call i32 @if_printf(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %8) #3
%13 = load i32, ptr @EINVAL, align 4, !tbaa !10
br label %14
14: ; preds = %7, %2, %10
%15 = phi i32 [ %13, %10 ], [ %5, %2 ], [ 0, %7 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hn_rndis_query(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @if_printf(i32 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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"hn_softc", !11, i64 0}
|
freebsd_sys_dev_hyperv_netvsc_extr_hn_rndis.c_hn_rndis_get_mtu
|
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_remove.c'
source_filename = "AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_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.irq_domain = type { i32, ptr, i32, i32 }
@irq_domain_mutex = dso_local global i32 0, align 4
@irq_default_domain = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c"Removed domain %s\0A\00", align 1
@IRQ_DOMAIN_NAME_ALLOCATED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @irq_domain_remove(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef nonnull @irq_domain_mutex) #2
%3 = tail call i32 @debugfs_remove_domain_dir(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.irq_domain, ptr %0, i64 0, i32 3
%5 = tail call i32 @radix_tree_empty(ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @WARN_ON(i32 noundef %7) #2
%9 = getelementptr inbounds %struct.irq_domain, ptr %0, i64 0, i32 2
%10 = tail call i32 @list_del(ptr noundef nonnull %9) #2
%11 = load ptr, ptr @irq_default_domain, align 8, !tbaa !5
%12 = icmp eq ptr %11, %0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %1
%17 = tail call i32 @irq_set_default_host(ptr noundef null) #2
br label %18
18: ; preds = %16, %1
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull @irq_domain_mutex) #2
%20 = getelementptr inbounds %struct.irq_domain, ptr %0, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !9
%22 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %21) #2
%23 = tail call i32 @irq_domain_get_of_node(ptr noundef %0) #2
%24 = tail call i32 @of_node_put(i32 noundef %23) #2
%25 = load i32, ptr %0, align 8, !tbaa !12
%26 = load i32, ptr @IRQ_DOMAIN_NAME_ALLOCATED, align 4, !tbaa !13
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %18
%30 = load ptr, ptr %20, align 8, !tbaa !9
%31 = tail call i32 @kfree(ptr noundef %30) #2
br label %32
32: ; preds = %29, %18
%33 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove_domain_dir(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @radix_tree_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @irq_set_default_host(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_node_put(i32 noundef) local_unnamed_addr #1
declare i32 @irq_domain_get_of_node(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"irq_domain", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_remove.c'
source_filename = "AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@irq_domain_mutex = common global i32 0, align 4
@irq_default_domain = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c"Removed domain %s\0A\00", align 1
@IRQ_DOMAIN_NAME_ALLOCATED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @irq_domain_remove(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef nonnull @irq_domain_mutex) #2
%3 = tail call i32 @debugfs_remove_domain_dir(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = tail call i32 @radix_tree_empty(ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @WARN_ON(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = tail call i32 @list_del(ptr noundef nonnull %9) #2
%11 = load ptr, ptr @irq_default_domain, align 8, !tbaa !6
%12 = icmp eq ptr %11, %0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %1
%17 = tail call i32 @irq_set_default_host(ptr noundef null) #2
br label %18
18: ; preds = %16, %1
%19 = tail call i32 @mutex_unlock(ptr noundef nonnull @irq_domain_mutex) #2
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !10
%22 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %21) #2
%23 = tail call i32 @irq_domain_get_of_node(ptr noundef %0) #2
%24 = tail call i32 @of_node_put(i32 noundef %23) #2
%25 = load i32, ptr %0, align 8, !tbaa !13
%26 = load i32, ptr @IRQ_DOMAIN_NAME_ALLOCATED, align 4, !tbaa !14
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %18
%30 = load ptr, ptr %20, align 8, !tbaa !10
%31 = tail call i32 @kfree(ptr noundef %30) #2
br label %32
32: ; preds = %29, %18
%33 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove_domain_dir(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @radix_tree_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @irq_set_default_host(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_node_put(i32 noundef) local_unnamed_addr #1
declare i32 @irq_domain_get_of_node(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"irq_domain", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 20}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!12, !12, i64 0}
|
linux_kernel_irq_extr_irqdomain.c_irq_domain_remove
|
; ModuleID = 'AnghaBench/xLua/build/luasocket/extr_unix.c_meth_getstats.c'
source_filename = "AnghaBench/xLua/build/luasocket/extr_unix.c_meth_getstats.c"
target datalayout = "e-m:e-p270:32:32-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 [13 x i8] c"unix{client}\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @meth_getstats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @meth_getstats(ptr noundef %0) #0 {
%2 = tail call i32 @auxiliar_checkclass(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2
%3 = sext i32 %2 to i64
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @buffer_meth_getstats(ptr noundef %0, ptr noundef %4) #2
ret i32 %5
}
declare i32 @auxiliar_checkclass(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @buffer_meth_getstats(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/xLua/build/luasocket/extr_unix.c_meth_getstats.c'
source_filename = "AnghaBench/xLua/build/luasocket/extr_unix.c_meth_getstats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [13 x i8] c"unix{client}\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @meth_getstats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @meth_getstats(ptr noundef %0) #0 {
%2 = tail call i32 @auxiliar_checkclass(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2
%3 = sext i32 %2 to i64
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @buffer_meth_getstats(ptr noundef %0, ptr noundef %4) #2
ret i32 %5
}
declare i32 @auxiliar_checkclass(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @buffer_meth_getstats(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)"}
|
xLua_build_luasocket_extr_unix.c_meth_getstats
|
; ModuleID = 'AnghaBench/seafile/common/index/extr_index.c_typename.c'
source_filename = "AnghaBench/seafile/common/index/extr_index.c_typename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@object_type_strings = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @typename], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @typename(i32 noundef %0) #0 {
%2 = load ptr, ptr @object_type_strings, align 8, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp ugt i32 %3, %0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr @object_type_strings, align 8, !tbaa !5
%7 = zext i32 %0 to i64
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !5
br label %10
10: ; preds = %1, %5
%11 = phi ptr [ %9, %5 ], [ null, %1 ]
ret ptr %11
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/seafile/common/index/extr_index.c_typename.c'
source_filename = "AnghaBench/seafile/common/index/extr_index.c_typename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@object_type_strings = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @typename], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @typename(i32 noundef %0) #0 {
%2 = load ptr, ptr @object_type_strings, align 8, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp ugt i32 %3, %0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr @object_type_strings, align 8, !tbaa !6
%7 = zext i32 %0 to i64
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !6
br label %10
10: ; preds = %1, %5
%11 = phi ptr [ %9, %5 ], [ null, %1 ]
ret ptr %11
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
seafile_common_index_extr_index.c_typename
|
; ModuleID = 'AnghaBench/hashcat/src/extr_hwmon.c_hm_ADL_Adapter_NumberOfAdapters_Get.c'
source_filename = "AnghaBench/hashcat/src/extr_hwmon.c_hm_ADL_Adapter_NumberOfAdapters_Get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ADL_OK = dso_local local_unnamed_addr constant i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"ADL_Adapter_NumberOfAdapters_Get(): %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hm_ADL_Adapter_NumberOfAdapters_Get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hm_ADL_Adapter_NumberOfAdapters_Get(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i32 %6(ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = tail call i32 @event_log_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %7) #2
br label %11
11: ; preds = %2, %9
%12 = phi i32 [ -1, %9 ], [ 0, %2 ]
ret i32 %12
}
declare i32 @event_log_error(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_7__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_8__", !7, i64 0}
|
; ModuleID = 'AnghaBench/hashcat/src/extr_hwmon.c_hm_ADL_Adapter_NumberOfAdapters_Get.c'
source_filename = "AnghaBench/hashcat/src/extr_hwmon.c_hm_ADL_Adapter_NumberOfAdapters_Get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADL_OK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"ADL_Adapter_NumberOfAdapters_Get(): %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hm_ADL_Adapter_NumberOfAdapters_Get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @hm_ADL_Adapter_NumberOfAdapters_Get(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = tail call i32 %6(ptr noundef %1) #2
%8 = load i32, ptr @ADL_OK, align 4, !tbaa !16
%9 = icmp eq i32 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @event_log_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %7) #2
br label %12
12: ; preds = %2, %10
%13 = phi i32 [ -1, %10 ], [ 0, %2 ]
ret i32 %13
}
declare i32 @event_log_error(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_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_8__", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
|
hashcat_src_extr_hwmon.c_hm_ADL_Adapter_NumberOfAdapters_Get
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_e500_mmu_host.c_tlb1_max_shadow_size.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500_mmu_host.c_tlb1_max_shadow_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@host_tlb_params = dso_local local_unnamed_addr global ptr null, align 8
@tlbcam_index = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tlb1_max_shadow_size], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @tlb1_max_shadow_size() #0 {
%1 = load ptr, ptr @host_tlb_params, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 1
%3 = load i32, ptr %2, align 4, !tbaa !9
%4 = load i32, ptr @tlbcam_index, align 4, !tbaa !12
%5 = xor i32 %4, -1
%6 = add i32 %3, %5
ret i32 %6
}
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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_e500_mmu_host.c_tlb1_max_shadow_size.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500_mmu_host.c_tlb1_max_shadow_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@host_tlb_params = common local_unnamed_addr global ptr null, align 8
@tlbcam_index = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tlb1_max_shadow_size], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @tlb1_max_shadow_size() #0 {
%1 = load ptr, ptr @host_tlb_params, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = load i32, ptr @tlbcam_index, align 4, !tbaa !13
%5 = xor i32 %4, -1
%6 = add i32 %3, %5
ret i32 %6
}
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, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
|
linux_arch_powerpc_kvm_extr_e500_mmu_host.c_tlb1_max_shadow_size
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_objset.c_dmu_objset_zil.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_objset.c_dmu_objset_zil.c"
target datalayout = "e-m:e-p270:32:32-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 ptr @dmu_objset_zil(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_objset.c_dmu_objset_zil.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_objset.c_dmu_objset_zil.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 ptr @dmu_objset_zil(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
zfs_module_zfs_extr_dmu_objset.c_dmu_objset_zil
|
; ModuleID = 'AnghaBench/vlc/src/input/extr_es_out.c_EsOutDrainCCChannels.c'
source_filename = "AnghaBench/vlc/src/input/extr_es_out.c_EsOutDrainCCChannels.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @EsOutDrainCCChannels], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @EsOutDrainCCChannels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
br label %7
6: ; preds = %22, %1
ret void
7: ; preds = %4, %22
%8 = phi i64 [ 0, %4 ], [ %23, %22 ]
%9 = phi i32 [ %2, %4 ], [ %24, %22 ]
%10 = and i32 %9, 1
%11 = icmp eq i32 %10, 0
br i1 %11, label %22, label %12
12: ; preds = %7
%13 = load ptr, ptr %5, align 8, !tbaa !12
%14 = getelementptr inbounds ptr, ptr %13, i64 %8
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = icmp eq ptr %15, null
br i1 %16, label %22, label %17
17: ; preds = %12
%18 = load i32, ptr %15, align 4, !tbaa !14
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 @input_DecoderDrain(i32 noundef %18) #2
br label %22
22: ; preds = %7, %12, %17, %20
%23 = add nuw nsw i64 %8, 1
%24 = lshr i32 %9, 1
%25 = icmp ult i32 %9, 2
br i1 %25, label %6, label %7, !llvm.loop !16
}
declare i32 @input_DecoderDrain(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_5__", !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 = !{!6, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_6__", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/vlc/src/input/extr_es_out.c_EsOutDrainCCChannels.c'
source_filename = "AnghaBench/vlc/src/input/extr_es_out.c_EsOutDrainCCChannels.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 @EsOutDrainCCChannels], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @EsOutDrainCCChannels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %7
6: ; preds = %22, %1
ret void
7: ; preds = %4, %22
%8 = phi i64 [ 0, %4 ], [ %23, %22 ]
%9 = phi i32 [ %2, %4 ], [ %24, %22 ]
%10 = and i32 %9, 1
%11 = icmp eq i32 %10, 0
br i1 %11, label %22, label %12
12: ; preds = %7
%13 = load ptr, ptr %5, align 8, !tbaa !13
%14 = getelementptr inbounds ptr, ptr %13, i64 %8
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = icmp eq ptr %15, null
br i1 %16, label %22, label %17
17: ; preds = %12
%18 = load i32, ptr %15, align 4, !tbaa !15
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 @input_DecoderDrain(i32 noundef %18) #2
br label %22
22: ; preds = %7, %12, %17, %20
%23 = add nuw nsw i64 %8, 1
%24 = lshr i32 %9, 1
%25 = icmp ult i32 %9, 2
br i1 %25, label %6, label %7, !llvm.loop !17
}
declare i32 @input_DecoderDrain(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !9, i64 0}
!16 = !{!"TYPE_6__", !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
vlc_src_input_extr_es_out.c_EsOutDrainCCChannels
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kd.c_discmpl.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kd.c_discmpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"cmp.l \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c", d%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @discmpl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @discmpl(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
store i32 2, ptr %4, align 4, !tbaa !5
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %2, ptr noundef nonnull align 1 dereferenceable(9) @.str, i64 9, i1 false)
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = add nsw i64 %0, 2
%7 = call i32 @seteafieldstr(i64 noundef %6, i32 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = lshr i32 %1, 9
%11 = and i32 %10, 7
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %11)
%13 = load i32, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @seteafieldstr(i64 noundef, i32 noundef, ptr noundef, 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kd.c_discmpl.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kd.c_discmpl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [9 x i8] c"cmp.l \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c", d%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @discmpl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @discmpl(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
store i32 2, ptr %4, align 4, !tbaa !6
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %2, ptr noundef nonnull align 1 dereferenceable(9) @.str, i64 9, i1 false)
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = add nsw i64 %0, 2
%7 = call i32 @seteafieldstr(i64 noundef %6, i32 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = lshr i32 %1, 9
%11 = and i32 %10, 7
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %11)
%13 = load i32, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @seteafieldstr(i64 noundef, i32 noundef, ptr noundef, 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
Provenance_Cores_Yabause_yabause_src_extr_m68kd.c_discmpl
|
; ModuleID = 'AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send.c'
source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_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"
%struct.mg_connection = type { i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local void @mg_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 (...) @mg_time() #2
%5 = getelementptr inbounds %struct.mg_connection, ptr %0, i64 0, i32 1
store i64 %4, ptr %5, align 8, !tbaa !5
%6 = tail call i32 @mbuf_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i64 @mg_time(...) local_unnamed_addr #1
declare i32 @mbuf_append(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, !10, i64 8}
!6 = !{!"mg_connection", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send.c'
source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send.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 @mg_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @mg_time() #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %4, ptr %5, align 8, !tbaa !6
%6 = tail call i32 @mbuf_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i64 @mg_time(...) local_unnamed_addr #1
declare i32 @mbuf_append(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, !11, i64 8}
!7 = !{!"mg_connection", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
|
mongoose_examples_ESP8266_RTOS_user_extr_mongoose.c_mg_send
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_strings.c"
target datalayout = "e-m:e-p270:32:32-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 }
@BCMGENET_STATS_LEN = dso_local local_unnamed_addr global i32 0, align 4
@ETH_GSTRING_LEN = dso_local local_unnamed_addr global i32 0, align 4
@bcmgenet_gstrings_stats = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcmgenet_get_strings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bcmgenet_get_strings(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = icmp eq i32 %1, 128
%5 = load i32, ptr @BCMGENET_STATS_LEN, align 4
%6 = icmp sgt i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %23
8: ; preds = %3, %8
%9 = phi i64 [ %19, %8 ], [ 0, %3 ]
%10 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !5
%11 = trunc i64 %9 to i32
%12 = mul nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %2, i64 %13
%15 = load ptr, ptr @bcmgenet_gstrings_stats, align 8, !tbaa !9
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %9
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = tail call i32 @memcpy(ptr noundef %14, i32 noundef %17, i32 noundef %10) #2
%19 = add nuw nsw i64 %9, 1
%20 = load i32, ptr @BCMGENET_STATS_LEN, align 4, !tbaa !5
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %19, %21
br i1 %22, label %8, label %23, !llvm.loop !13
23: ; preds = %8, %3
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_strings.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 }
@BCMGENET_STATS_LEN = common local_unnamed_addr global i32 0, align 4
@ETH_GSTRING_LEN = common local_unnamed_addr global i32 0, align 4
@bcmgenet_gstrings_stats = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @bcmgenet_get_strings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bcmgenet_get_strings(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = icmp eq i32 %1, 128
%5 = load i32, ptr @BCMGENET_STATS_LEN, align 4
%6 = icmp sgt i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %23
8: ; preds = %3, %8
%9 = phi i64 [ %19, %8 ], [ 0, %3 ]
%10 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !6
%11 = trunc nuw nsw i64 %9 to i32
%12 = mul nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %2, i64 %13
%15 = load ptr, ptr @bcmgenet_gstrings_stats, align 8, !tbaa !10
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %9
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call i32 @memcpy(ptr noundef %14, i32 noundef %17, i32 noundef %10) #2
%19 = add nuw nsw i64 %9, 1
%20 = load i32, ptr @BCMGENET_STATS_LEN, align 4, !tbaa !6
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %19, %21
br i1 %22, label %8, label %23, !llvm.loop !14
23: ; preds = %8, %3
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_net_ethernet_broadcom_genet_extr_bcmgenet.c_bcmgenet_get_strings
|
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pager_open_journal.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pager_open_journal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i32 }
%struct.TYPE_9__ = type { i64, i64, i32, i64, i64, i64, i64, i64, i32, i32, i64, i32, ptr }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@PAGER_WRITER_LOCKED = dso_local local_unnamed_addr global i64 0, align 8
@PAGER_JOURNALMODE_OFF = dso_local local_unnamed_addr global i64 0, align 8
@SQLITE_NOMEM_BKPT = dso_local local_unnamed_addr global i32 0, align 4
@PAGER_JOURNALMODE_MEMORY = dso_local local_unnamed_addr global i64 0, align 8
@SQLITE_OPEN_READWRITE = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_CREATE = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_DELETEONCLOSE = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_TEMP_JOURNAL = dso_local local_unnamed_addr global i32 0, align 4
@sqlite3Config = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 4
@SQLITE_OPEN_MAIN_JOURNAL = dso_local local_unnamed_addr global i32 0, align 4
@PAGER_WRITER_CACHEMOD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pager_open_journal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pager_open_journal(ptr noundef %0) #0 {
%2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 12
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = load i64, ptr %0, align 8, !tbaa !13
%6 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #3
%10 = tail call i32 @assert_pager_state(ptr noundef nonnull %0) #3
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #3
%17 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%18 = load i32, ptr %17, align 8, !tbaa !16
%19 = tail call i64 @NEVER(i32 noundef %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %1
%22 = load i32, ptr %17, align 8, !tbaa !16
br label %110
23: ; preds = %1
%24 = tail call i32 @pagerUseWal(ptr noundef nonnull %0) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %96
26: ; preds = %23
%27 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3
%28 = load i64, ptr %27, align 8, !tbaa !17
%29 = load i64, ptr @PAGER_JOURNALMODE_OFF, align 8, !tbaa !14
%30 = icmp eq i64 %28, %29
br i1 %30, label %96, label %31
31: ; preds = %26
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 11
%33 = load i32, ptr %32, align 8, !tbaa !18
%34 = tail call i64 @sqlite3BitvecCreate(i32 noundef %33) #3
store i64 %34, ptr %12, align 8, !tbaa !15
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = load i32, ptr @SQLITE_NOMEM_BKPT, align 4, !tbaa !5
br label %110
38: ; preds = %31
%39 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 8
%40 = load i32, ptr %39, align 8, !tbaa !19
%41 = tail call i64 @isOpen(i32 noundef %40) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %89
43: ; preds = %38
%44 = load i64, ptr %27, align 8, !tbaa !17
%45 = load i64, ptr @PAGER_JOURNALMODE_MEMORY, align 8, !tbaa !14
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i32, ptr %39, align 8, !tbaa !19
%49 = tail call i32 @sqlite3MemJournalOpen(i32 noundef %48) #3
br label %77
50: ; preds = %43
%51 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !5
%52 = load i32, ptr @SQLITE_OPEN_CREATE, align 4, !tbaa !5
%53 = or i32 %52, %51
%54 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 10
%55 = load i64, ptr %54, align 8, !tbaa !20
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %50
%58 = load i32, ptr @SQLITE_OPEN_DELETEONCLOSE, align 4, !tbaa !5
%59 = load i32, ptr @SQLITE_OPEN_TEMP_JOURNAL, align 4, !tbaa !5
%60 = or i32 %59, %58
%61 = load i32, ptr @sqlite3Config, align 4, !tbaa !21
br label %65
62: ; preds = %50
%63 = load i32, ptr @SQLITE_OPEN_MAIN_JOURNAL, align 4, !tbaa !5
%64 = tail call i32 @jrnlBufferSize(ptr noundef nonnull %0) #3
br label %65
65: ; preds = %62, %57
%66 = phi i32 [ %60, %57 ], [ %63, %62 ]
%67 = phi i32 [ %61, %57 ], [ %64, %62 ]
%68 = tail call i32 @databaseIsUnmoved(ptr noundef nonnull %0) #3
%69 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%70 = icmp eq i32 %68, %69
br i1 %70, label %71, label %77
71: ; preds = %65
%72 = or i32 %53, %66
%73 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 9
%74 = load i32, ptr %73, align 4, !tbaa !23
%75 = load i32, ptr %39, align 8, !tbaa !19
%76 = tail call i32 @sqlite3JournalOpen(ptr noundef %4, i32 noundef %74, i32 noundef %75, i32 noundef %72, i32 noundef %67) #3
br label %77
77: ; preds = %65, %71, %47
%78 = phi i32 [ %2, %47 ], [ %76, %71 ], [ %68, %65 ]
%79 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %86
81: ; preds = %77
%82 = load i32, ptr %39, align 8, !tbaa !19
%83 = tail call i64 @isOpen(i32 noundef %82) #3
%84 = icmp ne i64 %83, 0
%85 = zext i1 %84 to i32
br label %86
86: ; preds = %81, %77
%87 = phi i32 [ 1, %77 ], [ %85, %81 ]
%88 = tail call i32 @assert(i32 noundef %87) #3
br label %89
89: ; preds = %86, %38
%90 = phi i32 [ %2, %38 ], [ %78, %86 ]
%91 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%92 = icmp eq i32 %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %94, i8 0, i64 32, i1 false)
%95 = tail call i32 @writeJournalHdr(ptr noundef nonnull %0) #3
br label %96
96: ; preds = %89, %93, %26, %23
%97 = phi i32 [ %2, %23 ], [ %95, %93 ], [ %90, %89 ], [ %2, %26 ]
%98 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%99 = icmp eq i32 %97, %98
br i1 %99, label %103, label %100
100: ; preds = %96
%101 = load i64, ptr %12, align 8, !tbaa !15
%102 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %101) #3
store i64 0, ptr %12, align 8, !tbaa !15
br label %110
103: ; preds = %96
%104 = load i64, ptr %0, align 8, !tbaa !13
%105 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !14
%106 = icmp eq i64 %104, %105
%107 = zext i1 %106 to i32
%108 = tail call i32 @assert(i32 noundef %107) #3
%109 = load i64, ptr @PAGER_WRITER_CACHEMOD, align 8, !tbaa !14
store i64 %109, ptr %0, align 8, !tbaa !13
br label %110
110: ; preds = %100, %103, %36, %21
%111 = phi i32 [ %22, %21 ], [ %37, %36 ], [ %97, %103 ], [ %97, %100 ]
ret i32 %111
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @assert_pager_state(ptr noundef) local_unnamed_addr #1
declare i64 @NEVER(i32 noundef) local_unnamed_addr #1
declare i32 @pagerUseWal(ptr noundef) local_unnamed_addr #1
declare i64 @sqlite3BitvecCreate(i32 noundef) local_unnamed_addr #1
declare i64 @isOpen(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3MemJournalOpen(i32 noundef) local_unnamed_addr #1
declare i32 @jrnlBufferSize(ptr noundef) local_unnamed_addr #1
declare i32 @databaseIsUnmoved(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3JournalOpen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writeJournalHdr(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3BitvecDestroy(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 88}
!10 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !6, i64 64, !6, i64 68, !11, i64 72, !6, i64 80, !12, i64 88}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !6, i64 16}
!17 = !{!10, !11, i64 24}
!18 = !{!10, !6, i64 80}
!19 = !{!10, !6, i64 64}
!20 = !{!10, !11, i64 72}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_10__", !6, i64 0}
!23 = !{!10, !6, i64 68}
|
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pager_open_journal.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pager_open_journal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { i32 }
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@PAGER_WRITER_LOCKED = common local_unnamed_addr global i64 0, align 8
@PAGER_JOURNALMODE_OFF = common local_unnamed_addr global i64 0, align 8
@SQLITE_NOMEM_BKPT = common local_unnamed_addr global i32 0, align 4
@PAGER_JOURNALMODE_MEMORY = common local_unnamed_addr global i64 0, align 8
@SQLITE_OPEN_READWRITE = common local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_CREATE = common local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_DELETEONCLOSE = common local_unnamed_addr global i32 0, align 4
@SQLITE_OPEN_TEMP_JOURNAL = common local_unnamed_addr global i32 0, align 4
@sqlite3Config = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 4
@SQLITE_OPEN_MAIN_JOURNAL = common local_unnamed_addr global i32 0, align 4
@PAGER_WRITER_CACHEMOD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @pager_open_journal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pager_open_journal(ptr noundef %0) #0 {
%2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 88
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr %0, align 8, !tbaa !14
%6 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !15
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #3
%10 = tail call i32 @assert_pager_state(ptr noundef nonnull %0) #3
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !16
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load i32, ptr %17, align 8, !tbaa !17
%19 = tail call i64 @NEVER(i32 noundef %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %1
%22 = load i32, ptr %17, align 8, !tbaa !17
br label %110
23: ; preds = %1
%24 = tail call i32 @pagerUseWal(ptr noundef nonnull %0) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %96
26: ; preds = %23
%27 = getelementptr inbounds i8, ptr %0, i64 24
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = load i64, ptr @PAGER_JOURNALMODE_OFF, align 8, !tbaa !15
%30 = icmp eq i64 %28, %29
br i1 %30, label %96, label %31
31: ; preds = %26
%32 = getelementptr inbounds i8, ptr %0, i64 80
%33 = load i32, ptr %32, align 8, !tbaa !19
%34 = tail call i64 @sqlite3BitvecCreate(i32 noundef %33) #3
store i64 %34, ptr %12, align 8, !tbaa !16
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = load i32, ptr @SQLITE_NOMEM_BKPT, align 4, !tbaa !6
br label %110
38: ; preds = %31
%39 = getelementptr inbounds i8, ptr %0, i64 64
%40 = load i32, ptr %39, align 8, !tbaa !20
%41 = tail call i64 @isOpen(i32 noundef %40) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %89
43: ; preds = %38
%44 = load i64, ptr %27, align 8, !tbaa !18
%45 = load i64, ptr @PAGER_JOURNALMODE_MEMORY, align 8, !tbaa !15
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i32, ptr %39, align 8, !tbaa !20
%49 = tail call i32 @sqlite3MemJournalOpen(i32 noundef %48) #3
br label %77
50: ; preds = %43
%51 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !6
%52 = load i32, ptr @SQLITE_OPEN_CREATE, align 4, !tbaa !6
%53 = or i32 %52, %51
%54 = getelementptr inbounds i8, ptr %0, i64 72
%55 = load i64, ptr %54, align 8, !tbaa !21
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %50
%58 = load i32, ptr @SQLITE_OPEN_DELETEONCLOSE, align 4, !tbaa !6
%59 = load i32, ptr @SQLITE_OPEN_TEMP_JOURNAL, align 4, !tbaa !6
%60 = or i32 %59, %58
%61 = load i32, ptr @sqlite3Config, align 4, !tbaa !22
br label %65
62: ; preds = %50
%63 = load i32, ptr @SQLITE_OPEN_MAIN_JOURNAL, align 4, !tbaa !6
%64 = tail call i32 @jrnlBufferSize(ptr noundef nonnull %0) #3
br label %65
65: ; preds = %62, %57
%66 = phi i32 [ %60, %57 ], [ %63, %62 ]
%67 = phi i32 [ %61, %57 ], [ %64, %62 ]
%68 = tail call i32 @databaseIsUnmoved(ptr noundef nonnull %0) #3
%69 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%70 = icmp eq i32 %68, %69
br i1 %70, label %71, label %77
71: ; preds = %65
%72 = or i32 %53, %66
%73 = getelementptr inbounds i8, ptr %0, i64 68
%74 = load i32, ptr %73, align 4, !tbaa !24
%75 = load i32, ptr %39, align 8, !tbaa !20
%76 = tail call i32 @sqlite3JournalOpen(ptr noundef %4, i32 noundef %74, i32 noundef %75, i32 noundef %72, i32 noundef %67) #3
br label %77
77: ; preds = %65, %71, %47
%78 = phi i32 [ %2, %47 ], [ %76, %71 ], [ %68, %65 ]
%79 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %86
81: ; preds = %77
%82 = load i32, ptr %39, align 8, !tbaa !20
%83 = tail call i64 @isOpen(i32 noundef %82) #3
%84 = icmp ne i64 %83, 0
%85 = zext i1 %84 to i32
br label %86
86: ; preds = %81, %77
%87 = phi i32 [ 1, %77 ], [ %85, %81 ]
%88 = tail call i32 @assert(i32 noundef %87) #3
br label %89
89: ; preds = %86, %38
%90 = phi i32 [ %2, %38 ], [ %78, %86 ]
%91 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%92 = icmp eq i32 %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = getelementptr inbounds i8, ptr %0, i64 32
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %94, i8 0, i64 32, i1 false)
%95 = tail call i32 @writeJournalHdr(ptr noundef nonnull %0) #3
br label %96
96: ; preds = %89, %93, %26, %23
%97 = phi i32 [ %2, %23 ], [ %95, %93 ], [ %90, %89 ], [ %2, %26 ]
%98 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%99 = icmp eq i32 %97, %98
br i1 %99, label %103, label %100
100: ; preds = %96
%101 = load i64, ptr %12, align 8, !tbaa !16
%102 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %101) #3
store i64 0, ptr %12, align 8, !tbaa !16
br label %110
103: ; preds = %96
%104 = load i64, ptr %0, align 8, !tbaa !14
%105 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !15
%106 = icmp eq i64 %104, %105
%107 = zext i1 %106 to i32
%108 = tail call i32 @assert(i32 noundef %107) #3
%109 = load i64, ptr @PAGER_WRITER_CACHEMOD, align 8, !tbaa !15
store i64 %109, ptr %0, align 8, !tbaa !14
br label %110
110: ; preds = %100, %103, %36, %21
%111 = phi i32 [ %22, %21 ], [ %37, %36 ], [ %97, %103 ], [ %97, %100 ]
ret i32 %111
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @assert_pager_state(ptr noundef) local_unnamed_addr #1
declare i64 @NEVER(i32 noundef) local_unnamed_addr #1
declare i32 @pagerUseWal(ptr noundef) local_unnamed_addr #1
declare i64 @sqlite3BitvecCreate(i32 noundef) local_unnamed_addr #1
declare i64 @isOpen(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3MemJournalOpen(i32 noundef) local_unnamed_addr #1
declare i32 @jrnlBufferSize(ptr noundef) local_unnamed_addr #1
declare i32 @databaseIsUnmoved(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3JournalOpen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writeJournalHdr(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3BitvecDestroy(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 88}
!11 = !{!"TYPE_9__", !12, i64 0, !12, i64 8, !7, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !7, i64 64, !7, i64 68, !12, i64 72, !7, i64 80, !13, i64 88}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !12, i64 24}
!19 = !{!11, !7, i64 80}
!20 = !{!11, !7, i64 64}
!21 = !{!11, !12, i64 72}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_10__", !7, i64 0}
!24 = !{!11, !7, i64 68}
|
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_pager_open_journal
|
; ModuleID = 'AnghaBench/linux/drivers/s390/net/extr_qeth_core_sys.c_qeth_dev_blkt_store.c'
source_filename = "AnghaBench/linux/drivers/s390/net/extr_qeth_core_sys.c_qeth_dev_blkt_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.qeth_card = type { i64, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@CARD_STATE_DOWN = dso_local local_unnamed_addr global i64 0, align 8
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qeth_dev_blkt_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qeth_dev_blkt_store(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = icmp eq ptr %0, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %31
11: ; preds = %5
%12 = getelementptr inbounds %struct.qeth_card, ptr %0, i64 0, i32 1
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = load i64, ptr %0, align 8, !tbaa !9
%15 = load i64, ptr @CARD_STATE_DOWN, align 8, !tbaa !12
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %11
%18 = call i32 @simple_strtoul(ptr noundef %1, ptr noundef nonnull %6, i32 noundef 10) #3
%19 = icmp sgt i32 %18, %4
br i1 %19, label %22, label %20
20: ; preds = %17
store i32 %18, ptr %3, align 4, !tbaa !5
%21 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
br label %29
22: ; preds = %17, %11
%23 = phi ptr [ @EPERM, %11 ], [ @EINVAL, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = freeze i32 %24
%26 = sub nsw i32 0, %25
%27 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%28 = icmp eq i32 %25, 0
br i1 %28, label %29, label %31
29: ; preds = %20, %22
%30 = trunc i64 %2 to i32
br label %31
31: ; preds = %29, %22, %8
%32 = phi i32 [ %10, %8 ], [ %30, %29 ], [ %26, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"qeth_card", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/s390/net/extr_qeth_core_sys.c_qeth_dev_blkt_store.c'
source_filename = "AnghaBench/linux/drivers/s390/net/extr_qeth_core_sys.c_qeth_dev_blkt_store.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
@CARD_STATE_DOWN = common local_unnamed_addr global i64 0, align 8
@EPERM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qeth_dev_blkt_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qeth_dev_blkt_store(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = icmp eq ptr %0, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %31
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = load i64, ptr %0, align 8, !tbaa !10
%15 = load i64, ptr @CARD_STATE_DOWN, align 8, !tbaa !13
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %11
%18 = call i32 @simple_strtoul(ptr noundef %1, ptr noundef nonnull %6, i32 noundef 10) #3
%19 = icmp sgt i32 %18, %4
br i1 %19, label %22, label %20
20: ; preds = %17
store i32 %18, ptr %3, align 4, !tbaa !6
%21 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
br label %29
22: ; preds = %17, %11
%23 = phi ptr [ @EPERM, %11 ], [ @EINVAL, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = freeze i32 %24
%26 = sub nsw i32 0, %25
%27 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%28 = icmp eq i32 %25, 0
br i1 %28, label %29, label %31
29: ; preds = %20, %22
%30 = trunc i64 %2 to i32
br label %31
31: ; preds = %29, %22, %8
%32 = phi i32 [ %10, %8 ], [ %30, %29 ], [ %26, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"qeth_card", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
|
linux_drivers_s390_net_extr_qeth_core_sys.c_qeth_dev_blkt_store
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_extended_errcode.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_extended_errcode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i64 }
@SQLITE_MISUSE_BKPT = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM_BKPT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_extended_errcode(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = tail call i32 @sqlite3SafetyCheckSickOrOk(ptr noundef nonnull %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr %0, ptr @SQLITE_NOMEM_BKPT
br label %11
11: ; preds = %6, %3, %1
%12 = phi ptr [ @SQLITE_MISUSE_BKPT, %3 ], [ @SQLITE_NOMEM_BKPT, %1 ], [ %10, %6 ]
%13 = load i32, ptr %12, align 4, !tbaa !11
ret i32 %13
}
declare i32 @sqlite3SafetyCheckSickOrOk(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_4__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_extended_errcode.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_extended_errcode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_MISUSE_BKPT = common local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM_BKPT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_extended_errcode(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = tail call i32 @sqlite3SafetyCheckSickOrOk(ptr noundef nonnull %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr %0, ptr @SQLITE_NOMEM_BKPT
br label %11
11: ; preds = %6, %3, %1
%12 = phi ptr [ @SQLITE_MISUSE_BKPT, %3 ], [ @SQLITE_NOMEM_BKPT, %1 ], [ %10, %6 ]
%13 = load i32, ptr %12, align 4, !tbaa !12
ret i32 %13
}
declare i32 @sqlite3SafetyCheckSickOrOk(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_4__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
|
freebsd_contrib_sqlite3_extr_sqlite3.c_sqlite3_extended_errcode
|
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeCustom.c_ExecCustomScanReInitializeDSM.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeCustom.c_ExecCustomScanReInitializeDSM.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { %struct.TYPE_13__, ptr }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { ptr }
; Function Attrs: nounwind uwtable
define dso_local void @ExecCustomScanReInitializeDSM(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_15__, 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 = icmp eq ptr %5, null
br i1 %6, label %14, label %7
7: ; preds = %2
%8 = load ptr, ptr %0, align 8, !tbaa !14
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load i32, ptr %1, align 4, !tbaa !18
%11 = tail call ptr @shm_toc_lookup(i32 noundef %10, i32 noundef %9, i32 noundef 0) #2
%12 = load ptr, ptr %4, align 8, !tbaa !12
%13 = tail call i32 %12(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %11) #2
br label %14
14: ; preds = %7, %2
ret void
}
declare ptr @shm_toc_lookup(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, !9, i64 8}
!6 = !{!"TYPE_15__", !7, i64 0, !9, i64 8}
!7 = !{!"TYPE_13__", !8, i64 0}
!8 = !{!"TYPE_12__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_16__", !9, i64 0}
!14 = !{!6, !9, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_11__", !17, i64 0}
!17 = !{!"int", !10, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_14__", !17, i64 0}
|
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeCustom.c_ExecCustomScanReInitializeDSM.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeCustom.c_ExecCustomScanReInitializeDSM.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 @ExecCustomScanReInitializeDSM(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = icmp eq ptr %5, null
br i1 %6, label %14, label %7
7: ; preds = %2
%8 = load ptr, ptr %0, align 8, !tbaa !15
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = load i32, ptr %1, align 4, !tbaa !19
%11 = tail call ptr @shm_toc_lookup(i32 noundef %10, i32 noundef %9, i32 noundef 0) #2
%12 = load ptr, ptr %4, align 8, !tbaa !13
%13 = tail call i32 %12(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %11) #2
br label %14
14: ; preds = %7, %2
ret void
}
declare ptr @shm_toc_lookup(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, !10, i64 8}
!7 = !{!"TYPE_15__", !8, i64 0, !10, i64 8}
!8 = !{!"TYPE_13__", !9, i64 0}
!9 = !{!"TYPE_12__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_16__", !10, i64 0}
!15 = !{!7, !10, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_11__", !18, i64 0}
!18 = !{!"int", !11, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_14__", !18, i64 0}
|
postgres_src_backend_executor_extr_nodeCustom.c_ExecCustomScanReInitializeDSM
|
; ModuleID = 'AnghaBench/curl/lib/extr_mime.c_escape_string.c'
source_filename = "AnghaBench/curl/lib/extr_mime.c_escape_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @escape_string], section "llvm.metadata"
; Function Attrs: nofree nounwind memory(readwrite, argmem: read) uwtable
define internal noalias noundef ptr @escape_string(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %9, %1
%3 = phi i64 [ 0, %1 ], [ %10, %9 ]
%4 = phi i64 [ 0, %1 ], [ %11, %9 ]
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load i8, ptr %5, align 1, !tbaa !5
switch i8 %6, label %9 [
i8 0, label %12
i8 34, label %7
i8 92, label %7
]
7: ; preds = %2, %2
%8 = add i64 %3, 1
br label %9
9: ; preds = %2, %7
%10 = phi i64 [ %8, %7 ], [ %3, %2 ]
%11 = add i64 %4, 1
br label %2, !llvm.loop !8
12: ; preds = %2
%13 = add i64 %3, 1
%14 = add i64 %13, %4
%15 = tail call ptr @malloc(i64 noundef %14)
%16 = icmp eq ptr %15, null
br i1 %16, label %31, label %17
17: ; preds = %12, %24
%18 = phi ptr [ %28, %24 ], [ %0, %12 ]
%19 = phi i64 [ %26, %24 ], [ 0, %12 ]
%20 = load i8, ptr %18, align 1, !tbaa !5
switch i8 %20, label %24 [
i8 0, label %29
i8 34, label %21
i8 92, label %21
]
21: ; preds = %17, %17
%22 = add i64 %19, 1
%23 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 92, ptr %23, align 1, !tbaa !5
br label %24
24: ; preds = %17, %21
%25 = phi i64 [ %22, %21 ], [ %19, %17 ]
%26 = add i64 %25, 1
%27 = getelementptr inbounds i8, ptr %15, i64 %25
store i8 %20, ptr %27, align 1, !tbaa !5
%28 = getelementptr inbounds i8, ptr %18, i64 1
br label %17, !llvm.loop !10
29: ; preds = %17
%30 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 0, ptr %30, align 1, !tbaa !5
br label %31
31: ; preds = %12, %29
ret ptr %15
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
attributes #0 = { nofree nounwind memory(readwrite, 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" }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-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}
|
; ModuleID = 'AnghaBench/curl/lib/extr_mime.c_escape_string.c'
source_filename = "AnghaBench/curl/lib/extr_mime.c_escape_string.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 @escape_string], section "llvm.metadata"
; Function Attrs: nofree nounwind ssp memory(readwrite, argmem: read) uwtable(sync)
define internal noalias noundef ptr @escape_string(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %9, %1
%3 = phi i64 [ 0, %1 ], [ %10, %9 ]
%4 = phi i64 [ 0, %1 ], [ %11, %9 ]
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load i8, ptr %5, align 1, !tbaa !6
switch i8 %6, label %9 [
i8 0, label %12
i8 34, label %7
i8 92, label %7
]
7: ; preds = %2, %2
%8 = add i64 %3, 1
br label %9
9: ; preds = %2, %7
%10 = phi i64 [ %8, %7 ], [ %3, %2 ]
%11 = add i64 %4, 1
br label %2, !llvm.loop !9
12: ; preds = %2
%13 = add i64 %3, 1
%14 = add i64 %13, %4
%15 = tail call ptr @malloc(i64 noundef %14)
%16 = icmp eq ptr %15, null
br i1 %16, label %31, label %17
17: ; preds = %12, %24
%18 = phi ptr [ %28, %24 ], [ %0, %12 ]
%19 = phi i64 [ %26, %24 ], [ 0, %12 ]
%20 = load i8, ptr %18, align 1, !tbaa !6
switch i8 %20, label %24 [
i8 0, label %29
i8 34, label %21
i8 92, label %21
]
21: ; preds = %17, %17
%22 = add i64 %19, 1
%23 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 92, ptr %23, align 1, !tbaa !6
br label %24
24: ; preds = %17, %21
%25 = phi i64 [ %22, %21 ], [ %19, %17 ]
%26 = add i64 %25, 1
%27 = getelementptr inbounds i8, ptr %15, i64 %25
store i8 %20, ptr %27, align 1, !tbaa !6
%28 = getelementptr inbounds i8, ptr %18, i64 1
br label %17, !llvm.loop !11
29: ; preds = %17
%30 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 0, ptr %30, align 1, !tbaa !6
br label %31
31: ; preds = %12, %29
ret ptr %15
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
attributes #0 = { nofree nounwind ssp memory(readwrite, 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" }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+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}
|
curl_lib_extr_mime.c_escape_string
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-axxia.c_axxia_i2c_init.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-axxia.c_axxia_i2c_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.axxia_i2c_dev = type { i32, i64, i32, i32 }
@.str = private unnamed_addr constant [39 x i8] c"rate=%uHz per_clk=%uMHz -> ratio=1:%u\0A\00", align 1
@SOFT_RESET = dso_local local_unnamed_addr global i64 0, align 8
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"Soft reset failed\0A\00", align 1
@GLOBAL_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@SCL_HIGH_PERIOD = dso_local local_unnamed_addr global i64 0, align 8
@SCL_LOW_PERIOD = dso_local local_unnamed_addr global i64 0, align 8
@SDA_SETUP_TIME = dso_local local_unnamed_addr global i64 0, align 8
@SDA_HOLD_TIME = dso_local local_unnamed_addr global i64 0, align 8
@SPIKE_FLTR_LEN = dso_local local_unnamed_addr global i64 0, align 8
@SCL_WAIT_TIMEOUT_NS = dso_local local_unnamed_addr global i32 0, align 4
@TIMER_CLOCK_DIV = dso_local local_unnamed_addr global i64 0, align 8
@WT_EN = dso_local local_unnamed_addr global i32 0, align 4
@WAIT_TIMER_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@INTERRUPT_ENABLE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @axxia_i2c_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @axxia_i2c_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.axxia_i2c_dev, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @clk_get_rate(i32 noundef %3) #3
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = sdiv i32 %4, %5
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = tail call i32 @clk_get_rate(i32 noundef %7) #3
%9 = sdiv i32 %8, 1000000
%10 = getelementptr inbounds %struct.axxia_i2c_dev, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = load i32, ptr %0, align 8, !tbaa !11
%13 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %9, i32 noundef %6) #3
%14 = getelementptr inbounds %struct.axxia_i2c_dev, ptr %0, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = load i64, ptr @SOFT_RESET, align 8, !tbaa !14
%17 = add nsw i64 %16, %15
%18 = tail call i32 @writel(i32 noundef 1, i64 noundef %17) #3
%19 = load i64, ptr @jiffies, align 8, !tbaa !14
%20 = tail call i64 @msecs_to_jiffies(i32 noundef 100) #3
%21 = add i64 %20, %19
br label %22
22: ; preds = %29, %1
%23 = load i64, ptr %14, align 8, !tbaa !13
%24 = load i64, ptr @SOFT_RESET, align 8, !tbaa !14
%25 = add nsw i64 %24, %23
%26 = tail call i32 @readl(i64 noundef %25) #3
%27 = and i32 %26, 1
%28 = icmp eq i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %22
%30 = load i64, ptr @jiffies, align 8, !tbaa !14
%31 = tail call i64 @time_after(i64 noundef %30, i64 noundef %21) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %22, label %33, !llvm.loop !15
33: ; preds = %29
%34 = load i32, ptr %10, align 8, !tbaa !12
%35 = tail call i32 @dev_warn(i32 noundef %34, ptr noundef nonnull @.str.1) #3
br label %36
36: ; preds = %22, %33
%37 = load i64, ptr %14, align 8, !tbaa !13
%38 = load i64, ptr @GLOBAL_CONTROL, align 8, !tbaa !14
%39 = add nsw i64 %38, %37
%40 = tail call i32 @writel(i32 noundef 1, i64 noundef %39) #3
%41 = load i32, ptr %0, align 8, !tbaa !11
%42 = icmp slt i32 %41, 100001
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = sdiv i32 %6, 2
br label %49
45: ; preds = %36
%46 = sdiv i32 %6, 3
%47 = shl nsw i32 %6, 1
%48 = sdiv i32 %47, 3
br label %49
49: ; preds = %45, %43
%50 = phi i32 [ 100, %45 ], [ 250, %43 ]
%51 = phi i32 [ %46, %45 ], [ %44, %43 ]
%52 = phi i32 [ %48, %45 ], [ %44, %43 ]
%53 = tail call i32 @ns_to_clk(i32 noundef %50, i32 noundef %9) #3
%54 = load i64, ptr %14, align 8, !tbaa !13
%55 = load i64, ptr @SCL_HIGH_PERIOD, align 8, !tbaa !14
%56 = add nsw i64 %55, %54
%57 = tail call i32 @writel(i32 noundef %51, i64 noundef %56) #3
%58 = load i64, ptr %14, align 8, !tbaa !13
%59 = load i64, ptr @SCL_LOW_PERIOD, align 8, !tbaa !14
%60 = add nsw i64 %59, %58
%61 = tail call i32 @writel(i32 noundef %52, i64 noundef %60) #3
%62 = load i64, ptr %14, align 8, !tbaa !13
%63 = load i64, ptr @SDA_SETUP_TIME, align 8, !tbaa !14
%64 = add nsw i64 %63, %62
%65 = tail call i32 @writel(i32 noundef %53, i64 noundef %64) #3
%66 = tail call i32 @ns_to_clk(i32 noundef 300, i32 noundef %9) #3
%67 = load i64, ptr %14, align 8, !tbaa !13
%68 = load i64, ptr @SDA_HOLD_TIME, align 8, !tbaa !14
%69 = add nsw i64 %68, %67
%70 = tail call i32 @writel(i32 noundef %66, i64 noundef %69) #3
%71 = tail call i32 @ns_to_clk(i32 noundef 50, i32 noundef %9) #3
%72 = load i64, ptr %14, align 8, !tbaa !13
%73 = load i64, ptr @SPIKE_FLTR_LEN, align 8, !tbaa !14
%74 = add nsw i64 %73, %72
%75 = tail call i32 @writel(i32 noundef %71, i64 noundef %74) #3
%76 = load i32, ptr @SCL_WAIT_TIMEOUT_NS, align 4, !tbaa !17
%77 = tail call i32 @ns_to_clk(i32 noundef %76, i32 noundef %9) #3
%78 = icmp slt i32 %77, 32768
br i1 %78, label %87, label %79
79: ; preds = %49, %79
%80 = phi i32 [ %83, %79 ], [ 0, %49 ]
%81 = phi i32 [ %82, %79 ], [ %77, %49 ]
%82 = lshr i32 %81, 1
%83 = add nuw nsw i32 %80, 1
%84 = icmp ugt i32 %80, 13
%85 = icmp ult i32 %81, 65536
%86 = select i1 %84, i1 true, i1 %85
br i1 %86, label %87, label %79, !llvm.loop !18
87: ; preds = %79, %49
%88 = phi i32 [ %77, %49 ], [ %82, %79 ]
%89 = phi i32 [ 0, %49 ], [ %83, %79 ]
%90 = tail call i32 @llvm.smin.i32(i32 %88, i32 32767)
%91 = load i64, ptr %14, align 8, !tbaa !13
%92 = load i64, ptr @TIMER_CLOCK_DIV, align 8, !tbaa !14
%93 = add nsw i64 %92, %91
%94 = tail call i32 @writel(i32 noundef %89, i64 noundef %93) #3
%95 = load i32, ptr @WT_EN, align 4, !tbaa !17
%96 = tail call i32 @WT_VALUE(i32 noundef %90) #3
%97 = or i32 %96, %95
%98 = load i64, ptr %14, align 8, !tbaa !13
%99 = load i64, ptr @WAIT_TIMER_CONTROL, align 8, !tbaa !14
%100 = add nsw i64 %99, %98
%101 = tail call i32 @writel(i32 noundef %97, i64 noundef %100) #3
%102 = tail call i32 @i2c_int_disable(ptr noundef nonnull %0, i32 noundef -1) #3
%103 = load i64, ptr %14, align 8, !tbaa !13
%104 = load i64, ptr @INTERRUPT_ENABLE, align 8, !tbaa !14
%105 = add nsw i64 %104, %103
%106 = tail call i32 @writel(i32 noundef 1, i64 noundef %105) #3
ret i32 0
}
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ns_to_clk(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WT_VALUE(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_int_disable(ptr 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, !7, i64 20}
!6 = !{!"axxia_i2c_dev", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!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 16}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !16}
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-axxia.c_axxia_i2c_init.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-axxia.c_axxia_i2c_init.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 [39 x i8] c"rate=%uHz per_clk=%uMHz -> ratio=1:%u\0A\00", align 1
@SOFT_RESET = common local_unnamed_addr global i64 0, align 8
@jiffies = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"Soft reset failed\0A\00", align 1
@GLOBAL_CONTROL = common local_unnamed_addr global i64 0, align 8
@SCL_HIGH_PERIOD = common local_unnamed_addr global i64 0, align 8
@SCL_LOW_PERIOD = common local_unnamed_addr global i64 0, align 8
@SDA_SETUP_TIME = common local_unnamed_addr global i64 0, align 8
@SDA_HOLD_TIME = common local_unnamed_addr global i64 0, align 8
@SPIKE_FLTR_LEN = common local_unnamed_addr global i64 0, align 8
@SCL_WAIT_TIMEOUT_NS = common local_unnamed_addr global i32 0, align 4
@TIMER_CLOCK_DIV = common local_unnamed_addr global i64 0, align 8
@WT_EN = common local_unnamed_addr global i32 0, align 4
@WAIT_TIMER_CONTROL = common local_unnamed_addr global i64 0, align 8
@INTERRUPT_ENABLE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @axxia_i2c_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @axxia_i2c_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 20
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @clk_get_rate(i32 noundef %3) #3
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = sdiv i32 %4, %5
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = tail call i32 @clk_get_rate(i32 noundef %7) #3
%9 = sdiv i32 %8, 1000000
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = load i32, ptr %0, align 8, !tbaa !12
%13 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %9, i32 noundef %6) #3
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr @SOFT_RESET, align 8, !tbaa !15
%17 = add nsw i64 %16, %15
%18 = tail call i32 @writel(i32 noundef 1, i64 noundef %17) #3
%19 = load i64, ptr @jiffies, align 8, !tbaa !15
%20 = tail call i64 @msecs_to_jiffies(i32 noundef 100) #3
%21 = add i64 %20, %19
br label %22
22: ; preds = %29, %1
%23 = load i64, ptr %14, align 8, !tbaa !14
%24 = load i64, ptr @SOFT_RESET, align 8, !tbaa !15
%25 = add nsw i64 %24, %23
%26 = tail call i32 @readl(i64 noundef %25) #3
%27 = and i32 %26, 1
%28 = icmp eq i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %22
%30 = load i64, ptr @jiffies, align 8, !tbaa !15
%31 = tail call i64 @time_after(i64 noundef %30, i64 noundef %21) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %22, label %33, !llvm.loop !16
33: ; preds = %29
%34 = load i32, ptr %10, align 8, !tbaa !13
%35 = tail call i32 @dev_warn(i32 noundef %34, ptr noundef nonnull @.str.1) #3
br label %36
36: ; preds = %22, %33
%37 = load i64, ptr %14, align 8, !tbaa !14
%38 = load i64, ptr @GLOBAL_CONTROL, align 8, !tbaa !15
%39 = add nsw i64 %38, %37
%40 = tail call i32 @writel(i32 noundef 1, i64 noundef %39) #3
%41 = load i32, ptr %0, align 8, !tbaa !12
%42 = icmp slt i32 %41, 100001
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = sdiv i32 %6, 2
br label %49
45: ; preds = %36
%46 = sdiv i32 %6, 3
%47 = shl nsw i32 %6, 1
%48 = sdiv i32 %47, 3
br label %49
49: ; preds = %45, %43
%50 = phi i32 [ 100, %45 ], [ 250, %43 ]
%51 = phi i32 [ %46, %45 ], [ %44, %43 ]
%52 = phi i32 [ %48, %45 ], [ %44, %43 ]
%53 = tail call i32 @ns_to_clk(i32 noundef %50, i32 noundef %9) #3
%54 = load i64, ptr %14, align 8, !tbaa !14
%55 = load i64, ptr @SCL_HIGH_PERIOD, align 8, !tbaa !15
%56 = add nsw i64 %55, %54
%57 = tail call i32 @writel(i32 noundef %51, i64 noundef %56) #3
%58 = load i64, ptr %14, align 8, !tbaa !14
%59 = load i64, ptr @SCL_LOW_PERIOD, align 8, !tbaa !15
%60 = add nsw i64 %59, %58
%61 = tail call i32 @writel(i32 noundef %52, i64 noundef %60) #3
%62 = load i64, ptr %14, align 8, !tbaa !14
%63 = load i64, ptr @SDA_SETUP_TIME, align 8, !tbaa !15
%64 = add nsw i64 %63, %62
%65 = tail call i32 @writel(i32 noundef %53, i64 noundef %64) #3
%66 = tail call i32 @ns_to_clk(i32 noundef 300, i32 noundef %9) #3
%67 = load i64, ptr %14, align 8, !tbaa !14
%68 = load i64, ptr @SDA_HOLD_TIME, align 8, !tbaa !15
%69 = add nsw i64 %68, %67
%70 = tail call i32 @writel(i32 noundef %66, i64 noundef %69) #3
%71 = tail call i32 @ns_to_clk(i32 noundef 50, i32 noundef %9) #3
%72 = load i64, ptr %14, align 8, !tbaa !14
%73 = load i64, ptr @SPIKE_FLTR_LEN, align 8, !tbaa !15
%74 = add nsw i64 %73, %72
%75 = tail call i32 @writel(i32 noundef %71, i64 noundef %74) #3
%76 = load i32, ptr @SCL_WAIT_TIMEOUT_NS, align 4, !tbaa !18
%77 = tail call i32 @ns_to_clk(i32 noundef %76, i32 noundef %9) #3
%78 = icmp slt i32 %77, 32768
br i1 %78, label %87, label %79
79: ; preds = %49, %79
%80 = phi i32 [ %83, %79 ], [ 0, %49 ]
%81 = phi i32 [ %82, %79 ], [ %77, %49 ]
%82 = lshr i32 %81, 1
%83 = add nuw nsw i32 %80, 1
%84 = icmp ugt i32 %80, 13
%85 = icmp ult i32 %81, 65536
%86 = select i1 %84, i1 true, i1 %85
br i1 %86, label %87, label %79, !llvm.loop !19
87: ; preds = %79, %49
%88 = phi i32 [ %77, %49 ], [ %82, %79 ]
%89 = phi i32 [ 0, %49 ], [ %83, %79 ]
%90 = tail call i32 @llvm.smin.i32(i32 %88, i32 32767)
%91 = load i64, ptr %14, align 8, !tbaa !14
%92 = load i64, ptr @TIMER_CLOCK_DIV, align 8, !tbaa !15
%93 = add nsw i64 %92, %91
%94 = tail call i32 @writel(i32 noundef %89, i64 noundef %93) #3
%95 = load i32, ptr @WT_EN, align 4, !tbaa !18
%96 = tail call i32 @WT_VALUE(i32 noundef %90) #3
%97 = or i32 %96, %95
%98 = load i64, ptr %14, align 8, !tbaa !14
%99 = load i64, ptr @WAIT_TIMER_CONTROL, align 8, !tbaa !15
%100 = add nsw i64 %99, %98
%101 = tail call i32 @writel(i32 noundef %97, i64 noundef %100) #3
%102 = tail call i32 @i2c_int_disable(ptr noundef nonnull %0, i32 noundef -1) #3
%103 = load i64, ptr %14, align 8, !tbaa !14
%104 = load i64, ptr @INTERRUPT_ENABLE, align 8, !tbaa !15
%105 = add nsw i64 %104, %103
%106 = tail call i32 @writel(i32 noundef 1, i64 noundef %105) #3
ret i32 0
}
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ns_to_clk(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WT_VALUE(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_int_disable(ptr 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 ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 20}
!7 = !{!"axxia_i2c_dev", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!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 16}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !17}
|
linux_drivers_i2c_busses_extr_i2c-axxia.c_axxia_i2c_init
|
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_surveydone_event_callback.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_surveydone_event_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct._adapter = type { %struct.TYPE_2__, %struct.mlme_priv }
%struct.TYPE_2__ = type { %struct.wlan_bssid_ex }
%struct.wlan_bssid_ex = type { i32, ptr }
%struct.mlme_priv = type { i32, i32, i32, i32, i32, i32 }
@_FW_UNDER_SURVEY = dso_local local_unnamed_addr global i32 0, align 4
@WIFI_ADHOC_STATE = dso_local local_unnamed_addr global i32 0, align 4
@_FW_LINKED = dso_local local_unnamed_addr global i32 0, align 4
@_FW_UNDER_LINKING = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@MAX_JOIN_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@WIFI_ADHOC_MASTER_STATE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @r8712_surveydone_event_callback(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1
%4 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 1
%5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2
%6 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !5
%7 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 5
%11 = tail call i32 @del_timer(ptr noundef nonnull %10) #2
%12 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !5
%13 = tail call i32 @_clr_fwstate_(ptr noundef nonnull %3, i32 noundef %12) #2
br label %14
14: ; preds = %9, %2
%15 = load i32, ptr %3, align 4, !tbaa !9
%16 = icmp eq i32 %15, 0
br i1 %16, label %64, label %17
17: ; preds = %14
%18 = load i32, ptr @WIFI_ADHOC_STATE, align 4, !tbaa !5
%19 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %49, label %21
21: ; preds = %17
%22 = load i32, ptr @_FW_LINKED, align 4, !tbaa !5
%23 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %64
25: ; preds = %21
%26 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !5
%27 = tail call i32 @set_fwstate(ptr noundef nonnull %3, i32 noundef %26) #2
%28 = tail call i32 @r8712_select_and_join_from_scan(ptr noundef nonnull %3) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %25
%31 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 2
%32 = load i64, ptr @jiffies, align 8, !tbaa !11
%33 = load i32, ptr @MAX_JOIN_TIMEOUT, align 4, !tbaa !5
%34 = tail call i64 @msecs_to_jiffies(i32 noundef %33) #2
%35 = add nsw i64 %34, %32
%36 = tail call i32 @mod_timer(ptr noundef nonnull %31, i64 noundef %35) #2
br label %64
37: ; preds = %25
%38 = getelementptr inbounds %struct.wlan_bssid_ex, ptr %0, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !13
%40 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !5
%41 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 3
%42 = load i32, ptr %41, align 4, !tbaa !18
%43 = xor i32 %42, %40
store i32 %43, ptr %41, align 4, !tbaa !18
%44 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 4
%45 = tail call i32 @memcpy(ptr noundef nonnull %0, ptr noundef nonnull %44, i32 noundef 4) #2
%46 = tail call i32 @r8712_update_registrypriv_dev_network(ptr noundef nonnull %0) #2
%47 = tail call i32 @r8712_generate_random_ibss(ptr noundef %39) #2
%48 = load i32, ptr @WIFI_ADHOC_MASTER_STATE, align 4, !tbaa !5
store i32 %48, ptr %41, align 4, !tbaa !18
store i32 0, ptr %3, align 4, !tbaa !9
br label %64
49: ; preds = %17
store i32 0, ptr %3, align 4, !tbaa !9
%50 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !5
%51 = tail call i32 @set_fwstate(ptr noundef nonnull %3, i32 noundef %50) #2
%52 = tail call i32 @r8712_select_and_join_from_scan(ptr noundef nonnull %3) #2
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %49
%55 = getelementptr inbounds %struct._adapter, ptr %0, i64 0, i32 1, i32 2
%56 = load i64, ptr @jiffies, align 8, !tbaa !11
%57 = load i32, ptr @MAX_JOIN_TIMEOUT, align 4, !tbaa !5
%58 = tail call i64 @msecs_to_jiffies(i32 noundef %57) #2
%59 = add nsw i64 %58, %56
%60 = tail call i32 @mod_timer(ptr noundef nonnull %55, i64 noundef %59) #2
br label %64
61: ; preds = %49
%62 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !5
%63 = tail call i32 @_clr_fwstate_(ptr noundef nonnull %3, i32 noundef %62) #2
br label %64
64: ; preds = %30, %37, %21, %61, %54, %14
%65 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @check_fwstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @_clr_fwstate_(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_fwstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r8712_select_and_join_from_scan(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r8712_update_registrypriv_dev_network(ptr noundef) local_unnamed_addr #1
declare i32 @r8712_generate_random_ibss(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, !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 = !{!"mlme_priv", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !17, i64 8}
!14 = !{!"_adapter", !15, i64 0, !10, i64 16}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"wlan_bssid_ex", !6, i64 0, !17, i64 8}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!10, !6, i64 12}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_surveydone_event_callback.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_surveydone_event_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_FW_UNDER_SURVEY = common local_unnamed_addr global i32 0, align 4
@WIFI_ADHOC_STATE = common local_unnamed_addr global i32 0, align 4
@_FW_LINKED = common local_unnamed_addr global i32 0, align 4
@_FW_UNDER_LINKING = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i64 0, align 8
@MAX_JOIN_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@WIFI_ADHOC_MASTER_STATE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @r8712_surveydone_event_callback(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2
%6 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !6
%7 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 36
%11 = tail call i32 @del_timer(ptr noundef nonnull %10) #2
%12 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !6
%13 = tail call i32 @_clr_fwstate_(ptr noundef nonnull %3, i32 noundef %12) #2
br label %14
14: ; preds = %9, %2
%15 = load i32, ptr %3, align 4, !tbaa !10
%16 = icmp eq i32 %15, 0
br i1 %16, label %64, label %17
17: ; preds = %14
%18 = load i32, ptr @WIFI_ADHOC_STATE, align 4, !tbaa !6
%19 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %49, label %21
21: ; preds = %17
%22 = load i32, ptr @_FW_LINKED, align 4, !tbaa !6
%23 = tail call i64 @check_fwstate(ptr noundef nonnull %3, i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %64
25: ; preds = %21
%26 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !6
%27 = tail call i32 @set_fwstate(ptr noundef nonnull %3, i32 noundef %26) #2
%28 = tail call i32 @r8712_select_and_join_from_scan(ptr noundef nonnull %3) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %25
%31 = getelementptr inbounds i8, ptr %0, i64 24
%32 = load i64, ptr @jiffies, align 8, !tbaa !12
%33 = load i32, ptr @MAX_JOIN_TIMEOUT, align 4, !tbaa !6
%34 = tail call i64 @msecs_to_jiffies(i32 noundef %33) #2
%35 = add nsw i64 %34, %32
%36 = tail call i32 @mod_timer(ptr noundef nonnull %31, i64 noundef %35) #2
br label %64
37: ; preds = %25
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !14
%40 = load i32, ptr @_FW_UNDER_SURVEY, align 4, !tbaa !6
%41 = getelementptr inbounds i8, ptr %0, i64 28
%42 = load i32, ptr %41, align 4, !tbaa !19
%43 = xor i32 %42, %40
store i32 %43, ptr %41, align 4, !tbaa !19
%44 = getelementptr inbounds i8, ptr %0, i64 32
%45 = tail call i32 @memcpy(ptr noundef nonnull %0, ptr noundef nonnull %44, i32 noundef 4) #2
%46 = tail call i32 @r8712_update_registrypriv_dev_network(ptr noundef nonnull %0) #2
%47 = tail call i32 @r8712_generate_random_ibss(ptr noundef %39) #2
%48 = load i32, ptr @WIFI_ADHOC_MASTER_STATE, align 4, !tbaa !6
store i32 %48, ptr %41, align 4, !tbaa !19
store i32 0, ptr %3, align 4, !tbaa !10
br label %64
49: ; preds = %17
store i32 0, ptr %3, align 4, !tbaa !10
%50 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !6
%51 = tail call i32 @set_fwstate(ptr noundef nonnull %3, i32 noundef %50) #2
%52 = tail call i32 @r8712_select_and_join_from_scan(ptr noundef nonnull %3) #2
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %49
%55 = getelementptr inbounds i8, ptr %0, i64 24
%56 = load i64, ptr @jiffies, align 8, !tbaa !12
%57 = load i32, ptr @MAX_JOIN_TIMEOUT, align 4, !tbaa !6
%58 = tail call i64 @msecs_to_jiffies(i32 noundef %57) #2
%59 = add nsw i64 %58, %56
%60 = tail call i32 @mod_timer(ptr noundef nonnull %55, i64 noundef %59) #2
br label %64
61: ; preds = %49
%62 = load i32, ptr @_FW_UNDER_LINKING, align 4, !tbaa !6
%63 = tail call i32 @_clr_fwstate_(ptr noundef nonnull %3, i32 noundef %62) #2
br label %64
64: ; preds = %30, %37, %21, %61, %54, %14
%65 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @check_fwstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @_clr_fwstate_(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_fwstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r8712_select_and_join_from_scan(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r8712_update_registrypriv_dev_network(ptr noundef) local_unnamed_addr #1
declare i32 @r8712_generate_random_ibss(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, !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 = !{!"mlme_priv", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !18, i64 8}
!15 = !{!"_adapter", !16, i64 0, !11, i64 16}
!16 = !{!"TYPE_2__", !17, i64 0}
!17 = !{!"wlan_bssid_ex", !7, i64 0, !18, i64 8}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!11, !7, i64 12}
|
linux_drivers_staging_rtl8712_extr_rtl871x_mlme.c_r8712_surveydone_event_callback
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_commit.c_release_data_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_commit.c_release_data_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @release_data_buffer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @release_data_buffer(ptr noundef %0) #0 {
%2 = tail call i64 @buffer_freed(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @clear_buffer_freed(ptr noundef %0) #2
%6 = tail call i32 @release_buffer_page(ptr noundef %0) #2
br label %9
7: ; preds = %1
%8 = tail call i32 @put_bh(ptr noundef %0) #2
br label %9
9: ; preds = %7, %4
ret void
}
declare i64 @buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @clear_buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @release_buffer_page(ptr noundef) local_unnamed_addr #1
declare i32 @put_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_commit.c_release_data_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_commit.c_release_data_buffer.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 @release_data_buffer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @release_data_buffer(ptr noundef %0) #0 {
%2 = tail call i64 @buffer_freed(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @clear_buffer_freed(ptr noundef %0) #2
%6 = tail call i32 @release_buffer_page(ptr noundef %0) #2
br label %9
7: ; preds = %1
%8 = tail call i32 @put_bh(ptr noundef %0) #2
br label %9
9: ; preds = %7, %4
ret void
}
declare i64 @buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @clear_buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @release_buffer_page(ptr noundef) local_unnamed_addr #1
declare i32 @put_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_fs_jbd_extr_commit.c_release_data_buffer
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf.h_ixgbevf_rx_pg_order.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf.h_ixgbevf_rx_pg_order.c"
target datalayout = "e-m:e-p270:32:32-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 @ixgbevf_rx_pg_order], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ixgbevf_rx_pg_order(ptr noundef %0) #0 {
%2 = tail call i64 @ring_uses_large_buffer(ptr noundef %0) #2
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i64 @ring_uses_large_buffer(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/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf.h_ixgbevf_rx_pg_order.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf.h_ixgbevf_rx_pg_order.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 @ixgbevf_rx_pg_order], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ixgbevf_rx_pg_order(ptr noundef %0) #0 {
%2 = tail call i64 @ring_uses_large_buffer(ptr noundef %0) #2
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i64 @ring_uses_large_buffer(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_drivers_net_ethernet_intel_ixgbevf_extr_ixgbevf.h_ixgbevf_rx_pg_order
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx18/extr_cx18-gpio.c_gpiomux_log_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx18/extr_cx18-gpio.c_gpiomux_log_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cx18 = type { i32, i32, i32 }
@.str = private unnamed_addr constant [39 x i8] c"GPIO: direction 0x%08x, value 0x%08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @gpiomux_log_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gpiomux_log_status(ptr noundef %0) #0 {
%2 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%3 = tail call i32 @mutex_lock(ptr noundef %2) #2
%4 = getelementptr inbounds %struct.cx18, ptr %2, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.cx18, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i32 @CX18_INFO_DEV(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = tail call i32 @mutex_unlock(ptr noundef %2) #2
ret i32 0
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @CX18_INFO_DEV(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"cx18", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx18/extr_cx18-gpio.c_gpiomux_log_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx18/extr_cx18-gpio.c_gpiomux_log_status.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 [39 x i8] c"GPIO: direction 0x%08x, value 0x%08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @gpiomux_log_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gpiomux_log_status(ptr noundef %0) #0 {
%2 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%3 = tail call i32 @mutex_lock(ptr noundef %2) #2
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i32 @CX18_INFO_DEV(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = tail call i32 @mutex_unlock(ptr noundef %2) #2
ret i32 0
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @CX18_INFO_DEV(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"cx18", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
|
fastsocket_kernel_drivers_media_video_cx18_extr_cx18-gpio.c_gpiomux_log_status
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.