IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/toxcore/toxcore/extr_net_crypto.c_create_crypto_connection.c'
source_filename = "AnghaBench/toxcore/toxcore/extr_net_crypto.c_create_crypto_connection.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i32 }
%struct.TYPE_6__ = type { i64, i32 }
@CRYPTO_CONN_NO_CONNECTION = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_crypto_connection], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @create_crypto_connection(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @CRYPTO_CONN_NO_CONNECTION, align 8, !tbaa !13
br label %14
8: ; preds = %21, %1
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%10 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = icmp eq i32 %12, 0
br i1 %13, label %29, label %24
14: ; preds = %4, %21
%15 = phi i64 [ 0, %4 ], [ %22, %21 ]
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp eq i64 %17, %7
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = trunc i64 %15 to i32
br label %54
21: ; preds = %14
%22 = add nuw i64 %15, 1
%23 = icmp eq i64 %22, %2
br i1 %23, label %8, label %14, !llvm.loop !17
24: ; preds = %8, %24
%25 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
%26 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %9) #2
%27 = load i32, ptr %11, align 8, !tbaa !14
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %24
29: ; preds = %24, %8
%30 = load i64, ptr %0, align 8, !tbaa !5
%31 = trunc i64 %30 to i32
%32 = add i32 %31, 1
%33 = tail call i64 @realloc_cryptoconnection(ptr noundef nonnull %0, i32 noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %29
%36 = load i64, ptr %0, align 8, !tbaa !5
%37 = trunc i64 %36 to i32
%38 = add i64 %36, 1
store i64 %38, ptr %0, align 8, !tbaa !5
%39 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%40 = load ptr, ptr %39, align 8, !tbaa !12
%41 = shl i64 %36, 32
%42 = ashr exact i64 %41, 32
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i64 %42
%44 = tail call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 4) #2
%45 = load ptr, ptr %39, align 8, !tbaa !12
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %45, i64 %42, i32 1
%47 = tail call i64 @pthread_mutex_init(ptr noundef nonnull %46, ptr noundef null) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %35
%50 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
br label %54
51: ; preds = %35, %29
%52 = phi i32 [ %37, %35 ], [ -1, %29 ]
%53 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
br label %54
54: ; preds = %49, %51, %19
%55 = phi i32 [ %20, %19 ], [ -1, %49 ], [ %52, %51 ]
ret i32 %55
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @realloc_cryptoconnection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pthread_mutex_init(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, !11, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 24}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/toxcore/toxcore/extr_net_crypto.c_create_crypto_connection.c'
source_filename = "AnghaBench/toxcore/toxcore/extr_net_crypto.c_create_crypto_connection.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64, i32 }
@CRYPTO_CONN_NO_CONNECTION = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @create_crypto_connection], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @create_crypto_connection(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @CRYPTO_CONN_NO_CONNECTION, align 8, !tbaa !14
br label %14
8: ; preds = %21, %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = icmp eq i32 %12, 0
br i1 %13, label %29, label %24
14: ; preds = %4, %21
%15 = phi i64 [ 0, %4 ], [ %22, %21 ]
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, %7
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = trunc i64 %15 to i32
br label %54
21: ; preds = %14
%22 = add nuw i64 %15, 1
%23 = icmp eq i64 %22, %2
br i1 %23, label %8, label %14, !llvm.loop !18
24: ; preds = %8, %24
%25 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
%26 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %9) #2
%27 = load i32, ptr %11, align 8, !tbaa !15
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %24
29: ; preds = %24, %8
%30 = load i64, ptr %0, align 8, !tbaa !6
%31 = trunc i64 %30 to i32
%32 = add i32 %31, 1
%33 = tail call i64 @realloc_cryptoconnection(ptr noundef nonnull %0, i32 noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %29
%36 = load i64, ptr %0, align 8, !tbaa !6
%37 = trunc i64 %36 to i32
%38 = add i64 %36, 1
store i64 %38, ptr %0, align 8, !tbaa !6
%39 = getelementptr inbounds i8, ptr %0, i64 16
%40 = load ptr, ptr %39, align 8, !tbaa !13
%41 = shl i64 %36, 32
%42 = ashr exact i64 %41, 32
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i64 %42
%44 = tail call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 4) #2
%45 = load ptr, ptr %39, align 8, !tbaa !13
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %45, i64 %42, i32 1
%47 = tail call i64 @pthread_mutex_init(ptr noundef nonnull %46, ptr noundef null) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %35
%50 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
br label %54
51: ; preds = %35, %29
%52 = phi i32 [ %37, %35 ], [ -1, %29 ]
%53 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %9) #2
br label %54
54: ; preds = %49, %51, %19
%55 = phi i32 [ %20, %19 ], [ -1, %49 ], [ %52, %51 ]
ret i32 %55
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @realloc_cryptoconnection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pthread_mutex_init(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, !12, i64 16, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 24}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| toxcore_toxcore_extr_net_crypto.c_create_crypto_connection |
; ModuleID = 'AnghaBench/linux/drivers/clocksource/extr_timer-rda.c_rda_ostimer_set_next_event.c'
source_filename = "AnghaBench/linux/drivers/clocksource/extr_timer-rda.c_rda_ostimer_set_next_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @rda_ostimer_set_next_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rda_ostimer_set_next_event(i64 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_timer_of(ptr noundef %1) #2
%4 = tail call i32 @timer_of_base(ptr noundef %3) #2
%5 = tail call i32 @rda_ostimer_start(i32 noundef %4, i32 noundef 0, i64 noundef %0) #2
ret i32 0
}
declare ptr @to_timer_of(ptr noundef) local_unnamed_addr #1
declare i32 @rda_ostimer_start(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @timer_of_base(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/clocksource/extr_timer-rda.c_rda_ostimer_set_next_event.c'
source_filename = "AnghaBench/linux/drivers/clocksource/extr_timer-rda.c_rda_ostimer_set_next_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @rda_ostimer_set_next_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @rda_ostimer_set_next_event(i64 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_timer_of(ptr noundef %1) #2
%4 = tail call i32 @timer_of_base(ptr noundef %3) #2
%5 = tail call i32 @rda_ostimer_start(i32 noundef %4, i32 noundef 0, i64 noundef %0) #2
ret i32 0
}
declare ptr @to_timer_of(ptr noundef) local_unnamed_addr #1
declare i32 @rda_ostimer_start(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @timer_of_base(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_clocksource_extr_timer-rda.c_rda_ostimer_set_next_event |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_pio.c_b43legacy_pio_freeze_txqueues.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_pio.c_b43legacy_pio_freeze_txqueues.c"
target datalayout = "e-m:e-p270:32:32-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.b43legacy_pio = type { ptr, ptr, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @b43legacy_pio_freeze_txqueues(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @b43legacy_using_pio(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @B43legacy_WARN_ON(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.b43legacy_pio, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !5
store i32 1, ptr %7, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.b43legacy_pio, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !13
store i32 1, ptr %9, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.b43legacy_pio, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !16
store i32 1, ptr %11, align 4, !tbaa !17
%12 = load ptr, ptr %0, align 8, !tbaa !19
store i32 1, ptr %12, align 4, !tbaa !20
ret void
}
declare i32 @B43legacy_WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @b43legacy_using_pio(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"b43legacy_pio", !7, i64 0, !7, 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 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_6__", !12, i64 0}
!16 = !{!6, !7, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_7__", !12, i64 0}
!19 = !{!6, !7, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"TYPE_8__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_pio.c_b43legacy_pio_freeze_txqueues.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_pio.c_b43legacy_pio_freeze_txqueues.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 @b43legacy_pio_freeze_txqueues(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @b43legacy_using_pio(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @B43legacy_WARN_ON(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !6
store i32 1, ptr %7, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !14
store i32 1, ptr %9, align 4, !tbaa !15
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !17
store i32 1, ptr %11, align 4, !tbaa !18
%12 = load ptr, ptr %0, align 8, !tbaa !20
store i32 1, ptr %12, align 4, !tbaa !21
ret void
}
declare i32 @B43legacy_WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @b43legacy_using_pio(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"b43legacy_pio", !8, i64 0, !8, 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 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_6__", !13, i64 0}
!17 = !{!7, !8, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_7__", !13, i64 0}
!20 = !{!7, !8, i64 0}
!21 = !{!22, !13, i64 0}
!22 = !{!"TYPE_8__", !13, i64 0}
| fastsocket_kernel_drivers_net_wireless_b43legacy_extr_pio.c_b43legacy_pio_freeze_txqueues |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_error.c___scsi_try_to_abort_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_error.c___scsi_try_to_abort_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"
@FAILED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__scsi_try_to_abort_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__scsi_try_to_abort_cmd(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load ptr, ptr %4, align 8, !tbaa !14
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @FAILED, align 4, !tbaa !16
br label %11
9: ; preds = %1
%10 = tail call i32 %5(ptr noundef nonnull %0) #1
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %10, %9 ], [ %8, %7 ]
ret i32 %12
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"scsi_cmnd", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_error.c___scsi_try_to_abort_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_error.c___scsi_try_to_abort_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FAILED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__scsi_try_to_abort_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__scsi_try_to_abort_cmd(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load ptr, ptr %4, align 8, !tbaa !15
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @FAILED, align 4, !tbaa !17
br label %11
9: ; preds = %1
%10 = tail call i32 %5(ptr noundef nonnull %0) #1
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %10, %9 ], [ %8, %7 ]
ret i32 %12
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"scsi_cmnd", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_5__", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_4__", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_scsi_error.c___scsi_try_to_abort_cmd |
; ModuleID = 'AnghaBench/esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_provisioner/main/extr_ble_mesh_adapter.c_ble_mesh_set_node_prestore_params.c'
source_filename = "AnghaBench/esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_provisioner/main/extr_ble_mesh_adapter.c_ble_mesh_set_node_prestore_params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@ble_mesh_node_sema = dso_local local_unnamed_addr global i32 0, align 4
@portMAX_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@NODE_MAX_GROUP_CONFIG = dso_local local_unnamed_addr global i64 0, align 8
@ble_mesh_node_prestore_params = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @ble_mesh_set_node_prestore_params(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @ble_mesh_node_sema, align 4, !tbaa !5
%4 = load i32, ptr @portMAX_DELAY, align 4, !tbaa !5
%5 = tail call i32 @xSemaphoreTake(i32 noundef %3, i32 noundef %4) #2
%6 = load i64, ptr @NODE_MAX_GROUP_CONFIG, align 8, !tbaa !9
%7 = icmp eq i64 %6, 0
br i1 %7, label %53, label %8
8: ; preds = %2
%9 = load ptr, ptr @ble_mesh_node_prestore_params, align 8, !tbaa !11
%10 = trunc i64 %0 to i32
%11 = trunc i64 %1 to i32
%12 = and i64 %6, 1
%13 = icmp eq i64 %6, 1
br i1 %13, label %41, label %14
14: ; preds = %8
%15 = and i64 %6, -2
br label %16
16: ; preds = %37, %14
%17 = phi i64 [ 0, %14 ], [ %38, %37 ]
%18 = phi i64 [ 0, %14 ], [ %39, %37 ]
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %17
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = icmp eq i32 %20, 65535
br i1 %21, label %27, label %22
22: ; preds = %16
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %17, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !15
%25 = icmp eq i32 %24, 65535
br i1 %25, label %27, label %26
26: ; preds = %22
store i32 %10, ptr %19, align 4, !tbaa !13
store i32 %11, ptr %23, align 4, !tbaa !15
br label %27
27: ; preds = %16, %22, %26
%28 = or disjoint i64 %17, 1
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %28
%30 = load i32, ptr %29, align 4, !tbaa !13
%31 = icmp eq i32 %30, 65535
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %28, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !15
%35 = icmp eq i32 %34, 65535
br i1 %35, label %37, label %36
36: ; preds = %32
store i32 %10, ptr %29, align 4, !tbaa !13
store i32 %11, ptr %33, align 4, !tbaa !15
br label %37
37: ; preds = %36, %32, %27
%38 = add nuw i64 %17, 2
%39 = add i64 %18, 2
%40 = icmp eq i64 %39, %15
br i1 %40, label %41, label %16, !llvm.loop !16
41: ; preds = %37, %8
%42 = phi i64 [ 0, %8 ], [ %38, %37 ]
%43 = icmp eq i64 %12, 0
br i1 %43, label %53, label %44
44: ; preds = %41
%45 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %42
%46 = load i32, ptr %45, align 4, !tbaa !13
%47 = icmp eq i32 %46, 65535
br i1 %47, label %53, label %48
48: ; preds = %44
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %42, i32 1
%50 = load i32, ptr %49, align 4, !tbaa !15
%51 = icmp eq i32 %50, 65535
br i1 %51, label %53, label %52
52: ; preds = %48
store i32 %10, ptr %45, align 4, !tbaa !13
store i32 %11, ptr %49, align 4, !tbaa !15
br label %53
53: ; preds = %41, %52, %48, %44, %2
%54 = load i32, ptr @ble_mesh_node_sema, align 4, !tbaa !5
%55 = tail call i32 @xSemaphoreGive(i32 noundef %54) #2
ret void
}
declare i32 @xSemaphoreTake(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xSemaphoreGive(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}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!15 = !{!14, !6, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_provisioner/main/extr_ble_mesh_adapter.c_ble_mesh_set_node_prestore_params.c'
source_filename = "AnghaBench/esp-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_provisioner/main/extr_ble_mesh_adapter.c_ble_mesh_set_node_prestore_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32 }
@ble_mesh_node_sema = common local_unnamed_addr global i32 0, align 4
@portMAX_DELAY = common local_unnamed_addr global i32 0, align 4
@NODE_MAX_GROUP_CONFIG = common local_unnamed_addr global i64 0, align 8
@ble_mesh_node_prestore_params = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @ble_mesh_set_node_prestore_params(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @ble_mesh_node_sema, align 4, !tbaa !6
%4 = load i32, ptr @portMAX_DELAY, align 4, !tbaa !6
%5 = tail call i32 @xSemaphoreTake(i32 noundef %3, i32 noundef %4) #2
%6 = load i64, ptr @NODE_MAX_GROUP_CONFIG, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %26, label %8
8: ; preds = %2
%9 = load ptr, ptr @ble_mesh_node_prestore_params, align 8, !tbaa !12
%10 = trunc i64 %0 to i32
%11 = trunc i64 %1 to i32
br label %12
12: ; preds = %8, %23
%13 = phi i64 [ 0, %8 ], [ %24, %23 ]
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = icmp eq i32 %15, 65535
br i1 %16, label %23, label %17
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %14, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = icmp eq i32 %19, 65535
br i1 %20, label %23, label %21
21: ; preds = %17
store i32 %10, ptr %14, align 4, !tbaa !14
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %13, i32 1
store i32 %11, ptr %22, align 4, !tbaa !16
br label %23
23: ; preds = %12, %17, %21
%24 = add nuw i64 %13, 1
%25 = icmp eq i64 %24, %6
br i1 %25, label %26, label %12, !llvm.loop !17
26: ; preds = %23, %2
%27 = load i32, ptr @ble_mesh_node_sema, align 4, !tbaa !6
%28 = tail call i32 @xSemaphoreGive(i32 noundef %27) #2
ret void
}
declare i32 @xSemaphoreTake(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xSemaphoreGive(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}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!16 = !{!15, !7, i64 4}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| esp-idf_examples_bluetooth_esp_ble_mesh_ble_mesh_console_ble_mesh_provisioner_main_extr_ble_mesh_adapter.c_ble_mesh_set_node_prestore_params |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_front.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_front.c"
target datalayout = "e-m:e-p270:32:32-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.circlebuf = type { i64, i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @circlebuf_pop_front], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @circlebuf_pop_front(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @circlebuf_peek_front(ptr noundef %0, ptr noundef %1, i64 noundef %2) #3
%5 = getelementptr inbounds %struct.circlebuf, ptr %0, i64 0, i32 3
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = sub i64 %6, %2
store i64 %7, ptr %5, align 8, !tbaa !5
%8 = icmp eq i64 %6, %2
br i1 %8, label %9, label %10
9: ; preds = %3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %18
10: ; preds = %3
%11 = load i64, ptr %0, align 8, !tbaa !10
%12 = add i64 %11, %2
store i64 %12, ptr %0, align 8, !tbaa !10
%13 = getelementptr inbounds %struct.circlebuf, ptr %0, i64 0, i32 2
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = icmp slt i64 %12, %14
br i1 %15, label %18, label %16
16: ; preds = %10
%17 = sub nsw i64 %12, %14
store i64 %17, ptr %0, align 8, !tbaa !10
br label %18
18: ; preds = %9, %16, %10
ret void
}
declare i32 @circlebuf_peek_front(ptr noundef, ptr noundef, 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"circlebuf", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_front.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_front.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 @circlebuf_pop_front], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @circlebuf_pop_front(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @circlebuf_peek_front(ptr noundef %0, ptr noundef %1, i64 noundef %2) #3
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = sub i64 %6, %2
store i64 %7, ptr %5, align 8, !tbaa !6
%8 = icmp eq i64 %6, %2
br i1 %8, label %9, label %10
9: ; preds = %3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %18
10: ; preds = %3
%11 = load i64, ptr %0, align 8, !tbaa !11
%12 = add i64 %11, %2
store i64 %12, ptr %0, align 8, !tbaa !11
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = icmp slt i64 %12, %14
br i1 %15, label %18, label %16
16: ; preds = %10
%17 = sub nsw i64 %12, %14
store i64 %17, ptr %0, align 8, !tbaa !11
br label %18
18: ; preds = %9, %16, %10
ret void
}
declare i32 @circlebuf_peek_front(ptr noundef, ptr noundef, 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"circlebuf", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!7, !8, i64 16}
| obs-studio_libobs_extr_utilcirclebuf.h_circlebuf_pop_front |
; ModuleID = 'AnghaBench/tengine/src/stream/extr_ngx_stream_ssl_module.c_ngx_stream_ssl_add_variables.c'
source_filename = "AnghaBench/tengine/src/stream/extr_ngx_stream_ssl_module.c_ngx_stream_ssl_add_variables.c"
target datalayout = "e-m:e-p270:32:32-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, i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
@ngx_stream_ssl_vars = dso_local local_unnamed_addr global ptr null, align 8
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_stream_ssl_add_variables], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_stream_ssl_add_variables(ptr noundef %0) #0 {
%2 = load ptr, ptr @ngx_stream_ssl_vars, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %1, %13
%7 = phi ptr [ %16, %13 ], [ %3, %1 ]
%8 = phi ptr [ %15, %13 ], [ %2, %1 ]
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = tail call ptr @ngx_stream_add_variable(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %6
%14 = load <2 x i32>, ptr %8, align 8, !tbaa !15
store <2 x i32> %14, ptr %11, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 1
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 1, i32 3
%17 = load i64, ptr %16, align 8, !tbaa !9
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !16
19: ; preds = %6, %13, %1
%20 = phi ptr [ @NGX_OK, %1 ], [ @NGX_OK, %13 ], [ @NGX_ERROR, %6 ]
%21 = load i32, ptr %20, align 4, !tbaa !15
ret i32 %21
}
declare ptr @ngx_stream_add_variable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 16}
!10 = !{!"TYPE_5__", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/tengine/src/stream/extr_ngx_stream_ssl_module.c_ngx_stream_ssl_add_variables.c'
source_filename = "AnghaBench/tengine/src/stream/extr_ngx_stream_ssl_module.c_ngx_stream_ssl_add_variables.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ngx_stream_ssl_vars = common local_unnamed_addr global ptr null, align 8
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_stream_ssl_add_variables], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_stream_ssl_add_variables(ptr noundef %0) #0 {
%2 = load ptr, ptr @ngx_stream_ssl_vars, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %1, %13
%7 = phi ptr [ %16, %13 ], [ %3, %1 ]
%8 = phi ptr [ %15, %13 ], [ %2, %1 ]
%9 = getelementptr inbounds i8, ptr %8, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !15
%11 = tail call ptr @ngx_stream_add_variable(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %6
%14 = load <2 x i32>, ptr %8, align 8, !tbaa !16
store <2 x i32> %14, ptr %11, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %8, i64 24
%16 = getelementptr inbounds i8, ptr %8, i64 40
%17 = load i64, ptr %16, align 8, !tbaa !10
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !17
19: ; preds = %6, %13, %1
%20 = phi ptr [ @NGX_OK, %1 ], [ @NGX_OK, %13 ], [ @NGX_ERROR, %6 ]
%21 = load i32, ptr %20, align 4, !tbaa !16
ret i32 %21
}
declare ptr @ngx_stream_add_variable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 16}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| tengine_src_stream_extr_ngx_stream_ssl_module.c_ngx_stream_ssl_add_variables |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/base/extr_attribute_container.c_attribute_container_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/base/extr_attribute_container.c_attribute_container_unregister.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
%struct.attribute_container = type { %struct.TYPE_2__, i32 }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@attribute_container_mutex = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @attribute_container_unregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @EBUSY, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @attribute_container_mutex) #2
%5 = tail call i32 @spin_lock(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%7 = tail call i32 @list_empty(ptr noundef nonnull %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.attribute_container, ptr %0, i64 0, i32 1
%11 = tail call i32 @list_del(ptr noundef nonnull %10) #2
br label %12
12: ; preds = %1, %9
%13 = phi i32 [ 0, %9 ], [ %3, %1 ]
%14 = tail call i32 @spin_unlock(ptr noundef %0) #2
%15 = tail call i32 @mutex_unlock(ptr noundef nonnull @attribute_container_mutex) #2
ret i32 %13
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/base/extr_attribute_container.c_attribute_container_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/base/extr_attribute_container.c_attribute_container_unregister.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@attribute_container_mutex = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @attribute_container_unregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @EBUSY, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @attribute_container_mutex) #2
%5 = tail call i32 @spin_lock(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call i32 @list_empty(ptr noundef nonnull %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = tail call i32 @list_del(ptr noundef nonnull %10) #2
br label %12
12: ; preds = %1, %9
%13 = phi i32 [ 0, %9 ], [ %3, %1 ]
%14 = tail call i32 @spin_unlock(ptr noundef %0) #2
%15 = tail call i32 @mutex_unlock(ptr noundef nonnull @attribute_container_mutex) #2
ret i32 %13
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_base_extr_attribute_container.c_attribute_container_unregister |
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_upstream_check_module/extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_ssl_hello_parse.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_upstream_check_module/extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_ssl_hello_parse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i64 }
%struct.TYPE_12__ = type { i64, i64, %struct.TYPE_11__, i32, %struct.TYPE_10__ }
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, i32 }
@NGX_AGAIN = dso_local local_unnamed_addr global i32 0, align 4
@NGX_LOG_DEBUG_HTTP = dso_local local_unnamed_addr global i32 0, align 4
@ngx_cycle = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [109 x i8] c"http check ssl_parse, type: %ud, version: %ud.%ud, length: %ud, handshanke_type: %ud, hello_version: %ud.%ud\00", align 1
@NGX_SSL_HANDSHAKE = dso_local local_unnamed_addr global i64 0, align 8
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@NGX_SSL_SERVER_HELLO = dso_local local_unnamed_addr global i64 0, align 8
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_upstream_check_ssl_hello_parse], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_http_upstream_check_ssl_hello_parse(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = sub i64 %3, %5
%7 = icmp ult i64 %6, 40
br i1 %7, label %36, label %8
8: ; preds = %1
%9 = inttoptr i64 %5 to ptr
%10 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !15
%11 = load ptr, ptr @ngx_cycle, align 8, !tbaa !17
%12 = load i32, ptr %11, align 4, !tbaa !18
%13 = load i64, ptr %9, align 8, !tbaa !20
%14 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 4
%15 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 4, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !24
%17 = load i32, ptr %14, align 4, !tbaa !25
%18 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 3
%19 = load i32, ptr %18, align 8, !tbaa !26
%20 = tail call i32 @ntohs(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !27
%23 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 2
%24 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 2, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !28
%26 = load i32, ptr %23, align 8, !tbaa !29
%27 = tail call i32 @ngx_log_debug7(i32 noundef %10, i32 noundef %12, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %13, i32 noundef %16, i32 noundef %17, i32 noundef %20, i64 noundef %22, i32 noundef %25, i32 noundef %26) #2
%28 = load i64, ptr %9, align 8, !tbaa !20
%29 = load i64, ptr @NGX_SSL_HANDSHAKE, align 8, !tbaa !30
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %36
31: ; preds = %8
%32 = load i64, ptr %21, align 8, !tbaa !27
%33 = load i64, ptr @NGX_SSL_SERVER_HELLO, align 8, !tbaa !30
%34 = icmp eq i64 %32, %33
%35 = select i1 %34, ptr @NGX_OK, ptr @NGX_ERROR
br label %36
36: ; preds = %31, %8, %1
%37 = phi ptr [ @NGX_AGAIN, %1 ], [ @NGX_ERROR, %8 ], [ %35, %31 ]
%38 = load i32, ptr %37, align 4, !tbaa !15
ret i32 %38
}
declare i32 @ngx_log_debug7(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(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_13__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_14__", !12, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !16, i64 0}
!19 = !{!"TYPE_15__", !16, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_12__", !13, i64 0, !13, i64 8, !22, i64 16, !16, i64 24, !23, i64 28}
!22 = !{!"TYPE_11__", !16, i64 0, !16, i64 4}
!23 = !{!"TYPE_10__", !16, i64 0, !16, i64 4}
!24 = !{!21, !16, i64 32}
!25 = !{!21, !16, i64 28}
!26 = !{!21, !16, i64 24}
!27 = !{!21, !13, i64 8}
!28 = !{!21, !16, i64 20}
!29 = !{!21, !16, i64 16}
!30 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/tengine/modules/ngx_http_upstream_check_module/extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_ssl_hello_parse.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_upstream_check_module/extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_ssl_hello_parse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_AGAIN = common local_unnamed_addr global i32 0, align 4
@NGX_LOG_DEBUG_HTTP = common local_unnamed_addr global i32 0, align 4
@ngx_cycle = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [109 x i8] c"http check ssl_parse, type: %ud, version: %ud.%ud, length: %ud, handshanke_type: %ud, hello_version: %ud.%ud\00", align 1
@NGX_SSL_HANDSHAKE = common local_unnamed_addr global i64 0, align 8
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@NGX_SSL_SERVER_HELLO = common local_unnamed_addr global i64 0, align 8
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_upstream_check_ssl_hello_parse], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_http_upstream_check_ssl_hello_parse(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !11
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !15
%6 = sub i64 %3, %5
%7 = icmp ult i64 %6, 40
br i1 %7, label %36, label %8
8: ; preds = %1
%9 = inttoptr i64 %5 to ptr
%10 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !16
%11 = load ptr, ptr @ngx_cycle, align 8, !tbaa !18
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = load i64, ptr %9, align 8, !tbaa !21
%14 = getelementptr inbounds i8, ptr %9, i64 28
%15 = getelementptr inbounds i8, ptr %9, i64 32
%16 = load i32, ptr %15, align 4, !tbaa !25
%17 = load i32, ptr %14, align 4, !tbaa !26
%18 = getelementptr inbounds i8, ptr %9, i64 24
%19 = load i32, ptr %18, align 8, !tbaa !27
%20 = tail call i32 @ntohs(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %9, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !28
%23 = getelementptr inbounds i8, ptr %9, i64 16
%24 = getelementptr inbounds i8, ptr %9, i64 20
%25 = load i32, ptr %24, align 4, !tbaa !29
%26 = load i32, ptr %23, align 8, !tbaa !30
%27 = tail call i32 @ngx_log_debug7(i32 noundef %10, i32 noundef %12, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %13, i32 noundef %16, i32 noundef %17, i32 noundef %20, i64 noundef %22, i32 noundef %25, i32 noundef %26) #2
%28 = load i64, ptr %9, align 8, !tbaa !21
%29 = load i64, ptr @NGX_SSL_HANDSHAKE, align 8, !tbaa !31
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %36
31: ; preds = %8
%32 = load i64, ptr %21, align 8, !tbaa !28
%33 = load i64, ptr @NGX_SSL_SERVER_HELLO, align 8, !tbaa !31
%34 = icmp eq i64 %32, %33
%35 = select i1 %34, ptr @NGX_OK, ptr @NGX_ERROR
br label %36
36: ; preds = %31, %8, %1
%37 = phi ptr [ @NGX_AGAIN, %1 ], [ @NGX_ERROR, %8 ], [ %35, %31 ]
%38 = load i32, ptr %37, align 4, !tbaa !16
ret i32 %38
}
declare i32 @ngx_log_debug7(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(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_13__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"TYPE_14__", !13, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !17, i64 0}
!20 = !{!"TYPE_15__", !17, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"TYPE_12__", !14, i64 0, !14, i64 8, !23, i64 16, !17, i64 24, !24, i64 28}
!23 = !{!"TYPE_11__", !17, i64 0, !17, i64 4}
!24 = !{!"TYPE_10__", !17, i64 0, !17, i64 4}
!25 = !{!22, !17, i64 32}
!26 = !{!22, !17, i64 28}
!27 = !{!22, !17, i64 24}
!28 = !{!22, !14, i64 8}
!29 = !{!22, !17, i64 20}
!30 = !{!22, !17, i64 16}
!31 = !{!14, !14, i64 0}
| tengine_modules_ngx_http_upstream_check_module_extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_ssl_hello_parse |
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_sun4i-ts.c_sun4i_get_temp.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_sun4i-ts.c_sun4i_get_temp.c"
target datalayout = "e-m:e-p270:32:32-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.sun4i_ts_data = type { i32, i32, i32 }
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun4i_get_temp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @sun4i_get_temp(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EAGAIN, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
br label %15
8: ; preds = %2
%9 = getelementptr inbounds %struct.sun4i_ts_data, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = mul nsw i32 %10, %3
%12 = getelementptr inbounds %struct.sun4i_ts_data, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = sub nsw i32 %11, %13
store i32 %14, ptr %1, align 4, !tbaa !10
br label %15
15: ; preds = %8, %5
%16 = phi i32 [ %7, %5 ], [ 0, %8 ]
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sun4i_ts_data", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_sun4i-ts.c_sun4i_get_temp.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_sun4i-ts.c_sun4i_get_temp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sun4i_get_temp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @sun4i_get_temp(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EAGAIN, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %15
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = mul nsw i32 %10, %3
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = sub nsw i32 %11, %13
store i32 %14, ptr %1, align 4, !tbaa !11
br label %15
15: ; preds = %8, %5
%16 = phi i32 [ %7, %5 ], [ 0, %8 ]
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sun4i_ts_data", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
| linux_drivers_input_touchscreen_extr_sun4i-ts.c_sun4i_get_temp |
; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_nconf.c_handle_f5.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_nconf.c_handle_f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KEY_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @handle_f5], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @handle_f5(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @KEY_LEFT, align 4, !tbaa !5
store i32 %3, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_nconf.c_handle_f5.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_nconf.c_handle_f5.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KEY_LEFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @handle_f5], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @handle_f5(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @KEY_LEFT, align 4, !tbaa !6
store i32 %3, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_scripts_kconfig_extr_nconf.c_handle_f5 |
; ModuleID = 'AnghaBench/esp-idf/tools/windows/tool_setup/cmdlinerunner/extr_cmdlinerunner.c_proc_instance_allocate.c'
source_filename = "AnghaBench/esp-idf/tools/windows/tool_setup/cmdlinerunner/extr_cmdlinerunner.c_proc_instance_allocate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HEAP_ZERO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @proc_instance_allocate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @proc_instance_allocate() #0 {
%1 = tail call i32 (...) @GetProcessHeap() #2
%2 = load i32, ptr @HEAP_ZERO_MEMORY, align 4, !tbaa !5
%3 = tail call i64 @HeapAlloc(i32 noundef %1, i32 noundef %2, i32 noundef 4) #2
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
declare i64 @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/esp-idf/tools/windows/tool_setup/cmdlinerunner/extr_cmdlinerunner.c_proc_instance_allocate.c'
source_filename = "AnghaBench/esp-idf/tools/windows/tool_setup/cmdlinerunner/extr_cmdlinerunner.c_proc_instance_allocate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HEAP_ZERO_MEMORY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @proc_instance_allocate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @proc_instance_allocate() #0 {
%1 = tail call i32 @GetProcessHeap() #2
%2 = load i32, ptr @HEAP_ZERO_MEMORY, align 4, !tbaa !6
%3 = tail call i64 @HeapAlloc(i32 noundef %1, i32 noundef %2, i32 noundef 4) #2
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
declare i64 @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| esp-idf_tools_windows_tool_setup_cmdlinerunner_extr_cmdlinerunner.c_proc_instance_allocate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_configfs.c_target_fabric_configfs_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_configfs.c_target_fabric_configfs_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.target_fabric_configfs = type { i32, i32, i32, ptr, i32 }
@.str = private unnamed_addr constant [37 x i8] c"Unable to locate passed fabric name\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@TARGET_FABRIC_NAME_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [49 x i8] c"Passed name: %s exceeds TARGET_FABRIC_NAME_SIZE\0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@target_core_subsystem = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@g_tf_lock = dso_local global i32 0, align 4
@g_tf_list = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [64 x i8] c"<<<<<<<<<<<<<<<<<<<<<< BEGIN FABRIC API >>>>>>>>>>>>>>>>>>>>>>\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"Initialized struct target_fabric_configfs: %p for %s\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @target_fabric_configfs_init(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %9
4: ; preds = %2
%5 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3
%6 = load i32, ptr @EINVAL, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
%8 = tail call ptr @ERR_PTR(i32 noundef %7) #3
br label %45
9: ; preds = %2
%10 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%11 = load i64, ptr @TARGET_FABRIC_NAME_SIZE, align 8, !tbaa !9
%12 = icmp slt i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #3
%15 = load i32, ptr @EINVAL, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
%17 = tail call ptr @ERR_PTR(i32 noundef %16) #3
br label %45
18: ; preds = %9
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%20 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %19) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #3
br label %45
26: ; preds = %18
%27 = getelementptr inbounds %struct.target_fabric_configfs, ptr %20, i64 0, i32 1
%28 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %27) #3
%29 = getelementptr inbounds %struct.target_fabric_configfs, ptr %20, i64 0, i32 4
%30 = tail call i32 @atomic_set(ptr noundef nonnull %29, i32 noundef 0) #3
%31 = getelementptr inbounds %struct.target_fabric_configfs, ptr %20, i64 0, i32 3
store ptr %0, ptr %31, align 8, !tbaa !11
%32 = tail call i32 @target_fabric_setup_cits(ptr noundef nonnull %20) #3
%33 = load ptr, ptr @target_core_subsystem, align 8, !tbaa !14
%34 = load i32, ptr %33, align 4, !tbaa !5
%35 = getelementptr inbounds %struct.target_fabric_configfs, ptr %20, i64 0, i32 2
store i32 %34, ptr %35, align 8, !tbaa !15
%36 = load i32, ptr %20, align 8, !tbaa !16
%37 = load i64, ptr @TARGET_FABRIC_NAME_SIZE, align 8, !tbaa !9
%38 = tail call i32 @snprintf(i32 noundef %36, i64 noundef %37, ptr noundef nonnull @.str.2, ptr noundef nonnull %1) #3
%39 = tail call i32 @mutex_lock(ptr noundef nonnull @g_tf_lock) #3
%40 = tail call i32 @list_add_tail(ptr noundef nonnull %27, ptr noundef nonnull @g_tf_list) #3
%41 = tail call i32 @mutex_unlock(ptr noundef nonnull @g_tf_lock) #3
%42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3) #3
%43 = load i32, ptr %20, align 8, !tbaa !16
%44 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4, ptr noundef nonnull %20, i32 noundef %43) #3
br label %45
45: ; preds = %26, %22, %13, %4
%46 = phi ptr [ %17, %13 ], [ %20, %26 ], [ %25, %22 ], [ %8, %4 ]
ret ptr %46
}
declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 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 ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @target_fabric_setup_cits(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"target_fabric_configfs", !6, i64 0, !6, i64 4, !6, i64 8, !13, i64 16, !6, i64 24}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_configfs.c_target_fabric_configfs_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_configfs.c_target_fabric_configfs_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 [37 x i8] c"Unable to locate passed fabric name\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@TARGET_FABRIC_NAME_SIZE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [49 x i8] c"Passed name: %s exceeds TARGET_FABRIC_NAME_SIZE\0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@target_core_subsystem = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@g_tf_lock = common global i32 0, align 4
@g_tf_list = common global i32 0, align 4
@.str.3 = private unnamed_addr constant [64 x i8] c"<<<<<<<<<<<<<<<<<<<<<< BEGIN FABRIC API >>>>>>>>>>>>>>>>>>>>>>\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"Initialized struct target_fabric_configfs: %p for %s\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @target_fabric_configfs_init(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %9
4: ; preds = %2
%5 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3
%6 = load i32, ptr @EINVAL, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
%8 = tail call ptr @ERR_PTR(i32 noundef %7) #3
br label %45
9: ; preds = %2
%10 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%11 = load i64, ptr @TARGET_FABRIC_NAME_SIZE, align 8, !tbaa !10
%12 = icmp slt i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #3
%15 = load i32, ptr @EINVAL, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
%17 = tail call ptr @ERR_PTR(i32 noundef %16) #3
br label %45
18: ; preds = %9
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%20 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %19) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #3
br label %45
26: ; preds = %18
%27 = getelementptr inbounds i8, ptr %20, i64 4
%28 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %27) #3
%29 = getelementptr inbounds i8, ptr %20, i64 24
%30 = tail call i32 @atomic_set(ptr noundef nonnull %29, i32 noundef 0) #3
%31 = getelementptr inbounds i8, ptr %20, i64 16
store ptr %0, ptr %31, align 8, !tbaa !12
%32 = tail call i32 @target_fabric_setup_cits(ptr noundef nonnull %20) #3
%33 = load ptr, ptr @target_core_subsystem, align 8, !tbaa !15
%34 = load i32, ptr %33, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %20, i64 8
store i32 %34, ptr %35, align 8, !tbaa !16
%36 = load i32, ptr %20, align 8, !tbaa !17
%37 = load i64, ptr @TARGET_FABRIC_NAME_SIZE, align 8, !tbaa !10
%38 = tail call i32 @snprintf(i32 noundef %36, i64 noundef %37, ptr noundef nonnull @.str.2, ptr noundef nonnull %1) #3
%39 = tail call i32 @mutex_lock(ptr noundef nonnull @g_tf_lock) #3
%40 = tail call i32 @list_add_tail(ptr noundef nonnull %27, ptr noundef nonnull @g_tf_list) #3
%41 = tail call i32 @mutex_unlock(ptr noundef nonnull @g_tf_lock) #3
%42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3) #3
%43 = load i32, ptr %20, align 8, !tbaa !17
%44 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4, ptr noundef nonnull %20, i32 noundef %43) #3
br label %45
45: ; preds = %26, %22, %13, %4
%46 = phi ptr [ %17, %13 ], [ %20, %26 ], [ %25, %22 ], [ %8, %4 ]
ret ptr %46
}
declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 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 ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @target_fabric_setup_cits(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 16}
!13 = !{!"target_fabric_configfs", !7, i64 0, !7, i64 4, !7, i64 8, !14, i64 16, !7, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !7, i64 8}
!17 = !{!13, !7, i64 0}
| fastsocket_kernel_drivers_target_extr_target_core_configfs.c_target_fabric_configfs_init |
; ModuleID = 'AnghaBench/linux/fs/notify/extr_..mount.h_is_mounted.c'
source_filename = "AnghaBench/linux/fs/notify/extr_..mount.h_is_mounted.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_mounted], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @is_mounted(ptr noundef %0) #0 {
%2 = tail call ptr @real_mount(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare ptr @real_mount(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/notify/extr_..mount.h_is_mounted.c'
source_filename = "AnghaBench/linux/fs/notify/extr_..mount.h_is_mounted.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @is_mounted], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_mounted(ptr noundef %0) #0 {
%2 = tail call ptr @real_mount(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare ptr @real_mount(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_fs_notify_extr_..mount.h_is_mounted |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_dispmanx.c_lock_release.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_dispmanx.c_lock_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i32, ptr, i64 }
@dispmanx_client = dso_local global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @lock_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @lock_release() #0 {
%1 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @dispmanx_client, i64 0, i32 3), align 8, !tbaa !5
%2 = tail call i32 @vcos_assert(i64 noundef %1) #2
%3 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @dispmanx_client, i64 0, i32 3), align 8, !tbaa !5
%4 = icmp ne i64 %3, 0
%5 = load i64, ptr @dispmanx_client, align 8
%6 = icmp ne i64 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %17
8: ; preds = %0, %8
%9 = phi i64 [ %14, %8 ], [ 0, %0 ]
%10 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @dispmanx_client, i64 0, i32 2), align 8, !tbaa !12
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @vchi_service_release(i32 noundef %12) #2
%14 = add nuw i64 %9, 1
%15 = load i64, ptr @dispmanx_client, align 8, !tbaa !14
%16 = icmp ult i64 %14, %15
br i1 %16, label %8, label %17, !llvm.loop !15
17: ; preds = %8, %0
%18 = tail call i32 @vcos_mutex_unlock(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @dispmanx_client, i64 0, i32 1)) #2
ret void
}
declare i32 @vcos_assert(i64 noundef) local_unnamed_addr #1
declare i32 @vchi_service_release(i32 noundef) local_unnamed_addr #1
declare i32 @vcos_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_dispmanx.c_lock_release.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_dispmanx.c_lock_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i32, ptr, i64 }
@dispmanx_client = common global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @lock_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @lock_release() #0 {
%1 = load i64, ptr getelementptr inbounds (i8, ptr @dispmanx_client, i64 24), align 8, !tbaa !6
%2 = tail call i32 @vcos_assert(i64 noundef %1) #2
%3 = load i64, ptr getelementptr inbounds (i8, ptr @dispmanx_client, i64 24), align 8, !tbaa !6
%4 = icmp ne i64 %3, 0
%5 = load i64, ptr @dispmanx_client, align 8
%6 = icmp ne i64 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %17
8: ; preds = %0, %8
%9 = phi i64 [ %14, %8 ], [ 0, %0 ]
%10 = load ptr, ptr getelementptr inbounds (i8, ptr @dispmanx_client, i64 16), align 8, !tbaa !13
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @vchi_service_release(i32 noundef %12) #2
%14 = add nuw i64 %9, 1
%15 = load i64, ptr @dispmanx_client, align 8, !tbaa !15
%16 = icmp ult i64 %14, %15
br i1 %16, label %8, label %17, !llvm.loop !16
17: ; preds = %8, %0
%18 = tail call i32 @vcos_mutex_unlock(ptr noundef nonnull getelementptr inbounds (i8, ptr @dispmanx_client, i64 8)) #2
ret void
}
declare i32 @vcos_assert(i64 noundef) local_unnamed_addr #1
declare i32 @vchi_service_release(i32 noundef) local_unnamed_addr #1
declare i32 @vcos_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| RetroArch_gfx_include_userland_interface_vmcs_host_extr_vc_vchi_dispmanx.c_lock_release |
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_lagg.c_lagg_lb_detach.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_lagg.c_lagg_lb_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M_LAGG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lagg_lb_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lagg_lb_detach(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = inttoptr i64 %2 to ptr
%6 = load i32, ptr @M_LAGG, align 4, !tbaa !10
%7 = tail call i32 @free(ptr noundef nonnull %5, i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @free(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 = !{!"lagg_softc", !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}
| ; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_lagg.c_lagg_lb_detach.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_lagg.c_lagg_lb_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_LAGG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lagg_lb_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lagg_lb_detach(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = inttoptr i64 %2 to ptr
%6 = load i32, ptr @M_LAGG, align 4, !tbaa !11
%7 = tail call i32 @free(ptr noundef nonnull %5, i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @free(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 = !{!"lagg_softc", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| freebsd_sys_net_extr_if_lagg.c_lagg_lb_detach |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_setup_pcicmd.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_setup_pcicmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PCI_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_INTX_DISABLE = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_IO = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MASTER = dso_local local_unnamed_addr global i32 0, align 4
@REG_PM_CTRLSTAT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atl2_setup_pcicmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @atl2_setup_pcicmd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !5
%4 = call i32 @pci_read_config_word(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = load i32, ptr @PCI_COMMAND_INTX_DISABLE, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = xor i32 %6, -1
%11 = and i32 %5, %10
store i32 %11, ptr %2, align 4, !tbaa !5
br label %12
12: ; preds = %9, %1
%13 = phi i32 [ %11, %9 ], [ %5, %1 ]
%14 = load i32, ptr @PCI_COMMAND_IO, align 4, !tbaa !5
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %12
%18 = xor i32 %14, -1
%19 = and i32 %13, %18
store i32 %19, ptr %2, align 4, !tbaa !5
br label %20
20: ; preds = %17, %12
%21 = phi i32 [ %19, %17 ], [ %13, %12 ]
%22 = load i32, ptr @PCI_COMMAND_MEMORY, align 4, !tbaa !5
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = or i32 %22, %21
store i32 %26, ptr %2, align 4, !tbaa !5
br label %27
27: ; preds = %25, %20
%28 = phi i32 [ %26, %25 ], [ %21, %20 ]
%29 = load i32, ptr @PCI_COMMAND_MASTER, align 4, !tbaa !5
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = or i32 %29, %28
store i32 %33, ptr %2, align 4, !tbaa !5
br label %34
34: ; preds = %32, %27
%35 = phi i32 [ %33, %32 ], [ %28, %27 ]
%36 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !5
%37 = call i32 @pci_write_config_word(ptr noundef %0, i32 noundef %36, i32 noundef %35) #3
%38 = load i32, ptr @REG_PM_CTRLSTAT, align 4, !tbaa !5
%39 = call i32 @pci_write_config_dword(ptr noundef %0, i32 noundef %38, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_setup_pcicmd.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_setup_pcicmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI_COMMAND = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_INTX_DISABLE = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_IO = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MEMORY = common local_unnamed_addr global i32 0, align 4
@PCI_COMMAND_MASTER = common local_unnamed_addr global i32 0, align 4
@REG_PM_CTRLSTAT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atl2_setup_pcicmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @atl2_setup_pcicmd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !6
%4 = call i32 @pci_read_config_word(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = load i32, ptr @PCI_COMMAND_INTX_DISABLE, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = xor i32 %6, -1
%11 = and i32 %5, %10
store i32 %11, ptr %2, align 4, !tbaa !6
br label %12
12: ; preds = %9, %1
%13 = phi i32 [ %11, %9 ], [ %5, %1 ]
%14 = load i32, ptr @PCI_COMMAND_IO, align 4, !tbaa !6
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %12
%18 = xor i32 %14, -1
%19 = and i32 %13, %18
store i32 %19, ptr %2, align 4, !tbaa !6
br label %20
20: ; preds = %17, %12
%21 = phi i32 [ %19, %17 ], [ %13, %12 ]
%22 = load i32, ptr @PCI_COMMAND_MEMORY, align 4, !tbaa !6
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = or i32 %22, %21
store i32 %26, ptr %2, align 4, !tbaa !6
br label %27
27: ; preds = %25, %20
%28 = phi i32 [ %26, %25 ], [ %21, %20 ]
%29 = load i32, ptr @PCI_COMMAND_MASTER, align 4, !tbaa !6
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = or i32 %29, %28
store i32 %33, ptr %2, align 4, !tbaa !6
br label %34
34: ; preds = %32, %27
%35 = phi i32 [ %33, %32 ], [ %28, %27 ]
%36 = load i32, ptr @PCI_COMMAND, align 4, !tbaa !6
%37 = call i32 @pci_write_config_word(ptr noundef %0, i32 noundef %36, i32 noundef %35) #3
%38 = load i32, ptr @REG_PM_CTRLSTAT, align 4, !tbaa !6
%39 = call i32 @pci_write_config_dword(ptr noundef %0, i32 noundef %38, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_atheros_atlx_extr_atl2.c_atl2_setup_pcicmd |
; ModuleID = 'AnghaBench/goaccess/src/extr_parser.c_gen_referer_key.c'
source_filename = "AnghaBench/goaccess/src/extr_parser.c_gen_referer_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 @gen_referer_key], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gen_referer_key(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @get_kdata(ptr noundef %0, i32 noundef %3, i32 noundef %3) #2
br label %7
7: ; preds = %2, %5
%8 = phi i32 [ 0, %5 ], [ 1, %2 ]
ret i32 %8
}
declare i32 @get_kdata(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_parser.c_gen_referer_key.c'
source_filename = "AnghaBench/goaccess/src/extr_parser.c_gen_referer_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 @gen_referer_key], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @gen_referer_key(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @get_kdata(ptr noundef %0, i32 noundef %3, i32 noundef %3) #2
br label %7
7: ; preds = %2, %5
%8 = phi i32 [ 0, %5 ], [ 1, %2 ]
ret i32 %8
}
declare i32 @get_kdata(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| goaccess_src_extr_parser.c_gen_referer_key |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_emu.c_pemu_prep_defconfig.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_emu.c_pemu_prep_defconfig.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64 }
@defaultConfig = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @pemu_prep_defconfig() local_unnamed_addr #0 {
store i32 22050, ptr @defaultConfig, align 8, !tbaa !5
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @defaultConfig, i64 0, i32 3), align 8, !tbaa !12
%1 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @defaultConfig, i64 0, i32 1), align 8, !tbaa !13
store <4 x i32> <i32 4, i32 8, i32 1, i32 2>, ptr %1, align 4, !tbaa !14
%2 = getelementptr inbounds i32, ptr %1, i64 4
store <4 x i32> <i32 128, i32 16, i32 32, i32 64>, ptr %2, align 4, !tbaa !14
%3 = getelementptr inbounds i32, ptr %1, i64 13
store i32 67108864, ptr %3, align 4, !tbaa !14
%4 = getelementptr inbounds i32, ptr %1, i64 8
store i32 134217728, ptr %4, align 4, !tbaa !14
%5 = getelementptr inbounds i32, ptr %1, i64 9
store i32 268435456, ptr %5, align 4, !tbaa !14
%6 = getelementptr inbounds i32, ptr %1, i64 12
store i32 536870912, ptr %6, align 4, !tbaa !14
%7 = getelementptr inbounds i32, ptr %1, i64 11
store i32 1073741824, ptr %7, align 4, !tbaa !14
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @defaultConfig, i64 0, i32 2), align 8, !tbaa !15
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !10, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_emu.c_pemu_prep_defconfig.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_emu.c_pemu_prep_defconfig.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, i64, i64 }
@defaultConfig = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @pemu_prep_defconfig() local_unnamed_addr #0 {
store i32 22050, ptr @defaultConfig, align 8, !tbaa !6
%1 = load ptr, ptr getelementptr inbounds (i8, ptr @defaultConfig, i64 8), align 8, !tbaa !13
store <4 x i32> <i32 4, i32 8, i32 1, i32 2>, ptr %1, align 4, !tbaa !14
%2 = getelementptr inbounds i8, ptr %1, i64 16
store <4 x i32> <i32 128, i32 16, i32 32, i32 64>, ptr %2, align 4, !tbaa !14
%3 = getelementptr inbounds i8, ptr %1, i64 52
store i32 67108864, ptr %3, align 4, !tbaa !14
%4 = getelementptr inbounds i8, ptr %1, i64 32
store <2 x i32> <i32 134217728, i32 268435456>, ptr %4, align 4, !tbaa !14
%5 = getelementptr inbounds i8, ptr %1, i64 44
store <2 x i32> <i32 1073741824, i32 536870912>, ptr %5, align 4, !tbaa !14
store <2 x i64> zeroinitializer, ptr getelementptr inbounds (i8, ptr @defaultConfig, i64 16), align 8, !tbaa !15
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!12, !12, i64 0}
| Provenance_Cores_PicoDrive_platform_gizmondo_extr_emu.c_pemu_prep_defconfig |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgb/extr_ixgb_hw.c_ixgb_identify_xpak_vendor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgb/extr_ixgb_hw.c_ixgb_identify_xpak_vendor.c"
target datalayout = "e-m:e-p270:32:32-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 [26 x i8] c"ixgb_identify_xpak_vendor\00", align 1
@MDIO_PMA_PMD_XPAK_VENDOR_NAME = dso_local local_unnamed_addr global i64 0, align 8
@IXGB_PHY_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@MDIO_MMD_PMAPMD = dso_local local_unnamed_addr global i32 0, align 4
@ixgb_xpak_vendor_intel = dso_local local_unnamed_addr global i32 0, align 4
@ixgb_xpak_vendor_infineon = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgb_identify_xpak_vendor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ixgb_identify_xpak_vendor(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !5
%4 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !9
%5 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !9
%6 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !5
%8 = add nsw i64 %7, 1
%9 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !9
%10 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !9
%11 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !5
%13 = add nsw i64 %12, 2
%14 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !9
%15 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !9
%16 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !5
%18 = add nsw i64 %17, 3
%19 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !9
%20 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !9
%21 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %18, i32 noundef %19, i32 noundef %20) #2
%22 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !5
%23 = add nsw i64 %22, 4
%24 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !9
%25 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !9
%26 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %23, i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq i8 %6, 73
%28 = icmp eq i8 %11, 78
%29 = select i1 %27, i1 %28, i1 false
%30 = icmp eq i8 %16, 84
%31 = select i1 %29, i1 %30, i1 false
%32 = icmp eq i8 %21, 69
%33 = select i1 %31, i1 %32, i1 false
%34 = icmp eq i8 %26, 76
%35 = select i1 %33, i1 %34, i1 false
%36 = load i32, ptr @ixgb_xpak_vendor_intel, align 4
%37 = load i32, ptr @ixgb_xpak_vendor_infineon, align 4
%38 = select i1 %35, i32 %36, i32 %37
ret i32 %38
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare signext i8 @ixgb_read_phy_reg(ptr noundef, 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgb/extr_ixgb_hw.c_ixgb_identify_xpak_vendor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgb/extr_ixgb_hw.c_ixgb_identify_xpak_vendor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [26 x i8] c"ixgb_identify_xpak_vendor\00", align 1
@MDIO_PMA_PMD_XPAK_VENDOR_NAME = common local_unnamed_addr global i64 0, align 8
@IXGB_PHY_ADDRESS = common local_unnamed_addr global i32 0, align 4
@MDIO_MMD_PMAPMD = common local_unnamed_addr global i32 0, align 4
@ixgb_xpak_vendor_intel = common local_unnamed_addr global i32 0, align 4
@ixgb_xpak_vendor_infineon = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgb_identify_xpak_vendor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ixgb_identify_xpak_vendor(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !6
%4 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !10
%5 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !10
%6 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !6
%8 = add nsw i64 %7, 1
%9 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !10
%10 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !10
%11 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !6
%13 = add nsw i64 %12, 2
%14 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !10
%15 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !10
%16 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !6
%18 = add nsw i64 %17, 3
%19 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !10
%20 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !10
%21 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %18, i32 noundef %19, i32 noundef %20) #2
%22 = load i64, ptr @MDIO_PMA_PMD_XPAK_VENDOR_NAME, align 8, !tbaa !6
%23 = add nsw i64 %22, 4
%24 = load i32, ptr @IXGB_PHY_ADDRESS, align 4, !tbaa !10
%25 = load i32, ptr @MDIO_MMD_PMAPMD, align 4, !tbaa !10
%26 = tail call signext i8 @ixgb_read_phy_reg(ptr noundef %0, i64 noundef %23, i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq i8 %6, 73
%28 = icmp eq i8 %11, 78
%29 = select i1 %27, i1 %28, i1 false
%30 = icmp eq i8 %16, 84
%31 = select i1 %29, i1 %30, i1 false
%32 = icmp eq i8 %21, 69
%33 = select i1 %31, i1 %32, i1 false
%34 = icmp eq i8 %26, 76
%35 = select i1 %33, i1 %34, i1 false
%36 = load i32, ptr @ixgb_xpak_vendor_intel, align 4
%37 = load i32, ptr @ixgb_xpak_vendor_infineon, align 4
%38 = select i1 %35, i32 %36, i32 %37
ret i32 %38
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare signext i8 @ixgb_read_phy_reg(ptr noundef, 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, !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}
| fastsocket_kernel_drivers_net_ixgb_extr_ixgb_hw.c_ixgb_identify_xpak_vendor |
; ModuleID = 'AnghaBench/freebsd/lib/libc/stdlib/extr_llabs.c_llabs.c'
source_filename = "AnghaBench/freebsd/lib/libc/stdlib/extr_llabs.c_llabs.c"
target datalayout = "e-m:e-p270:32:32-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 i64 @llabs(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @llvm.abs.i64(i64 %0, i1 true)
ret i64 %2
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/stdlib/extr_llabs.c_llabs.c'
source_filename = "AnghaBench/freebsd/lib/libc/stdlib/extr_llabs.c_llabs.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 i64 @llabs(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @llvm.abs.i64(i64 %0, i1 true)
ret i64 %2
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_lib_libc_stdlib_extr_llabs.c_llabs |
; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_mp4_module.c_ngx_rtmp_mp4_parse_avcC.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_mp4_module.c_ngx_rtmp_mp4_parse_avcC.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_10__ = type { %struct.TYPE_8__* }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_11__ = type { %struct.TYPE_9__* }
%struct.TYPE_9__ = type { i64, i64, i32* }
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@ngx_rtmp_mp4_module = dso_local local_unnamed_addr global i32 0, align 4
@NGX_RTMP_VIDEO_H264 = dso_local local_unnamed_addr global i64 0, align 8
@NGX_LOG_DEBUG_RTMP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"mp4: video h264 header size=%uz\00", align 1
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.TYPE_10__*, i32*, i32*)* @ngx_rtmp_mp4_parse_avcC to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_rtmp_mp4_parse_avcC(%struct.TYPE_10__* noundef %0, i32* noundef %1, i32* noundef %2) #0 {
%4 = icmp eq i32* %1, %2
br i1 %4, label %29, label %5
5: ; preds = %3
%6 = load i32, i32* @ngx_rtmp_mp4_module, align 4, !tbaa !5
%7 = tail call %struct.TYPE_11__* @ngx_rtmp_get_module_ctx(%struct.TYPE_10__* noundef %0, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %7, i64 0, i32 0
%9 = load %struct.TYPE_9__*, %struct.TYPE_9__** %8, align 8, !tbaa !9
%10 = icmp eq %struct.TYPE_9__* %9, null
br i1 %10, label %29, label %11
11: ; preds = %5
%12 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %9, i64 0, i32 0
%13 = load i64, i64* %12, align 8, !tbaa !12
%14 = load i64, i64* @NGX_RTMP_VIDEO_H264, align 8, !tbaa !15
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %11
%17 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %9, i64 0, i32 2
store i32* %1, i32** %17, align 8, !tbaa !16
%18 = ptrtoint i32* %2 to i64
%19 = ptrtoint i32* %1 to i64
%20 = sub i64 %18, %19
%21 = ashr exact i64 %20, 2
%22 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %9, i64 0, i32 1
store i64 %21, i64* %22, align 8, !tbaa !17
%23 = load i32, i32* @NGX_LOG_DEBUG_RTMP, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %0, i64 0, i32 0
%25 = load %struct.TYPE_8__*, %struct.TYPE_8__** %24, align 8, !tbaa !18
%26 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %25, i64 0, i32 0
%27 = load i32, i32* %26, align 4, !tbaa !20
%28 = tail call i32 @ngx_log_debug1(i32 noundef %23, i32 noundef %27, i32 noundef 0, i8* noundef getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i64 noundef %21) #2
br label %29
29: ; preds = %5, %11, %3, %16
%30 = load i32, i32* @NGX_OK, align 4, !tbaa !5
ret i32 %30
}
declare %struct.TYPE_11__* @ngx_rtmp_get_module_ctx(%struct.TYPE_10__* noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, i8* noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_11__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0, !14, i64 8, !11, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !11, i64 16}
!17 = !{!13, !14, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_10__", !11, i64 0}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_8__", !6, i64 0}
| ; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_mp4_module.c_ngx_rtmp_mp4_parse_avcC.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_mp4_module.c_ngx_rtmp_mp4_parse_avcC.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 i32 0, align 4
@ngx_rtmp_mp4_module = common local_unnamed_addr global i32 0, align 4
@NGX_RTMP_VIDEO_H264 = common local_unnamed_addr global i64 0, align 8
@NGX_LOG_DEBUG_RTMP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"mp4: video h264 header size=%uz\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_mp4_parse_avcC], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_rtmp_mp4_parse_avcC(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %1, %2
br i1 %4, label %25, label %5
5: ; preds = %3
%6 = load i32, ptr @ngx_rtmp_mp4_module, align 4, !tbaa !6
%7 = tail call ptr @ngx_rtmp_get_module_ctx(ptr noundef %0, i32 noundef %6) #2
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %25, label %10
10: ; preds = %5
%11 = load i64, ptr %8, align 8, !tbaa !13
%12 = load i64, ptr @NGX_RTMP_VIDEO_H264, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %8, i64 16
store ptr %1, ptr %15, align 8, !tbaa !17
%16 = ptrtoint ptr %2 to i64
%17 = ptrtoint ptr %1 to i64
%18 = sub i64 %16, %17
%19 = ashr exact i64 %18, 2
%20 = getelementptr inbounds i8, ptr %8, i64 8
store i64 %19, ptr %20, align 8, !tbaa !18
%21 = load i32, ptr @NGX_LOG_DEBUG_RTMP, align 4, !tbaa !6
%22 = load ptr, ptr %0, align 8, !tbaa !19
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = tail call i32 @ngx_log_debug1(i32 noundef %21, i32 noundef %23, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %19) #2
br label %25
25: ; preds = %5, %10, %3, %14
%26 = load i32, ptr @NGX_OK, align 4, !tbaa !6
ret i32 %26
}
declare ptr @ngx_rtmp_get_module_ctx(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_11__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_9__", !15, i64 0, !15, i64 8, !12, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !12, i64 16}
!18 = !{!14, !15, i64 8}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_10__", !12, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_8__", !7, i64 0}
| nginx-rtmp-module_extr_ngx_rtmp_mp4_module.c_ngx_rtmp_mp4_parse_avcC |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_asrc_anoisesrc.c_brown_filter.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_asrc_anoisesrc.c_brown_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @brown_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal double @brown_filter(double noundef %0, ptr nocapture noundef %1) #0 {
%3 = load double, ptr %1, align 8, !tbaa !5
%4 = tail call double @llvm.fmuladd.f64(double %0, double 2.000000e-02, double %3)
%5 = fdiv double %4, 1.020000e+00
store double %5, ptr %1, align 8, !tbaa !5
%6 = fmul double %5, 3.500000e+00
ret double %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_asrc_anoisesrc.c_brown_filter.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_asrc_anoisesrc.c_brown_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @brown_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal double @brown_filter(double noundef %0, ptr nocapture noundef %1) #0 {
%3 = load double, ptr %1, align 8, !tbaa !6
%4 = tail call double @llvm.fmuladd.f64(double %0, double 2.000000e-02, double %3)
%5 = fdiv double %4, 1.020000e+00
store double %5, ptr %1, align 8, !tbaa !6
%6 = fmul double %5, 3.500000e+00
ret double %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavfilter_extr_asrc_anoisesrc.c_brown_filter |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_skl_adjusted_plane_pixel_rate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_skl_adjusted_plane_pixel_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @skl_adjusted_plane_pixel_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @skl_adjusted_plane_pixel_rate(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @intel_wm_plane_visible(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @WARN_ON(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @skl_plane_downscale_amount(ptr noundef nonnull %0, ptr noundef %1) #2
%11 = tail call i32 @mul_round_up_u32_fixed16(i32 noundef %9, i32 noundef %10) #2
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ %11, %8 ], [ 0, %2 ]
ret i32 %13
}
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @intel_wm_plane_visible(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_plane_downscale_amount(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mul_round_up_u32_fixed16(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 = !{!"intel_crtc_state", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_skl_adjusted_plane_pixel_rate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_skl_adjusted_plane_pixel_rate.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 @skl_adjusted_plane_pixel_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @skl_adjusted_plane_pixel_rate(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @intel_wm_plane_visible(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @WARN_ON(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @skl_plane_downscale_amount(ptr noundef nonnull %0, ptr noundef %1) #2
%11 = tail call i32 @mul_round_up_u32_fixed16(i32 noundef %9, i32 noundef %10) #2
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ %11, %8 ], [ 0, %2 ]
ret i32 %13
}
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @intel_wm_plane_visible(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_plane_downscale_amount(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mul_round_up_u32_fixed16(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 = !{!"intel_crtc_state", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_extr_intel_pm.c_skl_adjusted_plane_pixel_rate |
; ModuleID = 'AnghaBench/Cinder/src/freetype/cache/extr_ftcmanag.c_ftc_size_node_compare_faceid.c'
source_filename = "AnghaBench/Cinder/src/freetype/cache/extr_ftcmanag.c_ftc_size_node_compare_faceid.c"
target datalayout = "e-m:e-p270:32:32-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 @ftc_size_node_compare_faceid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ftc_size_node_compare_faceid(i32 noundef %0, i32 noundef %1) #0 {
%3 = sext i32 %0 to i64
%4 = inttoptr i64 %3 to ptr
%5 = sext i32 %1 to i64
%6 = load i64, ptr %4, align 8, !tbaa !5
%7 = icmp eq i64 %6, %5
%8 = zext i1 %7 to i32
%9 = tail call i32 @FT_BOOL(i32 noundef %8) #2
ret i32 %9
}
declare i32 @FT_BOOL(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_4__", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Cinder/src/freetype/cache/extr_ftcmanag.c_ftc_size_node_compare_faceid.c'
source_filename = "AnghaBench/Cinder/src/freetype/cache/extr_ftcmanag.c_ftc_size_node_compare_faceid.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 @ftc_size_node_compare_faceid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ftc_size_node_compare_faceid(i32 noundef %0, i32 noundef %1) #0 {
%3 = sext i32 %0 to i64
%4 = inttoptr i64 %3 to ptr
%5 = sext i32 %1 to i64
%6 = load i64, ptr %4, align 8, !tbaa !6
%7 = icmp eq i64 %6, %5
%8 = zext i1 %7 to i32
%9 = tail call i32 @FT_BOOL(i32 noundef %8) #2
ret i32 %9
}
declare i32 @FT_BOOL(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_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| Cinder_src_freetype_cache_extr_ftcmanag.c_ftc_size_node_compare_faceid |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl12xx/extr_scan.c_wl12xx_scan_sched_scan_stop.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl12xx/extr_scan.c_wl12xx_scan_sched_scan_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.wl1271_cmd_sched_scan_stop = type { i32, i32 }
@DEBUG_CMD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"cmd periodic scan stop\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"failed to alloc memory to send sched scan stop\00", align 1
@WL1271_SCAN_DEFAULT_TAG = dso_local local_unnamed_addr global i32 0, align 4
@CMD_STOP_PERIODIC_SCAN = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"failed to send sched scan stop command\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @wl12xx_scan_sched_scan_stop(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DEBUG_CMD, align 4, !tbaa !5
%4 = tail call i32 @wl1271_debug(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2
br label %21
10: ; preds = %2
%11 = load i32, ptr %1, align 4, !tbaa !9
%12 = getelementptr inbounds %struct.wl1271_cmd_sched_scan_stop, ptr %6, i64 0, i32 1
store i32 %11, ptr %12, align 4, !tbaa !11
%13 = load i32, ptr @WL1271_SCAN_DEFAULT_TAG, align 4, !tbaa !5
store i32 %13, ptr %6, align 4, !tbaa !13
%14 = load i32, ptr @CMD_STOP_PERIODIC_SCAN, align 4, !tbaa !5
%15 = tail call i32 @wl1271_cmd_send(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %6, i32 noundef 8, i32 noundef 0) #2
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %10
%18 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.2) #2
br label %19
19: ; preds = %10, %17
%20 = tail call i32 @kfree(ptr noundef nonnull %6) #2
br label %21
21: ; preds = %19, %8
ret void
}
declare i32 @wl1271_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_cmd_send(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"wl12xx_vif", !6, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"wl1271_cmd_sched_scan_stop", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl12xx/extr_scan.c_wl12xx_scan_sched_scan_stop.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl12xx/extr_scan.c_wl12xx_scan_sched_scan_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEBUG_CMD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"cmd periodic scan stop\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"failed to alloc memory to send sched scan stop\00", align 1
@WL1271_SCAN_DEFAULT_TAG = common local_unnamed_addr global i32 0, align 4
@CMD_STOP_PERIODIC_SCAN = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"failed to send sched scan stop command\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @wl12xx_scan_sched_scan_stop(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DEBUG_CMD, align 4, !tbaa !6
%4 = tail call i32 @wl1271_debug(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2
br label %21
10: ; preds = %2
%11 = load i32, ptr %1, align 4, !tbaa !10
%12 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %11, ptr %12, align 4, !tbaa !12
%13 = load i32, ptr @WL1271_SCAN_DEFAULT_TAG, align 4, !tbaa !6
store i32 %13, ptr %6, align 4, !tbaa !14
%14 = load i32, ptr @CMD_STOP_PERIODIC_SCAN, align 4, !tbaa !6
%15 = tail call i32 @wl1271_cmd_send(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %6, i32 noundef 8, i32 noundef 0) #2
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %10
%18 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.2) #2
br label %19
19: ; preds = %10, %17
%20 = tail call i32 @kfree(ptr noundef nonnull %6) #2
br label %21
21: ; preds = %19, %8
ret void
}
declare i32 @wl1271_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_cmd_send(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"wl12xx_vif", !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"wl1271_cmd_sched_scan_stop", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 0}
| linux_drivers_net_wireless_ti_wl12xx_extr_scan.c_wl12xx_scan_sched_scan_stop |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/sgi-ip32/extr_ip32-irq.c_ip32_irq2.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/sgi-ip32/extr_ip32-irq.c_ip32_irq2.c"
target datalayout = "e-m:e-p270:32:32-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 @ip32_irq2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ip32_irq2() #0 {
%1 = tail call i32 (...) @ip32_unknown_interrupt() #2
ret void
}
declare i32 @ip32_unknown_interrupt(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/sgi-ip32/extr_ip32-irq.c_ip32_irq2.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/sgi-ip32/extr_ip32-irq.c_ip32_irq2.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 @ip32_irq2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ip32_irq2() #0 {
%1 = tail call i32 @ip32_unknown_interrupt() #2
ret void
}
declare i32 @ip32_unknown_interrupt(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_mips_sgi-ip32_extr_ip32-irq.c_ip32_irq2 |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_lin-lwp.c_sigchld_handler.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_lin-lwp.c_sigchld_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sigchld_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @sigchld_handler(i32 %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_lin-lwp.c_sigchld_handler.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_lin-lwp.c_sigchld_handler.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 @sigchld_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @sigchld_handler(i32 %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_lin-lwp.c_sigchld_handler |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx_gpu_state.c_a6xx_get_shaders.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx_gpu_state.c_a6xx_get_shaders.c"
target datalayout = "e-m:e-p270:32:32-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.a6xx_gpu_state = type { i32, ptr }
@a6xx_shader_blocks = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @a6xx_get_shaders], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @a6xx_get_shaders(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !5
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = tail call ptr @state_kcalloc(ptr noundef %1, i32 noundef %5, i32 noundef 4) #2
%7 = getelementptr inbounds %struct.a6xx_gpu_state, ptr %1, i64 0, i32 1
store ptr %6, ptr %7, align 8, !tbaa !9
%8 = icmp eq ptr %6, null
br i1 %8, label %27, label %9
9: ; preds = %3
%10 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !5
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2
store i32 %11, ptr %1, align 8, !tbaa !12
%12 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !5
%13 = tail call i32 @ARRAY_SIZE(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %9, %15
%16 = phi i64 [ %22, %15 ], [ 0, %9 ]
%17 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !5
%18 = getelementptr inbounds i32, ptr %17, i64 %16
%19 = load ptr, ptr %7, align 8, !tbaa !9
%20 = getelementptr inbounds i32, ptr %19, i64 %16
%21 = tail call i32 @a6xx_get_shader_block(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %18, ptr noundef %20, ptr noundef %2) #2
%22 = add nuw nsw i64 %16, 1
%23 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !5
%24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %22, %25
br i1 %26, label %15, label %27, !llvm.loop !13
27: ; preds = %15, %9, %3
ret void
}
declare ptr @state_kcalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @a6xx_get_shader_block(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"a6xx_gpu_state", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx_gpu_state.c_a6xx_get_shaders.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx_gpu_state.c_a6xx_get_shaders.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@a6xx_shader_blocks = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @a6xx_get_shaders], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @a6xx_get_shaders(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !6
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = tail call ptr @state_kcalloc(ptr noundef %1, i32 noundef %5, i32 noundef 4) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %6, ptr %7, align 8, !tbaa !10
%8 = icmp eq ptr %6, null
br i1 %8, label %27, label %9
9: ; preds = %3
%10 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !6
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2
store i32 %11, ptr %1, align 8, !tbaa !13
%12 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !6
%13 = tail call i32 @ARRAY_SIZE(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %9, %15
%16 = phi i64 [ %22, %15 ], [ 0, %9 ]
%17 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !6
%18 = getelementptr inbounds i32, ptr %17, i64 %16
%19 = load ptr, ptr %7, align 8, !tbaa !10
%20 = getelementptr inbounds i32, ptr %19, i64 %16
%21 = tail call i32 @a6xx_get_shader_block(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %18, ptr noundef %20, ptr noundef %2) #2
%22 = add nuw nsw i64 %16, 1
%23 = load ptr, ptr @a6xx_shader_blocks, align 8, !tbaa !6
%24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %22, %25
br i1 %26, label %15, label %27, !llvm.loop !14
27: ; preds = %15, %9, %3
ret void
}
declare ptr @state_kcalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @a6xx_get_shader_block(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"a6xx_gpu_state", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_msm_adreno_extr_a6xx_gpu_state.c_a6xx_get_shaders |
; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_sign.c_encode_pkcs1.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_sign.c_encode_pkcs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, ptr }
%struct.TYPE_9__ = type { ptr, ptr }
%struct.TYPE_10__ = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_11__ = type { ptr, i32 }
@RSA_F_ENCODE_PKCS1 = dso_local local_unnamed_addr global i32 0, align 4
@RSA_R_UNKNOWN_ALGORITHM_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD = dso_local local_unnamed_addr global i32 0, align 4
@V_ASN1_NULL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @encode_pkcs1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @encode_pkcs1(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.TYPE_8__, align 8
%7 = alloca %struct.TYPE_9__, align 8
%8 = alloca %struct.TYPE_10__, align 8
%9 = alloca %struct.TYPE_11__, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
store ptr null, ptr %10, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 1
store ptr %7, ptr %11, align 8, !tbaa !9
%12 = call ptr @OBJ_nid2obj(i32 noundef %2) #3
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 1
store ptr %12, ptr %13, align 8, !tbaa !11
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %19
15: ; preds = %5
%16 = load i32, ptr @RSA_F_ENCODE_PKCS1, align 4, !tbaa !13
%17 = load i32, ptr @RSA_R_UNKNOWN_ALGORITHM_TYPE, align 4, !tbaa !13
%18 = call i32 @RSAerr(i32 noundef %16, i32 noundef %17) #3
br label %34
19: ; preds = %5
%20 = call i64 @OBJ_length(ptr noundef nonnull %12) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = load i32, ptr @RSA_F_ENCODE_PKCS1, align 4, !tbaa !13
%24 = load i32, ptr @RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD, align 4, !tbaa !13
%25 = call i32 @RSAerr(i32 noundef %23, i32 noundef %24) #3
br label %34
26: ; preds = %19
%27 = load i32, ptr @V_ASN1_NULL, align 4, !tbaa !13
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %8, i64 0, i32 1
store i32 %27, ptr %28, align 8, !tbaa !15
store ptr null, ptr %8, align 8, !tbaa !18
store ptr %8, ptr %7, align 8, !tbaa !19
store ptr %9, ptr %6, align 8, !tbaa !20
store ptr %3, ptr %9, align 8, !tbaa !21
%29 = getelementptr inbounds %struct.TYPE_11__, ptr %9, i64 0, i32 1
store i32 %4, ptr %29, align 8, !tbaa !23
%30 = call i32 @i2d_X509_SIG(ptr noundef nonnull %6, ptr noundef nonnull %10) #3
%31 = icmp slt i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %26
%33 = load ptr, ptr %10, align 8, !tbaa !5
store ptr %33, ptr %0, align 8, !tbaa !5
store i32 %30, ptr %1, align 4, !tbaa !13
br label %34
34: ; preds = %26, %32, %22, %15
%35 = phi i32 [ 0, %15 ], [ 0, %22 ], [ 1, %32 ], [ 0, %26 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @OBJ_nid2obj(i32 noundef) local_unnamed_addr #2
declare i32 @RSAerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @OBJ_length(ptr noundef) local_unnamed_addr #2
declare i32 @i2d_X509_SIG(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_8__", !6, i64 0, !6, i64 8}
!11 = !{!12, !6, i64 8}
!12 = !{!"TYPE_9__", !6, i64 0, !6, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"TYPE_10__", !17, i64 0, !14, i64 8}
!17 = !{!"TYPE_7__", !6, i64 0}
!18 = !{!16, !6, i64 0}
!19 = !{!12, !6, i64 0}
!20 = !{!10, !6, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_11__", !6, i64 0, !14, i64 8}
!23 = !{!22, !14, i64 8}
| ; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_sign.c_encode_pkcs1.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_sign.c_encode_pkcs1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr, ptr }
%struct.TYPE_9__ = type { ptr, ptr }
%struct.TYPE_10__ = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_11__ = type { ptr, i32 }
@RSA_F_ENCODE_PKCS1 = common local_unnamed_addr global i32 0, align 4
@RSA_R_UNKNOWN_ALGORITHM_TYPE = common local_unnamed_addr global i32 0, align 4
@RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD = common local_unnamed_addr global i32 0, align 4
@V_ASN1_NULL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @encode_pkcs1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @encode_pkcs1(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.TYPE_8__, align 8
%7 = alloca %struct.TYPE_9__, align 8
%8 = alloca %struct.TYPE_10__, align 8
%9 = alloca %struct.TYPE_11__, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
store ptr null, ptr %10, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %7, ptr %11, align 8, !tbaa !10
%12 = call ptr @OBJ_nid2obj(i32 noundef %2) #3
%13 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %12, ptr %13, align 8, !tbaa !12
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %19
15: ; preds = %5
%16 = load i32, ptr @RSA_F_ENCODE_PKCS1, align 4, !tbaa !14
%17 = load i32, ptr @RSA_R_UNKNOWN_ALGORITHM_TYPE, align 4, !tbaa !14
%18 = call i32 @RSAerr(i32 noundef %16, i32 noundef %17) #3
br label %34
19: ; preds = %5
%20 = call i64 @OBJ_length(ptr noundef nonnull %12) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = load i32, ptr @RSA_F_ENCODE_PKCS1, align 4, !tbaa !14
%24 = load i32, ptr @RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD, align 4, !tbaa !14
%25 = call i32 @RSAerr(i32 noundef %23, i32 noundef %24) #3
br label %34
26: ; preds = %19
%27 = load i32, ptr @V_ASN1_NULL, align 4, !tbaa !14
%28 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %27, ptr %28, align 8, !tbaa !16
store ptr null, ptr %8, align 8, !tbaa !19
store ptr %8, ptr %7, align 8, !tbaa !20
store ptr %9, ptr %6, align 8, !tbaa !21
store ptr %3, ptr %9, align 8, !tbaa !22
%29 = getelementptr inbounds i8, ptr %9, i64 8
store i32 %4, ptr %29, align 8, !tbaa !24
%30 = call i32 @i2d_X509_SIG(ptr noundef nonnull %6, ptr noundef nonnull %10) #3
%31 = icmp slt i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %26
%33 = load ptr, ptr %10, align 8, !tbaa !6
store ptr %33, ptr %0, align 8, !tbaa !6
store i32 %30, ptr %1, align 4, !tbaa !14
br label %34
34: ; preds = %26, %32, %22, %15
%35 = phi i32 [ 0, %15 ], [ 0, %22 ], [ 1, %32 ], [ 0, %26 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @OBJ_nid2obj(i32 noundef) local_unnamed_addr #2
declare i32 @RSAerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @OBJ_length(ptr noundef) local_unnamed_addr #2
declare i32 @i2d_X509_SIG(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_8__", !7, i64 0, !7, i64 8}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_9__", !7, i64 0, !7, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"TYPE_10__", !18, i64 0, !15, i64 8}
!18 = !{!"TYPE_7__", !7, i64 0}
!19 = !{!17, !7, i64 0}
!20 = !{!13, !7, i64 0}
!21 = !{!11, !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_11__", !7, i64 0, !15, i64 8}
!24 = !{!23, !15, i64 8}
| openssl_crypto_rsa_extr_rsa_sign.c_encode_pkcs1 |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_swap.c_pagevec_lookup_tag.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_swap.c_pagevec_lookup_tag.c"
target datalayout = "e-m:e-p270:32:32-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.pagevec = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @pagevec_lookup_tag(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = tail call i32 @find_get_pages_tag(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.pagevec, ptr %0, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !10
%9 = tail call i32 @pagevec_count(ptr noundef nonnull %0) #2
ret i32 %9
}
declare i32 @find_get_pages_tag(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pagevec_count(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 = !{!"pagevec", !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/fastsocket/kernel/mm/extr_swap.c_pagevec_lookup_tag.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_swap.c_pagevec_lookup_tag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pagevec_lookup_tag(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = tail call i32 @find_get_pages_tag(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %7, ptr %8, align 4, !tbaa !11
%9 = tail call i32 @pagevec_count(ptr noundef nonnull %0) #2
ret i32 %9
}
declare i32 @find_get_pages_tag(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pagevec_count(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 = !{!"pagevec", !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}
| fastsocket_kernel_mm_extr_swap.c_pagevec_lookup_tag |
; ModuleID = 'AnghaBench/linux/drivers/block/extr_rbd.c_do_rbd_add.c'
source_filename = "AnghaBench/linux/drivers/block/extr_rbd.c_do_rbd_add.c"
target datalayout = "e-m:e-p270:32:32-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.rbd_spec = type { i64, i32 }
%struct.rbd_device = type { %struct.TYPE_14__, ptr, i32, i32, %struct.TYPE_13__, ptr, ptr, i32, i32 }
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_13__ = type { i64 }
%struct.TYPE_12__ = type { i32, i64 }
%struct.TYPE_15__ = type { i32, i32 }
@THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"pool %s does not exist\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_NOSNAP = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"alloc_size adjusted to %u\00", align 1
@rbd_dev_list_lock = dso_local global i32 0, align 4
@rbd_dev_list = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"%s: capacity %llu features 0x%llx\0A\00", align 1
@SECTOR_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_rbd_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @do_rbd_add(ptr nocapture readnone %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !5
%7 = load i32, ptr @THIS_MODULE, align 4, !tbaa !9
%8 = tail call i32 @try_module_get(i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ENODEV, align 4, !tbaa !9
%12 = sub nsw i32 0, %11
br label %139
13: ; preds = %3
%14 = call i32 @rbd_add_parse_args(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %115, label %16
16: ; preds = %13
%17 = load ptr, ptr %4, align 8, !tbaa !5
%18 = call ptr @rbd_get_client(ptr noundef %17) #3
%19 = call i64 @IS_ERR(ptr noundef %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = call i32 @PTR_ERR(ptr noundef %18) #3
br label %133
23: ; preds = %16
%24 = load ptr, ptr %18, align 8, !tbaa !11
%25 = load i32, ptr %24, align 4, !tbaa !13
%26 = load ptr, ptr %6, align 8, !tbaa !5
%27 = getelementptr inbounds %struct.rbd_spec, ptr %26, i64 0, i32 1
%28 = load i32, ptr %27, align 8, !tbaa !16
%29 = call i32 @ceph_pg_poolid_by_name(i32 noundef %25, i32 noundef %28) #3
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %40
31: ; preds = %23
%32 = load i32, ptr @ENOENT, align 4, !tbaa !9
%33 = sub nsw i32 0, %32
%34 = icmp eq i32 %29, %33
br i1 %34, label %35, label %129
35: ; preds = %31
%36 = load ptr, ptr %6, align 8, !tbaa !5
%37 = getelementptr inbounds %struct.rbd_spec, ptr %36, i64 0, i32 1
%38 = load i32, ptr %37, align 8, !tbaa !16
%39 = call i32 (ptr, i32, ...) @pr_info(ptr noundef nonnull @.str, i32 noundef %38) #3
br label %129
40: ; preds = %23
%41 = zext nneg i32 %29 to i64
%42 = load ptr, ptr %6, align 8, !tbaa !5
store i64 %41, ptr %42, align 8, !tbaa !19
%43 = load ptr, ptr %5, align 8, !tbaa !5
%44 = call ptr @rbd_dev_create(ptr noundef nonnull %18, ptr noundef nonnull %42, ptr noundef %43) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%48 = sub nsw i32 0, %47
br label %129
49: ; preds = %40
store ptr null, ptr %6, align 8, !tbaa !5
store ptr null, ptr %5, align 8, !tbaa !5
%50 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%51 = call i32 @kstrdup(ptr noundef %1, i32 noundef %50) #3
%52 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 8
store i32 %51, ptr %52, align 4, !tbaa !20
%53 = icmp eq i32 %51, 0
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%56 = sub nsw i32 0, %55
br label %126
57: ; preds = %49
%58 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 7
%59 = call i32 @down_write(ptr noundef nonnull %58) #3
%60 = call i32 @rbd_dev_image_probe(ptr noundef nonnull %44, i32 noundef 0) #3
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 @up_write(ptr noundef nonnull %58) #3
br label %126
64: ; preds = %57
%65 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 6
%66 = load ptr, ptr %65, align 8, !tbaa !24
%67 = load i64, ptr %66, align 8, !tbaa !25
%68 = load i64, ptr @CEPH_NOSNAP, align 8, !tbaa !27
%69 = icmp eq i64 %67, %68
%70 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 5
%71 = load ptr, ptr %70, align 8, !tbaa !28
br i1 %69, label %73, label %72
72: ; preds = %64
store i32 1, ptr %71, align 8, !tbaa !29
br label %73
73: ; preds = %64, %72
%74 = getelementptr inbounds %struct.TYPE_12__, ptr %71, i64 0, i32 1
%75 = load i64, ptr %74, align 8, !tbaa !31
%76 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 4
%77 = load i64, ptr %76, align 8, !tbaa !32
%78 = icmp sgt i64 %75, %77
br i1 %78, label %79, label %85
79: ; preds = %73
%80 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 5
%81 = call i32 @rbd_warn(ptr noundef nonnull %44, ptr noundef nonnull @.str.1, i64 noundef %77) #3
%82 = load i64, ptr %76, align 8, !tbaa !32
%83 = load ptr, ptr %80, align 8, !tbaa !28
%84 = getelementptr inbounds %struct.TYPE_12__, ptr %83, i64 0, i32 1
store i64 %82, ptr %84, align 8, !tbaa !31
br label %85
85: ; preds = %79, %73
%86 = call i32 @rbd_dev_device_setup(ptr noundef nonnull %44) #3
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %123
88: ; preds = %85
%89 = call i32 @rbd_add_acquire_lock(ptr noundef nonnull %44) #3
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %119
91: ; preds = %88
%92 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 3
%93 = call i32 @device_add(ptr noundef nonnull %92) #3
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %119
95: ; preds = %91
%96 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 1
%97 = load ptr, ptr %96, align 8, !tbaa !33
%98 = call i32 @add_disk(ptr noundef %97) #3
%99 = load ptr, ptr %96, align 8, !tbaa !33
%100 = getelementptr inbounds %struct.TYPE_15__, ptr %99, i64 0, i32 1
%101 = load i32, ptr %100, align 4, !tbaa !34
%102 = call i32 @blk_put_queue(i32 noundef %101) #3
%103 = call i32 @spin_lock(ptr noundef nonnull @rbd_dev_list_lock) #3
%104 = getelementptr inbounds %struct.rbd_device, ptr %44, i64 0, i32 2
%105 = call i32 @list_add_tail(ptr noundef nonnull %104, ptr noundef nonnull @rbd_dev_list) #3
%106 = call i32 @spin_unlock(ptr noundef nonnull @rbd_dev_list_lock) #3
%107 = load ptr, ptr %96, align 8, !tbaa !33
%108 = load i32, ptr %107, align 4, !tbaa !36
%109 = call i64 @get_capacity(ptr noundef nonnull %107) #3
%110 = load i64, ptr @SECTOR_SHIFT, align 8, !tbaa !37
%111 = shl i64 %109, %110
%112 = load i32, ptr %44, align 8, !tbaa !39
%113 = call i32 (ptr, i32, ...) @pr_info(ptr noundef nonnull @.str.2, i32 noundef %108, i64 noundef %111, i32 noundef %112) #3
%114 = trunc i64 %2 to i32
br label %115
115: ; preds = %13, %133, %95
%116 = phi i32 [ %14, %13 ], [ %134, %133 ], [ %114, %95 ]
%117 = load i32, ptr @THIS_MODULE, align 4, !tbaa !9
%118 = call i32 @module_put(i32 noundef %117) #3
br label %139
119: ; preds = %91, %88
%120 = phi i32 [ %89, %88 ], [ %93, %91 ]
%121 = call i32 @rbd_dev_image_unlock(ptr noundef nonnull %44) #3
%122 = call i32 @rbd_dev_device_release(ptr noundef nonnull %44) #3
br label %123
123: ; preds = %85, %119
%124 = phi i32 [ %86, %85 ], [ %120, %119 ]
%125 = call i32 @rbd_dev_image_release(ptr noundef nonnull %44) #3
br label %126
126: ; preds = %123, %62, %54
%127 = phi i32 [ %60, %62 ], [ %124, %123 ], [ %56, %54 ]
%128 = call i32 @rbd_dev_destroy(ptr noundef nonnull %44) #3
br label %129
129: ; preds = %31, %35, %126, %46
%130 = phi ptr [ %18, %35 ], [ %18, %31 ], [ null, %126 ], [ %18, %46 ]
%131 = phi i32 [ %29, %35 ], [ %29, %31 ], [ %127, %126 ], [ %48, %46 ]
%132 = call i32 @rbd_put_client(ptr noundef %130) #3
br label %133
133: ; preds = %129, %21
%134 = phi i32 [ %22, %21 ], [ %131, %129 ]
%135 = load ptr, ptr %6, align 8, !tbaa !5
%136 = call i32 @rbd_spec_put(ptr noundef %135) #3
%137 = load ptr, ptr %5, align 8, !tbaa !5
%138 = call i32 @kfree(ptr noundef %137) #3
br label %115
139: ; preds = %115, %10
%140 = phi i32 [ %116, %115 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %140
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @try_module_get(i32 noundef) local_unnamed_addr #2
declare i32 @rbd_add_parse_args(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @rbd_get_client(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @ceph_pg_poolid_by_name(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_info(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @rbd_dev_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @down_write(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_probe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @up_write(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_warn(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rbd_dev_device_setup(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_add_acquire_lock(ptr noundef) local_unnamed_addr #2
declare i32 @device_add(ptr noundef) local_unnamed_addr #2
declare i32 @add_disk(ptr noundef) local_unnamed_addr #2
declare i32 @blk_put_queue(i32 noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i64 @get_capacity(ptr noundef) local_unnamed_addr #2
declare i32 @module_put(i32 noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_device_release(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_release(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_put_client(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_spec_put(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"rbd_client", !6, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_10__", !15, i64 0}
!15 = !{!"TYPE_9__", !10, i64 0}
!16 = !{!17, !10, i64 8}
!17 = !{!"rbd_spec", !18, i64 0, !10, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!17, !18, i64 0}
!20 = !{!21, !10, i64 52}
!21 = !{!"rbd_device", !22, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !23, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52}
!22 = !{!"TYPE_14__", !10, i64 0}
!23 = !{!"TYPE_13__", !18, i64 0}
!24 = !{!21, !6, i64 40}
!25 = !{!26, !18, i64 0}
!26 = !{!"TYPE_11__", !18, i64 0}
!27 = !{!18, !18, i64 0}
!28 = !{!21, !6, i64 32}
!29 = !{!30, !10, i64 0}
!30 = !{!"TYPE_12__", !10, i64 0, !18, i64 8}
!31 = !{!30, !18, i64 8}
!32 = !{!21, !18, i64 24}
!33 = !{!21, !6, i64 8}
!34 = !{!35, !10, i64 4}
!35 = !{!"TYPE_15__", !10, i64 0, !10, i64 4}
!36 = !{!35, !10, i64 0}
!37 = !{!38, !38, i64 0}
!38 = !{!"long long", !7, i64 0}
!39 = !{!21, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/block/extr_rbd.c_do_rbd_add.c'
source_filename = "AnghaBench/linux/drivers/block/extr_rbd.c_do_rbd_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@THIS_MODULE = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"pool %s does not exist\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@CEPH_NOSNAP = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"alloc_size adjusted to %u\00", align 1
@rbd_dev_list_lock = common global i32 0, align 4
@rbd_dev_list = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"%s: capacity %llu features 0x%llx\0A\00", align 1
@SECTOR_SHIFT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @do_rbd_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @do_rbd_add(ptr nocapture readnone %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !6
%7 = load i32, ptr @THIS_MODULE, align 4, !tbaa !10
%8 = tail call i32 @try_module_get(i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ENODEV, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %138
13: ; preds = %3
%14 = call i32 @rbd_add_parse_args(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %114, label %16
16: ; preds = %13
%17 = load ptr, ptr %4, align 8, !tbaa !6
%18 = call ptr @rbd_get_client(ptr noundef %17) #3
%19 = call i64 @IS_ERR(ptr noundef %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = call i32 @PTR_ERR(ptr noundef %18) #3
br label %132
23: ; preds = %16
%24 = load ptr, ptr %18, align 8, !tbaa !12
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = load ptr, ptr %6, align 8, !tbaa !6
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !17
%29 = call i32 @ceph_pg_poolid_by_name(i32 noundef %25, i32 noundef %28) #3
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %40
31: ; preds = %23
%32 = load i32, ptr @ENOENT, align 4, !tbaa !10
%33 = sub nsw i32 0, %32
%34 = icmp eq i32 %29, %33
br i1 %34, label %35, label %128
35: ; preds = %31
%36 = load ptr, ptr %6, align 8, !tbaa !6
%37 = getelementptr inbounds i8, ptr %36, i64 8
%38 = load i32, ptr %37, align 8, !tbaa !17
%39 = call i32 (ptr, i32, ...) @pr_info(ptr noundef nonnull @.str, i32 noundef %38) #3
br label %128
40: ; preds = %23
%41 = zext nneg i32 %29 to i64
%42 = load ptr, ptr %6, align 8, !tbaa !6
store i64 %41, ptr %42, align 8, !tbaa !20
%43 = load ptr, ptr %5, align 8, !tbaa !6
%44 = call ptr @rbd_dev_create(ptr noundef nonnull %18, ptr noundef nonnull %42, ptr noundef %43) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %40
%47 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%48 = sub nsw i32 0, %47
br label %128
49: ; preds = %40
store ptr null, ptr %6, align 8, !tbaa !6
store ptr null, ptr %5, align 8, !tbaa !6
%50 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%51 = call i32 @kstrdup(ptr noundef %1, i32 noundef %50) #3
%52 = getelementptr inbounds i8, ptr %44, i64 52
store i32 %51, ptr %52, align 4, !tbaa !21
%53 = icmp eq i32 %51, 0
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%56 = sub nsw i32 0, %55
br label %125
57: ; preds = %49
%58 = getelementptr inbounds i8, ptr %44, i64 48
%59 = call i32 @down_write(ptr noundef nonnull %58) #3
%60 = call i32 @rbd_dev_image_probe(ptr noundef nonnull %44, i32 noundef 0) #3
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 @up_write(ptr noundef nonnull %58) #3
br label %125
64: ; preds = %57
%65 = getelementptr inbounds i8, ptr %44, i64 40
%66 = load ptr, ptr %65, align 8, !tbaa !25
%67 = load i64, ptr %66, align 8, !tbaa !26
%68 = load i64, ptr @CEPH_NOSNAP, align 8, !tbaa !28
%69 = icmp eq i64 %67, %68
%70 = getelementptr inbounds i8, ptr %44, i64 32
%71 = load ptr, ptr %70, align 8, !tbaa !29
br i1 %69, label %73, label %72
72: ; preds = %64
store i32 1, ptr %71, align 8, !tbaa !30
br label %73
73: ; preds = %64, %72
%74 = getelementptr inbounds i8, ptr %71, i64 8
%75 = load i64, ptr %74, align 8, !tbaa !32
%76 = getelementptr inbounds i8, ptr %44, i64 24
%77 = load i64, ptr %76, align 8, !tbaa !33
%78 = icmp sgt i64 %75, %77
br i1 %78, label %79, label %84
79: ; preds = %73
%80 = call i32 @rbd_warn(ptr noundef nonnull %44, ptr noundef nonnull @.str.1, i64 noundef %77) #3
%81 = load i64, ptr %76, align 8, !tbaa !33
%82 = load ptr, ptr %70, align 8, !tbaa !29
%83 = getelementptr inbounds i8, ptr %82, i64 8
store i64 %81, ptr %83, align 8, !tbaa !32
br label %84
84: ; preds = %79, %73
%85 = call i32 @rbd_dev_device_setup(ptr noundef nonnull %44) #3
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %122
87: ; preds = %84
%88 = call i32 @rbd_add_acquire_lock(ptr noundef nonnull %44) #3
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %118
90: ; preds = %87
%91 = getelementptr inbounds i8, ptr %44, i64 20
%92 = call i32 @device_add(ptr noundef nonnull %91) #3
%93 = icmp eq i32 %92, 0
br i1 %93, label %94, label %118
94: ; preds = %90
%95 = getelementptr inbounds i8, ptr %44, i64 8
%96 = load ptr, ptr %95, align 8, !tbaa !34
%97 = call i32 @add_disk(ptr noundef %96) #3
%98 = load ptr, ptr %95, align 8, !tbaa !34
%99 = getelementptr inbounds i8, ptr %98, i64 4
%100 = load i32, ptr %99, align 4, !tbaa !35
%101 = call i32 @blk_put_queue(i32 noundef %100) #3
%102 = call i32 @spin_lock(ptr noundef nonnull @rbd_dev_list_lock) #3
%103 = getelementptr inbounds i8, ptr %44, i64 16
%104 = call i32 @list_add_tail(ptr noundef nonnull %103, ptr noundef nonnull @rbd_dev_list) #3
%105 = call i32 @spin_unlock(ptr noundef nonnull @rbd_dev_list_lock) #3
%106 = load ptr, ptr %95, align 8, !tbaa !34
%107 = load i32, ptr %106, align 4, !tbaa !37
%108 = call i64 @get_capacity(ptr noundef nonnull %106) #3
%109 = load i64, ptr @SECTOR_SHIFT, align 8, !tbaa !38
%110 = shl i64 %108, %109
%111 = load i32, ptr %44, align 8, !tbaa !40
%112 = call i32 (ptr, i32, ...) @pr_info(ptr noundef nonnull @.str.2, i32 noundef %107, i64 noundef %110, i32 noundef %111) #3
%113 = trunc i64 %2 to i32
br label %114
114: ; preds = %13, %132, %94
%115 = phi i32 [ %14, %13 ], [ %133, %132 ], [ %113, %94 ]
%116 = load i32, ptr @THIS_MODULE, align 4, !tbaa !10
%117 = call i32 @module_put(i32 noundef %116) #3
br label %138
118: ; preds = %90, %87
%119 = phi i32 [ %88, %87 ], [ %92, %90 ]
%120 = call i32 @rbd_dev_image_unlock(ptr noundef nonnull %44) #3
%121 = call i32 @rbd_dev_device_release(ptr noundef nonnull %44) #3
br label %122
122: ; preds = %84, %118
%123 = phi i32 [ %85, %84 ], [ %119, %118 ]
%124 = call i32 @rbd_dev_image_release(ptr noundef nonnull %44) #3
br label %125
125: ; preds = %122, %62, %54
%126 = phi i32 [ %60, %62 ], [ %123, %122 ], [ %56, %54 ]
%127 = call i32 @rbd_dev_destroy(ptr noundef nonnull %44) #3
br label %128
128: ; preds = %31, %35, %125, %46
%129 = phi ptr [ %18, %35 ], [ %18, %31 ], [ null, %125 ], [ %18, %46 ]
%130 = phi i32 [ %29, %35 ], [ %29, %31 ], [ %126, %125 ], [ %48, %46 ]
%131 = call i32 @rbd_put_client(ptr noundef %129) #3
br label %132
132: ; preds = %128, %21
%133 = phi i32 [ %22, %21 ], [ %130, %128 ]
%134 = load ptr, ptr %6, align 8, !tbaa !6
%135 = call i32 @rbd_spec_put(ptr noundef %134) #3
%136 = load ptr, ptr %5, align 8, !tbaa !6
%137 = call i32 @kfree(ptr noundef %136) #3
br label %114
138: ; preds = %114, %10
%139 = phi i32 [ %115, %114 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %139
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @try_module_get(i32 noundef) local_unnamed_addr #2
declare i32 @rbd_add_parse_args(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @rbd_get_client(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @ceph_pg_poolid_by_name(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_info(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @rbd_dev_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @down_write(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_probe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @up_write(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_warn(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rbd_dev_device_setup(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_add_acquire_lock(ptr noundef) local_unnamed_addr #2
declare i32 @device_add(ptr noundef) local_unnamed_addr #2
declare i32 @add_disk(ptr noundef) local_unnamed_addr #2
declare i32 @blk_put_queue(i32 noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i64 @get_capacity(ptr noundef) local_unnamed_addr #2
declare i32 @module_put(i32 noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_device_release(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_image_release(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_dev_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_put_client(ptr noundef) local_unnamed_addr #2
declare i32 @rbd_spec_put(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"rbd_client", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_10__", !16, i64 0}
!16 = !{!"TYPE_9__", !11, i64 0}
!17 = !{!18, !11, i64 8}
!18 = !{!"rbd_spec", !19, i64 0, !11, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !19, i64 0}
!21 = !{!22, !11, i64 52}
!22 = !{!"rbd_device", !23, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !24, i64 24, !7, i64 32, !7, i64 40, !11, i64 48, !11, i64 52}
!23 = !{!"TYPE_14__", !11, i64 0}
!24 = !{!"TYPE_13__", !19, i64 0}
!25 = !{!22, !7, i64 40}
!26 = !{!27, !19, i64 0}
!27 = !{!"TYPE_11__", !19, i64 0}
!28 = !{!19, !19, i64 0}
!29 = !{!22, !7, i64 32}
!30 = !{!31, !11, i64 0}
!31 = !{!"TYPE_12__", !11, i64 0, !19, i64 8}
!32 = !{!31, !19, i64 8}
!33 = !{!22, !19, i64 24}
!34 = !{!22, !7, i64 8}
!35 = !{!36, !11, i64 4}
!36 = !{!"TYPE_15__", !11, i64 0, !11, i64 4}
!37 = !{!36, !11, i64 0}
!38 = !{!39, !39, i64 0}
!39 = !{!"long long", !8, i64 0}
!40 = !{!22, !11, i64 0}
| linux_drivers_block_extr_rbd.c_do_rbd_add |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_intel_pstate.c_intel_pstate_init_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_intel_pstate.c_intel_pstate_init_cpu.c"
target datalayout = "e-m:e-p270:32:32-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.cpudata = type { i32, %struct.TYPE_5__, %struct.TYPE_4__, ptr }
%struct.TYPE_5__ = type { i64, i64, i32 }
%struct.TYPE_4__ = type { i32 }
@intel_pstate_cpu_ids = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@all_cpu_data = dso_local local_unnamed_addr global ptr null, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@intel_pstate_timer_func = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Intel pstate controlling: cpu %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_pstate_init_cpu], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @intel_pstate_init_cpu(i32 noundef %0) #0 {
%2 = load i32, ptr @intel_pstate_cpu_ids, align 4, !tbaa !5
%3 = tail call ptr @x86_match_cpu(i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENODEV, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %45
8: ; preds = %1
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%10 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %9) #2
%11 = load ptr, ptr @all_cpu_data, align 8, !tbaa !9
%12 = zext i32 %0 to i64
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
store ptr %10, ptr %13, align 8, !tbaa !9
%14 = load ptr, ptr @all_cpu_data, align 8, !tbaa !9
%15 = getelementptr inbounds ptr, ptr %14, i64 %12
%16 = load ptr, ptr %15, align 8, !tbaa !9
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %8
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %45
21: ; preds = %8
%22 = tail call i32 @intel_pstate_get_cpu_pstates(ptr noundef nonnull %16) #2
store i32 %0, ptr %16, align 8, !tbaa !11
%23 = load i64, ptr %3, align 8, !tbaa !16
%24 = inttoptr i64 %23 to ptr
%25 = getelementptr inbounds %struct.cpudata, ptr %16, i64 0, i32 3
store ptr %24, ptr %25, align 8, !tbaa !18
%26 = getelementptr inbounds %struct.cpudata, ptr %16, i64 0, i32 1
%27 = tail call i32 @init_timer_deferrable(ptr noundef nonnull %26) #2
%28 = load i32, ptr @intel_pstate_timer_func, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.cpudata, ptr %16, i64 0, i32 1, i32 2
store i32 %28, ptr %29, align 8, !tbaa !19
%30 = ptrtoint ptr %16 to i64
store i64 %30, ptr %26, align 8, !tbaa !20
%31 = load i64, ptr @jiffies, align 8, !tbaa !21
%32 = load i32, ptr @HZ, align 4, !tbaa !5
%33 = sdiv i32 %32, 100
%34 = sext i32 %33 to i64
%35 = add nsw i64 %31, %34
%36 = getelementptr inbounds %struct.cpudata, ptr %16, i64 0, i32 1, i32 1
store i64 %35, ptr %36, align 8, !tbaa !22
%37 = tail call i32 @intel_pstate_busy_pid_reset(ptr noundef nonnull %16) #2
%38 = tail call i32 @intel_pstate_idle_pid_reset(ptr noundef nonnull %16) #2
%39 = tail call i32 @intel_pstate_sample(ptr noundef nonnull %16) #2
%40 = getelementptr inbounds %struct.cpudata, ptr %16, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !23
%42 = tail call i32 @intel_pstate_set_pstate(ptr noundef nonnull %16, i32 noundef %41) #2
%43 = tail call i32 @add_timer_on(ptr noundef nonnull %26, i32 noundef %0) #2
%44 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %45
45: ; preds = %21, %18, %5
%46 = phi i32 [ 0, %21 ], [ %20, %18 ], [ %7, %5 ]
ret i32 %46
}
declare ptr @x86_match_cpu(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @intel_pstate_get_cpu_pstates(ptr noundef) local_unnamed_addr #1
declare i32 @init_timer_deferrable(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_busy_pid_reset(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_idle_pid_reset(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_sample(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_set_pstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @add_timer_on(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"cpudata", !6, i64 0, !13, i64 8, !15, i64 32, !10, i64 40}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8, !6, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!"TYPE_4__", !6, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"x86_cpu_id", !14, i64 0}
!18 = !{!12, !10, i64 40}
!19 = !{!12, !6, i64 24}
!20 = !{!12, !14, i64 8}
!21 = !{!14, !14, i64 0}
!22 = !{!12, !14, i64 16}
!23 = !{!12, !6, i64 32}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_intel_pstate.c_intel_pstate_init_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_intel_pstate.c_intel_pstate_init_cpu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@intel_pstate_cpu_ids = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@all_cpu_data = common local_unnamed_addr global ptr null, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@intel_pstate_timer_func = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Intel pstate controlling: cpu %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @intel_pstate_init_cpu], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @intel_pstate_init_cpu(i32 noundef %0) #0 {
%2 = load i32, ptr @intel_pstate_cpu_ids, align 4, !tbaa !6
%3 = tail call ptr @x86_match_cpu(i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENODEV, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %45
8: ; preds = %1
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%10 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %9) #2
%11 = load ptr, ptr @all_cpu_data, align 8, !tbaa !10
%12 = zext i32 %0 to i64
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
store ptr %10, ptr %13, align 8, !tbaa !10
%14 = load ptr, ptr @all_cpu_data, align 8, !tbaa !10
%15 = getelementptr inbounds ptr, ptr %14, i64 %12
%16 = load ptr, ptr %15, align 8, !tbaa !10
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %8
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %45
21: ; preds = %8
%22 = tail call i32 @intel_pstate_get_cpu_pstates(ptr noundef nonnull %16) #2
store i32 %0, ptr %16, align 8, !tbaa !12
%23 = load i64, ptr %3, align 8, !tbaa !17
%24 = inttoptr i64 %23 to ptr
%25 = getelementptr inbounds i8, ptr %16, i64 40
store ptr %24, ptr %25, align 8, !tbaa !19
%26 = getelementptr inbounds i8, ptr %16, i64 8
%27 = tail call i32 @init_timer_deferrable(ptr noundef nonnull %26) #2
%28 = load i32, ptr @intel_pstate_timer_func, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %16, i64 24
store i32 %28, ptr %29, align 8, !tbaa !20
%30 = ptrtoint ptr %16 to i64
store i64 %30, ptr %26, align 8, !tbaa !21
%31 = load i64, ptr @jiffies, align 8, !tbaa !22
%32 = load i32, ptr @HZ, align 4, !tbaa !6
%33 = sdiv i32 %32, 100
%34 = sext i32 %33 to i64
%35 = add nsw i64 %31, %34
%36 = getelementptr inbounds i8, ptr %16, i64 16
store i64 %35, ptr %36, align 8, !tbaa !23
%37 = tail call i32 @intel_pstate_busy_pid_reset(ptr noundef nonnull %16) #2
%38 = tail call i32 @intel_pstate_idle_pid_reset(ptr noundef nonnull %16) #2
%39 = tail call i32 @intel_pstate_sample(ptr noundef nonnull %16) #2
%40 = getelementptr inbounds i8, ptr %16, i64 32
%41 = load i32, ptr %40, align 8, !tbaa !24
%42 = tail call i32 @intel_pstate_set_pstate(ptr noundef nonnull %16, i32 noundef %41) #2
%43 = tail call i32 @add_timer_on(ptr noundef nonnull %26, i32 noundef %0) #2
%44 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %45
45: ; preds = %21, %18, %5
%46 = phi i32 [ 0, %21 ], [ %20, %18 ], [ %7, %5 ]
ret i32 %46
}
declare ptr @x86_match_cpu(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @intel_pstate_get_cpu_pstates(ptr noundef) local_unnamed_addr #1
declare i32 @init_timer_deferrable(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_busy_pid_reset(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_idle_pid_reset(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_sample(ptr noundef) local_unnamed_addr #1
declare i32 @intel_pstate_set_pstate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @add_timer_on(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"cpudata", !7, i64 0, !14, i64 8, !16, i64 32, !11, i64 40}
!14 = !{!"TYPE_5__", !15, i64 0, !15, i64 8, !7, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"x86_cpu_id", !15, i64 0}
!19 = !{!13, !11, i64 40}
!20 = !{!13, !7, i64 24}
!21 = !{!13, !15, i64 8}
!22 = !{!15, !15, i64 0}
!23 = !{!13, !15, i64 16}
!24 = !{!13, !7, i64 32}
| fastsocket_kernel_arch_x86_kernel_cpu_cpufreq_extr_intel_pstate.c_intel_pstate_init_cpu |
; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_sha1.c_sha1_hmac_reset.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_sha1.c_sha1_hmac_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @sha1_hmac_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sha1_starts(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @sha1_update(ptr noundef nonnull %0, i32 noundef %3, i32 noundef 64) #2
ret void
}
declare i32 @sha1_starts(ptr noundef) local_unnamed_addr #1
declare i32 @sha1_update(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_sha1.c_sha1_hmac_reset.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_sha1.c_sha1_hmac_reset.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 @sha1_hmac_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sha1_starts(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @sha1_update(ptr noundef nonnull %0, i32 noundef %3, i32 noundef 64) #2
ret void
}
declare i32 @sha1_starts(ptr noundef) local_unnamed_addr #1
declare i32 @sha1_update(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ios-webkit-debug-proxy_src_extr_sha1.c_sha1_hmac_reset |
; ModuleID = 'AnghaBench/tmux/extr_window-copy.c_window_copy_start_selection.c'
source_filename = "AnghaBench/tmux/extr_window-copy.c_window_copy_start_selection.c"
target datalayout = "e-m:e-p270:32:32-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.window_copy_mode_data = type { i32, i64, i64, i32, i32, i64, i64, i32, i32 }
@CURSORDRAG_ENDSEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @window_copy_start_selection], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @window_copy_start_selection(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 8
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 3
store i32 %4, ptr %5, align 8, !tbaa !14
%6 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 7
%7 = load i32, ptr %6, align 8, !tbaa !15
%8 = tail call i64 @screen_hsize(i32 noundef %7) #2
%9 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 6
%10 = load i64, ptr %9, align 8, !tbaa !16
%11 = add nsw i64 %10, %8
%12 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 5
%13 = load i64, ptr %12, align 8, !tbaa !17
%14 = sub i64 %11, %13
%15 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 1
store i64 %14, ptr %15, align 8, !tbaa !18
%16 = load i32, ptr %5, align 8, !tbaa !14
%17 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 4
store i32 %16, ptr %17, align 4, !tbaa !19
%18 = getelementptr inbounds %struct.window_copy_mode_data, ptr %2, i64 0, i32 2
store i64 %14, ptr %18, align 8, !tbaa !20
%19 = load i32, ptr @CURSORDRAG_ENDSEL, align 4, !tbaa !21
store i32 %19, ptr %2, align 8, !tbaa !22
%20 = tail call i32 @window_copy_set_selection(ptr noundef nonnull %0, i32 noundef 1) #2
ret void
}
declare i64 @screen_hsize(i32 noundef) local_unnamed_addr #1
declare i32 @window_copy_set_selection(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 = !{!"window_mode_entry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 52}
!11 = !{!"window_copy_mode_data", !12, i64 0, !13, i64 8, !13, i64 16, !12, i64 24, !12, i64 28, !13, i64 32, !13, i64 40, !12, i64 48, !12, i64 52}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 24}
!15 = !{!11, !12, i64 48}
!16 = !{!11, !13, i64 40}
!17 = !{!11, !13, i64 32}
!18 = !{!11, !13, i64 8}
!19 = !{!11, !12, i64 28}
!20 = !{!11, !13, i64 16}
!21 = !{!12, !12, i64 0}
!22 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/tmux/extr_window-copy.c_window_copy_start_selection.c'
source_filename = "AnghaBench/tmux/extr_window-copy.c_window_copy_start_selection.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURSORDRAG_ENDSEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @window_copy_start_selection], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @window_copy_start_selection(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 52
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %4, ptr %5, align 8, !tbaa !15
%6 = getelementptr inbounds i8, ptr %2, i64 48
%7 = load i32, ptr %6, align 8, !tbaa !16
%8 = tail call i64 @screen_hsize(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %2, i64 40
%10 = load i64, ptr %9, align 8, !tbaa !17
%11 = add nsw i64 %10, %8
%12 = getelementptr inbounds i8, ptr %2, i64 32
%13 = load i64, ptr %12, align 8, !tbaa !18
%14 = sub i64 %11, %13
%15 = getelementptr inbounds i8, ptr %2, i64 8
store i64 %14, ptr %15, align 8, !tbaa !19
%16 = load i32, ptr %5, align 8, !tbaa !15
%17 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %16, ptr %17, align 4, !tbaa !20
%18 = getelementptr inbounds i8, ptr %2, i64 16
store i64 %14, ptr %18, align 8, !tbaa !21
%19 = load i32, ptr @CURSORDRAG_ENDSEL, align 4, !tbaa !22
store i32 %19, ptr %2, align 8, !tbaa !23
%20 = tail call i32 @window_copy_set_selection(ptr noundef nonnull %0, i32 noundef 1) #2
ret void
}
declare i64 @screen_hsize(i32 noundef) local_unnamed_addr #1
declare i32 @window_copy_set_selection(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 = !{!"window_mode_entry", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 52}
!12 = !{!"window_copy_mode_data", !13, i64 0, !14, i64 8, !14, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40, !13, i64 48, !13, i64 52}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !13, i64 24}
!16 = !{!12, !13, i64 48}
!17 = !{!12, !14, i64 40}
!18 = !{!12, !14, i64 32}
!19 = !{!12, !14, i64 8}
!20 = !{!12, !13, i64 28}
!21 = !{!12, !14, i64 16}
!22 = !{!13, !13, i64 0}
!23 = !{!12, !13, i64 0}
| tmux_extr_window-copy.c_window_copy_start_selection |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_ctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_ctrl.c"
target datalayout = "e-m:e-p270:32:32-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.flexcop_device = type { ptr, ptr }
@sram_dest_reg_714 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @flexcop_sram_ctrl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.flexcop_device, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !10
%8 = tail call { i64, i32 } %6(ptr noundef %0, i32 noundef %7) #1
%9 = zext i32 %1 to i64
%10 = zext i32 %2 to i64
%11 = shl nuw i64 %10, 32
%12 = or disjoint i64 %11, %9
%13 = load ptr, ptr %0, align 8, !tbaa !12
%14 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !10
%15 = tail call i32 %13(ptr noundef nonnull %0, i32 noundef %14, i64 %12, i32 %3) #1
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 8}
!6 = !{!"flexcop_device", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_ctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_ctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sram_dest_reg_714 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @flexcop_sram_ctrl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !11
%8 = tail call [2 x i64] %6(ptr noundef %0, i32 noundef %7) #1
%9 = zext i32 %1 to i64
%10 = zext i32 %2 to i64
%11 = shl nuw i64 %10, 32
%12 = or disjoint i64 %11, %9
%13 = load ptr, ptr %0, align 8, !tbaa !13
%14 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !11
%15 = zext i32 %3 to i64
%16 = insertvalue [2 x i64] poison, i64 %12, 0
%17 = insertvalue [2 x i64] %16, i64 %15, 1
%18 = tail call i32 %13(ptr noundef nonnull %0, i32 noundef %14, [2 x i64] %17) #1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 8}
!7 = !{!"flexcop_device", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_media_dvb_b2c2_extr_flexcop-sram.c_flexcop_sram_ctrl |
; ModuleID = 'AnghaBench/linux/drivers/ssb/extr_ssb_private.h_ssb_pci_switch_coreidx.c'
source_filename = "AnghaBench/linux/drivers/ssb/extr_ssb_private.h_ssb_pci_switch_coreidx.c"
target datalayout = "e-m:e-p270:32:32-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 @ssb_pci_switch_coreidx], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @ssb_pci_switch_coreidx(ptr nocapture readnone %0, i32 %1) #0 {
ret i32 0
}
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/ssb/extr_ssb_private.h_ssb_pci_switch_coreidx.c'
source_filename = "AnghaBench/linux/drivers/ssb/extr_ssb_private.h_ssb_pci_switch_coreidx.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 @ssb_pci_switch_coreidx], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @ssb_pci_switch_coreidx(ptr nocapture readnone %0, i32 %1) #0 {
ret i32 0
}
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_ssb_extr_ssb_private.h_ssb_pci_switch_coreidx |
; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_strutil.c_str3cat.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_strutil.c_str3cat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @str3cat(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @strlen(ptr noundef %1) #2
%6 = tail call i32 @strlen(ptr noundef %2) #2
%7 = tail call i32 @strlen(ptr noundef %3) #2
%8 = add i32 %7, 1
%9 = add i32 %8, %5
%10 = add i32 %9, %6
%11 = tail call i64 @xrealloc(ptr noundef %0, i32 noundef %10) #2
%12 = inttoptr i64 %11 to ptr
%13 = tail call i32 @memmove(ptr noundef %12, ptr noundef %1, i32 noundef %5) #2
%14 = sext i32 %5 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = tail call i32 @memmove(ptr noundef %15, ptr noundef %2, i32 noundef %6) #2
%17 = sext i32 %6 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = tail call i32 @memmove(ptr noundef %18, ptr noundef %3, i32 noundef %8) #2
ret ptr %12
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @xrealloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memmove(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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_strutil.c_str3cat.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_strutil.c_str3cat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @str3cat(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @strlen(ptr noundef %1) #2
%6 = tail call i32 @strlen(ptr noundef %2) #2
%7 = tail call i32 @strlen(ptr noundef %3) #2
%8 = add i32 %7, 1
%9 = add i32 %8, %5
%10 = add i32 %9, %6
%11 = tail call i64 @xrealloc(ptr noundef %0, i32 noundef %10) #2
%12 = inttoptr i64 %11 to ptr
%13 = tail call i32 @memmove(ptr noundef %12, ptr noundef %1, i32 noundef %5) #2
%14 = sext i32 %5 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = tail call i32 @memmove(ptr noundef %15, ptr noundef %2, i32 noundef %6) #2
%17 = sext i32 %6 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = tail call i32 @memmove(ptr noundef %18, ptr noundef %3, i32 noundef %8) #2
ret ptr %12
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @xrealloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memmove(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)"}
| freebsd_contrib_amd_libamu_extr_strutil.c_str3cat |
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_file.c_usb_deregister_dev.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_file.c_usb_deregister_dev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usb_interface = type { i32, ptr, i32 }
@.str = private unnamed_addr constant [19 x i8] c"removing %d minor\0A\00", align 1
@usb_class = dso_local local_unnamed_addr global ptr null, align 8
@USB_MAJOR = dso_local local_unnamed_addr global i32 0, align 4
@minor_rwsem = dso_local global i32 0, align 4
@usb_minors = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @usb_deregister_dev(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp eq i32 %3, -1
br i1 %4, label %22, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 2
%7 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str, i32 noundef %3) #2
%8 = load ptr, ptr @usb_class, align 8, !tbaa !11
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = load i32, ptr @USB_MAJOR, align 4, !tbaa !14
%11 = load i32, ptr %0, align 8, !tbaa !5
%12 = tail call i32 @MKDEV(i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @device_destroy(i32 noundef %9, i32 noundef %12) #2
%14 = tail call i32 @down_write(ptr noundef nonnull @minor_rwsem) #2
%15 = load ptr, ptr @usb_minors, align 8, !tbaa !11
%16 = load i32, ptr %0, align 8, !tbaa !5
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
store ptr null, ptr %18, align 8, !tbaa !11
%19 = tail call i32 @up_write(ptr noundef nonnull @minor_rwsem) #2
%20 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1
store ptr null, ptr %20, align 8, !tbaa !15
store i32 -1, ptr %0, align 8, !tbaa !5
%21 = tail call i32 (...) @destroy_usb_class() #2
br label %22
22: ; preds = %2, %5
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_usb_class(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"usb_interface", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_file.c_usb_deregister_dev.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_file.c_usb_deregister_dev.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 [19 x i8] c"removing %d minor\0A\00", align 1
@usb_class = common local_unnamed_addr global ptr null, align 8
@USB_MAJOR = common local_unnamed_addr global i32 0, align 4
@minor_rwsem = common global i32 0, align 4
@usb_minors = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @usb_deregister_dev(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp eq i32 %3, -1
br i1 %4, label %22, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str, i32 noundef %3) #2
%8 = load ptr, ptr @usb_class, align 8, !tbaa !12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @USB_MAJOR, align 4, !tbaa !15
%11 = load i32, ptr %0, align 8, !tbaa !6
%12 = tail call i32 @MKDEV(i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @device_destroy(i32 noundef %9, i32 noundef %12) #2
%14 = tail call i32 @down_write(ptr noundef nonnull @minor_rwsem) #2
%15 = load ptr, ptr @usb_minors, align 8, !tbaa !12
%16 = load i32, ptr %0, align 8, !tbaa !6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
store ptr null, ptr %18, align 8, !tbaa !12
%19 = tail call i32 @up_write(ptr noundef nonnull @minor_rwsem) #2
%20 = getelementptr inbounds i8, ptr %0, i64 8
store ptr null, ptr %20, align 8, !tbaa !16
store i32 -1, ptr %0, align 8, !tbaa !6
%21 = tail call i32 @destroy_usb_class() #2
br label %22
22: ; preds = %2, %5
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_usb_class(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_interface", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !11, i64 8}
| linux_drivers_usb_core_extr_file.c_usb_deregister_dev |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_players.c_UI_PlayerInfo_SetModel.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_players.c_UI_PlayerInfo_SetModel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, i32, i64, i32, i32 }
@WP_MACHINEGUN = dso_local local_unnamed_addr global i32 0, align 4
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@qtrue = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @UI_PlayerInfo_SetModel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #2
%6 = tail call i32 @UI_RegisterClientModelname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
%7 = load i32, ptr @WP_MACHINEGUN, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !9
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6
store i32 %7, ptr %9, align 4, !tbaa !12
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5
store i32 %7, ptr %10, align 8, !tbaa !13
store i32 -1, ptr %0, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
store i64 0, ptr %11, align 8, !tbaa !15
%12 = load i32, ptr @qfalse, align 4, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
store i32 %12, ptr %13, align 4, !tbaa !16
%14 = load i32, ptr @qtrue, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
store i32 %14, ptr %15, align 8, !tbaa !17
%16 = tail call i32 @UI_PlayerInfo_SetWeapon(ptr noundef nonnull %0, i32 noundef %7) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UI_RegisterClientModelname(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UI_PlayerInfo_SetWeapon(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24, !6, i64 28}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 28}
!13 = !{!10, !6, i64 24}
!14 = !{!10, !6, i64 0}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !6, i64 12}
!17 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_players.c_UI_PlayerInfo_SetModel.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_players.c_UI_PlayerInfo_SetModel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WP_MACHINEGUN = common local_unnamed_addr global i32 0, align 4
@qfalse = common local_unnamed_addr global i32 0, align 4
@qtrue = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @UI_PlayerInfo_SetModel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #2
%6 = tail call i32 @UI_RegisterClientModelname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
%7 = load i32, ptr @WP_MACHINEGUN, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %7, ptr %8, align 4, !tbaa !10
%9 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %7, ptr %9, align 4, !tbaa !13
%10 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %7, ptr %10, align 8, !tbaa !14
store i32 -1, ptr %0, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %11, align 8, !tbaa !16
%12 = load i32, ptr @qfalse, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %12, ptr %13, align 4, !tbaa !17
%14 = load i32, ptr @qtrue, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %14, ptr %15, align 8, !tbaa !18
%16 = tail call i32 @UI_PlayerInfo_SetWeapon(ptr noundef nonnull %0, i32 noundef %7) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UI_RegisterClientModelname(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UI_PlayerInfo_SetWeapon(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24, !7, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 28}
!14 = !{!11, !7, i64 24}
!15 = !{!11, !7, i64 0}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !7, i64 12}
!18 = !{!11, !7, i64 8}
| Quake-III-Arena_code_ui_extr_ui_players.c_UI_PlayerInfo_SetModel |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cavs.c_modify_pred.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cavs.c_modify_pred.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Illegal intra prediction mode\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @modify_pred], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @modify_pred(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = sext i32 %3 to i64
%5 = getelementptr inbounds i32, ptr %0, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !5
store i32 %6, ptr %1, align 4, !tbaa !5
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5
%10 = tail call i32 @av_log(ptr noundef null, i32 noundef %9, ptr noundef nonnull @.str) #2
store i32 0, ptr %1, align 4, !tbaa !5
br label %11
11: ; preds = %8, %2
ret void
}
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cavs.c_modify_pred.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cavs.c_modify_pred.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Illegal intra prediction mode\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @modify_pred], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @modify_pred(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = sext i32 %3 to i64
%5 = getelementptr inbounds i32, ptr %0, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !6
store i32 %6, ptr %1, align 4, !tbaa !6
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6
%10 = tail call i32 @av_log(ptr noundef null, i32 noundef %9, ptr noundef nonnull @.str) #2
store i32 0, ptr %1, align 4, !tbaa !6
br label %11
11: ; preds = %8, %2
ret void
}
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavcodec_extr_cavs.c_modify_pred |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_mpc52xx.c_mpc52xx_ata_task_irq.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_mpc52xx.c_mpc52xx_ata_task_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mpc52xx_ata_priv = type { i32, i32 }
@ATA_DMA_INTR = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mpc52xx_ata_task_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mpc52xx_ata_task_irq(i32 %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.mpc52xx_ata_priv, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i64 @bcom_buffer_done(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %13, label %7
7: ; preds = %2, %7
%8 = load i32, ptr %3, align 4, !tbaa !5
%9 = tail call i32 @bcom_retrieve_buffer(i32 noundef %8, ptr noundef null, ptr noundef null) #2
%10 = load i32, ptr %3, align 4, !tbaa !5
%11 = tail call i64 @bcom_buffer_done(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %7, !llvm.loop !10
13: ; preds = %7, %2
%14 = load i32, ptr @ATA_DMA_INTR, align 4, !tbaa !12
%15 = load i32, ptr %1, align 4, !tbaa !13
%16 = or i32 %15, %14
store i32 %16, ptr %1, align 4, !tbaa !13
%17 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !12
ret i32 %17
}
declare i64 @bcom_buffer_done(i32 noundef) local_unnamed_addr #1
declare i32 @bcom_retrieve_buffer(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"mpc52xx_ata_priv", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_mpc52xx.c_mpc52xx_ata_task_irq.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_mpc52xx.c_mpc52xx_ata_task_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATA_DMA_INTR = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mpc52xx_ata_task_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mpc52xx_ata_task_irq(i32 %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i64 @bcom_buffer_done(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %13, label %7
7: ; preds = %2, %7
%8 = load i32, ptr %3, align 4, !tbaa !6
%9 = tail call i32 @bcom_retrieve_buffer(i32 noundef %8, ptr noundef null, ptr noundef null) #2
%10 = load i32, ptr %3, align 4, !tbaa !6
%11 = tail call i64 @bcom_buffer_done(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %7, !llvm.loop !11
13: ; preds = %7, %2
%14 = load i32, ptr @ATA_DMA_INTR, align 4, !tbaa !13
%15 = load i32, ptr %1, align 4, !tbaa !14
%16 = or i32 %15, %14
store i32 %16, ptr %1, align 4, !tbaa !14
%17 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !13
ret i32 %17
}
declare i64 @bcom_buffer_done(i32 noundef) local_unnamed_addr #1
declare i32 @bcom_retrieve_buffer(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"mpc52xx_ata_priv", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
| linux_drivers_ata_extr_pata_mpc52xx.c_mpc52xx_ata_task_irq |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/master/extr_master_stage_protocol.c_ForeignConstraintGetReferencedTableId.c'
source_filename = "AnghaBench/citus/src/backend/distributed/master/extr_master_stage_protocol.c_ForeignConstraintGetReferencedTableId.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_6__ = type { i64, i64 }
%struct.TYPE_4__ = type { i64, ptr }
@AT_AddConstraint = dso_local local_unnamed_addr global i64 0, align 8
@CONSTR_FOREIGN = dso_local local_unnamed_addr global i64 0, align 8
@NoLock = dso_local local_unnamed_addr global i32 0, align 4
@InvalidOid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ForeignConstraintGetReferencedTableId(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @ParseTreeNode(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i64 @linitial(i32 noundef %4) #2
%6 = inttoptr i64 %5 to ptr
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr @AT_AddConstraint, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %23
10: ; preds = %1
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = inttoptr i64 %12 to ptr
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = load i64, ptr @CONSTR_FOREIGN, align 8, !tbaa !13
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %23
17: ; preds = %10
%18 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !18
%20 = load i32, ptr @NoLock, align 4, !tbaa !19
%21 = load i32, ptr %2, align 4, !tbaa !20
%22 = tail call i32 @RangeVarGetRelid(ptr noundef %19, i32 noundef %20, i32 noundef %21) #2
br label %25
23: ; preds = %10, %1
%24 = load i32, ptr @InvalidOid, align 4, !tbaa !19
br label %25
25: ; preds = %17, %23
%26 = phi i32 [ %24, %23 ], [ %22, %17 ]
ret i32 %26
}
declare ptr @ParseTreeNode(ptr noundef) local_unnamed_addr #1
declare i64 @linitial(i32 noundef) local_unnamed_addr #1
declare i32 @RangeVarGetRelid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !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, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_4__", !12, i64 0, !17, i64 8}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!7, !7, i64 0}
!20 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/master/extr_master_stage_protocol.c_ForeignConstraintGetReferencedTableId.c'
source_filename = "AnghaBench/citus/src/backend/distributed/master/extr_master_stage_protocol.c_ForeignConstraintGetReferencedTableId.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AT_AddConstraint = common local_unnamed_addr global i64 0, align 8
@CONSTR_FOREIGN = common local_unnamed_addr global i64 0, align 8
@NoLock = common local_unnamed_addr global i32 0, align 4
@InvalidOid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ForeignConstraintGetReferencedTableId(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @ParseTreeNode(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i64 @linitial(i32 noundef %4) #2
%6 = inttoptr i64 %5 to ptr
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr @AT_AddConstraint, align 8, !tbaa !14
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %23
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = inttoptr i64 %12 to ptr
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = load i64, ptr @CONSTR_FOREIGN, align 8, !tbaa !14
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %23
17: ; preds = %10
%18 = getelementptr inbounds i8, ptr %13, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !19
%20 = load i32, ptr @NoLock, align 4, !tbaa !20
%21 = load i32, ptr %2, align 4, !tbaa !21
%22 = tail call i32 @RangeVarGetRelid(ptr noundef %19, i32 noundef %20, i32 noundef %21) #2
br label %25
23: ; preds = %10, %1
%24 = load i32, ptr @InvalidOid, align 4, !tbaa !20
br label %25
25: ; preds = %17, %23
%26 = phi i32 [ %24, %23 ], [ %22, %17 ]
ret i32 %26
}
declare ptr @ParseTreeNode(ptr noundef) local_unnamed_addr #1
declare i64 @linitial(i32 noundef) local_unnamed_addr #1
declare i32 @RangeVarGetRelid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !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, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_4__", !13, i64 0, !18, i64 8}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!17, !18, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!7, !8, i64 0}
| citus_src_backend_distributed_master_extr_master_stage_protocol.c_ForeignConstraintGetReferencedTableId |
; ModuleID = 'AnghaBench/linux/arch/mips/dec/prom/extr_identify.c_prom_init_kn01.c'
source_filename = "AnghaBench/linux/arch/mips/dec/prom/extr_identify.c_prom_init_kn01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KN01_SLOT_BASE = dso_local local_unnamed_addr global i64 0, align 8
@dec_kn_slot_base = dso_local local_unnamed_addr global i64 0, align 8
@KN01_SLOT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@dec_kn_slot_size = dso_local local_unnamed_addr global i32 0, align 4
@KN01_RTC = dso_local local_unnamed_addr global i64 0, align 8
@dec_rtc_base = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @prom_init_kn01], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @prom_init_kn01() #0 {
%1 = load i64, ptr @KN01_SLOT_BASE, align 8, !tbaa !5
store i64 %1, ptr @dec_kn_slot_base, align 8, !tbaa !5
%2 = load i32, ptr @KN01_SLOT_SIZE, align 4, !tbaa !9
store i32 %2, ptr @dec_kn_slot_size, align 4, !tbaa !9
%3 = load i64, ptr @KN01_RTC, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i64 @CKSEG1ADDR(i64 noundef %4) #2
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr @dec_rtc_base, align 8, !tbaa !11
ret void
}
declare i64 @CKSEG1ADDR(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/mips/dec/prom/extr_identify.c_prom_init_kn01.c'
source_filename = "AnghaBench/linux/arch/mips/dec/prom/extr_identify.c_prom_init_kn01.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KN01_SLOT_BASE = common local_unnamed_addr global i64 0, align 8
@dec_kn_slot_base = common local_unnamed_addr global i64 0, align 8
@KN01_SLOT_SIZE = common local_unnamed_addr global i32 0, align 4
@dec_kn_slot_size = common local_unnamed_addr global i32 0, align 4
@KN01_RTC = common local_unnamed_addr global i64 0, align 8
@dec_rtc_base = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @prom_init_kn01], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @prom_init_kn01() #0 {
%1 = load i64, ptr @KN01_SLOT_BASE, align 8, !tbaa !6
store i64 %1, ptr @dec_kn_slot_base, align 8, !tbaa !6
%2 = load i32, ptr @KN01_SLOT_SIZE, align 4, !tbaa !10
store i32 %2, ptr @dec_kn_slot_size, align 4, !tbaa !10
%3 = load i64, ptr @KN01_RTC, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i64 @CKSEG1ADDR(i64 noundef %4) #2
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr @dec_rtc_base, align 8, !tbaa !12
ret void
}
declare i64 @CKSEG1ADDR(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| linux_arch_mips_dec_prom_extr_identify.c_prom_init_kn01 |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_sendrecv.c_zfs_send_one.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_sendrecv.c_zfs_send_one.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, i32, i64, i64, i64, i64 }
%struct.TYPE_5__ = type { i32, ptr }
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@stderr = dso_local local_unnamed_addr global ptr null, align 8
@LZC_SEND_FLAG_LARGE_BLOCK = dso_local local_unnamed_addr global i32 0, align 4
@LZC_SEND_FLAG_EMBED_DATA = dso_local local_unnamed_addr global i32 0, align 4
@LZC_SEND_FLAG_COMPRESS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"size\09%llu\0A\00", align 1
@TEXT_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"total estimated size is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Cannot estimate send size: %s\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"warning: cannot send '%s'\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"not an earlier snapshot from the same fs\00", align 1
@EZFS_CROSSTARGET = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [39 x i8] c"incremental source (%s) does not exist\00", align 1
@EZFS_NOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [56 x i8] c"target is busy; if a filesystem, it must not be mounted\00", align 1
@EZFS_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@EZFS_BADBACKUP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zfs_send_one(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly byval(%struct.TYPE_6__) align 8 %3) local_unnamed_addr #0 {
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
%7 = alloca [16 x i8], align 16
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = icmp ne i64 %11, 0
%13 = load i64, ptr %3, align 8
%14 = icmp ne i64 %13, 0
%15 = select i1 %12, i1 %14, i1 false
%16 = load ptr, ptr @stdout, align 8
%17 = load ptr, ptr @stderr, align 8
%18 = select i1 %15, ptr %16, ptr %17
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 5
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp eq i64 %20, 0
%22 = load i32, ptr @LZC_SEND_FLAG_LARGE_BLOCK, align 4
%23 = select i1 %21, i32 0, i32 %22
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 4
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = icmp eq i64 %25, 0
%27 = load i32, ptr @LZC_SEND_FLAG_EMBED_DATA, align 4
%28 = select i1 %26, i32 0, i32 %27
%29 = or i32 %28, %23
%30 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 3
%31 = load i64, ptr %30, align 8, !tbaa !16
%32 = icmp eq i64 %31, 0
%33 = load i32, ptr @LZC_SEND_FLAG_COMPRESS, align 4
%34 = select i1 %32, i32 0, i32 %33
%35 = or i32 %29, %34
%36 = icmp eq i64 %11, 0
br i1 %36, label %64, label %37
37: ; preds = %4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 0, ptr %6, align 8, !tbaa !17
%38 = load i32, ptr %0, align 8, !tbaa !18
%39 = call i32 @lzc_send_space(i32 noundef %38, ptr noundef %1, i32 noundef %35, ptr noundef nonnull %6) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %58
41: ; preds = %37
%42 = load i32, ptr %0, align 8, !tbaa !18
%43 = load i64, ptr %6, align 8, !tbaa !17
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
%45 = load i32, ptr %44, align 8, !tbaa !19
%46 = call i32 @send_print_verbose(ptr noundef %18, i32 noundef %42, ptr noundef %1, i64 noundef %43, i32 noundef %45) #3
%47 = icmp eq i32 %45, 0
br i1 %47, label %52, label %48
48: ; preds = %41
%49 = load i64, ptr %6, align 8, !tbaa !17
%50 = inttoptr i64 %49 to ptr
%51 = call i32 @fprintf(ptr noundef %18, ptr noundef nonnull @.str, ptr noundef %50) #3
br label %63
52: ; preds = %41
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%53 = load i64, ptr %6, align 8, !tbaa !17
%54 = call i32 @zfs_nicenum(i64 noundef %53, ptr noundef nonnull %7, i32 noundef 16) #3
%55 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%56 = call ptr @dgettext(i32 noundef %55, ptr noundef nonnull @.str.1) #3
%57 = call i32 @fprintf(ptr noundef %18, ptr noundef %56, ptr noundef nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
br label %63
58: ; preds = %37
%59 = load ptr, ptr @stderr, align 8, !tbaa !21
%60 = load i32, ptr @errno, align 4, !tbaa !20
%61 = call ptr @strerror(i32 noundef %60) #3
%62 = call i32 @fprintf(ptr noundef %59, ptr noundef nonnull @.str.2, ptr noundef %61) #3
br label %63
63: ; preds = %48, %52, %58
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br label %64
64: ; preds = %63, %4
%65 = phi i32 [ %39, %63 ], [ 0, %4 ]
%66 = icmp eq i64 %13, 0
br i1 %66, label %67, label %107
67: ; preds = %64
%68 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%69 = call ptr @dgettext(i32 noundef %68, ptr noundef nonnull @.str.3) #3
%70 = load i32, ptr %0, align 8, !tbaa !18
%71 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef %69, i32 noundef %70) #3
%72 = load i32, ptr %0, align 8, !tbaa !18
%73 = call i32 @lzc_send(i32 noundef %72, ptr noundef %1, i32 noundef %2, i32 noundef %35) #3
%74 = icmp eq i32 %73, 0
br i1 %74, label %107, label %75
75: ; preds = %67
%76 = load i32, ptr @errno, align 4, !tbaa !20
switch i32 %76, label %105 [
i32 128, label %77
i32 137, label %83
i32 129, label %83
i32 142, label %94
i32 141, label %100
i32 139, label %100
i32 138, label %100
i32 136, label %100
i32 135, label %100
i32 133, label %100
i32 132, label %100
i32 131, label %100
i32 140, label %100
i32 130, label %100
]
77: ; preds = %75
%78 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%79 = call ptr @dgettext(i32 noundef %78, ptr noundef nonnull @.str.4) #3
%80 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %79) #3
%81 = load i32, ptr @EZFS_CROSSTARGET, align 4, !tbaa !20
%82 = call i32 @zfs_error(ptr noundef %9, i32 noundef %81, ptr noundef nonnull %5) #3
br label %107
83: ; preds = %75, %75
%84 = load i32, ptr %0, align 8, !tbaa !18
%85 = call i32 @lzc_exists(i32 noundef %84) #3
%86 = icmp eq i32 %85, 0
br i1 %86, label %91, label %87
87: ; preds = %83
%88 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%89 = call ptr @dgettext(i32 noundef %88, ptr noundef nonnull @.str.5) #3
%90 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %89, ptr noundef %1) #3
br label %91
91: ; preds = %87, %83
%92 = load i32, ptr @EZFS_NOENT, align 4, !tbaa !20
%93 = call i32 @zfs_error(ptr noundef %9, i32 noundef %92, ptr noundef nonnull %5) #3
br label %107
94: ; preds = %75
%95 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%96 = call ptr @dgettext(i32 noundef %95, ptr noundef nonnull @.str.6) #3
%97 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %96) #3
%98 = load i32, ptr @EZFS_BUSY, align 4, !tbaa !20
%99 = call i32 @zfs_error(ptr noundef %9, i32 noundef %98, ptr noundef nonnull %5) #3
br label %107
100: ; preds = %75, %75, %75, %75, %75, %75, %75, %75, %75, %75
%101 = call ptr @strerror(i32 noundef %76) #3
%102 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %101) #3
%103 = load i32, ptr @EZFS_BADBACKUP, align 4, !tbaa !20
%104 = call i32 @zfs_error(ptr noundef %9, i32 noundef %103, ptr noundef nonnull %5) #3
br label %107
105: ; preds = %75
%106 = call i32 @zfs_standard_error(ptr noundef %9, i32 noundef %76, ptr noundef nonnull %5) #3
br label %107
107: ; preds = %67, %64, %105, %100, %94, %91, %77
%108 = phi i32 [ %106, %105 ], [ %104, %100 ], [ %99, %94 ], [ %93, %91 ], [ %82, %77 ], [ %65, %64 ], [ 0, %67 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
ret i32 %108
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @lzc_send_space(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @send_print_verbose(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zfs_nicenum(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lzc_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zfs_error_aux(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @zfs_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @lzc_exists(i32 noundef) local_unnamed_addr #2
declare i32 @zfs_standard_error(ptr 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_5__", !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, !13, i64 16}
!12 = !{!"TYPE_6__", !13, i64 0, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !13, i64 40}
!15 = !{!12, !13, i64 32}
!16 = !{!12, !13, i64 24}
!17 = !{!13, !13, i64 0}
!18 = !{!6, !7, i64 0}
!19 = !{!12, !7, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_sendrecv.c_zfs_send_one.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_sendrecv.c_zfs_send_one.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stdout = common local_unnamed_addr global ptr null, align 8
@stderr = common local_unnamed_addr global ptr null, align 8
@LZC_SEND_FLAG_LARGE_BLOCK = common local_unnamed_addr global i32 0, align 4
@LZC_SEND_FLAG_EMBED_DATA = common local_unnamed_addr global i32 0, align 4
@LZC_SEND_FLAG_COMPRESS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"size\09%llu\0A\00", align 1
@TEXT_DOMAIN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"total estimated size is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Cannot estimate send size: %s\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"warning: cannot send '%s'\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"not an earlier snapshot from the same fs\00", align 1
@EZFS_CROSSTARGET = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [39 x i8] c"incremental source (%s) does not exist\00", align 1
@EZFS_NOENT = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [56 x i8] c"target is busy; if a filesystem, it must not be mounted\00", align 1
@EZFS_BUSY = common local_unnamed_addr global i32 0, align 4
@EZFS_BADBACKUP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zfs_send_one(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = alloca [1024 x i8], align 1
%6 = alloca i64, align 8
%7 = alloca [16 x i8], align 1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %3, i64 16
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load i64, ptr %3, align 8, !tbaa !15
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13, %4
br label %17
17: ; preds = %13, %16
%18 = phi ptr [ @stderr, %16 ], [ @stdout, %13 ]
%19 = load ptr, ptr %18, align 8, !tbaa !16
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%20 = getelementptr inbounds i8, ptr %3, i64 40
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp eq i64 %21, 0
%23 = load i32, ptr @LZC_SEND_FLAG_LARGE_BLOCK, align 4
%24 = select i1 %22, i32 0, i32 %23
%25 = getelementptr inbounds i8, ptr %3, i64 32
%26 = load i64, ptr %25, align 8, !tbaa !18
%27 = icmp eq i64 %26, 0
%28 = load i32, ptr @LZC_SEND_FLAG_EMBED_DATA, align 4
%29 = select i1 %27, i32 0, i32 %28
%30 = or i32 %29, %24
%31 = getelementptr inbounds i8, ptr %3, i64 24
%32 = load i64, ptr %31, align 8, !tbaa !19
%33 = icmp eq i64 %32, 0
%34 = load i32, ptr @LZC_SEND_FLAG_COMPRESS, align 4
%35 = select i1 %33, i32 0, i32 %34
%36 = or i32 %30, %35
br i1 %12, label %65, label %37
37: ; preds = %17
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 0, ptr %6, align 8, !tbaa !20
%38 = load i32, ptr %0, align 8, !tbaa !21
%39 = call i32 @lzc_send_space(i32 noundef %38, ptr noundef %1, i32 noundef %36, ptr noundef nonnull %6) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %59
41: ; preds = %37
%42 = load i32, ptr %0, align 8, !tbaa !21
%43 = load i64, ptr %6, align 8, !tbaa !20
%44 = getelementptr inbounds i8, ptr %3, i64 8
%45 = load i32, ptr %44, align 8, !tbaa !22
%46 = call i32 @send_print_verbose(ptr noundef %19, i32 noundef %42, ptr noundef %1, i64 noundef %43, i32 noundef %45) #3
%47 = load i32, ptr %44, align 8, !tbaa !22
%48 = icmp eq i32 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %41
%50 = load i64, ptr %6, align 8, !tbaa !20
%51 = inttoptr i64 %50 to ptr
%52 = call i32 @fprintf(ptr noundef %19, ptr noundef nonnull @.str, ptr noundef %51) #3
br label %64
53: ; preds = %41
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%54 = load i64, ptr %6, align 8, !tbaa !20
%55 = call i32 @zfs_nicenum(i64 noundef %54, ptr noundef nonnull %7, i32 noundef 16) #3
%56 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !23
%57 = call ptr @dgettext(i32 noundef %56, ptr noundef nonnull @.str.1) #3
%58 = call i32 @fprintf(ptr noundef %19, ptr noundef %57, ptr noundef nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
br label %64
59: ; preds = %37
%60 = load ptr, ptr @stderr, align 8, !tbaa !16
%61 = load i32, ptr @errno, align 4, !tbaa !23
%62 = call ptr @strerror(i32 noundef %61) #3
%63 = call i32 @fprintf(ptr noundef %60, ptr noundef nonnull @.str.2, ptr noundef %62) #3
br label %64
64: ; preds = %49, %53, %59
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br label %65
65: ; preds = %64, %17
%66 = phi i32 [ %39, %64 ], [ 0, %17 ]
%67 = load i64, ptr %3, align 8, !tbaa !15
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %109
69: ; preds = %65
%70 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !23
%71 = call ptr @dgettext(i32 noundef %70, ptr noundef nonnull @.str.3) #3
%72 = load i32, ptr %0, align 8, !tbaa !21
%73 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef %71, i32 noundef %72) #3
%74 = load i32, ptr %0, align 8, !tbaa !21
%75 = call i32 @lzc_send(i32 noundef %74, ptr noundef %1, i32 noundef %2, i32 noundef %36) #3
%76 = icmp eq i32 %75, 0
br i1 %76, label %109, label %77
77: ; preds = %69
%78 = load i32, ptr @errno, align 4, !tbaa !23
switch i32 %78, label %107 [
i32 128, label %79
i32 137, label %85
i32 129, label %85
i32 142, label %96
i32 141, label %102
i32 139, label %102
i32 138, label %102
i32 136, label %102
i32 135, label %102
i32 133, label %102
i32 132, label %102
i32 131, label %102
i32 140, label %102
i32 130, label %102
]
79: ; preds = %77
%80 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !23
%81 = call ptr @dgettext(i32 noundef %80, ptr noundef nonnull @.str.4) #3
%82 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %81) #3
%83 = load i32, ptr @EZFS_CROSSTARGET, align 4, !tbaa !23
%84 = call i32 @zfs_error(ptr noundef %9, i32 noundef %83, ptr noundef nonnull %5) #3
br label %109
85: ; preds = %77, %77
%86 = load i32, ptr %0, align 8, !tbaa !21
%87 = call i32 @lzc_exists(i32 noundef %86) #3
%88 = icmp eq i32 %87, 0
br i1 %88, label %93, label %89
89: ; preds = %85
%90 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !23
%91 = call ptr @dgettext(i32 noundef %90, ptr noundef nonnull @.str.5) #3
%92 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %91, ptr noundef %1) #3
br label %93
93: ; preds = %89, %85
%94 = load i32, ptr @EZFS_NOENT, align 4, !tbaa !23
%95 = call i32 @zfs_error(ptr noundef %9, i32 noundef %94, ptr noundef nonnull %5) #3
br label %109
96: ; preds = %77
%97 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !23
%98 = call ptr @dgettext(i32 noundef %97, ptr noundef nonnull @.str.6) #3
%99 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %98) #3
%100 = load i32, ptr @EZFS_BUSY, align 4, !tbaa !23
%101 = call i32 @zfs_error(ptr noundef %9, i32 noundef %100, ptr noundef nonnull %5) #3
br label %109
102: ; preds = %77, %77, %77, %77, %77, %77, %77, %77, %77, %77
%103 = call ptr @strerror(i32 noundef %78) #3
%104 = call i32 (ptr, ptr, ...) @zfs_error_aux(ptr noundef %9, ptr noundef %103) #3
%105 = load i32, ptr @EZFS_BADBACKUP, align 4, !tbaa !23
%106 = call i32 @zfs_error(ptr noundef %9, i32 noundef %105, ptr noundef nonnull %5) #3
br label %109
107: ; preds = %77
%108 = call i32 @zfs_standard_error(ptr noundef %9, i32 noundef %78, ptr noundef nonnull %5) #3
br label %109
109: ; preds = %69, %65, %107, %102, %96, %93, %79
%110 = phi i32 [ %108, %107 ], [ %106, %102 ], [ %101, %96 ], [ %95, %93 ], [ %84, %79 ], [ %66, %65 ], [ 0, %69 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
ret i32 %110
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @lzc_send_space(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @send_print_verbose(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zfs_nicenum(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lzc_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zfs_error_aux(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @zfs_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @lzc_exists(i32 noundef) local_unnamed_addr #2
declare i32 @zfs_standard_error(ptr 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_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 = !{!13, !14, i64 16}
!13 = !{!"TYPE_6__", !14, i64 0, !8, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!13, !14, i64 40}
!18 = !{!13, !14, i64 32}
!19 = !{!13, !14, i64 24}
!20 = !{!14, !14, i64 0}
!21 = !{!7, !8, i64 0}
!22 = !{!13, !8, i64 8}
!23 = !{!8, !8, i64 0}
| freebsd_cddl_contrib_opensolaris_lib_libzfs_common_extr_libzfs_sendrecv.c_zfs_send_one |
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_select.c_SELECT_find_matching_rows.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_select.c_SELECT_find_matching_rows.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@.str = private unnamed_addr constant [16 x i8] c"%p, %d, %u, %p\0A\00", align 1
@ERROR_FUNCTION_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @SELECT_find_matching_rows], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @SELECT_find_matching_rows(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = load i32, ptr %4, align 4, !tbaa !5
%7 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %5
%12 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !5
br label %30
13: ; preds = %5
%14 = icmp eq i32 %1, 0
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load i32, ptr %0, align 8, !tbaa !12
%17 = icmp slt i32 %16, %1
br i1 %17, label %18, label %20
18: ; preds = %15, %13
%19 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !5
br label %30
20: ; preds = %15
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !13
%23 = sext i32 %1 to i64
%24 = getelementptr i32, ptr %22, i64 %23
%25 = getelementptr i32, ptr %24, i64 -1
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = load ptr, ptr %9, align 8, !tbaa !14
%28 = load ptr, ptr %27, align 8, !tbaa !16
%29 = tail call i32 %28(ptr noundef nonnull %9, i32 noundef %26, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %4) #2
br label %30
30: ; preds = %20, %18, %11
%31 = phi i32 [ %19, %18 ], [ %29, %20 ], [ %12, %11 ]
ret i32 %31
}
declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"TYPE_5__", !6, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_6__", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_4__", !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_select.c_SELECT_find_matching_rows.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_select.c_SELECT_find_matching_rows.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 [16 x i8] c"%p, %d, %u, %p\0A\00", align 1
@ERROR_FUNCTION_FAILED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @SELECT_find_matching_rows], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @SELECT_find_matching_rows(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = load i32, ptr %4, align 4, !tbaa !6
%7 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %5
%12 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !6
br label %30
13: ; preds = %5
%14 = icmp eq i32 %1, 0
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load i32, ptr %0, align 8, !tbaa !13
%17 = icmp slt i32 %16, %1
br i1 %17, label %18, label %20
18: ; preds = %15, %13
%19 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !6
br label %30
20: ; preds = %15
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !14
%23 = sext i32 %1 to i64
%24 = getelementptr i32, ptr %22, i64 %23
%25 = getelementptr i8, ptr %24, i64 -4
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = load ptr, ptr %9, align 8, !tbaa !15
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = tail call i32 %28(ptr noundef nonnull %9, i32 noundef %26, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %4) #2
br label %30
30: ; preds = %20, %18, %11
%31 = phi i32 [ %19, %18 ], [ %29, %20 ], [ %12, %11 ]
ret i32 %31
}
declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_6__", !12, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_4__", !12, i64 0}
| reactos_dll_win32_msi_extr_select.c_SELECT_find_matching_rows |
; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/extr_a10_fb.c_a10fb_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/extr_a10_fb.c_a10fb_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.a10fb_softc = type { i32, i32, i32 }
@a10fb_spec = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"cannot allocate resources for device\0A\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@hdmi_event = dso_local local_unnamed_addr global i32 0, align 4
@a10fb_hdmi_event = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @a10fb_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @a10fb_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = getelementptr inbounds %struct.a10fb_softc, ptr %2, i64 0, i32 2
store i32 %0, ptr %3, align 4, !tbaa !5
%4 = load i32, ptr @a10fb_spec, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.a10fb_softc, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %4, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @ENXIO, align 4, !tbaa !10
br label %16
12: ; preds = %1
%13 = load i32, ptr @hdmi_event, align 4, !tbaa !10
%14 = load i32, ptr @a10fb_hdmi_event, align 4, !tbaa !10
%15 = tail call i32 @EVENTHANDLER_REGISTER(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %2, i32 noundef 0) #2
store i32 %15, ptr %2, align 4, !tbaa !12
br label %16
16: ; preds = %12, %9
%17 = phi i32 [ %11, %9 ], [ 0, %12 ]
ret i32 %17
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"a10fb_softc", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/extr_a10_fb.c_a10fb_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/extr_a10_fb.c_a10fb_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@a10fb_spec = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"cannot allocate resources for device\0A\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@hdmi_event = common local_unnamed_addr global i32 0, align 4
@a10fb_hdmi_event = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @a10fb_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @a10fb_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %0, ptr %3, align 4, !tbaa !6
%4 = load i32, ptr @a10fb_spec, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %4, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @ENXIO, align 4, !tbaa !11
br label %16
12: ; preds = %1
%13 = load i32, ptr @hdmi_event, align 4, !tbaa !11
%14 = load i32, ptr @a10fb_hdmi_event, align 4, !tbaa !11
%15 = tail call i32 @EVENTHANDLER_REGISTER(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %2, i32 noundef 0) #2
store i32 %15, ptr %2, align 4, !tbaa !13
br label %16
16: ; preds = %12, %9
%17 = phi i32 [ %11, %9 ], [ 0, %12 ]
ret i32 %17
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"a10fb_softc", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
| freebsd_sys_arm_allwinner_extr_a10_fb.c_a10fb_attach |
; ModuleID = 'AnghaBench/linux/arch/x86/platform/olpc/extr_olpc-xo15-sci.c_battery_status_changed.c'
source_filename = "AnghaBench/linux/arch/x86/platform/olpc/extr_olpc-xo15-sci.c_battery_status_changed.c"
target datalayout = "e-m:e-p270:32:32-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"olpc-battery\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @battery_status_changed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @battery_status_changed() #0 {
%1 = tail call ptr @power_supply_get_by_name(ptr noundef nonnull @.str) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @power_supply_changed(ptr noundef nonnull %1) #2
%5 = tail call i32 @power_supply_put(ptr noundef nonnull %1) #2
br label %6
6: ; preds = %3, %0
ret void
}
declare ptr @power_supply_get_by_name(ptr noundef) local_unnamed_addr #1
declare i32 @power_supply_changed(ptr noundef) local_unnamed_addr #1
declare i32 @power_supply_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/platform/olpc/extr_olpc-xo15-sci.c_battery_status_changed.c'
source_filename = "AnghaBench/linux/arch/x86/platform/olpc/extr_olpc-xo15-sci.c_battery_status_changed.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"olpc-battery\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @battery_status_changed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @battery_status_changed() #0 {
%1 = tail call ptr @power_supply_get_by_name(ptr noundef nonnull @.str) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @power_supply_changed(ptr noundef nonnull %1) #2
%5 = tail call i32 @power_supply_put(ptr noundef nonnull %1) #2
br label %6
6: ; preds = %3, %0
ret void
}
declare ptr @power_supply_get_by_name(ptr noundef) local_unnamed_addr #1
declare i32 @power_supply_changed(ptr noundef) local_unnamed_addr #1
declare i32 @power_supply_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_platform_olpc_extr_olpc-xo15-sci.c_battery_status_changed |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_mt352.c_mt352_attach.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_mt352.c_mt352_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.mt352_config = type { i32 }
%struct.mt352_state = type { %struct.dvb_frontend, i32, ptr }
%struct.dvb_frontend = type { ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@CHIP_ID = dso_local local_unnamed_addr global i32 0, align 4
@ID_MT352 = dso_local local_unnamed_addr global i64 0, align 8
@mt352_ops = dso_local constant %struct.mt352_config zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @mt352_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.mt352_state, ptr %4, i64 0, i32 2
store ptr %1, ptr %7, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.mt352_state, ptr %4, i64 0, i32 1
%9 = tail call i32 @memcpy(ptr noundef nonnull %8, ptr noundef %0, i32 noundef 4) #2
%10 = load i32, ptr @CHIP_ID, align 4, !tbaa !5
%11 = tail call i64 @mt352_read_register(ptr noundef nonnull %4, i32 noundef %10) #2
%12 = load i64, ptr @ID_MT352, align 8, !tbaa !13
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = getelementptr inbounds %struct.dvb_frontend, ptr %4, i64 0, i32 1
%16 = tail call i32 @memcpy(ptr noundef nonnull %15, ptr noundef nonnull @mt352_ops, i32 noundef 4) #2
store ptr %4, ptr %4, align 8, !tbaa !15
br label %19
17: ; preds = %6, %2
%18 = tail call i32 @kfree(ptr noundef %4) #2
br label %19
19: ; preds = %17, %14
%20 = phi ptr [ null, %17 ], [ %4, %14 ]
ret ptr %20
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @mt352_read_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 24}
!10 = !{!"mt352_state", !11, i64 0, !6, i64 16, !12, i64 24}
!11 = !{!"dvb_frontend", !12, i64 0, !6, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_mt352.c_mt352_attach.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_mt352.c_mt352_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mt352_config = type { i32 }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@CHIP_ID = common local_unnamed_addr global i32 0, align 4
@ID_MT352 = common local_unnamed_addr global i64 0, align 8
@mt352_ops = common global %struct.mt352_config zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mt352_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %4, i64 24
store ptr %1, ptr %7, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %4, i64 16
%9 = tail call i32 @memcpy(ptr noundef nonnull %8, ptr noundef %0, i32 noundef 4) #2
%10 = load i32, ptr @CHIP_ID, align 4, !tbaa !6
%11 = tail call i64 @mt352_read_register(ptr noundef nonnull %4, i32 noundef %10) #2
%12 = load i64, ptr @ID_MT352, align 8, !tbaa !14
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = tail call i32 @memcpy(ptr noundef nonnull %15, ptr noundef nonnull @mt352_ops, i32 noundef 4) #2
store ptr %4, ptr %4, align 8, !tbaa !16
br label %19
17: ; preds = %6, %2
%18 = tail call i32 @kfree(ptr noundef %4) #2
br label %19
19: ; preds = %17, %14
%20 = phi ptr [ null, %17 ], [ %4, %14 ]
ret ptr %20
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @mt352_read_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 24}
!11 = !{!"mt352_state", !12, i64 0, !7, i64 16, !13, i64 24}
!12 = !{!"dvb_frontend", !13, i64 0, !7, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !13, i64 0}
| linux_drivers_media_dvb-frontends_extr_mt352.c_mt352_attach |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mxsfb/extr_mxsfb_crtc.c_mxsfb_disable_controller.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mxsfb/extr_mxsfb_crtc.c_mxsfb_disable_controller.c"
target datalayout = "e-m:e-p270:32:32-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.mxsfb_drm_private = type { i64, i64, i64 }
@CTRL_DOTCLK_MODE = dso_local local_unnamed_addr global i32 0, align 4
@LCDC_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@REG_CLR = dso_local local_unnamed_addr global i64 0, align 8
@CTRL_RUN = dso_local local_unnamed_addr global i32 0, align 4
@LCDC_VDCTRL4 = dso_local local_unnamed_addr global i64 0, align 8
@VDCTRL4_SYNC_SIGNALS_ON = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mxsfb_disable_controller], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mxsfb_disable_controller(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CTRL_DOTCLK_MODE, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.mxsfb_drm_private, ptr %0, i64 0, i32 2
%4 = load i64, ptr %3, align 8, !tbaa !9
%5 = load i64, ptr @LCDC_CTRL, align 8, !tbaa !12
%6 = add nsw i64 %5, %4
%7 = load i64, ptr @REG_CLR, align 8, !tbaa !12
%8 = add nsw i64 %6, %7
%9 = tail call i32 @writel(i32 noundef %2, i64 noundef %8) #2
%10 = load i64, ptr %3, align 8, !tbaa !9
%11 = load i64, ptr @LCDC_CTRL, align 8, !tbaa !12
%12 = add nsw i64 %11, %10
%13 = tail call i32 @readl_poll_timeout(i64 noundef %12, i32 noundef undef, i32 noundef 1, i32 noundef 0, i32 noundef 1000) #2
%14 = load i64, ptr %3, align 8, !tbaa !9
%15 = load i64, ptr @LCDC_VDCTRL4, align 8, !tbaa !12
%16 = add nsw i64 %15, %14
%17 = tail call i32 @readl(i64 noundef %16) #2
%18 = load i32, ptr @VDCTRL4_SYNC_SIGNALS_ON, align 4, !tbaa !5
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i64, ptr %3, align 8, !tbaa !9
%22 = load i64, ptr @LCDC_VDCTRL4, align 8, !tbaa !12
%23 = add nsw i64 %22, %21
%24 = tail call i32 @writel(i32 noundef %20, i64 noundef %23) #2
%25 = getelementptr inbounds %struct.mxsfb_drm_private, ptr %0, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !13
%27 = tail call i32 @clk_disable_unprepare(i64 noundef %26) #2
%28 = load i64, ptr %0, align 8, !tbaa !14
%29 = icmp eq i64 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %1
%31 = tail call i32 @clk_disable_unprepare(i64 noundef %28) #2
br label %32
32: ; preds = %30, %1
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl_poll_timeout(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(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, !11, i64 16}
!10 = !{!"mxsfb_drm_private", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mxsfb/extr_mxsfb_crtc.c_mxsfb_disable_controller.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mxsfb/extr_mxsfb_crtc.c_mxsfb_disable_controller.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTRL_DOTCLK_MODE = common local_unnamed_addr global i32 0, align 4
@LCDC_CTRL = common local_unnamed_addr global i64 0, align 8
@REG_CLR = common local_unnamed_addr global i64 0, align 8
@CTRL_RUN = common local_unnamed_addr global i32 0, align 4
@LCDC_VDCTRL4 = common local_unnamed_addr global i64 0, align 8
@VDCTRL4_SYNC_SIGNALS_ON = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mxsfb_disable_controller], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mxsfb_disable_controller(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CTRL_DOTCLK_MODE, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr @LCDC_CTRL, align 8, !tbaa !13
%6 = add nsw i64 %5, %4
%7 = load i64, ptr @REG_CLR, align 8, !tbaa !13
%8 = add nsw i64 %6, %7
%9 = tail call i32 @writel(i32 noundef %2, i64 noundef %8) #2
%10 = load i64, ptr %3, align 8, !tbaa !10
%11 = load i64, ptr @LCDC_CTRL, align 8, !tbaa !13
%12 = add nsw i64 %11, %10
%13 = tail call i32 @readl_poll_timeout(i64 noundef %12, i32 noundef undef, i32 noundef 1, i32 noundef 0, i32 noundef 1000) #2
%14 = load i64, ptr %3, align 8, !tbaa !10
%15 = load i64, ptr @LCDC_VDCTRL4, align 8, !tbaa !13
%16 = add nsw i64 %15, %14
%17 = tail call i32 @readl(i64 noundef %16) #2
%18 = load i32, ptr @VDCTRL4_SYNC_SIGNALS_ON, align 4, !tbaa !6
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i64, ptr %3, align 8, !tbaa !10
%22 = load i64, ptr @LCDC_VDCTRL4, align 8, !tbaa !13
%23 = add nsw i64 %22, %21
%24 = tail call i32 @writel(i32 noundef %20, i64 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !14
%27 = tail call i32 @clk_disable_unprepare(i64 noundef %26) #2
%28 = load i64, ptr %0, align 8, !tbaa !15
%29 = icmp eq i64 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %1
%31 = tail call i32 @clk_disable_unprepare(i64 noundef %28) #2
br label %32
32: ; preds = %30, %1
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl_poll_timeout(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(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, !12, i64 16}
!11 = !{!"mxsfb_drm_private", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 0}
| linux_drivers_gpu_drm_mxsfb_extr_mxsfb_crtc.c_mxsfb_disable_controller |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/helix/rev1/extr_split_util.c_split_keyboard_setup.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/helix/rev1/extr_split_util.c_split_keyboard_setup.c"
target datalayout = "e-m:e-p270:32:32-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 @split_keyboard_setup() local_unnamed_addr #0 {
%1 = tail call i32 (...) @setup_handedness() #2
%2 = tail call i64 (...) @has_usb() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 (...) @keyboard_master_setup() #2
br label %8
6: ; preds = %0
%7 = tail call i32 (...) @keyboard_slave_setup() #2
br label %8
8: ; preds = %6, %4
%9 = tail call i32 (...) @sei() #2
ret void
}
declare i32 @setup_handedness(...) local_unnamed_addr #1
declare i64 @has_usb(...) local_unnamed_addr #1
declare i32 @keyboard_master_setup(...) local_unnamed_addr #1
declare i32 @keyboard_slave_setup(...) local_unnamed_addr #1
declare i32 @sei(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/helix/rev1/extr_split_util.c_split_keyboard_setup.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/helix/rev1/extr_split_util.c_split_keyboard_setup.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 @split_keyboard_setup() local_unnamed_addr #0 {
%1 = tail call i32 @setup_handedness() #2
%2 = tail call i64 @has_usb() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 @keyboard_master_setup() #2
br label %8
6: ; preds = %0
%7 = tail call i32 @keyboard_slave_setup() #2
br label %8
8: ; preds = %6, %4
%9 = tail call i32 @sei() #2
ret void
}
declare i32 @setup_handedness(...) local_unnamed_addr #1
declare i64 @has_usb(...) local_unnamed_addr #1
declare i32 @keyboard_master_setup(...) local_unnamed_addr #1
declare i32 @keyboard_slave_setup(...) local_unnamed_addr #1
declare i32 @sei(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_helix_rev1_extr_split_util.c_split_keyboard_setup |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_afe_write_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_afe_write_byte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AFE_DEVICE_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @afe_write_byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @afe_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @AFE_DEVICE_ADDRESS, align 4, !tbaa !5
%5 = tail call i32 @cx231xx_write_i2c_data(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 2, i32 noundef %2, i32 noundef 1) #2
ret i32 %5
}
declare i32 @cx231xx_write_i2c_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_afe_write_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_afe_write_byte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AFE_DEVICE_ADDRESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @afe_write_byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @afe_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @AFE_DEVICE_ADDRESS, align 4, !tbaa !6
%5 = tail call i32 @cx231xx_write_i2c_data(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 2, i32 noundef %2, i32 noundef 1) #2
ret i32 %5
}
declare i32 @cx231xx_write_i2c_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_cx231xx_extr_cx231xx-avcore.c_afe_write_byte |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslopcodes.c_OpcAmlOpcodeUpdateWalk.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslopcodes.c_OpcAmlOpcodeUpdateWalk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PARSEOP_VAR_PACKAGE = dso_local local_unnamed_addr global i64 0, align 8
@AE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @OpcAmlOpcodeUpdateWalk(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @PARSEOP_VAR_PACKAGE, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @OpnDoPackage(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %7, %3
%10 = load i32, ptr @AE_OK, align 4, !tbaa !12
ret i32 %10
}
declare i32 @OpnDoPackage(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslopcodes.c_OpcAmlOpcodeUpdateWalk.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslopcodes.c_OpcAmlOpcodeUpdateWalk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PARSEOP_VAR_PACKAGE = common local_unnamed_addr global i64 0, align 8
@AE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @OpcAmlOpcodeUpdateWalk(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @PARSEOP_VAR_PACKAGE, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @OpnDoPackage(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %7, %3
%10 = load i32, ptr @AE_OK, align 4, !tbaa !13
ret i32 %10
}
declare i32 @OpnDoPackage(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
| freebsd_sys_contrib_dev_acpica_compiler_extr_aslopcodes.c_OpcAmlOpcodeUpdateWalk |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad.c_is_snooping_sends.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad.c_is_snooping_sends.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IB_MAD_SNOOP_SEND_COMPLETIONS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_snooping_sends], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @is_snooping_sends(i32 noundef %0) #0 {
%2 = load i32, ptr @IB_MAD_SNOOP_SEND_COMPLETIONS, align 4, !tbaa !5
%3 = and i32 %2, %0
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad.c_is_snooping_sends.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad.c_is_snooping_sends.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IB_MAD_SNOOP_SEND_COMPLETIONS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_snooping_sends], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @is_snooping_sends(i32 noundef %0) #0 {
%2 = load i32, ptr @IB_MAD_SNOOP_SEND_COMPLETIONS, align 4, !tbaa !6
%3 = and i32 %2, %0
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_core_extr_mad.c_is_snooping_sends |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_init_common_.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_init_common_.c"
target datalayout = "e-m:e-p270:32:32-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.bufferevent_private = type { i32, i32, i32, %struct.bufferevent }
%struct.bufferevent = type { ptr, ptr, i32, ptr, i32, i32, ptr }
@EV_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@BEV_OPT_THREADSAFE = dso_local local_unnamed_addr global i32 0, align 4
@BEV_OPT_DEFER_CALLBACKS = dso_local local_unnamed_addr global i32 0, align 4
@BEV_OPT_UNLOCK_CALLBACKS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"UNLOCK_CALLBACKS requires DEFER_CALLBACKS\00", align 1
@bufferevent_run_deferred_callbacks_unlocked = dso_local local_unnamed_addr global i32 0, align 4
@bufferevent_run_deferred_callbacks_locked = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @bufferevent_init_common_(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3
%6 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = tail call ptr (...) @evbuffer_new() #3
store ptr %10, ptr %6, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %65, label %12
12: ; preds = %9, %4
%13 = load ptr, ptr %5, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = tail call ptr (...) @evbuffer_new() #3
store ptr %16, ptr %5, align 8, !tbaa !11
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load ptr, ptr %6, align 8, !tbaa !5
%20 = tail call i32 @evbuffer_free(ptr noundef %19) #3
br label %65
21: ; preds = %15, %12
store i32 1, ptr %0, align 8, !tbaa !12
%22 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 6
store ptr %1, ptr %22, align 8, !tbaa !14
%23 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 5
%24 = tail call i32 @evutil_timerclear(ptr noundef nonnull %23) #3
%25 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 4
%26 = tail call i32 @evutil_timerclear(ptr noundef nonnull %25) #3
%27 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 3
store ptr %2, ptr %27, align 8, !tbaa !15
%28 = tail call i32 @bufferevent_ratelim_init_(ptr noundef nonnull %0) #3
%29 = load i32, ptr @EV_WRITE, align 4, !tbaa !16
%30 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 3, i32 2
store i32 %29, ptr %30, align 8, !tbaa !17
%31 = load i32, ptr @BEV_OPT_THREADSAFE, align 4, !tbaa !16
%32 = and i32 %31, %3
%33 = icmp eq i32 %32, 0
br i1 %33, label %42, label %34
34: ; preds = %21
%35 = tail call i64 @bufferevent_enable_locking_(ptr noundef nonnull %5, ptr noundef null) #3
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load ptr, ptr %6, align 8, !tbaa !5
%39 = tail call i32 @evbuffer_free(ptr noundef %38) #3
%40 = load ptr, ptr %5, align 8, !tbaa !11
%41 = tail call i32 @evbuffer_free(ptr noundef %40) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
br label %65
42: ; preds = %34, %21
%43 = load i32, ptr @BEV_OPT_DEFER_CALLBACKS, align 4, !tbaa !16
%44 = load i32, ptr @BEV_OPT_UNLOCK_CALLBACKS, align 4, !tbaa !16
%45 = or i32 %44, %43
%46 = and i32 %45, %3
%47 = icmp eq i32 %46, %44
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = tail call i32 @event_warnx(ptr noundef nonnull @.str) #3
br label %65
50: ; preds = %42
%51 = and i32 %44, %3
%52 = icmp eq i32 %51, 0
%53 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 2
%54 = tail call i32 @event_base_get_npriorities(ptr noundef %1) #3
%55 = sdiv i32 %54, 2
%56 = load i32, ptr @bufferevent_run_deferred_callbacks_locked, align 4
%57 = load i32, ptr @bufferevent_run_deferred_callbacks_unlocked, align 4
%58 = select i1 %52, i32 %56, i32 %57
%59 = tail call i32 @event_deferred_cb_init_(ptr noundef nonnull %53, i32 noundef %55, i32 noundef %58, ptr noundef nonnull %0) #3
%60 = getelementptr inbounds %struct.bufferevent_private, ptr %0, i64 0, i32 1
store i32 %3, ptr %60, align 4, !tbaa !18
%61 = load ptr, ptr %6, align 8, !tbaa !5
%62 = tail call i32 @evbuffer_set_parent_(ptr noundef %61, ptr noundef nonnull %5) #3
%63 = load ptr, ptr %5, align 8, !tbaa !11
%64 = tail call i32 @evbuffer_set_parent_(ptr noundef %63, ptr noundef nonnull %5) #3
br label %65
65: ; preds = %9, %50, %48, %37, %18
%66 = phi i32 [ -1, %37 ], [ -1, %48 ], [ 0, %50 ], [ -1, %18 ], [ -1, %9 ]
ret i32 %66
}
declare ptr @evbuffer_new(...) local_unnamed_addr #1
declare i32 @evbuffer_free(ptr noundef) local_unnamed_addr #1
declare i32 @evutil_timerclear(ptr noundef) local_unnamed_addr #1
declare i32 @bufferevent_ratelim_init_(ptr noundef) local_unnamed_addr #1
declare i64 @bufferevent_enable_locking_(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @event_warnx(ptr noundef) local_unnamed_addr #1
declare i32 @event_deferred_cb_init_(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @event_base_get_npriorities(ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_set_parent_(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"bufferevent", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"bufferevent_private", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16}
!14 = !{!6, !7, i64 40}
!15 = !{!6, !7, i64 24}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!13, !10, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_init_common_.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent.c_bufferevent_init_common_.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EV_WRITE = common local_unnamed_addr global i32 0, align 4
@BEV_OPT_THREADSAFE = common local_unnamed_addr global i32 0, align 4
@BEV_OPT_DEFER_CALLBACKS = common local_unnamed_addr global i32 0, align 4
@BEV_OPT_UNLOCK_CALLBACKS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"UNLOCK_CALLBACKS requires DEFER_CALLBACKS\00", align 1
@bufferevent_run_deferred_callbacks_unlocked = common local_unnamed_addr global i32 0, align 4
@bufferevent_run_deferred_callbacks_locked = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @bufferevent_init_common_(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = tail call ptr @evbuffer_new() #3
store ptr %10, ptr %6, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %65, label %12
12: ; preds = %9, %4
%13 = load ptr, ptr %5, align 8, !tbaa !12
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = tail call ptr @evbuffer_new() #3
store ptr %16, ptr %5, align 8, !tbaa !12
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load ptr, ptr %6, align 8, !tbaa !6
%20 = tail call i32 @evbuffer_free(ptr noundef %19) #3
br label %65
21: ; preds = %15, %12
store i32 1, ptr %0, align 8, !tbaa !13
%22 = getelementptr inbounds i8, ptr %0, i64 56
store ptr %1, ptr %22, align 8, !tbaa !15
%23 = getelementptr inbounds i8, ptr %0, i64 52
%24 = tail call i32 @evutil_timerclear(ptr noundef nonnull %23) #3
%25 = getelementptr inbounds i8, ptr %0, i64 48
%26 = tail call i32 @evutil_timerclear(ptr noundef nonnull %25) #3
%27 = getelementptr inbounds i8, ptr %0, i64 40
store ptr %2, ptr %27, align 8, !tbaa !16
%28 = tail call i32 @bufferevent_ratelim_init_(ptr noundef nonnull %0) #3
%29 = load i32, ptr @EV_WRITE, align 4, !tbaa !17
%30 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %29, ptr %30, align 8, !tbaa !18
%31 = load i32, ptr @BEV_OPT_THREADSAFE, align 4, !tbaa !17
%32 = and i32 %31, %3
%33 = icmp eq i32 %32, 0
br i1 %33, label %42, label %34
34: ; preds = %21
%35 = tail call i64 @bufferevent_enable_locking_(ptr noundef nonnull %5, ptr noundef null) #3
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load ptr, ptr %6, align 8, !tbaa !6
%39 = tail call i32 @evbuffer_free(ptr noundef %38) #3
%40 = load ptr, ptr %5, align 8, !tbaa !12
%41 = tail call i32 @evbuffer_free(ptr noundef %40) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
br label %65
42: ; preds = %34, %21
%43 = load i32, ptr @BEV_OPT_DEFER_CALLBACKS, align 4, !tbaa !17
%44 = load i32, ptr @BEV_OPT_UNLOCK_CALLBACKS, align 4, !tbaa !17
%45 = or i32 %44, %43
%46 = and i32 %45, %3
%47 = icmp eq i32 %46, %44
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = tail call i32 @event_warnx(ptr noundef nonnull @.str) #3
br label %65
50: ; preds = %42
%51 = and i32 %44, %3
%52 = icmp eq i32 %51, 0
%53 = getelementptr inbounds i8, ptr %0, i64 8
%54 = tail call i32 @event_base_get_npriorities(ptr noundef %1) #3
%55 = sdiv i32 %54, 2
%56 = load i32, ptr @bufferevent_run_deferred_callbacks_locked, align 4
%57 = load i32, ptr @bufferevent_run_deferred_callbacks_unlocked, align 4
%58 = select i1 %52, i32 %56, i32 %57
%59 = tail call i32 @event_deferred_cb_init_(ptr noundef nonnull %53, i32 noundef %55, i32 noundef %58, ptr noundef nonnull %0) #3
%60 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %3, ptr %60, align 4, !tbaa !19
%61 = load ptr, ptr %6, align 8, !tbaa !6
%62 = tail call i32 @evbuffer_set_parent_(ptr noundef %61, ptr noundef nonnull %5) #3
%63 = load ptr, ptr %5, align 8, !tbaa !12
%64 = tail call i32 @evbuffer_set_parent_(ptr noundef %63, ptr noundef nonnull %5) #3
br label %65
65: ; preds = %9, %50, %48, %37, %18
%66 = phi i32 [ -1, %37 ], [ -1, %48 ], [ 0, %50 ], [ -1, %18 ], [ -1, %9 ]
ret i32 %66
}
declare ptr @evbuffer_new(...) local_unnamed_addr #1
declare i32 @evbuffer_free(ptr noundef) local_unnamed_addr #1
declare i32 @evutil_timerclear(ptr noundef) local_unnamed_addr #1
declare i32 @bufferevent_ratelim_init_(ptr noundef) local_unnamed_addr #1
declare i64 @bufferevent_enable_locking_(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @event_warnx(ptr noundef) local_unnamed_addr #1
declare i32 @event_deferred_cb_init_(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @event_base_get_npriorities(ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_set_parent_(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"bufferevent", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !8, i64 40}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"bufferevent_private", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16}
!15 = !{!7, !8, i64 40}
!16 = !{!7, !8, i64 24}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !11, i64 16}
!19 = !{!14, !11, i64 4}
| freebsd_contrib_libevent_extr_bufferevent.c_bufferevent_init_common_ |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/rtc/extr_rtc-vr41xx.c_vr41xx_rtc_set_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/rtc/extr_rtc-vr41xx.c_vr41xx_rtc_set_alarm.c"
target datalayout = "e-m:e-p270:32:32-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.rtc_wkalrm = type { i64, %struct.rtc_time }
%struct.rtc_time = type { i32, i32, i32, i32, i64, i64 }
@rtc_lock = dso_local global i32 0, align 4
@alarm_enabled = dso_local local_unnamed_addr global i64 0, align 8
@aie_irq = dso_local local_unnamed_addr global i32 0, align 4
@ECMPLREG = dso_local local_unnamed_addr global i32 0, align 4
@ECMPMREG = dso_local local_unnamed_addr global i32 0, align 4
@ECMPHREG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vr41xx_rtc_set_alarm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vr41xx_rtc_set_alarm(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1
%4 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1, i32 5
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = add nsw i64 %5, 1900
%7 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1, i32 4
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = load i32, ptr %3, align 8, !tbaa !15
%17 = tail call i64 @mktime(i64 noundef %6, i64 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @spin_lock_irq(ptr noundef nonnull @rtc_lock) #2
%19 = load i64, ptr @alarm_enabled, align 8, !tbaa !16
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %2
%22 = load i32, ptr @aie_irq, align 4, !tbaa !17
%23 = tail call i32 @disable_irq(i32 noundef %22) #2
br label %24
24: ; preds = %21, %2
%25 = load i32, ptr @ECMPLREG, align 4, !tbaa !17
%26 = trunc i64 %17 to i32
%27 = shl i32 %26, 15
%28 = tail call i32 @rtc1_write(i32 noundef %25, i32 noundef %27) #2
%29 = load i32, ptr @ECMPMREG, align 4, !tbaa !17
%30 = lshr i64 %17, 1
%31 = trunc i64 %30 to i32
%32 = tail call i32 @rtc1_write(i32 noundef %29, i32 noundef %31) #2
%33 = load i32, ptr @ECMPHREG, align 4, !tbaa !17
%34 = lshr i64 %17, 17
%35 = trunc i64 %34 to i32
%36 = tail call i32 @rtc1_write(i32 noundef %33, i32 noundef %35) #2
%37 = load i64, ptr %1, align 8, !tbaa !18
%38 = icmp eq i64 %37, 0
br i1 %38, label %43, label %39
39: ; preds = %24
%40 = load i32, ptr @aie_irq, align 4, !tbaa !17
%41 = tail call i32 @enable_irq(i32 noundef %40) #2
%42 = load i64, ptr %1, align 8, !tbaa !18
br label %43
43: ; preds = %39, %24
%44 = phi i64 [ %42, %39 ], [ 0, %24 ]
store i64 %44, ptr @alarm_enabled, align 8, !tbaa !16
%45 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @rtc_lock) #2
ret i32 0
}
declare i64 @mktime(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @rtc1_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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 = !{!"rtc_time", !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 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"rtc_wkalrm", !10, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/rtc/extr_rtc-vr41xx.c_vr41xx_rtc_set_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/rtc/extr_rtc-vr41xx.c_vr41xx_rtc_set_alarm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rtc_lock = common global i32 0, align 4
@alarm_enabled = common local_unnamed_addr global i64 0, align 8
@aie_irq = common local_unnamed_addr global i32 0, align 4
@ECMPLREG = common local_unnamed_addr global i32 0, align 4
@ECMPMREG = common local_unnamed_addr global i32 0, align 4
@ECMPHREG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vr41xx_rtc_set_alarm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vr41xx_rtc_set_alarm(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = getelementptr inbounds i8, ptr %1, i64 32
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = add nsw i64 %5, 1900
%7 = getelementptr inbounds i8, ptr %1, i64 24
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds i8, ptr %1, i64 20
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = load i32, ptr %3, align 8, !tbaa !16
%17 = tail call i64 @mktime(i64 noundef %6, i64 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @spin_lock_irq(ptr noundef nonnull @rtc_lock) #2
%19 = load i64, ptr @alarm_enabled, align 8, !tbaa !17
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %2
%22 = load i32, ptr @aie_irq, align 4, !tbaa !18
%23 = tail call i32 @disable_irq(i32 noundef %22) #2
br label %24
24: ; preds = %21, %2
%25 = load i32, ptr @ECMPLREG, align 4, !tbaa !18
%26 = trunc i64 %17 to i32
%27 = shl i32 %26, 15
%28 = tail call i32 @rtc1_write(i32 noundef %25, i32 noundef %27) #2
%29 = load i32, ptr @ECMPMREG, align 4, !tbaa !18
%30 = lshr i64 %17, 1
%31 = trunc i64 %30 to i32
%32 = tail call i32 @rtc1_write(i32 noundef %29, i32 noundef %31) #2
%33 = load i32, ptr @ECMPHREG, align 4, !tbaa !18
%34 = lshr i64 %17, 17
%35 = trunc i64 %34 to i32
%36 = tail call i32 @rtc1_write(i32 noundef %33, i32 noundef %35) #2
%37 = load i64, ptr %1, align 8, !tbaa !19
%38 = icmp eq i64 %37, 0
br i1 %38, label %43, label %39
39: ; preds = %24
%40 = load i32, ptr @aie_irq, align 4, !tbaa !18
%41 = tail call i32 @enable_irq(i32 noundef %40) #2
%42 = load i64, ptr %1, align 8, !tbaa !19
br label %43
43: ; preds = %39, %24
%44 = phi i64 [ %42, %39 ], [ 0, %24 ]
store i64 %44, ptr @alarm_enabled, align 8, !tbaa !17
%45 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @rtc_lock) #2
ret i32 0
}
declare i64 @mktime(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @rtc1_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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 = !{!"rtc_time", !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 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 12}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"rtc_wkalrm", !11, i64 0, !7, i64 8}
| fastsocket_kernel_drivers_rtc_extr_rtc-vr41xx.c_vr41xx_rtc_set_alarm |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audpre_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audpre_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.audio_in = type { i32 }
@the_audio_in = dso_local global %struct.audio_in zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @audpre_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef i32 @audpre_open(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
store ptr @the_audio_in, ptr %1, align 8, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"file", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audpre_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audpre_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.audio_in = type { i32 }
@the_audio_in = common global %struct.audio_in zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @audpre_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef i32 @audpre_open(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
store ptr @the_audio_in, ptr %1, align 8, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"file", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_staging_dream_qdsp5_extr_audio_in.c_audpre_open |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_rescan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_rescan.c"
target datalayout = "e-m:e-p270:32:32-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 @adpt_rescan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @adpt_rescan(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !10
%6 = tail call i32 @spin_lock_irqsave(i32 noundef %5, i32 noundef 0) #3
br label %7
7: ; preds = %4, %1
%8 = tail call i64 @adpt_i2o_lct_get(ptr noundef nonnull %0) #3
%9 = icmp slt i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = tail call i64 @adpt_i2o_reparse_lct(ptr noundef nonnull %0) #3
%12 = tail call i64 @llvm.smin.i64(i64 %11, i64 0)
br label %13
13: ; preds = %10, %7
%14 = phi i64 [ %8, %7 ], [ %12, %10 ]
%15 = load ptr, ptr %0, align 8, !tbaa !5
%16 = icmp eq ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = load i32, ptr %15, align 4, !tbaa !10
%19 = tail call i32 @spin_unlock_irqrestore(i32 noundef %18, i32 noundef 0) #3
br label %20
20: ; preds = %17, %13
ret i64 %14
}
declare i32 @spin_lock_irqsave(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @adpt_i2o_lct_get(ptr noundef) local_unnamed_addr #1
declare i64 @adpt_i2o_reparse_lct(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_rescan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_rescan.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 @adpt_rescan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @adpt_rescan(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !11
%6 = tail call i32 @spin_lock_irqsave(i32 noundef %5, i32 noundef 0) #3
br label %7
7: ; preds = %4, %1
%8 = tail call i64 @adpt_i2o_lct_get(ptr noundef nonnull %0) #3
%9 = icmp slt i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = tail call i64 @adpt_i2o_reparse_lct(ptr noundef nonnull %0) #3
%12 = tail call i64 @llvm.smin.i64(i64 %11, i64 0)
br label %13
13: ; preds = %10, %7
%14 = phi i64 [ %8, %7 ], [ %12, %10 ]
%15 = load ptr, ptr %0, align 8, !tbaa !6
%16 = icmp eq ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = load i32, ptr %15, align 4, !tbaa !11
%19 = tail call i32 @spin_unlock_irqrestore(i32 noundef %18, i32 noundef 0) #3
br label %20
20: ; preds = %17, %13
ret i64 %14
}
declare i32 @spin_lock_irqsave(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @adpt_i2o_lct_get(ptr noundef) local_unnamed_addr #1
declare i64 @adpt_i2o_reparse_lct(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_dpt_i2o.c_adpt_rescan |
; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_mesh.c_mesh_vdetach_peers.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_mesh.c_mesh_vdetach_peers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_node = type { i64, i32, i32, i32, i32, ptr }
@IEEE80211_NODE_MESH_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8
@IEEE80211_REASON_PEER_LINK_CANCELED = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_ACTION_CAT_SELF_PROT = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_ACTION_MESHPEERING_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mesh_vdetach_peers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mesh_vdetach_peers(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = alloca [3 x i32], align 8
%4 = getelementptr inbounds %struct.ieee80211_node, ptr %1, i64 0, i32 5
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%6 = load i64, ptr %1, align 8, !tbaa !12
%7 = load i64, ptr @IEEE80211_NODE_MESH_ESTABLISHED, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = getelementptr inbounds %struct.ieee80211_node, ptr %1, i64 0, i32 3
%11 = load <2 x i32>, ptr %10, align 8, !tbaa !14
%12 = shufflevector <2 x i32> %11, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %12, ptr %3, align 8, !tbaa !14
%13 = load i32, ptr @IEEE80211_REASON_PEER_LINK_CANCELED, align 4, !tbaa !14
%14 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 2
store i32 %13, ptr %14, align 8, !tbaa !14
%15 = load i32, ptr @IEEE80211_ACTION_CAT_SELF_PROT, align 4, !tbaa !14
%16 = load i32, ptr @IEEE80211_ACTION_MESHPEERING_CLOSE, align 4, !tbaa !14
%17 = call i32 @ieee80211_send_action(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %16, ptr noundef nonnull %3) #3
br label %18
18: ; preds = %9, %2
%19 = getelementptr inbounds %struct.ieee80211_node, ptr %1, i64 0, i32 2
%20 = call i32 @callout_drain(ptr noundef nonnull %19) #3
%21 = getelementptr inbounds %struct.ieee80211_node, ptr %1, i64 0, i32 1
%22 = load i32, ptr %21, align 8, !tbaa !15
%23 = call i64 @ieee80211_mac_hash(ptr noundef %5, i32 noundef %22) #3
%24 = inttoptr i64 %23 to ptr
%25 = call i32 @ieee80211_ageq_drain_node(ptr noundef %5, ptr noundef %24) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ieee80211_send_action(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @callout_drain(ptr noundef) local_unnamed_addr #2
declare i32 @ieee80211_ageq_drain_node(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ieee80211_mac_hash(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"ieee80211_node", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_mesh.c_mesh_vdetach_peers.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_mesh.c_mesh_vdetach_peers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE80211_NODE_MESH_ESTABLISHED = common local_unnamed_addr global i64 0, align 8
@IEEE80211_REASON_PEER_LINK_CANCELED = common local_unnamed_addr global i32 0, align 4
@IEEE80211_ACTION_CAT_SELF_PROT = common local_unnamed_addr global i32 0, align 4
@IEEE80211_ACTION_MESHPEERING_CLOSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mesh_vdetach_peers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mesh_vdetach_peers(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = alloca [3 x i32], align 8
%4 = getelementptr inbounds i8, ptr %1, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%6 = load i64, ptr %1, align 8, !tbaa !13
%7 = load i64, ptr @IEEE80211_NODE_MESH_ESTABLISHED, align 8, !tbaa !14
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load <2 x i32>, ptr %10, align 8, !tbaa !15
%12 = shufflevector <2 x i32> %11, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %12, ptr %3, align 8, !tbaa !15
%13 = load i32, ptr @IEEE80211_REASON_PEER_LINK_CANCELED, align 4, !tbaa !15
%14 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %13, ptr %14, align 8, !tbaa !15
%15 = load i32, ptr @IEEE80211_ACTION_CAT_SELF_PROT, align 4, !tbaa !15
%16 = load i32, ptr @IEEE80211_ACTION_MESHPEERING_CLOSE, align 4, !tbaa !15
%17 = call i32 @ieee80211_send_action(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %16, ptr noundef nonnull %3) #3
br label %18
18: ; preds = %9, %2
%19 = getelementptr inbounds i8, ptr %1, i64 12
%20 = call i32 @callout_drain(ptr noundef nonnull %19) #3
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = load i32, ptr %21, align 8, !tbaa !16
%23 = call i64 @ieee80211_mac_hash(ptr noundef %5, i32 noundef %22) #3
%24 = inttoptr i64 %23 to ptr
%25 = call i32 @ieee80211_ageq_drain_node(ptr noundef %5, ptr noundef %24) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ieee80211_send_action(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @callout_drain(ptr noundef) local_unnamed_addr #2
declare i32 @ieee80211_ageq_drain_node(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ieee80211_mac_hash(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"ieee80211_node", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !11, i64 8}
| freebsd_sys_net80211_extr_ieee80211_mesh.c_mesh_vdetach_peers |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_eh_abort_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_eh_abort_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FAILED = dso_local local_unnamed_addr global i32 0, align 4
@ENTER = dso_local local_unnamed_addr global i32 0, align 4
@IBMVFC_TMF_ABORT_TASK_SET = dso_local local_unnamed_addr global i32 0, align 4
@ibmvfc_match_lun = dso_local local_unnamed_addr global i32 0, align 4
@LEAVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ibmvfc_eh_abort_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ibmvfc_eh_abort_handler(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call ptr @shost_priv(i32 noundef %3) #2
%5 = load i32, ptr @FAILED, align 4, !tbaa !13
%6 = tail call i32 @fc_block_scsi_eh(ptr noundef nonnull %0) #2
%7 = tail call i32 @ibmvfc_wait_while_resetting(ptr noundef %4) #2
%8 = load i32, ptr @IBMVFC_TMF_ABORT_TASK_SET, align 4, !tbaa !13
%9 = tail call i32 @ibmvfc_cancel_all(ptr noundef nonnull %2, i32 noundef %8) #2
%10 = tail call i32 @ibmvfc_abort_task_set(ptr noundef nonnull %2) #2
%11 = icmp ne i32 %9, 0
%12 = icmp ne i32 %10, 0
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %17, label %14
14: ; preds = %1
%15 = load i32, ptr @ibmvfc_match_lun, align 4, !tbaa !13
%16 = tail call i32 @ibmvfc_wait_for_ops(ptr noundef %4, ptr noundef nonnull %2, i32 noundef %15) #2
br label %17
17: ; preds = %14, %1
%18 = phi i32 [ %5, %1 ], [ %16, %14 ]
ret i32 %18
}
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1
declare i32 @fc_block_scsi_eh(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_wait_while_resetting(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_cancel_all(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ibmvfc_abort_task_set(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_wait_for_ops(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 = !{!"scsi_cmnd", !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 = !{!"scsi_device", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_eh_abort_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_eh_abort_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FAILED = common local_unnamed_addr global i32 0, align 4
@ENTER = common local_unnamed_addr global i32 0, align 4
@IBMVFC_TMF_ABORT_TASK_SET = common local_unnamed_addr global i32 0, align 4
@ibmvfc_match_lun = common local_unnamed_addr global i32 0, align 4
@LEAVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ibmvfc_eh_abort_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ibmvfc_eh_abort_handler(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call ptr @shost_priv(i32 noundef %3) #2
%5 = load i32, ptr @FAILED, align 4, !tbaa !14
%6 = tail call i32 @fc_block_scsi_eh(ptr noundef nonnull %0) #2
%7 = tail call i32 @ibmvfc_wait_while_resetting(ptr noundef %4) #2
%8 = load i32, ptr @IBMVFC_TMF_ABORT_TASK_SET, align 4, !tbaa !14
%9 = tail call i32 @ibmvfc_cancel_all(ptr noundef nonnull %2, i32 noundef %8) #2
%10 = tail call i32 @ibmvfc_abort_task_set(ptr noundef nonnull %2) #2
%11 = icmp ne i32 %9, 0
%12 = icmp ne i32 %10, 0
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %17, label %14
14: ; preds = %1
%15 = load i32, ptr @ibmvfc_match_lun, align 4, !tbaa !14
%16 = tail call i32 @ibmvfc_wait_for_ops(ptr noundef %4, ptr noundef nonnull %2, i32 noundef %15) #2
br label %17
17: ; preds = %14, %1
%18 = phi i32 [ %5, %1 ], [ %16, %14 ]
ret i32 %18
}
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1
declare i32 @fc_block_scsi_eh(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_wait_while_resetting(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_cancel_all(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ibmvfc_abort_task_set(ptr noundef) local_unnamed_addr #1
declare i32 @ibmvfc_wait_for_ops(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 = !{!"scsi_cmnd", !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 = !{!"scsi_device", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| fastsocket_kernel_drivers_scsi_ibmvscsi_extr_ibmvfc.c_ibmvfc_eh_abort_handler |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_t_bbb_command_callback.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_t_bbb_command_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.umass_softc = type { %struct.TYPE_5__, %struct.TYPE_4__, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_4__ = type { i32, i32, i32, i32, i32, ptr }
@DIR_IN = dso_local local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_DATA_READ = dso_local local_unnamed_addr global i32 0, align 4
@DIR_OUT = dso_local local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_DATA_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@CBWSIGNATURE = dso_local local_unnamed_addr global i32 0, align 4
@CBWFLAGS_IN = dso_local local_unnamed_addr global i32 0, align 4
@CBWFLAGS_OUT = dso_local local_unnamed_addr global i32 0, align 4
@UDMASS_BBB = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Truncating long command!\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @umass_t_bbb_command_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @umass_t_bbb_command_callback(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @usbd_xfer_softc(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1
%5 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 5
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @USB_GET_STATE(ptr noundef %0) #2
switch i32 %7, label %79 [
i32 128, label %8
i32 129, label %24
]
8: ; preds = %2
%9 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 3
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr @DIR_IN, align 4, !tbaa !14
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load i32, ptr @UMASS_T_BBB_DATA_READ, align 4, !tbaa !14
br label %21
15: ; preds = %8
%16 = load i32, ptr @DIR_OUT, align 4, !tbaa !14
%17 = icmp eq i32 %10, %16
%18 = load i32, ptr @UMASS_T_BBB_DATA_WRITE, align 4
%19 = load i32, ptr @UMASS_T_BBB_STATUS, align 4
%20 = select i1 %17, i32 %18, i32 %19
br label %21
21: ; preds = %15, %13
%22 = phi i32 [ %14, %13 ], [ %20, %15 ]
%23 = tail call i32 @umass_transfer_start(ptr noundef nonnull %3, i32 noundef %22) #2
br label %81
24: ; preds = %2
%25 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 2
store i32 0, ptr %25, align 8, !tbaa !15
%26 = icmp eq ptr %6, null
br i1 %26, label %81, label %27
27: ; preds = %24
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 5
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = tail call i32 @UGETDW(i32 noundef %29) #2
%31 = add nsw i32 %30, 1
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 6
%33 = load i32, ptr %32, align 8, !tbaa !17
%34 = load i32, ptr @CBWSIGNATURE, align 4, !tbaa !14
%35 = tail call i32 @USETDW(i32 noundef %33, i32 noundef %34) #2
%36 = load i32, ptr %28, align 4, !tbaa !16
%37 = tail call i32 @USETDW(i32 noundef %36, i32 noundef %31) #2
%38 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 4
%39 = load i32, ptr %38, align 8, !tbaa !18
%40 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 4
%41 = load i32, ptr %40, align 8, !tbaa !19
%42 = tail call i32 @USETDW(i32 noundef %39, i32 noundef %41) #2
%43 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 3
%44 = load i32, ptr %43, align 4, !tbaa !13
%45 = load i32, ptr @DIR_IN, align 4, !tbaa !14
%46 = icmp eq i32 %44, %45
%47 = load i32, ptr @CBWFLAGS_IN, align 4
%48 = load i32, ptr @CBWFLAGS_OUT, align 4
%49 = select i1 %46, i32 %47, i32 %48
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3
store i32 %49, ptr %50, align 4, !tbaa !20
%51 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 2
%52 = load i32, ptr %51, align 8, !tbaa !21
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2
store i32 %52, ptr %53, align 8, !tbaa !22
%54 = load i32, ptr %4, align 8, !tbaa !23
%55 = icmp ugt i32 %54, 4
br i1 %55, label %56, label %60
56: ; preds = %27
store i32 4, ptr %4, align 8, !tbaa !23
%57 = load i32, ptr @UDMASS_BBB, align 4, !tbaa !14
%58 = tail call i32 @DPRINTF(ptr noundef nonnull %3, i32 noundef %57, ptr noundef nonnull @.str) #2
%59 = load i32, ptr %4, align 8, !tbaa !23
br label %60
60: ; preds = %56, %27
%61 = phi i32 [ %59, %56 ], [ %54, %27 ]
store i32 %61, ptr %3, align 8, !tbaa !24
%62 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
%63 = load i32, ptr %62, align 4, !tbaa !25
%64 = getelementptr inbounds %struct.umass_softc, ptr %3, i64 0, i32 1, i32 1
%65 = load i32, ptr %64, align 4, !tbaa !26
%66 = tail call i32 @memcpy(i32 noundef %63, i32 noundef %65, i32 noundef %61) #2
%67 = load i32, ptr %62, align 4, !tbaa !25
%68 = load i32, ptr %4, align 8, !tbaa !23
%69 = add nsw i32 %68, %67
%70 = sub i32 4, %68
%71 = tail call i32 @memset(i32 noundef %69, i32 noundef 0, i32 noundef %70) #2
%72 = load i32, ptr @UDMASS_BBB, align 4, !tbaa !14
%73 = tail call i32 @umass_bbb_dump_cbw(ptr noundef nonnull %3, ptr noundef nonnull %3) #2
%74 = tail call i32 @DIF(i32 noundef %72, i32 noundef %73) #2
%75 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 0) #2
%76 = tail call i32 @usbd_copy_in(ptr noundef %75, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 28) #2
%77 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 0, i32 noundef 28) #2
%78 = tail call i32 @usbd_transfer_submit(ptr noundef %0) #2
br label %81
79: ; preds = %2
%80 = tail call i32 @umass_tr_error(ptr noundef %0, i32 noundef %1) #2
br label %81
81: ; preds = %24, %60, %79, %21
ret void
}
declare ptr @usbd_xfer_softc(ptr noundef) local_unnamed_addr #1
declare i32 @USB_GET_STATE(ptr noundef) local_unnamed_addr #1
declare i32 @umass_transfer_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UGETDW(i32 noundef) local_unnamed_addr #1
declare i32 @USETDW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIF(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @umass_bbb_dump_cbw(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @usbd_xfer_get_frame(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_copy_in(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_xfer_set_frame_len(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_transfer_submit(ptr noundef) local_unnamed_addr #1
declare i32 @umass_tr_error(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, !12, i64 56}
!6 = !{!"umass_softc", !7, i64 0, !11, i64 32, !8, i64 64}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !12, i64 24}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!6, !8, i64 44}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !8, i64 64}
!16 = !{!6, !8, i64 20}
!17 = !{!6, !8, i64 24}
!18 = !{!6, !8, i64 16}
!19 = !{!6, !8, i64 48}
!20 = !{!6, !8, i64 12}
!21 = !{!6, !8, i64 40}
!22 = !{!6, !8, i64 8}
!23 = !{!6, !8, i64 32}
!24 = !{!6, !8, i64 0}
!25 = !{!6, !8, i64 4}
!26 = !{!6, !8, i64 36}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_t_bbb_command_callback.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_t_bbb_command_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIR_IN = common local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_DATA_READ = common local_unnamed_addr global i32 0, align 4
@DIR_OUT = common local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_DATA_WRITE = common local_unnamed_addr global i32 0, align 4
@UMASS_T_BBB_STATUS = common local_unnamed_addr global i32 0, align 4
@CBWSIGNATURE = common local_unnamed_addr global i32 0, align 4
@CBWFLAGS_IN = common local_unnamed_addr global i32 0, align 4
@CBWFLAGS_OUT = common local_unnamed_addr global i32 0, align 4
@UDMASS_BBB = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Truncating long command!\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @umass_t_bbb_command_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @umass_t_bbb_command_callback(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @usbd_xfer_softc(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 32
%5 = getelementptr inbounds i8, ptr %3, i64 56
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @USB_GET_STATE(ptr noundef %0) #2
switch i32 %7, label %79 [
i32 128, label %8
i32 129, label %24
]
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %3, i64 44
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = load i32, ptr @DIR_IN, align 4, !tbaa !15
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load i32, ptr @UMASS_T_BBB_DATA_READ, align 4, !tbaa !15
br label %21
15: ; preds = %8
%16 = load i32, ptr @DIR_OUT, align 4, !tbaa !15
%17 = icmp eq i32 %10, %16
%18 = load i32, ptr @UMASS_T_BBB_DATA_WRITE, align 4
%19 = load i32, ptr @UMASS_T_BBB_STATUS, align 4
%20 = select i1 %17, i32 %18, i32 %19
br label %21
21: ; preds = %15, %13
%22 = phi i32 [ %14, %13 ], [ %20, %15 ]
%23 = tail call i32 @umass_transfer_start(ptr noundef nonnull %3, i32 noundef %22) #2
br label %81
24: ; preds = %2
%25 = getelementptr inbounds i8, ptr %3, i64 64
store i32 0, ptr %25, align 8, !tbaa !16
%26 = icmp eq ptr %6, null
br i1 %26, label %81, label %27
27: ; preds = %24
%28 = getelementptr inbounds i8, ptr %3, i64 20
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = tail call i32 @UGETDW(i32 noundef %29) #2
%31 = add nsw i32 %30, 1
%32 = getelementptr inbounds i8, ptr %3, i64 24
%33 = load i32, ptr %32, align 8, !tbaa !18
%34 = load i32, ptr @CBWSIGNATURE, align 4, !tbaa !15
%35 = tail call i32 @USETDW(i32 noundef %33, i32 noundef %34) #2
%36 = load i32, ptr %28, align 4, !tbaa !17
%37 = tail call i32 @USETDW(i32 noundef %36, i32 noundef %31) #2
%38 = getelementptr inbounds i8, ptr %3, i64 16
%39 = load i32, ptr %38, align 8, !tbaa !19
%40 = getelementptr inbounds i8, ptr %3, i64 48
%41 = load i32, ptr %40, align 8, !tbaa !20
%42 = tail call i32 @USETDW(i32 noundef %39, i32 noundef %41) #2
%43 = getelementptr inbounds i8, ptr %3, i64 44
%44 = load i32, ptr %43, align 4, !tbaa !14
%45 = load i32, ptr @DIR_IN, align 4, !tbaa !15
%46 = icmp eq i32 %44, %45
%47 = load i32, ptr @CBWFLAGS_IN, align 4
%48 = load i32, ptr @CBWFLAGS_OUT, align 4
%49 = select i1 %46, i32 %47, i32 %48
%50 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %49, ptr %50, align 4, !tbaa !21
%51 = getelementptr inbounds i8, ptr %3, i64 40
%52 = load i32, ptr %51, align 8, !tbaa !22
%53 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %52, ptr %53, align 8, !tbaa !23
%54 = load i32, ptr %4, align 8, !tbaa !24
%55 = icmp ugt i32 %54, 4
br i1 %55, label %56, label %60
56: ; preds = %27
store i32 4, ptr %4, align 8, !tbaa !24
%57 = load i32, ptr @UDMASS_BBB, align 4, !tbaa !15
%58 = tail call i32 @DPRINTF(ptr noundef nonnull %3, i32 noundef %57, ptr noundef nonnull @.str) #2
%59 = load i32, ptr %4, align 8, !tbaa !24
br label %60
60: ; preds = %56, %27
%61 = phi i32 [ %59, %56 ], [ %54, %27 ]
store i32 %61, ptr %3, align 8, !tbaa !25
%62 = getelementptr inbounds i8, ptr %3, i64 4
%63 = load i32, ptr %62, align 4, !tbaa !26
%64 = getelementptr inbounds i8, ptr %3, i64 36
%65 = load i32, ptr %64, align 4, !tbaa !27
%66 = tail call i32 @memcpy(i32 noundef %63, i32 noundef %65, i32 noundef %61) #2
%67 = load i32, ptr %62, align 4, !tbaa !26
%68 = load i32, ptr %4, align 8, !tbaa !24
%69 = add nsw i32 %68, %67
%70 = sub i32 4, %68
%71 = tail call i32 @memset(i32 noundef %69, i32 noundef 0, i32 noundef %70) #2
%72 = load i32, ptr @UDMASS_BBB, align 4, !tbaa !15
%73 = tail call i32 @umass_bbb_dump_cbw(ptr noundef nonnull %3, ptr noundef nonnull %3) #2
%74 = tail call i32 @DIF(i32 noundef %72, i32 noundef %73) #2
%75 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 0) #2
%76 = tail call i32 @usbd_copy_in(ptr noundef %75, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 28) #2
%77 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 0, i32 noundef 28) #2
%78 = tail call i32 @usbd_transfer_submit(ptr noundef %0) #2
br label %81
79: ; preds = %2
%80 = tail call i32 @umass_tr_error(ptr noundef %0, i32 noundef %1) #2
br label %81
81: ; preds = %24, %60, %79, %21
ret void
}
declare ptr @usbd_xfer_softc(ptr noundef) local_unnamed_addr #1
declare i32 @USB_GET_STATE(ptr noundef) local_unnamed_addr #1
declare i32 @umass_transfer_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UGETDW(i32 noundef) local_unnamed_addr #1
declare i32 @USETDW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIF(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @umass_bbb_dump_cbw(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @usbd_xfer_get_frame(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_copy_in(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_xfer_set_frame_len(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbd_transfer_submit(ptr noundef) local_unnamed_addr #1
declare i32 @umass_tr_error(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, !13, i64 56}
!7 = !{!"umass_softc", !8, i64 0, !12, i64 32, !9, i64 64}
!8 = !{!"TYPE_5__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !13, i64 24}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!7, !9, i64 44}
!15 = !{!9, !9, i64 0}
!16 = !{!7, !9, i64 64}
!17 = !{!7, !9, i64 20}
!18 = !{!7, !9, i64 24}
!19 = !{!7, !9, i64 16}
!20 = !{!7, !9, i64 48}
!21 = !{!7, !9, i64 12}
!22 = !{!7, !9, i64 40}
!23 = !{!7, !9, i64 8}
!24 = !{!7, !9, i64 32}
!25 = !{!7, !9, i64 0}
!26 = !{!7, !9, i64 4}
!27 = !{!7, !9, i64 36}
| freebsd_sys_dev_usb_storage_extr_umass.c_umass_t_bbb_command_callback |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_combine.c_apply_distributive_law.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_combine.c_apply_distributive_law.c"
target datalayout = "e-m:e-p270:32:32-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_unsafe_math_optimizations = dso_local local_unnamed_addr global i32 0, align 4
@XOR = dso_local local_unnamed_addr global i32 0, align 4
@PLUS = dso_local local_unnamed_addr global i32 0, align 4
@MINUS = dso_local local_unnamed_addr global i32 0, align 4
@UNITS_PER_WORD = dso_local local_unnamed_addr global i32 0, align 4
@NOT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @apply_distributive_law], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @apply_distributive_law(i32 noundef %0) #0 {
%2 = tail call i32 @GET_CODE(i32 noundef %0) #2
%3 = tail call i32 @GET_MODE(i32 noundef %0) #2
%4 = tail call i64 @FLOAT_MODE_P(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @flag_unsafe_math_optimizations, align 4
%7 = icmp ne i32 %6, 0
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %146
9: ; preds = %1
switch i32 %2, label %10 [
i32 134, label %19
i32 131, label %19
]
10: ; preds = %9
%11 = load i32, ptr @XOR, align 4, !tbaa !5
%12 = icmp eq i32 %2, %11
%13 = load i32, ptr @PLUS, align 4
%14 = icmp eq i32 %2, %13
%15 = select i1 %12, i1 true, i1 %14
%16 = load i32, ptr @MINUS, align 4
%17 = icmp eq i32 %2, %16
%18 = select i1 %15, i1 true, i1 %17
br i1 %18, label %19, label %146
19: ; preds = %9, %9, %10
%20 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #2
%21 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 1) #2
%22 = tail call i64 @OBJECT_P(i32 noundef %20) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %146
24: ; preds = %19
%25 = tail call i64 @OBJECT_P(i32 noundef %21) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %146
27: ; preds = %24
%28 = tail call i32 @expand_compound_operation(i32 noundef %20) #2
%29 = tail call i32 @expand_compound_operation(i32 noundef %21) #2
%30 = tail call i32 @GET_CODE(i32 noundef %28) #2
%31 = tail call i32 @GET_CODE(i32 noundef %29) #2
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %146
33: ; preds = %27
switch i32 %30, label %146 [
i32 130, label %34
i32 132, label %34
i32 134, label %34
i32 131, label %34
i32 129, label %40
i32 133, label %99
i32 128, label %46
]
34: ; preds = %33, %33, %33, %33
%35 = load i32, ptr @PLUS, align 4, !tbaa !5
%36 = icmp eq i32 %2, %35
%37 = load i32, ptr @MINUS, align 4
%38 = icmp eq i32 %2, %37
%39 = select i1 %36, i1 true, i1 %38
br i1 %39, label %146, label %99
40: ; preds = %33
%41 = load i32, ptr @PLUS, align 4, !tbaa !5
%42 = icmp eq i32 %2, %41
%43 = load i32, ptr @MINUS, align 4
%44 = icmp eq i32 %2, %43
%45 = select i1 %42, i1 true, i1 %44
br i1 %45, label %99, label %146
46: ; preds = %33
%47 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%48 = tail call i32 @GET_MODE(i32 noundef %47) #2
%49 = tail call i32 @SUBREG_REG(i32 noundef %29) #2
%50 = tail call i32 @GET_MODE(i32 noundef %49) #2
%51 = icmp eq i32 %48, %50
br i1 %51, label %52, label %146
52: ; preds = %46
%53 = tail call i32 @SUBREG_BYTE(i32 noundef %28) #2
%54 = tail call i32 @SUBREG_BYTE(i32 noundef %29) #2
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %146
56: ; preds = %52
%57 = tail call i32 @subreg_lowpart_p(i32 noundef %28) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %146, label %59
59: ; preds = %56
%60 = tail call i32 @GET_MODE(i32 noundef %28) #2
%61 = tail call i32 @GET_MODE_CLASS(i32 noundef %60) #2
%62 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%63 = tail call i32 @GET_MODE(i32 noundef %62) #2
%64 = tail call i32 @GET_MODE_CLASS(i32 noundef %63) #2
%65 = icmp eq i32 %61, %64
br i1 %65, label %66, label %146
66: ; preds = %59
%67 = tail call i32 @GET_MODE(i32 noundef %28) #2
%68 = tail call i32 @GET_MODE_SIZE(i32 noundef %67) #2
%69 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%70 = tail call i32 @GET_MODE(i32 noundef %69) #2
%71 = tail call i32 @GET_MODE_SIZE(i32 noundef %70) #2
%72 = icmp sgt i32 %68, %71
br i1 %72, label %146, label %73
73: ; preds = %66
%74 = tail call i32 @GET_MODE(i32 noundef %28) #2
%75 = tail call i32 @VECTOR_MODE_P(i32 noundef %74) #2
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %146
77: ; preds = %73
%78 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%79 = tail call i32 @GET_MODE(i32 noundef %78) #2
%80 = tail call i32 @GET_MODE_SIZE(i32 noundef %79) #2
%81 = load i32, ptr @UNITS_PER_WORD, align 4, !tbaa !5
%82 = icmp sgt i32 %80, %81
br i1 %82, label %146, label %83
83: ; preds = %77
%84 = tail call i32 @GET_MODE(i32 noundef %0) #2
%85 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %84) #2
%86 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%87 = tail call i32 @GET_MODE(i32 noundef %86) #2
%88 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %87) #2
%89 = tail call i32 @TRULY_NOOP_TRUNCATION(i32 noundef %85, i32 noundef %88) #2
%90 = icmp eq i32 %89, 0
br i1 %90, label %146, label %91
91: ; preds = %83
%92 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%93 = tail call i32 @GET_MODE(i32 noundef %92) #2
%94 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%95 = tail call i32 @SUBREG_REG(i32 noundef %29) #2
%96 = tail call i32 @simplify_gen_binary(i32 noundef %2, i32 noundef %93, i32 noundef %94, i32 noundef %95) #2
%97 = tail call i32 @GET_MODE(i32 noundef %0) #2
%98 = tail call i32 @gen_lowpart(i32 noundef %97, i32 noundef %96) #2
br label %146
99: ; preds = %34, %40, %33
%100 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%101 = icmp eq i64 %100, 0
br i1 %101, label %107, label %102
102: ; preds = %99
%103 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 0) #2
%104 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 0) #2
%105 = tail call i64 @rtx_equal_p(i32 noundef %103, i32 noundef %104) #2
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %128
107: ; preds = %102, %99
%108 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%109 = icmp eq i64 %108, 0
br i1 %109, label %115, label %110
110: ; preds = %107
%111 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 0) #2
%112 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 1) #2
%113 = tail call i64 @rtx_equal_p(i32 noundef %111, i32 noundef %112) #2
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %128
115: ; preds = %110, %107
%116 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%117 = icmp eq i64 %116, 0
br i1 %117, label %123, label %118
118: ; preds = %115
%119 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 1) #2
%120 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 0) #2
%121 = tail call i64 @rtx_equal_p(i32 noundef %119, i32 noundef %120) #2
%122 = icmp eq i64 %121, 0
br i1 %122, label %123, label %128
123: ; preds = %118, %115
%124 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 1) #2
%125 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 1) #2
%126 = tail call i64 @rtx_equal_p(i32 noundef %124, i32 noundef %125) #2
%127 = icmp eq i64 %126, 0
br i1 %127, label %146, label %128
128: ; preds = %123, %118, %110, %102
%129 = phi i32 [ 0, %102 ], [ 0, %110 ], [ 1, %118 ], [ 1, %123 ]
%130 = phi i32 [ 1, %102 ], [ 1, %110 ], [ 0, %118 ], [ 0, %123 ]
%131 = phi i32 [ 1, %102 ], [ 0, %110 ], [ 1, %118 ], [ 0, %123 ]
%132 = tail call i32 @XEXP(i32 noundef %28, i32 noundef %129) #2
%133 = tail call i32 @XEXP(i32 noundef %28, i32 noundef %130) #2
%134 = tail call i32 @XEXP(i32 noundef %29, i32 noundef %131) #2
%135 = tail call i32 @GET_MODE(i32 noundef %0) #2
%136 = tail call i32 @simplify_gen_binary(i32 noundef %2, i32 noundef %135, i32 noundef %133, i32 noundef %134) #2
%137 = load i32, ptr @XOR, align 4, !tbaa !5
%138 = icmp eq i32 %2, %137
%139 = icmp eq i32 %30, 131
%140 = select i1 %138, i1 %139, i1 false
br i1 %140, label %141, label %148
141: ; preds = %128
%142 = load i32, ptr @NOT, align 4, !tbaa !5
%143 = tail call i32 @GET_MODE(i32 noundef %0) #2
%144 = tail call i32 @GET_MODE(i32 noundef %0) #2
%145 = tail call i32 @simplify_gen_unary(i32 noundef %142, i32 noundef %143, i32 noundef %132, i32 noundef %144) #2
br label %148
146: ; preds = %123, %33, %46, %52, %56, %59, %66, %73, %77, %83, %40, %34, %27, %19, %24, %10, %1, %91, %148
%147 = phi i32 [ %153, %148 ], [ %98, %91 ], [ %0, %1 ], [ %0, %10 ], [ %0, %24 ], [ %0, %19 ], [ %0, %27 ], [ %0, %34 ], [ %0, %40 ], [ %0, %83 ], [ %0, %77 ], [ %0, %73 ], [ %0, %66 ], [ %0, %59 ], [ %0, %56 ], [ %0, %52 ], [ %0, %46 ], [ %0, %33 ], [ %0, %123 ]
ret i32 %147
148: ; preds = %141, %128
%149 = phi i32 [ 134, %141 ], [ %30, %128 ]
%150 = phi i32 [ %145, %141 ], [ %132, %128 ]
%151 = tail call i32 @GET_MODE(i32 noundef %0) #2
%152 = tail call i32 @apply_distributive_law(i32 noundef %136)
%153 = tail call i32 @simplify_gen_binary(i32 noundef %149, i32 noundef %151, i32 noundef %152, i32 noundef %150) #2
br label %146
}
declare i32 @GET_CODE(i32 noundef) local_unnamed_addr #1
declare i64 @FLOAT_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @OBJECT_P(i32 noundef) local_unnamed_addr #1
declare i32 @expand_compound_operation(i32 noundef) local_unnamed_addr #1
declare i32 @SUBREG_REG(i32 noundef) local_unnamed_addr #1
declare i32 @SUBREG_BYTE(i32 noundef) local_unnamed_addr #1
declare i32 @subreg_lowpart_p(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_CLASS(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @VECTOR_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @TRULY_NOOP_TRUNCATION(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_BITSIZE(i32 noundef) local_unnamed_addr #1
declare i32 @simplify_gen_binary(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_lowpart(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @COMMUTATIVE_ARITH_P(i32 noundef) local_unnamed_addr #1
declare i64 @rtx_equal_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @simplify_gen_unary(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_combine.c_apply_distributive_law.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_combine.c_apply_distributive_law.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@flag_unsafe_math_optimizations = common local_unnamed_addr global i32 0, align 4
@XOR = common local_unnamed_addr global i32 0, align 4
@PLUS = common local_unnamed_addr global i32 0, align 4
@MINUS = common local_unnamed_addr global i32 0, align 4
@UNITS_PER_WORD = common local_unnamed_addr global i32 0, align 4
@NOT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @apply_distributive_law], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @apply_distributive_law(i32 noundef %0) #0 {
%2 = tail call i32 @GET_CODE(i32 noundef %0) #2
%3 = tail call i32 @GET_MODE(i32 noundef %0) #2
%4 = tail call i64 @FLOAT_MODE_P(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @flag_unsafe_math_optimizations, align 4
%7 = icmp ne i32 %6, 0
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %146
9: ; preds = %1
switch i32 %2, label %10 [
i32 134, label %19
i32 131, label %19
]
10: ; preds = %9
%11 = load i32, ptr @XOR, align 4, !tbaa !6
%12 = icmp eq i32 %2, %11
%13 = load i32, ptr @PLUS, align 4
%14 = icmp eq i32 %2, %13
%15 = select i1 %12, i1 true, i1 %14
%16 = load i32, ptr @MINUS, align 4
%17 = icmp eq i32 %2, %16
%18 = select i1 %15, i1 true, i1 %17
br i1 %18, label %19, label %146
19: ; preds = %9, %9, %10
%20 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #2
%21 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 1) #2
%22 = tail call i64 @OBJECT_P(i32 noundef %20) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %146
24: ; preds = %19
%25 = tail call i64 @OBJECT_P(i32 noundef %21) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %146
27: ; preds = %24
%28 = tail call i32 @expand_compound_operation(i32 noundef %20) #2
%29 = tail call i32 @expand_compound_operation(i32 noundef %21) #2
%30 = tail call i32 @GET_CODE(i32 noundef %28) #2
%31 = tail call i32 @GET_CODE(i32 noundef %29) #2
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %146
33: ; preds = %27
switch i32 %30, label %146 [
i32 130, label %34
i32 132, label %34
i32 134, label %34
i32 131, label %34
i32 129, label %40
i32 133, label %99
i32 128, label %46
]
34: ; preds = %33, %33, %33, %33
%35 = load i32, ptr @PLUS, align 4, !tbaa !6
%36 = icmp eq i32 %2, %35
%37 = load i32, ptr @MINUS, align 4
%38 = icmp eq i32 %2, %37
%39 = select i1 %36, i1 true, i1 %38
br i1 %39, label %146, label %99
40: ; preds = %33
%41 = load i32, ptr @PLUS, align 4, !tbaa !6
%42 = icmp eq i32 %2, %41
%43 = load i32, ptr @MINUS, align 4
%44 = icmp eq i32 %2, %43
%45 = select i1 %42, i1 true, i1 %44
br i1 %45, label %99, label %146
46: ; preds = %33
%47 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%48 = tail call i32 @GET_MODE(i32 noundef %47) #2
%49 = tail call i32 @SUBREG_REG(i32 noundef %29) #2
%50 = tail call i32 @GET_MODE(i32 noundef %49) #2
%51 = icmp eq i32 %48, %50
br i1 %51, label %52, label %146
52: ; preds = %46
%53 = tail call i32 @SUBREG_BYTE(i32 noundef %28) #2
%54 = tail call i32 @SUBREG_BYTE(i32 noundef %29) #2
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %146
56: ; preds = %52
%57 = tail call i32 @subreg_lowpart_p(i32 noundef %28) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %146, label %59
59: ; preds = %56
%60 = tail call i32 @GET_MODE(i32 noundef %28) #2
%61 = tail call i32 @GET_MODE_CLASS(i32 noundef %60) #2
%62 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%63 = tail call i32 @GET_MODE(i32 noundef %62) #2
%64 = tail call i32 @GET_MODE_CLASS(i32 noundef %63) #2
%65 = icmp eq i32 %61, %64
br i1 %65, label %66, label %146
66: ; preds = %59
%67 = tail call i32 @GET_MODE(i32 noundef %28) #2
%68 = tail call i32 @GET_MODE_SIZE(i32 noundef %67) #2
%69 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%70 = tail call i32 @GET_MODE(i32 noundef %69) #2
%71 = tail call i32 @GET_MODE_SIZE(i32 noundef %70) #2
%72 = icmp sgt i32 %68, %71
br i1 %72, label %146, label %73
73: ; preds = %66
%74 = tail call i32 @GET_MODE(i32 noundef %28) #2
%75 = tail call i32 @VECTOR_MODE_P(i32 noundef %74) #2
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %146
77: ; preds = %73
%78 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%79 = tail call i32 @GET_MODE(i32 noundef %78) #2
%80 = tail call i32 @GET_MODE_SIZE(i32 noundef %79) #2
%81 = load i32, ptr @UNITS_PER_WORD, align 4, !tbaa !6
%82 = icmp sgt i32 %80, %81
br i1 %82, label %146, label %83
83: ; preds = %77
%84 = tail call i32 @GET_MODE(i32 noundef %0) #2
%85 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %84) #2
%86 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%87 = tail call i32 @GET_MODE(i32 noundef %86) #2
%88 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %87) #2
%89 = tail call i32 @TRULY_NOOP_TRUNCATION(i32 noundef %85, i32 noundef %88) #2
%90 = icmp eq i32 %89, 0
br i1 %90, label %146, label %91
91: ; preds = %83
%92 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%93 = tail call i32 @GET_MODE(i32 noundef %92) #2
%94 = tail call i32 @SUBREG_REG(i32 noundef %28) #2
%95 = tail call i32 @SUBREG_REG(i32 noundef %29) #2
%96 = tail call i32 @simplify_gen_binary(i32 noundef %2, i32 noundef %93, i32 noundef %94, i32 noundef %95) #2
%97 = tail call i32 @GET_MODE(i32 noundef %0) #2
%98 = tail call i32 @gen_lowpart(i32 noundef %97, i32 noundef %96) #2
br label %146
99: ; preds = %34, %40, %33
%100 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%101 = icmp eq i64 %100, 0
br i1 %101, label %107, label %102
102: ; preds = %99
%103 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 0) #2
%104 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 0) #2
%105 = tail call i64 @rtx_equal_p(i32 noundef %103, i32 noundef %104) #2
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %128
107: ; preds = %102, %99
%108 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%109 = icmp eq i64 %108, 0
br i1 %109, label %115, label %110
110: ; preds = %107
%111 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 0) #2
%112 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 1) #2
%113 = tail call i64 @rtx_equal_p(i32 noundef %111, i32 noundef %112) #2
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %128
115: ; preds = %110, %107
%116 = tail call i64 @COMMUTATIVE_ARITH_P(i32 noundef %28) #2
%117 = icmp eq i64 %116, 0
br i1 %117, label %123, label %118
118: ; preds = %115
%119 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 1) #2
%120 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 0) #2
%121 = tail call i64 @rtx_equal_p(i32 noundef %119, i32 noundef %120) #2
%122 = icmp eq i64 %121, 0
br i1 %122, label %123, label %128
123: ; preds = %118, %115
%124 = tail call i32 @XEXP(i32 noundef %28, i32 noundef 1) #2
%125 = tail call i32 @XEXP(i32 noundef %29, i32 noundef 1) #2
%126 = tail call i64 @rtx_equal_p(i32 noundef %124, i32 noundef %125) #2
%127 = icmp eq i64 %126, 0
br i1 %127, label %146, label %128
128: ; preds = %123, %118, %110, %102
%129 = phi i32 [ 0, %102 ], [ 0, %110 ], [ 1, %118 ], [ 1, %123 ]
%130 = phi i32 [ 1, %102 ], [ 1, %110 ], [ 0, %118 ], [ 0, %123 ]
%131 = phi i32 [ 1, %102 ], [ 0, %110 ], [ 1, %118 ], [ 0, %123 ]
%132 = tail call i32 @XEXP(i32 noundef %28, i32 noundef %129) #2
%133 = tail call i32 @XEXP(i32 noundef %28, i32 noundef %130) #2
%134 = tail call i32 @XEXP(i32 noundef %29, i32 noundef %131) #2
%135 = tail call i32 @GET_MODE(i32 noundef %0) #2
%136 = tail call i32 @simplify_gen_binary(i32 noundef %2, i32 noundef %135, i32 noundef %133, i32 noundef %134) #2
%137 = load i32, ptr @XOR, align 4, !tbaa !6
%138 = icmp eq i32 %2, %137
%139 = icmp eq i32 %30, 131
%140 = select i1 %138, i1 %139, i1 false
br i1 %140, label %141, label %148
141: ; preds = %128
%142 = load i32, ptr @NOT, align 4, !tbaa !6
%143 = tail call i32 @GET_MODE(i32 noundef %0) #2
%144 = tail call i32 @GET_MODE(i32 noundef %0) #2
%145 = tail call i32 @simplify_gen_unary(i32 noundef %142, i32 noundef %143, i32 noundef %132, i32 noundef %144) #2
br label %148
146: ; preds = %123, %33, %46, %52, %56, %59, %66, %73, %77, %83, %40, %34, %27, %19, %24, %10, %1, %91, %148
%147 = phi i32 [ %153, %148 ], [ %98, %91 ], [ %0, %1 ], [ %0, %10 ], [ %0, %24 ], [ %0, %19 ], [ %0, %27 ], [ %0, %34 ], [ %0, %40 ], [ %0, %83 ], [ %0, %77 ], [ %0, %73 ], [ %0, %66 ], [ %0, %59 ], [ %0, %56 ], [ %0, %52 ], [ %0, %46 ], [ %0, %33 ], [ %0, %123 ]
ret i32 %147
148: ; preds = %141, %128
%149 = phi i32 [ 134, %141 ], [ %30, %128 ]
%150 = phi i32 [ %145, %141 ], [ %132, %128 ]
%151 = tail call i32 @GET_MODE(i32 noundef %0) #2
%152 = tail call i32 @apply_distributive_law(i32 noundef %136)
%153 = tail call i32 @simplify_gen_binary(i32 noundef %149, i32 noundef %151, i32 noundef %152, i32 noundef %150) #2
br label %146
}
declare i32 @GET_CODE(i32 noundef) local_unnamed_addr #1
declare i64 @FLOAT_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @OBJECT_P(i32 noundef) local_unnamed_addr #1
declare i32 @expand_compound_operation(i32 noundef) local_unnamed_addr #1
declare i32 @SUBREG_REG(i32 noundef) local_unnamed_addr #1
declare i32 @SUBREG_BYTE(i32 noundef) local_unnamed_addr #1
declare i32 @subreg_lowpart_p(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_CLASS(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @VECTOR_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @TRULY_NOOP_TRUNCATION(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_BITSIZE(i32 noundef) local_unnamed_addr #1
declare i32 @simplify_gen_binary(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_lowpart(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @COMMUTATIVE_ARITH_P(i32 noundef) local_unnamed_addr #1
declare i64 @rtx_equal_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @simplify_gen_unary(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_extr_combine.c_apply_distributive_law |
; ModuleID = 'AnghaBench/reactos/drivers/network/ndisuio/extr_misc.c_ReferenceAdapterContext.c'
source_filename = "AnghaBench/reactos/drivers/network/ndisuio/extr_misc.c_ReferenceAdapterContext.c"
target datalayout = "e-m:e-p270:32:32-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: readwrite) uwtable
define dso_local i32 @ReferenceAdapterContext(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = add nsw i32 %2, 1
store i32 %3, ptr %0, align 4, !tbaa !5
ret i32 undef
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/drivers/network/ndisuio/extr_misc.c_ReferenceAdapterContext.c'
source_filename = "AnghaBench/reactos/drivers/network/ndisuio/extr_misc.c_ReferenceAdapterContext.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: readwrite) uwtable(sync)
define i32 @ReferenceAdapterContext(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = add nsw i32 %2, 1
store i32 %3, ptr %0, align 4, !tbaa !6
ret i32 undef
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| reactos_drivers_network_ndisuio_extr_misc.c_ReferenceAdapterContext |
; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5.c_q6v5_wdog_interrupt.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5.c_q6v5_wdog_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.qcom_q6v5 = type { i32, i32, i32, i32, i32 }
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@QCOM_SMEM_HOST_ANY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"watchdog received: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"watchdog without message\0A\00", align 1
@RPROC_WATCHDOG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @q6v5_wdog_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @q6v5_wdog_interrupt(i32 %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.qcom_q6v5, ptr %1, i64 0, i32 4
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = getelementptr inbounds %struct.qcom_q6v5, ptr %1, i64 0, i32 3
%9 = tail call i32 @complete(ptr noundef nonnull %8) #3
br label %35
10: ; preds = %2
%11 = load i32, ptr @QCOM_SMEM_HOST_ANY, align 4, !tbaa !10
%12 = getelementptr inbounds %struct.qcom_q6v5, ptr %1, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = call ptr @qcom_smem_get(i32 noundef %11, i32 noundef %13, ptr noundef nonnull %3) #3
%15 = call i32 @IS_ERR(ptr noundef %14) #3
%16 = icmp eq i32 %15, 0
%17 = load i64, ptr %3, align 8
%18 = icmp ne i64 %17, 0
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %27
20: ; preds = %10
%21 = load i8, ptr %14, align 1, !tbaa !12
%22 = icmp eq i8 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = getelementptr inbounds %struct.qcom_q6v5, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !13
%26 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull %14) #3
br label %31
27: ; preds = %20, %10
%28 = getelementptr inbounds %struct.qcom_q6v5, ptr %1, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %29, ptr noundef nonnull @.str.1) #3
br label %31
31: ; preds = %27, %23
%32 = load i32, ptr %1, align 4, !tbaa !14
%33 = load i32, ptr @RPROC_WATCHDOG, align 4, !tbaa !10
%34 = call i32 @rproc_report_crash(i32 noundef %32, i32 noundef %33) #3
br label %35
35: ; preds = %31, %7
%36 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @complete(ptr noundef) local_unnamed_addr #2
declare ptr @qcom_smem_get(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @rproc_report_crash(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"qcom_q6v5", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5.c_q6v5_wdog_interrupt.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5.c_q6v5_wdog_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@QCOM_SMEM_HOST_ANY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"watchdog received: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"watchdog without message\0A\00", align 1
@RPROC_WATCHDOG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @q6v5_wdog_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @q6v5_wdog_interrupt(i32 %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %1, i64 16
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 12
%9 = tail call i32 @complete(ptr noundef nonnull %8) #3
br label %35
10: ; preds = %2
%11 = load i32, ptr @QCOM_SMEM_HOST_ANY, align 4, !tbaa !11
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = call ptr @qcom_smem_get(i32 noundef %11, i32 noundef %13, ptr noundef nonnull %3) #3
%15 = call i32 @IS_ERR(ptr noundef %14) #3
%16 = icmp eq i32 %15, 0
%17 = load i64, ptr %3, align 8
%18 = icmp ne i64 %17, 0
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %27
20: ; preds = %10
%21 = load i8, ptr %14, align 1, !tbaa !13
%22 = icmp eq i8 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %1, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull %14) #3
br label %31
27: ; preds = %20, %10
%28 = getelementptr inbounds i8, ptr %1, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !14
%30 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %29, ptr noundef nonnull @.str.1) #3
br label %31
31: ; preds = %27, %23
%32 = load i32, ptr %1, align 4, !tbaa !15
%33 = load i32, ptr @RPROC_WATCHDOG, align 4, !tbaa !11
%34 = call i32 @rproc_report_crash(i32 noundef %32, i32 noundef %33) #3
br label %35
35: ; preds = %31, %7
%36 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @complete(ptr noundef) local_unnamed_addr #2
declare ptr @qcom_smem_get(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @rproc_report_crash(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, !8, i64 16}
!7 = !{!"qcom_q6v5", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
| linux_drivers_remoteproc_extr_qcom_q6v5.c_q6v5_wdog_interrupt |
; ModuleID = 'AnghaBench/zstd/tests/fuzz/extr_dictionary_loader.c_decompress.c'
source_filename = "AnghaBench/zstd/tests/fuzz/extr_dictionary_loader.c_decompress.c"
target datalayout = "e-m:e-p270:32:32-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 @decompress], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = tail call ptr (...) @ZSTD_createDCtx() #2
%10 = tail call i64 @ZSTD_DCtx_loadDictionary_advanced(ptr noundef %9, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #2
%11 = tail call i32 @FUZZ_ZASSERT(i64 noundef %10) #2
%12 = tail call i64 @ZSTD_decompressDCtx(ptr noundef %9, ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #2
%13 = tail call i32 @FUZZ_ZASSERT(i64 noundef %12) #2
%14 = tail call i32 @ZSTD_freeDCtx(ptr noundef %9) #2
ret i64 %12
}
declare ptr @ZSTD_createDCtx(...) local_unnamed_addr #1
declare i32 @FUZZ_ZASSERT(i64 noundef) local_unnamed_addr #1
declare i64 @ZSTD_DCtx_loadDictionary_advanced(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_decompressDCtx(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_freeDCtx(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/zstd/tests/fuzz/extr_dictionary_loader.c_decompress.c'
source_filename = "AnghaBench/zstd/tests/fuzz/extr_dictionary_loader.c_decompress.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 @decompress], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = tail call ptr @ZSTD_createDCtx() #2
%10 = tail call i64 @ZSTD_DCtx_loadDictionary_advanced(ptr noundef %9, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #2
%11 = tail call i32 @FUZZ_ZASSERT(i64 noundef %10) #2
%12 = tail call i64 @ZSTD_decompressDCtx(ptr noundef %9, ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #2
%13 = tail call i32 @FUZZ_ZASSERT(i64 noundef %12) #2
%14 = tail call i32 @ZSTD_freeDCtx(ptr noundef %9) #2
ret i64 %12
}
declare ptr @ZSTD_createDCtx(...) local_unnamed_addr #1
declare i32 @FUZZ_ZASSERT(i64 noundef) local_unnamed_addr #1
declare i64 @ZSTD_DCtx_loadDictionary_advanced(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_decompressDCtx(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_freeDCtx(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)"}
| zstd_tests_fuzz_extr_dictionary_loader.c_decompress |
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_setPragmaResultColumnNames.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_setPragmaResultColumnNames.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32 }
@COLNAME_NAME = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_STATIC = dso_local local_unnamed_addr global i32 0, align 4
@pragCName = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @setPragmaResultColumnNames], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @setPragmaResultColumnNames(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
%5 = tail call i32 @llvm.umax.i32(i32 %3, i32 1)
%6 = tail call i32 @sqlite3VdbeSetNumCols(ptr noundef %0, i32 noundef %5) #3
br i1 %4, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !10
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !10
%12 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %0, i32 noundef 0, i32 noundef %8, i32 noundef %10, i32 noundef %11) #3
br label %31
13: ; preds = %2
%14 = icmp sgt i32 %3, 0
br i1 %14, label %15, label %31
15: ; preds = %13
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = sext i32 %17 to i64
br label %19
19: ; preds = %15, %19
%20 = phi i64 [ %18, %15 ], [ %29, %19 ]
%21 = phi i32 [ 0, %15 ], [ %28, %19 ]
%22 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !10
%23 = load ptr, ptr @pragCName, align 8, !tbaa !13
%24 = getelementptr inbounds i32, ptr %23, i64 %20
%25 = load i32, ptr %24, align 4, !tbaa !10
%26 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !10
%27 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %0, i32 noundef %21, i32 noundef %22, i32 noundef %25, i32 noundef %26) #3
%28 = add nuw nsw i32 %21, 1
%29 = add nsw i64 %20, 1
%30 = icmp eq i32 %28, %3
br i1 %30, label %31, label %19, !llvm.loop !15
31: ; preds = %19, %13, %7
ret void
}
declare i32 @sqlite3VdbeSetNumCols(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeSetColName(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_setPragmaResultColumnNames.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_setPragmaResultColumnNames.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COLNAME_NAME = common local_unnamed_addr global i32 0, align 4
@SQLITE_STATIC = common local_unnamed_addr global i32 0, align 4
@pragCName = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @setPragmaResultColumnNames], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @setPragmaResultColumnNames(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
%5 = tail call i32 @llvm.umax.i32(i32 %3, i32 1)
%6 = tail call i32 @sqlite3VdbeSetNumCols(ptr noundef %0, i32 noundef %5) #3
br i1 %4, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !11
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !11
%12 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %0, i32 noundef 0, i32 noundef %8, i32 noundef %10, i32 noundef %11) #3
br label %31
13: ; preds = %2
%14 = icmp sgt i32 %3, 0
br i1 %14, label %15, label %31
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %1, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = sext i32 %17 to i64
br label %19
19: ; preds = %15, %19
%20 = phi i64 [ %18, %15 ], [ %29, %19 ]
%21 = phi i32 [ 0, %15 ], [ %28, %19 ]
%22 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !11
%23 = load ptr, ptr @pragCName, align 8, !tbaa !14
%24 = getelementptr inbounds i32, ptr %23, i64 %20
%25 = load i32, ptr %24, align 4, !tbaa !11
%26 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !11
%27 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %0, i32 noundef %21, i32 noundef %22, i32 noundef %25, i32 noundef %26) #3
%28 = add nuw nsw i32 %21, 1
%29 = add nsw i64 %20, 1
%30 = icmp eq i32 %28, %3
br i1 %30, label %31, label %19, !llvm.loop !16
31: ; preds = %19, %13, %7
ret void
}
declare i32 @sqlite3VdbeSetNumCols(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeSetColName(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| wcdb_android_sqlcipher_extr_sqlite3.c_setPragmaResultColumnNames |
; ModuleID = 'AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_3g.c_set_spdif_bits.c'
source_filename = "AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_3g.c_set_spdif_bits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.echoaudio = type { i64, i64 }
@E3G_SPDIF_FORMAT_CLEAR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_SAMPLE_RATE0 = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_SAMPLE_RATE1 = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_PRO_MODE = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_NOT_AUDIO = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_24_BIT = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_TWO_CHANNEL = dso_local local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_COPY_PERMIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_spdif_bits], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @set_spdif_bits(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @E3G_SPDIF_FORMAT_CLEAR_MASK, align 4, !tbaa !5
%5 = and i32 %4, %1
switch i32 %2, label %21 [
i32 32000, label %6
i32 44100, label %11
i32 48000, label %18
]
6: ; preds = %3
%7 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE0, align 4, !tbaa !5
%8 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE1, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = or i32 %9, %5
br label %21
11: ; preds = %3
%12 = getelementptr inbounds %struct.echoaudio, ptr %0, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !9
%14 = icmp eq i64 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %11
%16 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE0, align 4, !tbaa !5
%17 = or i32 %16, %5
br label %21
18: ; preds = %3
%19 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE1, align 4, !tbaa !5
%20 = or i32 %19, %5
br label %21
21: ; preds = %11, %15, %3, %18, %6
%22 = phi i32 [ %5, %3 ], [ %20, %18 ], [ %17, %15 ], [ %5, %11 ], [ %10, %6 ]
%23 = getelementptr inbounds %struct.echoaudio, ptr %0, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !9
%25 = icmp eq i64 %24, 0
%26 = load i32, ptr @E3G_SPDIF_PRO_MODE, align 4
%27 = select i1 %25, i32 0, i32 %26
%28 = load i64, ptr %0, align 8, !tbaa !12
%29 = icmp eq i64 %28, 0
%30 = load i32, ptr @E3G_SPDIF_NOT_AUDIO, align 4
%31 = select i1 %29, i32 0, i32 %30
%32 = load i32, ptr @E3G_SPDIF_24_BIT, align 4, !tbaa !5
%33 = load i32, ptr @E3G_SPDIF_TWO_CHANNEL, align 4, !tbaa !5
%34 = load i32, ptr @E3G_SPDIF_COPY_PERMIT, align 4, !tbaa !5
%35 = or i32 %27, %22
%36 = or i32 %35, %31
%37 = or i32 %36, %32
%38 = or i32 %37, %33
%39 = or i32 %38, %34
ret i32 %39
}
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"echoaudio", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_3g.c_set_spdif_bits.c'
source_filename = "AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_3g.c_set_spdif_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E3G_SPDIF_FORMAT_CLEAR_MASK = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_SAMPLE_RATE0 = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_SAMPLE_RATE1 = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_PRO_MODE = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_NOT_AUDIO = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_24_BIT = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_TWO_CHANNEL = common local_unnamed_addr global i32 0, align 4
@E3G_SPDIF_COPY_PERMIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_spdif_bits], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @set_spdif_bits(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @E3G_SPDIF_FORMAT_CLEAR_MASK, align 4, !tbaa !6
%5 = and i32 %4, %1
switch i32 %2, label %21 [
i32 32000, label %6
i32 44100, label %11
i32 48000, label %18
]
6: ; preds = %3
%7 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE0, align 4, !tbaa !6
%8 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE1, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = or i32 %9, %5
br label %21
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !10
%14 = icmp eq i64 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %11
%16 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE0, align 4, !tbaa !6
%17 = or i32 %16, %5
br label %21
18: ; preds = %3
%19 = load i32, ptr @E3G_SPDIF_SAMPLE_RATE1, align 4, !tbaa !6
%20 = or i32 %19, %5
br label %21
21: ; preds = %11, %15, %3, %18, %6
%22 = phi i32 [ %5, %3 ], [ %20, %18 ], [ %17, %15 ], [ %5, %11 ], [ %10, %6 ]
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i64, ptr %23, align 8, !tbaa !10
%25 = icmp eq i64 %24, 0
%26 = load i32, ptr @E3G_SPDIF_PRO_MODE, align 4
%27 = select i1 %25, i32 0, i32 %26
%28 = load i64, ptr %0, align 8, !tbaa !13
%29 = icmp eq i64 %28, 0
%30 = load i32, ptr @E3G_SPDIF_NOT_AUDIO, align 4
%31 = select i1 %29, i32 0, i32 %30
%32 = load i32, ptr @E3G_SPDIF_24_BIT, align 4, !tbaa !6
%33 = load i32, ptr @E3G_SPDIF_TWO_CHANNEL, align 4, !tbaa !6
%34 = load i32, ptr @E3G_SPDIF_COPY_PERMIT, align 4, !tbaa !6
%35 = or i32 %27, %22
%36 = or i32 %35, %31
%37 = or i32 %36, %32
%38 = or i32 %37, %33
%39 = or i32 %38, %34
ret i32 %39
}
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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"echoaudio", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
| linux_sound_pci_echoaudio_extr_echoaudio_3g.c_set_spdif_bits |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_init_sclk_threshold.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_init_sclk_threshold.c"
target datalayout = "e-m:e-p270:32:32-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 @smu8_init_sclk_threshold], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @smu8_init_sclk_threshold(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
store i64 0, ptr %2, align 8, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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, !7, i64 0}
!6 = !{!"pp_hwmgr", !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 = !{!"smu8_hwmgr", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_init_sclk_threshold.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_init_sclk_threshold.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 @smu8_init_sclk_threshold], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @smu8_init_sclk_threshold(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
store i64 0, ptr %2, align 8, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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, !8, i64 0}
!7 = !{!"pp_hwmgr", !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 = !{!"smu8_hwmgr", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_smu8_hwmgr.c_smu8_init_sclk_threshold |
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_get_lux_thresh_below.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_get_lux_thresh_below.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bh1770_get_lux_thresh_below], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bh1770_get_lux_thresh_below(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2
ret i32 %6
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(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 = !{!"bh1770_chip", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_get_lux_thresh_below.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_get_lux_thresh_below.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bh1770_get_lux_thresh_below], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bh1770_get_lux_thresh_below(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2
ret i32 %6
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(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 = !{!"bh1770_chip", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_misc_extr_bh1770glc.c_bh1770_get_lux_thresh_below |
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_fotg210-hcd.c_fotg210_run.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_fotg210-hcd.c_fotg210_run.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fotg210_hcd = type { i32, i32, i32, ptr, ptr, i32, i32, ptr }
%struct.TYPE_6__ = type { i32, i32, i32, i32 }
%struct.TYPE_5__ = type { i32, i32 }
@CMD_IAAD = dso_local local_unnamed_addr global i32 0, align 4
@CMD_PSE = dso_local local_unnamed_addr global i32 0, align 4
@CMD_ASE = dso_local local_unnamed_addr global i32 0, align 4
@CMD_RESET = dso_local local_unnamed_addr global i32 0, align 4
@CMD_RUN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"init\00", align 1
@ehci_cf_port_reset_rwsem = dso_local global i32 0, align 4
@FOTG210_RH_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"USB %x.%x started, EHCI %x.%02x\0A\00", align 1
@INTR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fotg210_run], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @fotg210_run(ptr noundef %0) #0 {
%2 = tail call ptr @hcd_to_fotg210(ptr noundef %0) #2
store i32 1, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr %2, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 3
%7 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %3, ptr noundef nonnull %6) #2
%8 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 7
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = trunc i64 %10 to i32
%12 = load ptr, ptr %4, align 8, !tbaa !13
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 2
%14 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull %13) #2
%15 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 4
%16 = load ptr, ptr %15, align 8, !tbaa !18
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 0, i32 1
%18 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef nonnull %17) #2
%19 = load i32, ptr @CMD_IAAD, align 4, !tbaa !19
%20 = load i32, ptr @CMD_PSE, align 4, !tbaa !19
%21 = or i32 %20, %19
%22 = load i32, ptr @CMD_ASE, align 4, !tbaa !19
%23 = or i32 %21, %22
%24 = load i32, ptr @CMD_RESET, align 4, !tbaa !19
%25 = or i32 %23, %24
%26 = xor i32 %25, -1
%27 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = and i32 %28, %26
%30 = load i32, ptr @CMD_RUN, align 4, !tbaa !19
%31 = or i32 %30, %29
store i32 %31, ptr %27, align 4, !tbaa !20
%32 = load ptr, ptr %4, align 8, !tbaa !13
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i64 0, i32 1
%34 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %31, ptr noundef nonnull %33) #2
%35 = load i32, ptr %27, align 4, !tbaa !20
%36 = tail call i32 @dbg_cmd(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef %35) #2
%37 = tail call i32 @down_write(ptr noundef nonnull @ehci_cf_port_reset_rwsem) #2
%38 = load i32, ptr @FOTG210_RH_RUNNING, align 4, !tbaa !19
%39 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 6
store i32 %38, ptr %39, align 4, !tbaa !21
%40 = load ptr, ptr %4, align 8, !tbaa !13
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i64 0, i32 1
%42 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef nonnull %41) #2
%43 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2
%44 = tail call i32 @up_write(ptr noundef nonnull @ehci_cf_port_reset_rwsem) #2
%45 = tail call i32 (...) @ktime_get_real() #2
%46 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 5
store i32 %45, ptr %46, align 8, !tbaa !22
%47 = load ptr, ptr %15, align 8, !tbaa !18
%48 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef %47) #2
%49 = tail call i32 @HC_VERSION(ptr noundef nonnull %2, i32 noundef %48) #2
%50 = getelementptr inbounds %struct.fotg210_hcd, ptr %2, i64 0, i32 2
%51 = load i32, ptr %50, align 8, !tbaa !23
%52 = lshr i32 %51, 4
%53 = and i32 %52, 15
%54 = and i32 %51, 15
%55 = ashr i32 %49, 8
%56 = and i32 %49, 255
%57 = tail call i32 @fotg210_info(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56) #2
%58 = load i32, ptr @INTR_MASK, align 4, !tbaa !19
%59 = load ptr, ptr %4, align 8, !tbaa !13
%60 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %58, ptr noundef %59) #2
%61 = tail call i32 @create_debug_files(ptr noundef nonnull %2) #2
%62 = tail call i32 @create_sysfs_files(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @hcd_to_fotg210(ptr noundef) local_unnamed_addr #1
declare i32 @fotg210_writel(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fotg210_readl(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dbg_cmd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @ktime_get_real(...) local_unnamed_addr #1
declare i32 @HC_VERSION(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fotg210_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @create_debug_files(ptr noundef) local_unnamed_addr #1
declare i32 @create_sysfs_files(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 = !{!"usb_hcd", !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 = !{!"fotg210_hcd", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !12, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !12, i64 40}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!11, !12, i64 24}
!19 = !{!7, !7, i64 0}
!20 = !{!11, !7, i64 4}
!21 = !{!11, !7, i64 36}
!22 = !{!11, !7, i64 32}
!23 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_fotg210-hcd.c_fotg210_run.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_fotg210-hcd.c_fotg210_run.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMD_IAAD = common local_unnamed_addr global i32 0, align 4
@CMD_PSE = common local_unnamed_addr global i32 0, align 4
@CMD_ASE = common local_unnamed_addr global i32 0, align 4
@CMD_RESET = common local_unnamed_addr global i32 0, align 4
@CMD_RUN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"init\00", align 1
@ehci_cf_port_reset_rwsem = common global i32 0, align 4
@FOTG210_RH_RUNNING = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"USB %x.%x started, EHCI %x.%02x\0A\00", align 1
@INTR_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fotg210_run], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @fotg210_run(ptr noundef %0) #0 {
%2 = tail call ptr @hcd_to_fotg210(ptr noundef %0) #2
store i32 1, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr %2, align 8, !tbaa !11
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !14
%6 = getelementptr inbounds i8, ptr %5, i64 12
%7 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %3, ptr noundef nonnull %6) #2
%8 = getelementptr inbounds i8, ptr %2, i64 40
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = load i64, ptr %9, align 8, !tbaa !16
%11 = trunc i64 %10 to i32
%12 = load ptr, ptr %4, align 8, !tbaa !14
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull %13) #2
%15 = getelementptr inbounds i8, ptr %2, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !19
%17 = getelementptr inbounds i8, ptr %16, i64 4
%18 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef nonnull %17) #2
%19 = load i32, ptr @CMD_IAAD, align 4, !tbaa !20
%20 = load i32, ptr @CMD_PSE, align 4, !tbaa !20
%21 = or i32 %20, %19
%22 = load i32, ptr @CMD_ASE, align 4, !tbaa !20
%23 = or i32 %21, %22
%24 = load i32, ptr @CMD_RESET, align 4, !tbaa !20
%25 = or i32 %23, %24
%26 = xor i32 %25, -1
%27 = getelementptr inbounds i8, ptr %2, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = and i32 %28, %26
%30 = load i32, ptr @CMD_RUN, align 4, !tbaa !20
%31 = or i32 %30, %29
store i32 %31, ptr %27, align 4, !tbaa !21
%32 = load ptr, ptr %4, align 8, !tbaa !14
%33 = getelementptr inbounds i8, ptr %32, i64 4
%34 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %31, ptr noundef nonnull %33) #2
%35 = load i32, ptr %27, align 4, !tbaa !21
%36 = tail call i32 @dbg_cmd(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef %35) #2
%37 = tail call i32 @down_write(ptr noundef nonnull @ehci_cf_port_reset_rwsem) #2
%38 = load i32, ptr @FOTG210_RH_RUNNING, align 4, !tbaa !20
%39 = getelementptr inbounds i8, ptr %2, i64 36
store i32 %38, ptr %39, align 4, !tbaa !22
%40 = load ptr, ptr %4, align 8, !tbaa !14
%41 = getelementptr inbounds i8, ptr %40, i64 4
%42 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef nonnull %41) #2
%43 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2
%44 = tail call i32 @up_write(ptr noundef nonnull @ehci_cf_port_reset_rwsem) #2
%45 = tail call i32 @ktime_get_real() #2
%46 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %45, ptr %46, align 8, !tbaa !23
%47 = load ptr, ptr %15, align 8, !tbaa !19
%48 = tail call i32 @fotg210_readl(ptr noundef nonnull %2, ptr noundef %47) #2
%49 = tail call i32 @HC_VERSION(ptr noundef nonnull %2, i32 noundef %48) #2
%50 = getelementptr inbounds i8, ptr %2, i64 8
%51 = load i32, ptr %50, align 8, !tbaa !24
%52 = lshr i32 %51, 4
%53 = and i32 %52, 15
%54 = and i32 %51, 15
%55 = ashr i32 %49, 8
%56 = and i32 %49, 255
%57 = tail call i32 @fotg210_info(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56) #2
%58 = load i32, ptr @INTR_MASK, align 4, !tbaa !20
%59 = load ptr, ptr %4, align 8, !tbaa !14
%60 = tail call i32 @fotg210_writel(ptr noundef nonnull %2, i32 noundef %58, ptr noundef %59) #2
%61 = tail call i32 @create_debug_files(ptr noundef nonnull %2) #2
%62 = tail call i32 @create_sysfs_files(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @hcd_to_fotg210(ptr noundef) local_unnamed_addr #1
declare i32 @fotg210_writel(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fotg210_readl(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dbg_cmd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @ktime_get_real(...) local_unnamed_addr #1
declare i32 @HC_VERSION(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fotg210_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @create_debug_files(ptr noundef) local_unnamed_addr #1
declare i32 @create_sysfs_files(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 = !{!"usb_hcd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"fotg210_hcd", !8, i64 0, !8, i64 4, !8, i64 8, !13, i64 16, !13, i64 24, !8, i64 32, !8, i64 36, !13, i64 40}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!12, !13, i64 16}
!15 = !{!12, !13, i64 40}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!12, !13, i64 24}
!20 = !{!8, !8, i64 0}
!21 = !{!12, !8, i64 4}
!22 = !{!12, !8, i64 36}
!23 = !{!12, !8, i64 32}
!24 = !{!12, !8, i64 8}
| linux_drivers_usb_host_extr_fotg210-hcd.c_fotg210_run |
; ModuleID = 'AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_vnops.c_tmpfs_print.c'
source_filename = "AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_vnops.c_tmpfs_print.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tmpfs_node = type { i32, i32, i32, i32, i64, i64, i32 }
@.str = private unnamed_addr constant [53 x i8] c"tag VT_TMPFS, tmpfs_node %p, flags 0x%lx, links %jd\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\09mode 0%o, owner %d, group %d, size %jd, status 0x%x\0A\00", align 1
@VFIFO = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tmpfs_print(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call ptr @VP_TO_TMPFS_NODE(ptr noundef %2) #4
%4 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 6
%5 = load i32, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 5
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = trunc i64 %7 to i32
%9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3, i32 noundef %5, i32 noundef %8)
%10 = load i32, ptr %3, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !17
%15 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 4
%16 = load i64, ptr %15, align 8, !tbaa !18
%17 = trunc i64 %16 to i32
%18 = getelementptr inbounds %struct.tmpfs_node, ptr %3, i64 0, i32 3
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %17, i32 noundef %19)
%21 = load i64, ptr %2, align 8, !tbaa !20
%22 = load i64, ptr @VFIFO, align 8, !tbaa !22
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %1
%25 = tail call i32 @fifo_printinfo(ptr noundef nonnull %2) #4
br label %26
26: ; preds = %24, %1
%27 = tail call i32 @putchar(i32 10)
ret i32 0
}
declare ptr @VP_TO_TMPFS_NODE(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @fifo_printinfo(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) 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, !7, i64 0}
!6 = !{!"vop_print_args", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 32}
!11 = !{!"tmpfs_node", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !13, i64 24, !12, i64 32}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 24}
!15 = !{!11, !12, i64 0}
!16 = !{!11, !12, i64 4}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !13, i64 16}
!19 = !{!11, !12, i64 12}
!20 = !{!21, !13, i64 0}
!21 = !{!"vnode", !13, i64 0}
!22 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_vnops.c_tmpfs_print.c'
source_filename = "AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_vnops.c_tmpfs_print.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [53 x i8] c"tag VT_TMPFS, tmpfs_node %p, flags 0x%lx, links %jd\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\09mode 0%o, owner %d, group %d, size %jd, status 0x%x\0A\00", align 1
@VFIFO = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @tmpfs_print(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call ptr @VP_TO_TMPFS_NODE(ptr noundef %2) #4
%4 = getelementptr inbounds i8, ptr %3, i64 32
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %3, i64 24
%7 = load i64, ptr %6, align 8, !tbaa !15
%8 = trunc i64 %7 to i32
%9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3, i32 noundef %5, i32 noundef %8)
%10 = load i32, ptr %3, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %3, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = getelementptr inbounds i8, ptr %3, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !18
%15 = getelementptr inbounds i8, ptr %3, i64 16
%16 = load i64, ptr %15, align 8, !tbaa !19
%17 = trunc i64 %16 to i32
%18 = getelementptr inbounds i8, ptr %3, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !20
%20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %17, i32 noundef %19)
%21 = load i64, ptr %2, align 8, !tbaa !21
%22 = load i64, ptr @VFIFO, align 8, !tbaa !23
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %1
%25 = tail call i32 @fifo_printinfo(ptr noundef nonnull %2) #4
br label %26
26: ; preds = %24, %1
%27 = tail call i32 @putchar(i32 10)
ret i32 0
}
declare ptr @VP_TO_TMPFS_NODE(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @fifo_printinfo(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) 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, !8, i64 0}
!7 = !{!"vop_print_args", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 32}
!12 = !{!"tmpfs_node", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !13, i64 32}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !14, i64 24}
!16 = !{!12, !13, i64 0}
!17 = !{!12, !13, i64 4}
!18 = !{!12, !13, i64 8}
!19 = !{!12, !14, i64 16}
!20 = !{!12, !13, i64 12}
!21 = !{!22, !14, i64 0}
!22 = !{!"vnode", !14, i64 0}
!23 = !{!14, !14, i64 0}
| freebsd_sys_fs_tmpfs_extr_tmpfs_vnops.c_tmpfs_print |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ntfs/extr_mft.c_MoveAttributes.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/ntfs/extr_mft.c_MoveAttributes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i64 }
@AttributeEnd = dso_local local_unnamed_addr global i64 0, align 8
@ATTR_RECORD_ALIGNMENT = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @MoveAttributes(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @AttributeEnd, align 8, !tbaa !5
%6 = load i64, ptr %1, align 8, !tbaa !9
%7 = icmp eq i64 %6, %5
br i1 %7, label %25, label %8
8: ; preds = %4
%9 = load i64, ptr %0, align 8, !tbaa !11
br label %10
10: ; preds = %8, %15
%11 = phi i64 [ 0, %8 ], [ %19, %15 ]
%12 = phi i64 [ %2, %8 ], [ %18, %15 ]
%13 = phi ptr [ %1, %8 ], [ %22, %15 ]
%14 = icmp slt i64 %12, %9
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = getelementptr inbounds %struct.TYPE_9__, ptr %13, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = add nsw i64 %17, %12
%19 = add nsw i64 %17, %11
%20 = ptrtoint ptr %13 to i64
%21 = add nsw i64 %17, %20
%22 = inttoptr i64 %21 to ptr
%23 = load i64, ptr %22, align 8, !tbaa !9
%24 = icmp eq i64 %23, %5
br i1 %24, label %25, label %10, !llvm.loop !15
25: ; preds = %10, %15, %4
%26 = phi i64 [ 0, %4 ], [ %19, %15 ], [ %11, %10 ]
%27 = add nsw i64 %26, %3
%28 = inttoptr i64 %27 to ptr
%29 = add i64 %26, 16
%30 = load i64, ptr @ATTR_RECORD_ALIGNMENT, align 8, !tbaa !5
%31 = srem i64 %29, %30
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i32 @ASSERT(i32 noundef %33) #2
%35 = trunc i64 %3 to i32
%36 = tail call i32 @RtlMoveMemory(i32 noundef %35, ptr noundef nonnull %1, i64 noundef %29) #2
ret ptr %28
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @RtlMoveMemory(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_9__", !6, i64 0, !6, i64 8}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_10__", !13, i64 0}
!13 = !{!"TYPE_8__", !6, i64 0}
!14 = !{!10, !6, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ntfs/extr_mft.c_MoveAttributes.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/ntfs/extr_mft.c_MoveAttributes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AttributeEnd = common local_unnamed_addr global i64 0, align 8
@ATTR_RECORD_ALIGNMENT = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @MoveAttributes(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @AttributeEnd, align 8, !tbaa !6
%6 = load i64, ptr %1, align 8, !tbaa !10
%7 = icmp eq i64 %6, %5
br i1 %7, label %25, label %8
8: ; preds = %4
%9 = load i64, ptr %0, align 8, !tbaa !12
br label %10
10: ; preds = %8, %15
%11 = phi i64 [ 0, %8 ], [ %19, %15 ]
%12 = phi i64 [ %2, %8 ], [ %18, %15 ]
%13 = phi ptr [ %1, %8 ], [ %22, %15 ]
%14 = icmp slt i64 %12, %9
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = getelementptr inbounds i8, ptr %13, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = add nsw i64 %17, %12
%19 = add nsw i64 %17, %11
%20 = ptrtoint ptr %13 to i64
%21 = add nsw i64 %17, %20
%22 = inttoptr i64 %21 to ptr
%23 = load i64, ptr %22, align 8, !tbaa !10
%24 = icmp eq i64 %23, %5
br i1 %24, label %25, label %10, !llvm.loop !16
25: ; preds = %10, %15, %4
%26 = phi i64 [ 0, %4 ], [ %19, %15 ], [ %11, %10 ]
%27 = add nsw i64 %26, %3
%28 = inttoptr i64 %27 to ptr
%29 = add i64 %26, 16
%30 = load i64, ptr @ATTR_RECORD_ALIGNMENT, align 8, !tbaa !6
%31 = srem i64 %29, %30
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i32 @ASSERT(i32 noundef %33) #2
%35 = trunc i64 %3 to i32
%36 = tail call i32 @RtlMoveMemory(i32 noundef %35, ptr noundef nonnull %1, i64 noundef %29) #2
ret ptr %28
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @RtlMoveMemory(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_9__", !7, i64 0, !7, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"TYPE_8__", !7, i64 0}
!15 = !{!11, !7, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| reactos_drivers_filesystems_ntfs_extr_mft.c_MoveAttributes |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_abituguru.c_show_bank2_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_abituguru.c_show_bank2_alarm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_bank2_alarm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_bank2_alarm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #2
%5 = tail call ptr @abituguru_update_device(ptr noundef %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %22
10: ; preds = %3
%11 = load ptr, ptr %5, align 8, !tbaa !9
%12 = getelementptr inbounds i32, ptr %11, i64 2
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = load i32, ptr %4, align 4, !tbaa !12
%15 = shl nuw i32 1, %14
%16 = and i32 %15, %13
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %10
%19 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str) #2
br label %22
20: ; preds = %10
%21 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str.1) #2
br label %22
22: ; preds = %20, %18, %7
%23 = phi i32 [ %19, %18 ], [ %21, %20 ], [ %9, %7 ]
ret i32 %23
}
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #1
declare ptr @abituguru_update_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"abituguru_data", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"sensor_device_attribute_2", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_abituguru.c_show_bank2_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_abituguru.c_show_bank2_alarm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_bank2_alarm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_bank2_alarm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #2
%5 = tail call ptr @abituguru_update_device(ptr noundef %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %22
10: ; preds = %3
%11 = load ptr, ptr %5, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = load i32, ptr %4, align 4, !tbaa !13
%15 = shl nuw i32 1, %14
%16 = and i32 %15, %13
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %10
%19 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str) #2
br label %22
20: ; preds = %10
%21 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str.1) #2
br label %22
22: ; preds = %20, %18, %7
%23 = phi i32 [ %19, %18 ], [ %21, %20 ], [ %9, %7 ]
ret i32 %23
}
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #1
declare ptr @abituguru_update_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"abituguru_data", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"sensor_device_attribute_2", !7, i64 0}
| fastsocket_kernel_drivers_hwmon_extr_abituguru.c_show_bank2_alarm |
; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_gic_fdt.c_arm_gicv2m_fdt_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_gic_fdt.c_arm_gicv2m_fdt_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @arm_gicv2m_fdt_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @arm_gicv2m_fdt_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @ofw_bus_get_node(i32 noundef %0) #2
%4 = tail call i32 @OF_xref_from_node(i32 noundef %3) #2
store i32 %4, ptr %2, align 4, !tbaa !5
%5 = tail call i32 @arm_gicv2m_attach(i32 noundef %0) #2
ret i32 %5
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @OF_xref_from_node(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #1
declare i32 @arm_gicv2m_attach(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"arm_gicv2m_softc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_gic_fdt.c_arm_gicv2m_fdt_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_gic_fdt.c_arm_gicv2m_fdt_attach.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 @arm_gicv2m_fdt_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @arm_gicv2m_fdt_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @ofw_bus_get_node(i32 noundef %0) #2
%4 = tail call i32 @OF_xref_from_node(i32 noundef %3) #2
store i32 %4, ptr %2, align 4, !tbaa !6
%5 = tail call i32 @arm_gicv2m_attach(i32 noundef %0) #2
ret i32 %5
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @OF_xref_from_node(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #1
declare i32 @arm_gicv2m_attach(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"arm_gicv2m_softc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_arm_arm_extr_gic_fdt.c_arm_gicv2m_fdt_attach |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfsctl.c___write_ports_addfd.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfsctl.c___write_ports_addfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@nfsd_serv = dso_local local_unnamed_addr global ptr null, align 8
@SIMPLE_TRANSACTION_LIMIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__write_ports_addfd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__write_ports_addfd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr %0, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @get_int(ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%5 = icmp ne i32 %4, 0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @EINVAL, align 4, !tbaa !9
%11 = sub nsw i32 0, %10
br label %27
12: ; preds = %1
%13 = call i32 (...) @nfsd_create_serv() #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load ptr, ptr @nfsd_serv, align 8, !tbaa !5
%17 = load i32, ptr %3, align 4, !tbaa !9
%18 = load i32, ptr @SIMPLE_TRANSACTION_LIMIT, align 4, !tbaa !9
%19 = call i32 @svc_addsock(ptr noundef %16, i32 noundef %17, ptr noundef %0, i32 noundef %18) #3
%20 = icmp slt i32 %19, 0
%21 = load ptr, ptr @nfsd_serv, align 8, !tbaa !5
br i1 %20, label %22, label %24
22: ; preds = %15
%23 = call i32 @svc_destroy(ptr noundef %21) #3
br label %27
24: ; preds = %15
%25 = load i32, ptr %21, align 4, !tbaa !11
%26 = add nsw i32 %25, -1
store i32 %26, ptr %21, align 4, !tbaa !11
br label %27
27: ; preds = %12, %24, %22, %9
%28 = phi i32 [ %11, %9 ], [ %19, %22 ], [ %19, %24 ], [ %13, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_int(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfsd_create_serv(...) local_unnamed_addr #2
declare i32 @svc_addsock(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svc_destroy(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfsctl.c___write_ports_addfd.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfsctl.c___write_ports_addfd.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
@nfsd_serv = common local_unnamed_addr global ptr null, align 8
@SIMPLE_TRANSACTION_LIMIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__write_ports_addfd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__write_ports_addfd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr %0, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @get_int(ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%5 = icmp ne i32 %4, 0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @EINVAL, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %27
12: ; preds = %1
%13 = call i32 @nfsd_create_serv() #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load ptr, ptr @nfsd_serv, align 8, !tbaa !6
%17 = load i32, ptr %3, align 4, !tbaa !10
%18 = load i32, ptr @SIMPLE_TRANSACTION_LIMIT, align 4, !tbaa !10
%19 = call i32 @svc_addsock(ptr noundef %16, i32 noundef %17, ptr noundef %0, i32 noundef %18) #3
%20 = icmp slt i32 %19, 0
%21 = load ptr, ptr @nfsd_serv, align 8, !tbaa !6
br i1 %20, label %22, label %24
22: ; preds = %15
%23 = call i32 @svc_destroy(ptr noundef %21) #3
br label %27
24: ; preds = %15
%25 = load i32, ptr %21, align 4, !tbaa !12
%26 = add nsw i32 %25, -1
store i32 %26, ptr %21, align 4, !tbaa !12
br label %27
27: ; preds = %12, %24, %22, %9
%28 = phi i32 [ %11, %9 ], [ %19, %22 ], [ %19, %24 ], [ %13, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_int(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfsd_create_serv(...) local_unnamed_addr #2
declare i32 @svc_addsock(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svc_destroy(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
| fastsocket_kernel_fs_nfsd_extr_nfsctl.c___write_ports_addfd |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_cq.c_c4iw_flush_hw_cq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_cq.c_c4iw_flush_hw_cq.c"
target datalayout = "e-m:e-p270:32:32-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.t4_cqe = type { i32 }
%struct.TYPE_12__ = type { i64, ptr, i32 }
%struct.c4iw_cq = type { %struct.TYPE_12__, i32 }
%struct.c4iw_qp = type { i32, %struct.TYPE_13__ }
%struct.TYPE_13__ = type { i32, %struct.TYPE_11__ }
%struct.TYPE_11__ = type { ptr, ptr }
%struct.t4_swsqe = type { i32, %struct.t4_cqe }
@.str = private unnamed_addr constant [11 x i8] c"cqid 0x%x\0A\00", align 1
@FW_RI_TERMINATE = dso_local local_unnamed_addr global i64 0, align 8
@FW_RI_READ_RESP = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @c4iw_flush_hw_cq(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.t4_cqe, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%6 = load i32, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %6) #3
%8 = call i32 @t4_next_hw_cqe(ptr noundef %0, ptr noundef nonnull %3) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %90
10: ; preds = %2
%11 = getelementptr inbounds %struct.c4iw_cq, ptr %0, i64 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
br label %13
13: ; preds = %10, %88
%14 = load i32, ptr %11, align 8, !tbaa !13
%15 = load ptr, ptr %3, align 8, !tbaa !14
%16 = call i32 @CQE_QPID(ptr noundef %15) #3
%17 = call ptr @get_qhp(i32 noundef %14, i32 noundef %16) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %81, label %19
19: ; preds = %13
%20 = icmp eq ptr %17, %1
br i1 %20, label %26, label %21
21: ; preds = %19
%22 = call i32 @spin_lock(ptr noundef nonnull %17) #3
%23 = getelementptr inbounds %struct.c4iw_qp, ptr %17, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !15
%25 = icmp eq i32 %24, 1
br i1 %25, label %81, label %26
26: ; preds = %21, %19
%27 = load ptr, ptr %3, align 8, !tbaa !14
%28 = call i64 @CQE_OPCODE(ptr noundef %27) #3
%29 = load i64, ptr @FW_RI_TERMINATE, align 8, !tbaa !19
%30 = icmp eq i64 %28, %29
br i1 %30, label %81, label %31
31: ; preds = %26
%32 = load ptr, ptr %3, align 8, !tbaa !14
%33 = call i64 @CQE_OPCODE(ptr noundef %32) #3
%34 = load i64, ptr @FW_RI_READ_RESP, align 8, !tbaa !19
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %56
36: ; preds = %31
%37 = load ptr, ptr %3, align 8, !tbaa !14
%38 = call i32 @CQE_TYPE(ptr noundef %37) #3
%39 = icmp eq i32 %38, 1
br i1 %39, label %81, label %40
40: ; preds = %36
%41 = load ptr, ptr %3, align 8, !tbaa !14
%42 = call i32 @CQE_WRID_STAG(ptr noundef %41) #3
%43 = icmp eq i32 %42, 1
br i1 %43, label %81, label %44
44: ; preds = %40
%45 = getelementptr inbounds %struct.c4iw_qp, ptr %17, i64 0, i32 1
%46 = getelementptr inbounds %struct.c4iw_qp, ptr %17, i64 0, i32 1, i32 1, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !20
%48 = load i32, ptr %47, align 4, !tbaa !21
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %44
%51 = call i32 @advance_oldest_read(ptr noundef nonnull %45) #3
br label %81
52: ; preds = %44
%53 = load ptr, ptr %3, align 8, !tbaa !14
%54 = call i32 @create_read_req_cqe(ptr noundef nonnull %45, ptr noundef %53, ptr noundef nonnull %4) #3
store ptr %4, ptr %3, align 8, !tbaa !14
%55 = call i32 @advance_oldest_read(ptr noundef nonnull %45) #3
br label %56
56: ; preds = %52, %31
%57 = load ptr, ptr %3, align 8, !tbaa !14
%58 = call i64 @SQ_TYPE(ptr noundef %57) #3
%59 = icmp eq i64 %58, 0
%60 = load ptr, ptr %3, align 8, !tbaa !14
br i1 %59, label %71, label %61
61: ; preds = %56
%62 = getelementptr inbounds %struct.c4iw_qp, ptr %17, i64 0, i32 1
%63 = getelementptr inbounds %struct.c4iw_qp, ptr %17, i64 0, i32 1, i32 1
%64 = load ptr, ptr %63, align 8, !tbaa !23
%65 = call i64 @CQE_WRID_SQ_IDX(ptr noundef %60) #3
%66 = getelementptr inbounds %struct.t4_swsqe, ptr %64, i64 %65
%67 = getelementptr inbounds %struct.t4_swsqe, ptr %64, i64 %65, i32 1
%68 = load ptr, ptr %3, align 8, !tbaa !14
%69 = load i32, ptr %68, align 4, !tbaa !24
store i32 %69, ptr %67, align 4, !tbaa !24
store i32 1, ptr %66, align 4, !tbaa !25
%70 = call i32 @flush_completed_wrs(ptr noundef nonnull %62, ptr noundef nonnull %0) #3
br label %81
71: ; preds = %56
%72 = load ptr, ptr %12, align 8, !tbaa !28
%73 = load i64, ptr %0, align 8, !tbaa !29
%74 = getelementptr inbounds %struct.t4_cqe, ptr %72, i64 %73
%75 = load i32, ptr %60, align 4, !tbaa !24
store i32 %75, ptr %74, align 4, !tbaa !24
%76 = call i32 @CQE_SWCQE_V(i32 noundef 1) #3
%77 = call i32 @cpu_to_be32(i32 noundef %76) #3
%78 = load i32, ptr %74, align 4, !tbaa !30
%79 = or i32 %78, %77
store i32 %79, ptr %74, align 4, !tbaa !30
%80 = call i32 @t4_swcq_produce(ptr noundef nonnull %0) #3
br label %81
81: ; preds = %61, %71, %40, %36, %26, %21, %13, %50
%82 = call i32 @t4_hwcq_consume(ptr noundef nonnull %0) #3
%83 = call i32 @t4_next_hw_cqe(ptr noundef nonnull %0, ptr noundef nonnull %3) #3
%84 = icmp eq ptr %17, %1
%85 = or i1 %18, %84
br i1 %85, label %88, label %86
86: ; preds = %81
%87 = call i32 @spin_unlock(ptr noundef nonnull %17) #3
br label %88
88: ; preds = %86, %81
%89 = icmp eq i32 %83, 0
br i1 %89, label %13, label %90, !llvm.loop !31
90: ; preds = %88, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @t4_next_hw_cqe(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_qhp(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CQE_QPID(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i64 @CQE_OPCODE(ptr noundef) local_unnamed_addr #2
declare i32 @CQE_TYPE(ptr noundef) local_unnamed_addr #2
declare i32 @CQE_WRID_STAG(ptr noundef) local_unnamed_addr #2
declare i32 @advance_oldest_read(ptr noundef) local_unnamed_addr #2
declare i32 @create_read_req_cqe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SQ_TYPE(ptr noundef) local_unnamed_addr #2
declare i64 @CQE_WRID_SQ_IDX(ptr noundef) local_unnamed_addr #2
declare i32 @flush_completed_wrs(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2
declare i32 @CQE_SWCQE_V(i32 noundef) local_unnamed_addr #2
declare i32 @t4_swcq_produce(ptr noundef) local_unnamed_addr #2
declare i32 @t4_hwcq_consume(ptr noundef) local_unnamed_addr #2
declare i32 @spin_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, !12, i64 16}
!6 = !{!"c4iw_cq", !7, i64 0, !12, i64 24}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!6, !12, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"c4iw_qp", !12, i64 0, !17, i64 8}
!17 = !{!"TYPE_13__", !12, i64 0, !18, i64 8}
!18 = !{!"TYPE_11__", !11, i64 0, !11, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!16, !11, i64 24}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_10__", !12, i64 0}
!23 = !{!16, !11, i64 16}
!24 = !{!12, !12, i64 0}
!25 = !{!26, !12, i64 0}
!26 = !{!"t4_swsqe", !12, i64 0, !27, i64 4}
!27 = !{!"t4_cqe", !12, i64 0}
!28 = !{!6, !11, i64 8}
!29 = !{!6, !8, i64 0}
!30 = !{!27, !12, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_cq.c_c4iw_flush_hw_cq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_cq.c_c4iw_flush_hw_cq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.t4_cqe = type { i32 }
%struct.t4_swsqe = type { i32, %struct.t4_cqe }
@.str = private unnamed_addr constant [11 x i8] c"cqid 0x%x\0A\00", align 1
@FW_RI_TERMINATE = common local_unnamed_addr global i64 0, align 8
@FW_RI_READ_RESP = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @c4iw_flush_hw_cq(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.t4_cqe, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load i32, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %6) #3
%8 = call i32 @t4_next_hw_cqe(ptr noundef %0, ptr noundef nonnull %3) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %90
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = getelementptr inbounds i8, ptr %0, i64 8
br label %13
13: ; preds = %10, %88
%14 = load i32, ptr %11, align 8, !tbaa !14
%15 = load ptr, ptr %3, align 8, !tbaa !15
%16 = call i32 @CQE_QPID(ptr noundef %15) #3
%17 = call ptr @get_qhp(i32 noundef %14, i32 noundef %16) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %81, label %19
19: ; preds = %13
%20 = icmp eq ptr %17, %1
br i1 %20, label %26, label %21
21: ; preds = %19
%22 = call i32 @spin_lock(ptr noundef nonnull %17) #3
%23 = getelementptr inbounds i8, ptr %17, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !16
%25 = icmp eq i32 %24, 1
br i1 %25, label %81, label %26
26: ; preds = %21, %19
%27 = load ptr, ptr %3, align 8, !tbaa !15
%28 = call i64 @CQE_OPCODE(ptr noundef %27) #3
%29 = load i64, ptr @FW_RI_TERMINATE, align 8, !tbaa !20
%30 = icmp eq i64 %28, %29
br i1 %30, label %81, label %31
31: ; preds = %26
%32 = load ptr, ptr %3, align 8, !tbaa !15
%33 = call i64 @CQE_OPCODE(ptr noundef %32) #3
%34 = load i64, ptr @FW_RI_READ_RESP, align 8, !tbaa !20
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %56
36: ; preds = %31
%37 = load ptr, ptr %3, align 8, !tbaa !15
%38 = call i32 @CQE_TYPE(ptr noundef %37) #3
%39 = icmp eq i32 %38, 1
br i1 %39, label %81, label %40
40: ; preds = %36
%41 = load ptr, ptr %3, align 8, !tbaa !15
%42 = call i32 @CQE_WRID_STAG(ptr noundef %41) #3
%43 = icmp eq i32 %42, 1
br i1 %43, label %81, label %44
44: ; preds = %40
%45 = getelementptr inbounds i8, ptr %17, i64 8
%46 = getelementptr inbounds i8, ptr %17, i64 24
%47 = load ptr, ptr %46, align 8, !tbaa !21
%48 = load i32, ptr %47, align 4, !tbaa !22
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %44
%51 = call i32 @advance_oldest_read(ptr noundef nonnull %45) #3
br label %81
52: ; preds = %44
%53 = load ptr, ptr %3, align 8, !tbaa !15
%54 = call i32 @create_read_req_cqe(ptr noundef nonnull %45, ptr noundef %53, ptr noundef nonnull %4) #3
store ptr %4, ptr %3, align 8, !tbaa !15
%55 = call i32 @advance_oldest_read(ptr noundef nonnull %45) #3
br label %56
56: ; preds = %52, %31
%57 = load ptr, ptr %3, align 8, !tbaa !15
%58 = call i64 @SQ_TYPE(ptr noundef %57) #3
%59 = icmp eq i64 %58, 0
%60 = load ptr, ptr %3, align 8, !tbaa !15
br i1 %59, label %71, label %61
61: ; preds = %56
%62 = getelementptr inbounds i8, ptr %17, i64 8
%63 = getelementptr inbounds i8, ptr %17, i64 16
%64 = load ptr, ptr %63, align 8, !tbaa !24
%65 = call i64 @CQE_WRID_SQ_IDX(ptr noundef %60) #3
%66 = getelementptr inbounds %struct.t4_swsqe, ptr %64, i64 %65
%67 = getelementptr inbounds i8, ptr %66, i64 4
%68 = load ptr, ptr %3, align 8, !tbaa !15
%69 = load i32, ptr %68, align 4, !tbaa !25
store i32 %69, ptr %67, align 4, !tbaa !25
store i32 1, ptr %66, align 4, !tbaa !26
%70 = call i32 @flush_completed_wrs(ptr noundef nonnull %62, ptr noundef nonnull %0) #3
br label %81
71: ; preds = %56
%72 = load ptr, ptr %12, align 8, !tbaa !29
%73 = load i64, ptr %0, align 8, !tbaa !30
%74 = getelementptr inbounds %struct.t4_cqe, ptr %72, i64 %73
%75 = load i32, ptr %60, align 4, !tbaa !25
store i32 %75, ptr %74, align 4, !tbaa !25
%76 = call i32 @CQE_SWCQE_V(i32 noundef 1) #3
%77 = call i32 @cpu_to_be32(i32 noundef %76) #3
%78 = load i32, ptr %74, align 4, !tbaa !31
%79 = or i32 %78, %77
store i32 %79, ptr %74, align 4, !tbaa !31
%80 = call i32 @t4_swcq_produce(ptr noundef nonnull %0) #3
br label %81
81: ; preds = %61, %71, %40, %36, %26, %21, %13, %50
%82 = call i32 @t4_hwcq_consume(ptr noundef nonnull %0) #3
%83 = call i32 @t4_next_hw_cqe(ptr noundef nonnull %0, ptr noundef nonnull %3) #3
%84 = icmp eq ptr %17, %1
%85 = or i1 %18, %84
br i1 %85, label %88, label %86
86: ; preds = %81
%87 = call i32 @spin_unlock(ptr noundef nonnull %17) #3
br label %88
88: ; preds = %86, %81
%89 = icmp eq i32 %83, 0
br i1 %89, label %13, label %90, !llvm.loop !32
90: ; preds = %88, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @t4_next_hw_cqe(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_qhp(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CQE_QPID(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i64 @CQE_OPCODE(ptr noundef) local_unnamed_addr #2
declare i32 @CQE_TYPE(ptr noundef) local_unnamed_addr #2
declare i32 @CQE_WRID_STAG(ptr noundef) local_unnamed_addr #2
declare i32 @advance_oldest_read(ptr noundef) local_unnamed_addr #2
declare i32 @create_read_req_cqe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SQ_TYPE(ptr noundef) local_unnamed_addr #2
declare i64 @CQE_WRID_SQ_IDX(ptr noundef) local_unnamed_addr #2
declare i32 @flush_completed_wrs(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2
declare i32 @CQE_SWCQE_V(i32 noundef) local_unnamed_addr #2
declare i32 @t4_swcq_produce(ptr noundef) local_unnamed_addr #2
declare i32 @t4_hwcq_consume(ptr noundef) local_unnamed_addr #2
declare i32 @spin_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, !13, i64 16}
!7 = !{!"c4iw_cq", !8, i64 0, !13, i64 24}
!8 = !{!"TYPE_12__", !9, i64 0, !12, i64 8, !13, i64 16}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!7, !13, i64 24}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !13, i64 8}
!17 = !{!"c4iw_qp", !13, i64 0, !18, i64 8}
!18 = !{!"TYPE_13__", !13, i64 0, !19, i64 8}
!19 = !{!"TYPE_11__", !12, i64 0, !12, i64 8}
!20 = !{!9, !9, i64 0}
!21 = !{!17, !12, i64 24}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_10__", !13, i64 0}
!24 = !{!17, !12, i64 16}
!25 = !{!13, !13, i64 0}
!26 = !{!27, !13, i64 0}
!27 = !{!"t4_swsqe", !13, i64 0, !28, i64 4}
!28 = !{!"t4_cqe", !13, i64 0}
!29 = !{!7, !12, i64 8}
!30 = !{!7, !9, i64 0}
!31 = !{!28, !13, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
| linux_drivers_infiniband_hw_cxgb4_extr_cq.c_c4iw_flush_hw_cq |
; ModuleID = 'AnghaBench/reactos/dll/win32/vbscript/extr_compile.c_check_script_collisions.c'
source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_compile.c_check_script_collisions.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, ptr, ptr }
%struct.TYPE_7__ = type { i32, ptr }
%struct.TYPE_6__ = type { i32, ptr }
%struct.TYPE_9__ = type { i32, ptr }
@.str = private unnamed_addr constant [15 x i8] c"%s: redefined\0A\00", align 1
@E_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_script_collisions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_script_collisions(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %4, %2 ]
%8 = load i32, ptr %7, align 8, !tbaa !9
%9 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %40
11: ; preds = %6
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %7, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %6, !llvm.loop !12
15: ; preds = %11, %2
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !5
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %27, %15
%20 = load ptr, ptr %0, align 8, !tbaa !5
%21 = icmp eq ptr %20, null
br i1 %21, label %45, label %31
22: ; preds = %15, %27
%23 = phi ptr [ %29, %27 ], [ %17, %15 ]
%24 = load i32, ptr %23, align 8, !tbaa !14
%25 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %22
%28 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !5
%30 = icmp eq ptr %29, null
br i1 %30, label %19, label %22, !llvm.loop !16
31: ; preds = %19, %36
%32 = phi ptr [ %38, %36 ], [ %20, %19 ]
%33 = load i32, ptr %32, align 8, !tbaa !17
%34 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = getelementptr inbounds %struct.TYPE_9__, ptr %32, i64 0, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !5
%39 = icmp eq ptr %38, null
br i1 %39, label %45, label %31, !llvm.loop !19
40: ; preds = %6, %22, %31
%41 = phi ptr [ %32, %31 ], [ %23, %22 ], [ %7, %6 ]
%42 = load i32, ptr %41, align 8, !tbaa !20
%43 = tail call i32 @debugstr_w(i32 noundef %42) #2
%44 = tail call i32 @FIXME(ptr noundef nonnull @.str, i32 noundef %43) #2
br label %45
45: ; preds = %36, %40, %19
%46 = phi ptr [ @S_OK, %19 ], [ @E_FAIL, %40 ], [ @S_OK, %36 ]
%47 = load i32, ptr %46, align 4, !tbaa !20
ret i32 %47
}
declare i64 @lookup_script_identifier(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_7__", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_6__", !11, i64 0, !6, i64 8}
!16 = distinct !{!16, !13}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_9__", !11, i64 0, !6, i64 8}
!19 = distinct !{!19, !13}
!20 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/vbscript/extr_compile.c_check_script_collisions.c'
source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_compile.c_check_script_collisions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [15 x i8] c"%s: redefined\0A\00", align 1
@E_FAIL = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_script_collisions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @check_script_collisions(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %4, %2 ]
%8 = load i32, ptr %7, align 8, !tbaa !10
%9 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %37
11: ; preds = %6
%12 = getelementptr inbounds i8, ptr %7, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %6, !llvm.loop !13
15: ; preds = %11, %2
br label %16
16: ; preds = %15, %24
%17 = phi ptr [ %19, %24 ], [ %0, %15 ]
%18 = getelementptr inbounds i8, ptr %17, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !6
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load ptr, ptr %0, align 8, !tbaa !6
%23 = icmp eq ptr %22, null
br i1 %23, label %42, label %28
24: ; preds = %16
%25 = load i32, ptr %19, align 8, !tbaa !15
%26 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %16, label %37, !llvm.loop !17
28: ; preds = %21, %33
%29 = phi ptr [ %35, %33 ], [ %22, %21 ]
%30 = load i32, ptr %29, align 8, !tbaa !18
%31 = tail call i64 @lookup_script_identifier(ptr noundef %1, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = getelementptr inbounds i8, ptr %29, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !6
%36 = icmp eq ptr %35, null
br i1 %36, label %42, label %28, !llvm.loop !20
37: ; preds = %6, %24, %28
%38 = phi ptr [ %29, %28 ], [ %19, %24 ], [ %7, %6 ]
%39 = load i32, ptr %38, align 8, !tbaa !21
%40 = tail call i32 @debugstr_w(i32 noundef %39) #2
%41 = tail call i32 @FIXME(ptr noundef nonnull @.str, i32 noundef %40) #2
br label %42
42: ; preds = %33, %37, %21
%43 = phi ptr [ @S_OK, %21 ], [ @E_FAIL, %37 ], [ @S_OK, %33 ]
%44 = load i32, ptr %43, align 4, !tbaa !21
ret i32 %44
}
declare i64 @lookup_script_identifier(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_6__", !12, i64 0, !7, i64 8}
!17 = distinct !{!17, !14}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_9__", !12, i64 0, !7, i64 8}
!20 = distinct !{!20, !14}
!21 = !{!12, !12, i64 0}
| reactos_dll_win32_vbscript_extr_compile.c_check_script_collisions |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_ucb1400_core.c_ucb1400_core_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_ucb1400_core.c_ucb1400_core_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ucb1400_ts = type { i64, ptr }
%struct.ucb1400_gpio = type { i64, ptr }
%struct.ucb1400 = type { ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@UCB_ID = dso_local local_unnamed_addr global i32 0, align 4
@UCB_ID_1400 = dso_local local_unnamed_addr global i64 0, align 8
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"ucb1400_gpio\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ucb1400_ts\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ucb1400_core_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ucb1400_core_probe(ptr noundef %0) #0 {
%2 = alloca %struct.ucb1400_ts, align 8
%3 = alloca %struct.ucb1400_gpio, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
%5 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%7 = call ptr @kzalloc(i32 noundef 16, i32 noundef %6) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %66
12: ; preds = %1
%13 = call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef nonnull %7) #3
%14 = call ptr @to_ac97_t(ptr noundef %0) #3
%15 = load i32, ptr @UCB_ID, align 4, !tbaa !5
%16 = call i64 @ucb1400_reg_read(ptr noundef %14, i32 noundef %15) #3
store i64 %16, ptr %2, align 8, !tbaa !9
%17 = load i64, ptr @UCB_ID_1400, align 8, !tbaa !13
%18 = icmp eq i64 %16, %17
br i1 %18, label %22, label %19
19: ; preds = %12
%20 = load i32, ptr @ENODEV, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %63
22: ; preds = %12
%23 = getelementptr inbounds %struct.ucb1400_gpio, ptr %3, i64 0, i32 1
store ptr %14, ptr %23, align 8, !tbaa !14
%24 = call ptr @platform_device_alloc(ptr noundef nonnull @.str, i32 noundef -1) #3
store ptr %24, ptr %7, align 8, !tbaa !16
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
br label %63
29: ; preds = %22
%30 = call i32 @platform_device_add_data(ptr noundef nonnull %24, ptr noundef nonnull %3, i32 noundef 16) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %59
32: ; preds = %29
%33 = load ptr, ptr %7, align 8, !tbaa !16
%34 = call i32 @platform_device_add(ptr noundef %33) #3
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %59
36: ; preds = %32
%37 = getelementptr inbounds %struct.ucb1400_ts, ptr %2, i64 0, i32 1
store ptr %14, ptr %37, align 8, !tbaa !18
%38 = call ptr @platform_device_alloc(ptr noundef nonnull @.str.1, i32 noundef -1) #3
%39 = getelementptr inbounds %struct.ucb1400, ptr %7, i64 0, i32 1
store ptr %38, ptr %39, align 8, !tbaa !19
%40 = icmp eq ptr %38, null
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%43 = sub nsw i32 0, %42
br label %55
44: ; preds = %36
%45 = call i32 @platform_device_add_data(ptr noundef nonnull %38, ptr noundef nonnull %2, i32 noundef 16) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load ptr, ptr %39, align 8, !tbaa !19
%49 = call i32 @platform_device_add(ptr noundef %48) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %66, label %51
51: ; preds = %47, %44
%52 = phi i32 [ %45, %44 ], [ %49, %47 ]
%53 = load ptr, ptr %39, align 8, !tbaa !19
%54 = call i32 @platform_device_put(ptr noundef %53) #3
br label %55
55: ; preds = %51, %41
%56 = phi i32 [ %52, %51 ], [ %43, %41 ]
%57 = load ptr, ptr %7, align 8, !tbaa !16
%58 = call i32 @platform_device_unregister(ptr noundef %57) #3
br label %59
59: ; preds = %32, %29, %55
%60 = phi i32 [ %30, %29 ], [ %34, %32 ], [ %56, %55 ]
%61 = load ptr, ptr %7, align 8, !tbaa !16
%62 = call i32 @platform_device_put(ptr noundef %61) #3
br label %63
63: ; preds = %59, %26, %19
%64 = phi i32 [ %21, %19 ], [ %60, %59 ], [ %28, %26 ]
%65 = call i32 @kfree(ptr noundef nonnull %7) #3
br label %66
66: ; preds = %9, %63, %47
%67 = phi i32 [ 0, %47 ], [ %64, %63 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @to_ac97_t(ptr noundef) local_unnamed_addr #2
declare i64 @ucb1400_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_unregister(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 = !{!"ucb1400_ts", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"ucb1400_gpio", !11, i64 0, !12, i64 8}
!16 = !{!17, !12, i64 0}
!17 = !{!"ucb1400", !12, i64 0, !12, i64 8}
!18 = !{!10, !12, i64 8}
!19 = !{!17, !12, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_ucb1400_core.c_ucb1400_core_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_ucb1400_core.c_ucb1400_core_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ucb1400_ts = type { i64, ptr }
%struct.ucb1400_gpio = type { i64, ptr }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@UCB_ID = common local_unnamed_addr global i32 0, align 4
@UCB_ID_1400 = common local_unnamed_addr global i64 0, align 8
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"ucb1400_gpio\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ucb1400_ts\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ucb1400_core_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ucb1400_core_probe(ptr noundef %0) #0 {
%2 = alloca %struct.ucb1400_ts, align 8
%3 = alloca %struct.ucb1400_gpio, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
%5 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%7 = call ptr @kzalloc(i32 noundef 16, i32 noundef %6) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %66
12: ; preds = %1
%13 = call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef nonnull %7) #3
%14 = call ptr @to_ac97_t(ptr noundef %0) #3
%15 = load i32, ptr @UCB_ID, align 4, !tbaa !6
%16 = call i64 @ucb1400_reg_read(ptr noundef %14, i32 noundef %15) #3
store i64 %16, ptr %2, align 8, !tbaa !10
%17 = load i64, ptr @UCB_ID_1400, align 8, !tbaa !14
%18 = icmp eq i64 %16, %17
br i1 %18, label %22, label %19
19: ; preds = %12
%20 = load i32, ptr @ENODEV, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %63
22: ; preds = %12
%23 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %14, ptr %23, align 8, !tbaa !15
%24 = call ptr @platform_device_alloc(ptr noundef nonnull @.str, i32 noundef -1) #3
store ptr %24, ptr %7, align 8, !tbaa !17
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
br label %63
29: ; preds = %22
%30 = call i32 @platform_device_add_data(ptr noundef nonnull %24, ptr noundef nonnull %3, i32 noundef 16) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %59
32: ; preds = %29
%33 = load ptr, ptr %7, align 8, !tbaa !17
%34 = call i32 @platform_device_add(ptr noundef %33) #3
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %59
36: ; preds = %32
%37 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %14, ptr %37, align 8, !tbaa !19
%38 = call ptr @platform_device_alloc(ptr noundef nonnull @.str.1, i32 noundef -1) #3
%39 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %38, ptr %39, align 8, !tbaa !20
%40 = icmp eq ptr %38, null
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%43 = sub nsw i32 0, %42
br label %55
44: ; preds = %36
%45 = call i32 @platform_device_add_data(ptr noundef nonnull %38, ptr noundef nonnull %2, i32 noundef 16) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load ptr, ptr %39, align 8, !tbaa !20
%49 = call i32 @platform_device_add(ptr noundef %48) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %66, label %51
51: ; preds = %47, %44
%52 = phi i32 [ %45, %44 ], [ %49, %47 ]
%53 = load ptr, ptr %39, align 8, !tbaa !20
%54 = call i32 @platform_device_put(ptr noundef %53) #3
br label %55
55: ; preds = %51, %41
%56 = phi i32 [ %52, %51 ], [ %43, %41 ]
%57 = load ptr, ptr %7, align 8, !tbaa !17
%58 = call i32 @platform_device_unregister(ptr noundef %57) #3
br label %59
59: ; preds = %32, %29, %55
%60 = phi i32 [ %30, %29 ], [ %34, %32 ], [ %56, %55 ]
%61 = load ptr, ptr %7, align 8, !tbaa !17
%62 = call i32 @platform_device_put(ptr noundef %61) #3
br label %63
63: ; preds = %59, %26, %19
%64 = phi i32 [ %21, %19 ], [ %60, %59 ], [ %28, %26 ]
%65 = call i32 @kfree(ptr noundef nonnull %7) #3
br label %66
66: ; preds = %9, %63, %47
%67 = phi i32 [ 0, %47 ], [ %64, %63 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @to_ac97_t(ptr noundef) local_unnamed_addr #2
declare i64 @ucb1400_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_unregister(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 = !{!"ucb1400_ts", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !13, i64 8}
!16 = !{!"ucb1400_gpio", !12, i64 0, !13, i64 8}
!17 = !{!18, !13, i64 0}
!18 = !{!"ucb1400", !13, i64 0, !13, i64 8}
!19 = !{!11, !13, i64 8}
!20 = !{!18, !13, i64 8}
| fastsocket_kernel_drivers_mfd_extr_ucb1400_core.c_ucb1400_core_probe |
; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v07.c_ZSTDv07_estimateDCtxSize.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v07.c_ZSTDv07_estimateDCtxSize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i64 @ZSTDv07_estimateDCtxSize() local_unnamed_addr #0 {
ret i64 4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v07.c_ZSTDv07_estimateDCtxSize.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v07.c_ZSTDv07_estimateDCtxSize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i64 @ZSTDv07_estimateDCtxSize() local_unnamed_addr #0 {
ret i64 4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| zstd_lib_legacy_extr_zstd_v07.c_ZSTDv07_estimateDCtxSize |
; ModuleID = 'AnghaBench/freebsd/sys/dev/tsec/extr_if_tsec.c_tsec_tick.c'
source_filename = "AnghaBench/freebsd/sys/dev/tsec/extr_if_tsec.c_tsec_tick.c"
target datalayout = "e-m:e-p270:32:32-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.tsec_softc = type { i32, i32, i32, ptr }
@hz = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tsec_tick], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tsec_tick(ptr noundef %0) #0 {
%2 = tail call i32 @TSEC_GLOBAL_LOCK(ptr noundef %0) #2
%3 = tail call i32 @tsec_watchdog(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.tsec_softc, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %0, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.tsec_softc, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = tail call i32 @mii_tick(i32 noundef %8) #2
%10 = icmp eq i32 %6, 0
br i1 %10, label %11, label %19
11: ; preds = %1
%12 = load i32, ptr %0, align 8, !tbaa !11
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = tail call i32 @IFQ_DRV_IS_EMPTY(ptr noundef %5) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = tail call i32 @tsec_start_locked(ptr noundef %5) #2
br label %19
19: ; preds = %17, %14, %11, %1
%20 = getelementptr inbounds %struct.tsec_softc, ptr %0, i64 0, i32 1
%21 = load i32, ptr @hz, align 4, !tbaa !13
%22 = tail call i32 @callout_reset(ptr noundef nonnull %20, i32 noundef %21, ptr noundef nonnull @tsec_tick, ptr noundef nonnull %0) #2
%23 = tail call i32 @TSEC_GLOBAL_UNLOCK(ptr noundef nonnull %0) #2
ret void
}
declare i32 @TSEC_GLOBAL_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @tsec_watchdog(ptr noundef) local_unnamed_addr #1
declare i32 @mii_tick(i32 noundef) local_unnamed_addr #1
declare i32 @IFQ_DRV_IS_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @tsec_start_locked(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TSEC_GLOBAL_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"tsec_softc", !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 0}
!12 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/tsec/extr_if_tsec.c_tsec_tick.c'
source_filename = "AnghaBench/freebsd/sys/dev/tsec/extr_if_tsec.c_tsec_tick.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hz = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tsec_tick], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tsec_tick(ptr noundef %0) #0 {
%2 = tail call i32 @TSEC_GLOBAL_LOCK(ptr noundef %0) #2
%3 = tail call i32 @tsec_watchdog(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = tail call i32 @mii_tick(i32 noundef %8) #2
%10 = icmp eq i32 %6, 0
br i1 %10, label %11, label %19
11: ; preds = %1
%12 = load i32, ptr %0, align 8, !tbaa !12
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = tail call i32 @IFQ_DRV_IS_EMPTY(ptr noundef %5) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = tail call i32 @tsec_start_locked(ptr noundef %5) #2
br label %19
19: ; preds = %17, %14, %11, %1
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = load i32, ptr @hz, align 4, !tbaa !14
%22 = tail call i32 @callout_reset(ptr noundef nonnull %20, i32 noundef %21, ptr noundef nonnull @tsec_tick, ptr noundef nonnull %0) #2
%23 = tail call i32 @TSEC_GLOBAL_UNLOCK(ptr noundef nonnull %0) #2
ret void
}
declare i32 @TSEC_GLOBAL_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @tsec_watchdog(ptr noundef) local_unnamed_addr #1
declare i32 @mii_tick(i32 noundef) local_unnamed_addr #1
declare i32 @IFQ_DRV_IS_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @tsec_start_locked(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TSEC_GLOBAL_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"tsec_softc", !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 0}
!13 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
| freebsd_sys_dev_tsec_extr_if_tsec.c_tsec_tick |
; ModuleID = 'AnghaBench/linux/tools/perf/ui/stdio/extr_....utilevsel.h_perf_evsel__is_group_event.c'
source_filename = "AnghaBench/linux/tools/perf/ui/stdio/extr_....utilevsel.h_perf_evsel__is_group_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
@symbol_conf = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_evsel__is_group_event], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @perf_evsel__is_group_event(ptr noundef %0) #0 {
%2 = load i32, ptr @symbol_conf, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @perf_evsel__is_group_leader(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = icmp sgt i32 %8, 1
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %4, %7, %1
%12 = phi i32 [ 0, %1 ], [ 0, %4 ], [ %10, %7 ]
ret i32 %12
}
declare i64 @perf_evsel__is_group_leader(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !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 = !{!"evsel", !12, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/perf/ui/stdio/extr_....utilevsel.h_perf_evsel__is_group_event.c'
source_filename = "AnghaBench/linux/tools/perf/ui/stdio/extr_....utilevsel.h_perf_evsel__is_group_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@symbol_conf = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @perf_evsel__is_group_event], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @perf_evsel__is_group_event(ptr noundef %0) #0 {
%2 = load i32, ptr @symbol_conf, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @perf_evsel__is_group_leader(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !11
%9 = icmp sgt i32 %8, 1
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %4, %7, %1
%12 = phi i32 [ 0, %1 ], [ 0, %4 ], [ %10, %7 ]
ret i32 %12
}
declare i64 @perf_evsel__is_group_leader(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"evsel", !13, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
| linux_tools_perf_ui_stdio_extr_....utilevsel.h_perf_evsel__is_group_event |
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb10_do_transfer_cb.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb10_do_transfer_cb.c"
target datalayout = "e-m:e-p270:32:32-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.libusb_transfer = type { ptr, i32 }
@LIBUSB_DEBUG_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"sync I/O done\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @libusb10_do_transfer_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @libusb10_do_transfer_cb(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.libusb_transfer, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call ptr @libusb10_get_context_by_device_handle(i32 noundef %3) #2
%5 = load i32, ptr @LIBUSB_DEBUG_TRANSFER, align 4, !tbaa !11
%6 = tail call i32 @DPRINTF(ptr noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load ptr, ptr %0, align 8, !tbaa !12
store i32 1, ptr %7, align 4, !tbaa !11
ret void
}
declare ptr @libusb10_get_context_by_device_handle(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"libusb_transfer", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb10_do_transfer_cb.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb10_do_transfer_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LIBUSB_DEBUG_TRANSFER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"sync I/O done\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @libusb10_do_transfer_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @libusb10_do_transfer_cb(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call ptr @libusb10_get_context_by_device_handle(i32 noundef %3) #2
%5 = load i32, ptr @LIBUSB_DEBUG_TRANSFER, align 4, !tbaa !12
%6 = tail call i32 @DPRINTF(ptr noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load ptr, ptr %0, align 8, !tbaa !13
store i32 1, ptr %7, align 4, !tbaa !12
ret void
}
declare ptr @libusb10_get_context_by_device_handle(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"libusb_transfer", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
| freebsd_lib_libusb_extr_libusb10_io.c_libusb10_do_transfer_cb |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mediacodec_wrapper.c_ff_AMediaFormat_setString.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mediacodec_wrapper.c_ff_AMediaFormat_setString.c"
target datalayout = "e-m:e-p270:32:32-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 @ff_AMediaFormat_setString(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @av_assert0(i32 noundef %5) #2
%7 = tail call i32 @JNI_GET_ENV_OR_RETURN_VOID(ptr noundef null, ptr noundef %0) #2
%8 = tail call ptr @ff_jni_utf_chars_to_jstring(ptr noundef null, ptr noundef %1, ptr noundef %0) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call ptr @ff_jni_utf_chars_to_jstring(ptr noundef null, ptr noundef %2, ptr noundef %0) #2
unreachable
12: ; preds = %3
ret void
}
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1
declare i32 @JNI_GET_ENV_OR_RETURN_VOID(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ff_jni_utf_chars_to_jstring(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)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mediacodec_wrapper.c_ff_AMediaFormat_setString.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mediacodec_wrapper.c_ff_AMediaFormat_setString.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 @ff_AMediaFormat_setString(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @av_assert0(i32 noundef %5) #2
%7 = tail call i32 @JNI_GET_ENV_OR_RETURN_VOID(ptr noundef null, ptr noundef %0) #2
%8 = tail call ptr @ff_jni_utf_chars_to_jstring(ptr noundef null, ptr noundef %1, ptr noundef %0) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call ptr @ff_jni_utf_chars_to_jstring(ptr noundef null, ptr noundef %2, ptr noundef %0) #2
unreachable
12: ; preds = %3
ret void
}
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1
declare i32 @JNI_GET_ENV_OR_RETURN_VOID(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ff_jni_utf_chars_to_jstring(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)"}
| FFmpeg_libavcodec_extr_mediacodec_wrapper.c_ff_AMediaFormat_setString |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_run_job.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_run_job.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_sched_job = type { ptr, i32 }
%struct.lima_sched_pipe = type { i32, i32, i32, ptr, ptr, i64, ptr, ptr, ptr }
%struct.lima_sched_task = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @lima_sched_run_job], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @lima_sched_run_job(ptr noundef %0) #0 {
%2 = tail call ptr @to_lima_task(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.drm_sched_job, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @to_lima_pipe(i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !11
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = icmp slt i64 %7, 0
br i1 %8, label %73, label %9
9: ; preds = %1
%10 = tail call ptr @lima_fence_create(ptr noundef %5) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %73, label %12
12: ; preds = %9
store ptr %10, ptr %2, align 8, !tbaa !16
%13 = tail call ptr @dma_fence_get(ptr noundef nonnull %10) #2
%14 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 8
store ptr %2, ptr %14, align 8, !tbaa !18
%15 = load i32, ptr %5, align 8, !tbaa !20
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %29
17: ; preds = %12
%18 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 7
br label %19
19: ; preds = %17, %19
%20 = phi i64 [ 0, %17 ], [ %25, %19 ]
%21 = load ptr, ptr %18, align 8, !tbaa !21
%22 = getelementptr inbounds i32, ptr %21, i64 %20
%23 = load i32, ptr %22, align 4, !tbaa !22
%24 = tail call i32 @lima_l2_cache_flush(i32 noundef %23) #2
%25 = add nuw nsw i64 %20, 1
%26 = load i32, ptr %5, align 8, !tbaa !20
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %19, label %29, !llvm.loop !23
29: ; preds = %19, %12
%30 = getelementptr inbounds %struct.lima_sched_task, ptr %2, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !25
%32 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 6
%33 = load ptr, ptr %32, align 8, !tbaa !26
%34 = icmp eq ptr %31, %33
br i1 %34, label %39, label %35
35: ; preds = %29
%36 = tail call ptr @lima_vm_get(ptr noundef %31) #2
%37 = load ptr, ptr %32, align 8, !tbaa !26
%38 = load ptr, ptr %30, align 8, !tbaa !25
store ptr %38, ptr %32, align 8, !tbaa !26
br label %39
39: ; preds = %35, %29
%40 = phi ptr [ %36, %35 ], [ null, %29 ]
%41 = phi ptr [ %37, %35 ], [ null, %29 ]
%42 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 5
%43 = load i64, ptr %42, align 8, !tbaa !27
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 1
%47 = load i32, ptr %46, align 4, !tbaa !28
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %63
49: ; preds = %45
%50 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 4
br label %53
51: ; preds = %39
%52 = tail call i32 @lima_mmu_switch_vm(i64 noundef %43, ptr noundef %40) #2
br label %63
53: ; preds = %49, %53
%54 = phi i64 [ 0, %49 ], [ %59, %53 ]
%55 = load ptr, ptr %50, align 8, !tbaa !29
%56 = getelementptr inbounds i64, ptr %55, i64 %54
%57 = load i64, ptr %56, align 8, !tbaa !30
%58 = tail call i32 @lima_mmu_switch_vm(i64 noundef %57, ptr noundef %40) #2
%59 = add nuw nsw i64 %54, 1
%60 = load i32, ptr %46, align 4, !tbaa !28
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %59, %61
br i1 %62, label %53, label %63, !llvm.loop !31
63: ; preds = %53, %45, %51
%64 = icmp eq ptr %41, null
br i1 %64, label %67, label %65
65: ; preds = %63
%66 = tail call i32 @lima_vm_put(ptr noundef nonnull %41) #2
br label %67
67: ; preds = %65, %63
%68 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 2
store i32 0, ptr %68, align 8, !tbaa !32
%69 = getelementptr inbounds %struct.lima_sched_pipe, ptr %5, i64 0, i32 3
%70 = load ptr, ptr %69, align 8, !tbaa !33
%71 = tail call i32 %70(ptr noundef nonnull %5, ptr noundef nonnull %2) #2
%72 = load ptr, ptr %2, align 8, !tbaa !16
br label %73
73: ; preds = %9, %1, %67
%74 = phi ptr [ %72, %67 ], [ null, %1 ], [ null, %9 ]
ret ptr %74
}
declare ptr @to_lima_task(ptr noundef) local_unnamed_addr #1
declare ptr @to_lima_pipe(i32 noundef) local_unnamed_addr #1
declare ptr @lima_fence_create(ptr noundef) local_unnamed_addr #1
declare ptr @dma_fence_get(ptr noundef) local_unnamed_addr #1
declare i32 @lima_l2_cache_flush(i32 noundef) local_unnamed_addr #1
declare ptr @lima_vm_get(ptr noundef) local_unnamed_addr #1
declare i32 @lima_mmu_switch_vm(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lima_vm_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"drm_sched_job", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !15, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"lima_sched_task", !7, i64 0, !7, i64 8}
!18 = !{!19, !7, i64 56}
!19 = !{!"lima_sched_pipe", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 24, !15, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!20 = !{!19, !10, i64 0}
!21 = !{!19, !7, i64 48}
!22 = !{!10, !10, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!17, !7, i64 8}
!26 = !{!19, !7, i64 40}
!27 = !{!19, !15, i64 32}
!28 = !{!19, !10, i64 4}
!29 = !{!19, !7, i64 24}
!30 = !{!15, !15, i64 0}
!31 = distinct !{!31, !24}
!32 = !{!19, !10, i64 8}
!33 = !{!19, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_run_job.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_run_job.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 @lima_sched_run_job], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @lima_sched_run_job(ptr noundef %0) #0 {
%2 = tail call ptr @to_lima_task(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @to_lima_pipe(i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = icmp slt i64 %7, 0
br i1 %8, label %73, label %9
9: ; preds = %1
%10 = tail call ptr @lima_fence_create(ptr noundef %5) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %73, label %12
12: ; preds = %9
store ptr %10, ptr %2, align 8, !tbaa !17
%13 = tail call ptr @dma_fence_get(ptr noundef nonnull %10) #2
%14 = getelementptr inbounds i8, ptr %5, i64 56
store ptr %2, ptr %14, align 8, !tbaa !19
%15 = load i32, ptr %5, align 8, !tbaa !21
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %29
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %5, i64 48
br label %19
19: ; preds = %17, %19
%20 = phi i64 [ 0, %17 ], [ %25, %19 ]
%21 = load ptr, ptr %18, align 8, !tbaa !22
%22 = getelementptr inbounds i32, ptr %21, i64 %20
%23 = load i32, ptr %22, align 4, !tbaa !23
%24 = tail call i32 @lima_l2_cache_flush(i32 noundef %23) #2
%25 = add nuw nsw i64 %20, 1
%26 = load i32, ptr %5, align 8, !tbaa !21
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %19, label %29, !llvm.loop !24
29: ; preds = %19, %12
%30 = getelementptr inbounds i8, ptr %2, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !26
%32 = getelementptr inbounds i8, ptr %5, i64 40
%33 = load ptr, ptr %32, align 8, !tbaa !27
%34 = icmp eq ptr %31, %33
br i1 %34, label %39, label %35
35: ; preds = %29
%36 = tail call ptr @lima_vm_get(ptr noundef %31) #2
%37 = load ptr, ptr %32, align 8, !tbaa !27
%38 = load ptr, ptr %30, align 8, !tbaa !26
store ptr %38, ptr %32, align 8, !tbaa !27
br label %39
39: ; preds = %35, %29
%40 = phi ptr [ %36, %35 ], [ null, %29 ]
%41 = phi ptr [ %37, %35 ], [ null, %29 ]
%42 = getelementptr inbounds i8, ptr %5, i64 32
%43 = load i64, ptr %42, align 8, !tbaa !28
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = getelementptr inbounds i8, ptr %5, i64 4
%47 = load i32, ptr %46, align 4, !tbaa !29
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %63
49: ; preds = %45
%50 = getelementptr inbounds i8, ptr %5, i64 24
br label %53
51: ; preds = %39
%52 = tail call i32 @lima_mmu_switch_vm(i64 noundef %43, ptr noundef %40) #2
br label %63
53: ; preds = %49, %53
%54 = phi i64 [ 0, %49 ], [ %59, %53 ]
%55 = load ptr, ptr %50, align 8, !tbaa !30
%56 = getelementptr inbounds i64, ptr %55, i64 %54
%57 = load i64, ptr %56, align 8, !tbaa !31
%58 = tail call i32 @lima_mmu_switch_vm(i64 noundef %57, ptr noundef %40) #2
%59 = add nuw nsw i64 %54, 1
%60 = load i32, ptr %46, align 4, !tbaa !29
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %59, %61
br i1 %62, label %53, label %63, !llvm.loop !32
63: ; preds = %53, %45, %51
%64 = icmp eq ptr %41, null
br i1 %64, label %67, label %65
65: ; preds = %63
%66 = tail call i32 @lima_vm_put(ptr noundef nonnull %41) #2
br label %67
67: ; preds = %65, %63
%68 = getelementptr inbounds i8, ptr %5, i64 8
store i32 0, ptr %68, align 8, !tbaa !33
%69 = getelementptr inbounds i8, ptr %5, i64 16
%70 = load ptr, ptr %69, align 8, !tbaa !34
%71 = tail call i32 %70(ptr noundef nonnull %5, ptr noundef nonnull %2) #2
%72 = load ptr, ptr %2, align 8, !tbaa !17
br label %73
73: ; preds = %9, %1, %67
%74 = phi ptr [ %72, %67 ], [ null, %1 ], [ null, %9 ]
ret ptr %74
}
declare ptr @to_lima_task(ptr noundef) local_unnamed_addr #1
declare ptr @to_lima_pipe(i32 noundef) local_unnamed_addr #1
declare ptr @lima_fence_create(ptr noundef) local_unnamed_addr #1
declare ptr @dma_fence_get(ptr noundef) local_unnamed_addr #1
declare i32 @lima_l2_cache_flush(i32 noundef) local_unnamed_addr #1
declare ptr @lima_vm_get(ptr noundef) local_unnamed_addr #1
declare i32 @lima_mmu_switch_vm(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lima_vm_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"drm_sched_job", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"lima_sched_task", !8, i64 0, !8, i64 8}
!19 = !{!20, !8, i64 56}
!20 = !{!"lima_sched_pipe", !11, i64 0, !11, i64 4, !11, i64 8, !8, i64 16, !8, i64 24, !16, i64 32, !8, i64 40, !8, i64 48, !8, i64 56}
!21 = !{!20, !11, i64 0}
!22 = !{!20, !8, i64 48}
!23 = !{!11, !11, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!18, !8, i64 8}
!27 = !{!20, !8, i64 40}
!28 = !{!20, !16, i64 32}
!29 = !{!20, !11, i64 4}
!30 = !{!20, !8, i64 24}
!31 = !{!16, !16, i64 0}
!32 = distinct !{!32, !25}
!33 = !{!20, !11, i64 8}
!34 = !{!20, !8, i64 16}
| linux_drivers_gpu_drm_lima_extr_lima_sched.c_lima_sched_run_job |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_envy24.c_envy24chan_setformat.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_envy24.c_envy24chan_setformat.c"
target datalayout = "e-m:e-p270:32:32-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.sc_chinfo = type { i64, i64, i32, i32, i32, i32, i32, ptr }
%struct.sc_info = type { i32, i32 }
%struct.envy24_emldma = type { i64, i32, i32 }
@PCMDIR_PLAY = dso_local local_unnamed_addr global i64 0, align 8
@envy24_pemltab = dso_local local_unnamed_addr global ptr null, align 8
@envy24_remltab = dso_local local_unnamed_addr global ptr null, align 8
@ENVY24_SAMPLE_NUM = dso_local local_unnamed_addr global i32 0, align 4
@ENVY24_PLAY_BUFUNIT = dso_local local_unnamed_addr global i32 0, align 4
@ENVY24_REC_BUFUNIT = dso_local local_unnamed_addr global i32 0, align 4
@bcnt = dso_local local_unnamed_addr global i32 0, align 4
@bsize = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @envy24chan_setformat], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @envy24chan_setformat(i32 %0, ptr nocapture noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 7
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.sc_info, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @snd_mtxlock(i32 noundef %7) #2
%9 = load i64, ptr %1, align 8, !tbaa !14
%10 = load i64, ptr @PCMDIR_PLAY, align 8, !tbaa !15
%11 = icmp eq i64 %9, %10
%12 = load ptr, ptr @envy24_pemltab, align 8
%13 = load ptr, ptr @envy24_remltab, align 8
%14 = select i1 %11, ptr %12, ptr %13
%15 = icmp eq ptr %14, null
br i1 %15, label %48, label %16
16: ; preds = %3, %16
%17 = phi i64 [ %23, %16 ], [ 0, %3 ]
%18 = getelementptr inbounds %struct.envy24_emldma, ptr %14, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = icmp eq i64 %19, 0
%21 = icmp eq i64 %19, %2
%22 = or i1 %20, %21
%23 = add nuw i64 %17, 1
br i1 %22, label %24, label %16, !llvm.loop !18
24: ; preds = %16
br i1 %20, label %48, label %25
25: ; preds = %24
%26 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 1
store i64 %2, ptr %26, align 8, !tbaa !20
%27 = getelementptr inbounds %struct.envy24_emldma, ptr %14, i64 %17, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 6
store i32 %28, ptr %29, align 8, !tbaa !22
%30 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 2
%31 = load i32, ptr %30, align 8, !tbaa !23
%32 = getelementptr inbounds %struct.envy24_emldma, ptr %14, i64 %17, i32 1
%33 = load i32, ptr %32, align 8, !tbaa !24
%34 = icmp sgt i32 %31, %33
%35 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 3
%36 = load i32, ptr %35, align 4, !tbaa !25
br i1 %34, label %37, label %40
37: ; preds = %25
%38 = sdiv i32 %31, %33
%39 = mul nsw i32 %36, %38
br label %43
40: ; preds = %25
%41 = sdiv i32 %33, %31
%42 = sdiv i32 %36, %41
br label %43
43: ; preds = %40, %37
%44 = phi i32 [ %42, %40 ], [ %39, %37 ]
store i32 %44, ptr %35, align 4, !tbaa !25
store i32 %33, ptr %30, align 8, !tbaa !23
%45 = load i32, ptr @ENVY24_SAMPLE_NUM, align 4, !tbaa !26
%46 = mul nsw i32 %45, %33
%47 = getelementptr inbounds %struct.sc_chinfo, ptr %1, i64 0, i32 4
store i32 %46, ptr %47, align 8, !tbaa !27
br label %48
48: ; preds = %24, %3, %43
%49 = phi i32 [ 0, %43 ], [ -1, %3 ], [ -1, %24 ]
%50 = load i32, ptr %6, align 4, !tbaa !12
%51 = tail call i32 @snd_mtxunlock(i32 noundef %50) #2
ret i32 %49
}
declare i32 @snd_mtxlock(i32 noundef) local_unnamed_addr #1
declare i32 @snd_mtxunlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 40}
!6 = !{!"sc_chinfo", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, 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 = !{!13, !10, i64 4}
!13 = !{!"sc_info", !10, i64 0, !10, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"envy24_emldma", !7, i64 0, !10, i64 8, !10, i64 12}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !7, i64 8}
!21 = !{!17, !10, i64 12}
!22 = !{!6, !10, i64 32}
!23 = !{!6, !10, i64 16}
!24 = !{!17, !10, i64 8}
!25 = !{!6, !10, i64 20}
!26 = !{!10, !10, i64 0}
!27 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_envy24.c_envy24chan_setformat.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_envy24.c_envy24chan_setformat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.envy24_emldma = type { i64, i32, i32 }
@PCMDIR_PLAY = common local_unnamed_addr global i64 0, align 8
@envy24_pemltab = common local_unnamed_addr global ptr null, align 8
@envy24_remltab = common local_unnamed_addr global ptr null, align 8
@ENVY24_SAMPLE_NUM = common local_unnamed_addr global i32 0, align 4
@ENVY24_PLAY_BUFUNIT = common local_unnamed_addr global i32 0, align 4
@ENVY24_REC_BUFUNIT = common local_unnamed_addr global i32 0, align 4
@bcnt = common local_unnamed_addr global i32 0, align 4
@bsize = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @envy24chan_setformat], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @envy24chan_setformat(i32 %0, ptr nocapture noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 40
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @snd_mtxlock(i32 noundef %7) #2
%9 = load i64, ptr %1, align 8, !tbaa !15
%10 = load i64, ptr @PCMDIR_PLAY, align 8, !tbaa !16
%11 = icmp eq i64 %9, %10
%12 = load ptr, ptr @envy24_pemltab, align 8
%13 = load ptr, ptr @envy24_remltab, align 8
%14 = select i1 %11, ptr %12, ptr %13
%15 = icmp eq ptr %14, null
br i1 %15, label %49, label %16
16: ; preds = %3, %16
%17 = phi i64 [ %23, %16 ], [ 0, %3 ]
%18 = getelementptr inbounds %struct.envy24_emldma, ptr %14, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !17
%20 = icmp eq i64 %19, 0
%21 = icmp eq i64 %19, %2
%22 = or i1 %20, %21
%23 = add nuw nsw i64 %17, 1
br i1 %22, label %24, label %16, !llvm.loop !19
24: ; preds = %16
%25 = getelementptr inbounds %struct.envy24_emldma, ptr %14, i64 %17
br i1 %20, label %49, label %26
26: ; preds = %24
%27 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %2, ptr %27, align 8, !tbaa !21
%28 = getelementptr inbounds i8, ptr %25, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !22
%30 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %29, ptr %30, align 8, !tbaa !23
%31 = getelementptr inbounds i8, ptr %1, i64 16
%32 = load i32, ptr %31, align 8, !tbaa !24
%33 = getelementptr inbounds i8, ptr %25, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !25
%35 = icmp sgt i32 %32, %34
%36 = getelementptr inbounds i8, ptr %1, i64 20
%37 = load i32, ptr %36, align 4, !tbaa !26
br i1 %35, label %38, label %41
38: ; preds = %26
%39 = sdiv i32 %32, %34
%40 = mul nsw i32 %37, %39
br label %44
41: ; preds = %26
%42 = sdiv i32 %34, %32
%43 = sdiv i32 %37, %42
br label %44
44: ; preds = %41, %38
%45 = phi i32 [ %43, %41 ], [ %40, %38 ]
store i32 %45, ptr %36, align 4, !tbaa !26
store i32 %34, ptr %31, align 8, !tbaa !24
%46 = load i32, ptr @ENVY24_SAMPLE_NUM, align 4, !tbaa !27
%47 = mul nsw i32 %46, %34
%48 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %47, ptr %48, align 8, !tbaa !28
br label %49
49: ; preds = %24, %3, %44
%50 = phi i32 [ 0, %44 ], [ -1, %3 ], [ -1, %24 ]
%51 = load i32, ptr %6, align 4, !tbaa !13
%52 = tail call i32 @snd_mtxunlock(i32 noundef %51) #2
ret i32 %50
}
declare i32 @snd_mtxlock(i32 noundef) local_unnamed_addr #1
declare i32 @snd_mtxunlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 40}
!7 = !{!"sc_chinfo", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, 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 = !{!14, !11, i64 4}
!14 = !{!"sc_info", !11, i64 0, !11, i64 4}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"envy24_emldma", !8, i64 0, !11, i64 8, !11, i64 12}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !8, i64 8}
!22 = !{!18, !11, i64 12}
!23 = !{!7, !11, i64 32}
!24 = !{!7, !11, i64 16}
!25 = !{!18, !11, i64 8}
!26 = !{!7, !11, i64 20}
!27 = !{!11, !11, i64 0}
!28 = !{!7, !11, i64 24}
| freebsd_sys_dev_sound_pci_extr_envy24.c_envy24chan_setformat |
; ModuleID = 'AnghaBench/disque/src/extr_networking.c_setProtocolError.c'
source_filename = "AnghaBench/disque/src/extr_networking.c_setProtocolError.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i32, i32 }
@server = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@LL_VERBOSE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [31 x i8] c"Protocol error from client: %s\00", align 1
@CLIENT_CLOSE_AFTER_REPLY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @setProtocolError], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @setProtocolError(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @server, align 8, !tbaa !5
%4 = load i64, ptr @LL_VERBOSE, align 8, !tbaa !10
%5 = icmp sgt i64 %3, %4
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call i32 (...) @sdsempty() #2
%8 = tail call i32 @catClientInfoString(i32 noundef %7, ptr noundef %0) #2
%9 = load i64, ptr @LL_VERBOSE, align 8, !tbaa !10
%10 = tail call i32 @serverLog(i64 noundef %9, ptr noundef nonnull @.str, i32 noundef %8) #2
%11 = tail call i32 @sdsfree(i32 noundef %8) #2
br label %12
12: ; preds = %6, %2
%13 = load i32, ptr @CLIENT_CLOSE_AFTER_REPLY, align 4, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !13
%17 = load i32, ptr %0, align 4, !tbaa !15
%18 = tail call i32 @sdsrange(i32 noundef %17, i32 noundef %1, i32 noundef -1) #2
ret void
}
declare i32 @catClientInfoString(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sdsempty(...) local_unnamed_addr #1
declare i32 @serverLog(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdsfree(i32 noundef) local_unnamed_addr #1
declare i32 @sdsrange(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 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"TYPE_5__", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/disque/src/extr_networking.c_setProtocolError.c'
source_filename = "AnghaBench/disque/src/extr_networking.c_setProtocolError.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64 }
@server = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@LL_VERBOSE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [31 x i8] c"Protocol error from client: %s\00", align 1
@CLIENT_CLOSE_AFTER_REPLY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @setProtocolError], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @setProtocolError(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @server, align 8, !tbaa !6
%4 = load i64, ptr @LL_VERBOSE, align 8, !tbaa !11
%5 = icmp sgt i64 %3, %4
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call i32 @sdsempty() #2
%8 = tail call i32 @catClientInfoString(i32 noundef %7, ptr noundef %0) #2
%9 = load i64, ptr @LL_VERBOSE, align 8, !tbaa !11
%10 = tail call i32 @serverLog(i64 noundef %9, ptr noundef nonnull @.str, i32 noundef %8) #2
%11 = tail call i32 @sdsfree(i32 noundef %8) #2
br label %12
12: ; preds = %6, %2
%13 = load i32, ptr @CLIENT_CLOSE_AFTER_REPLY, align 4, !tbaa !12
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !14
%17 = load i32, ptr %0, align 4, !tbaa !16
%18 = tail call i32 @sdsrange(i32 noundef %17, i32 noundef %1, i32 noundef -1) #2
ret void
}
declare i32 @catClientInfoString(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sdsempty(...) local_unnamed_addr #1
declare i32 @serverLog(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdsfree(i32 noundef) local_unnamed_addr #1
declare i32 @sdsrange(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 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"TYPE_5__", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 0}
| disque_src_extr_networking.c_setProtocolError |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_kull_m_dpapi.c_kull_m_dpapi_credhist_entry_descr.c'
source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_dpapi.c_kull_m_dpapi_credhist_entry_descr.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32, i32 }
@.str = private unnamed_addr constant [23 x i32] [i32 37, i32 42, i32 115, i32 42, i32 42, i32 67, i32 82, i32 69, i32 68, i32 72, i32 73, i32 83, i32 84, i32 32, i32 69, i32 78, i32 84, i32 82, i32 89, i32 42, i32 42, i32 10, i32 0], align 4
@.str.1 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.2 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 86, i32 101, i32 114, i32 115, i32 105, i32 111, i32 110, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.3 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 103, i32 117, i32 105, i32 100, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@.str.5 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 78, i32 101, i32 120, i32 116, i32 76, i32 101, i32 110, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.6 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 84, i32 121, i32 112, i32 101, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.7 = private unnamed_addr constant [33 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 97, i32 108, i32 103, i32 72, i32 97, i32 115, i32 104, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 32, i32 40, i32 37, i32 115, i32 41, i32 10, i32 0], align 4
@.str.8 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 114, i32 111, i32 117, i32 110, i32 100, i32 115, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.9 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 115, i32 105, i32 100, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.10 = private unnamed_addr constant [33 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 97, i32 108, i32 103, i32 67, i32 114, i32 121, i32 112, i32 116, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 32, i32 40, i32 37, i32 115, i32 41, i32 10, i32 0], align 4
@.str.11 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 115, i32 104, i32 97, i32 49, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.12 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 109, i32 100, i32 52, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.13 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 83, i32 97, i32 108, i32 116, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.14 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 83, i32 105, i32 100, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.15 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 112, i32 83, i32 101, i32 99, i32 114, i32 101, i32 116, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.16 = private unnamed_addr constant [3 x i32] [i32 10, i32 10, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local void @kull_m_dpapi_credhist_entry_descr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = shl i32 %0, 1
%4 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %56, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 11
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 11, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.2, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %9) #2
%11 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.3, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 11, i32 1
%13 = tail call i32 @kull_m_string_displayGUID(ptr noundef nonnull %12) #2
%14 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%15 = load i32, ptr %7, align 4, !tbaa !11
%16 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.5, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %15, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 10
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.6, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 9
%21 = load i32, ptr %20, align 4, !tbaa !13
%22 = tail call i32 @kull_m_crypto_algid_to_name(i32 noundef %21) #2
%23 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.7, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %21, i32 noundef %22) #2
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 8
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.8, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %25, i32 noundef %25) #2
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 7
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.9, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %28) #2
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 6
%31 = load i32, ptr %30, align 4, !tbaa !16
%32 = tail call i32 @kull_m_crypto_algid_to_name(i32 noundef %31) #2
%33 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.10, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %31, i32 noundef %32) #2
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 5
%35 = load i32, ptr %34, align 4, !tbaa !17
%36 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.11, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %35, i32 noundef %35) #2
%37 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4
%38 = load i32, ptr %37, align 4, !tbaa !18
%39 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.12, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef %38) #2
%40 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.13, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%41 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 3
%42 = load i32, ptr %41, align 4, !tbaa !19
%43 = tail call i32 @kull_m_string_wprintf_hex(i32 noundef %42, i32 noundef 4, i32 noundef 0) #2
%44 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%45 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.14, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%46 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2
%47 = load i32, ptr %46, align 4, !tbaa !20
%48 = tail call i32 @kull_m_string_displaySID(i32 noundef %47) #2
%49 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%50 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.15, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%51 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%52 = load i32, ptr %51, align 4, !tbaa !21
%53 = load i32, ptr %1, align 4, !tbaa !22
%54 = tail call i32 @kull_m_string_wprintf_hex(i32 noundef %52, i32 noundef %53, i32 noundef 0) #2
%55 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.16) #2
br label %56
56: ; preds = %6, %2
ret void
}
declare i32 @kprintf(ptr noundef, ...) local_unnamed_addr #1
declare i32 @kull_m_string_displayGUID(ptr noundef) local_unnamed_addr #1
declare i32 @kull_m_crypto_algid_to_name(i32 noundef) local_unnamed_addr #1
declare i32 @kull_m_string_wprintf_hex(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kull_m_string_displaySID(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 52}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !10, i64 44}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8}
!11 = !{!6, !7, i64 44}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !7, i64 36}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 28}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 20}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !7, i64 12}
!20 = !{!6, !7, i64 8}
!21 = !{!6, !7, i64 4}
!22 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_kull_m_dpapi.c_kull_m_dpapi_credhist_entry_descr.c'
source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_dpapi.c_kull_m_dpapi_credhist_entry_descr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i32] [i32 37, i32 42, i32 115, i32 42, i32 42, i32 67, i32 82, i32 69, i32 68, i32 72, i32 73, i32 83, i32 84, i32 32, i32 69, i32 78, i32 84, i32 82, i32 89, i32 42, i32 42, i32 10, i32 0], align 4
@.str.1 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.2 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 86, i32 101, i32 114, i32 115, i32 105, i32 111, i32 110, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.3 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 103, i32 117, i32 105, i32 100, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@.str.5 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 78, i32 101, i32 120, i32 116, i32 76, i32 101, i32 110, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.6 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 100, i32 119, i32 84, i32 121, i32 112, i32 101, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.7 = private unnamed_addr constant [33 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 97, i32 108, i32 103, i32 72, i32 97, i32 115, i32 104, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 32, i32 40, i32 37, i32 115, i32 41, i32 10, i32 0], align 4
@.str.8 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 114, i32 111, i32 117, i32 110, i32 100, i32 115, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.9 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 115, i32 105, i32 100, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.10 = private unnamed_addr constant [33 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 97, i32 108, i32 103, i32 67, i32 114, i32 121, i32 112, i32 116, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 32, i32 40, i32 37, i32 115, i32 41, i32 10, i32 0], align 4
@.str.11 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 115, i32 104, i32 97, i32 49, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.12 = private unnamed_addr constant [28 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 109, i32 100, i32 52, i32 76, i32 101, i32 110, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 37, i32 48, i32 56, i32 120, i32 32, i32 45, i32 32, i32 37, i32 117, i32 10, i32 0], align 4
@.str.13 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 83, i32 97, i32 108, i32 116, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.14 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 83, i32 105, i32 100, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.15 = private unnamed_addr constant [18 x i32] [i32 37, i32 42, i32 115, i32 32, i32 32, i32 112, i32 83, i32 101, i32 99, i32 114, i32 101, i32 116, i32 32, i32 32, i32 32, i32 58, i32 32, i32 0], align 4
@.str.16 = private unnamed_addr constant [3 x i32] [i32 10, i32 10, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @kull_m_dpapi_credhist_entry_descr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = shl i32 %0, 1
%4 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %56, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 44
%8 = getelementptr inbounds i8, ptr %1, i64 52
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.2, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %9) #2
%11 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.3, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%12 = getelementptr inbounds i8, ptr %1, i64 48
%13 = tail call i32 @kull_m_string_displayGUID(ptr noundef nonnull %12) #2
%14 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%15 = load i32, ptr %7, align 4, !tbaa !12
%16 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.5, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %15, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %1, i64 40
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.6, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %1, i64 36
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = tail call i32 @kull_m_crypto_algid_to_name(i32 noundef %21) #2
%23 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.7, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %21, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %1, i64 32
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.8, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %25, i32 noundef %25) #2
%27 = getelementptr inbounds i8, ptr %1, i64 28
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.9, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %1, i64 24
%31 = load i32, ptr %30, align 4, !tbaa !17
%32 = tail call i32 @kull_m_crypto_algid_to_name(i32 noundef %31) #2
%33 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.10, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %31, i32 noundef %32) #2
%34 = getelementptr inbounds i8, ptr %1, i64 20
%35 = load i32, ptr %34, align 4, !tbaa !18
%36 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.11, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %35, i32 noundef %35) #2
%37 = getelementptr inbounds i8, ptr %1, i64 16
%38 = load i32, ptr %37, align 4, !tbaa !19
%39 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.12, i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef %38) #2
%40 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.13, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%41 = getelementptr inbounds i8, ptr %1, i64 12
%42 = load i32, ptr %41, align 4, !tbaa !20
%43 = tail call i32 @kull_m_string_wprintf_hex(i32 noundef %42, i32 noundef 4, i32 noundef 0) #2
%44 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%45 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.14, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%46 = getelementptr inbounds i8, ptr %1, i64 8
%47 = load i32, ptr %46, align 4, !tbaa !21
%48 = tail call i32 @kull_m_string_displaySID(i32 noundef %47) #2
%49 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.4) #2
%50 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.15, i32 noundef %3, ptr noundef nonnull @.str.1) #2
%51 = getelementptr inbounds i8, ptr %1, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !22
%53 = load i32, ptr %1, align 4, !tbaa !23
%54 = tail call i32 @kull_m_string_wprintf_hex(i32 noundef %52, i32 noundef %53, i32 noundef 0) #2
%55 = tail call i32 (ptr, ...) @kprintf(ptr noundef nonnull @.str.16) #2
br label %56
56: ; preds = %6, %2
ret void
}
declare i32 @kprintf(ptr noundef, ...) local_unnamed_addr #1
declare i32 @kull_m_string_displayGUID(ptr noundef) local_unnamed_addr #1
declare i32 @kull_m_crypto_algid_to_name(i32 noundef) local_unnamed_addr #1
declare i32 @kull_m_string_wprintf_hex(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kull_m_string_displaySID(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 52}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !11, i64 44}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8}
!12 = !{!7, !8, i64 44}
!13 = !{!7, !8, i64 40}
!14 = !{!7, !8, i64 36}
!15 = !{!7, !8, i64 32}
!16 = !{!7, !8, i64 28}
!17 = !{!7, !8, i64 24}
!18 = !{!7, !8, i64 20}
!19 = !{!7, !8, i64 16}
!20 = !{!7, !8, i64 12}
!21 = !{!7, !8, i64 8}
!22 = !{!7, !8, i64 4}
!23 = !{!7, !8, i64 0}
| mimikatz_modules_extr_kull_m_dpapi.c_kull_m_dpapi_credhist_entry_descr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca500.c_sd_get_jcomp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca500.c_sd_get_jcomp.c"
target datalayout = "e-m:e-p270:32:32-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.v4l2_jpegcompression = type { i32, i32 }
@V4L2_JPEG_MARKER_DHT = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_JPEG_MARKER_DQT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_get_jcomp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sd_get_jcomp(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.v4l2_jpegcompression, ptr %1, i64 0, i32 1
store i32 %4, ptr %5, align 4, !tbaa !10
%6 = load i32, ptr @V4L2_JPEG_MARKER_DHT, align 4, !tbaa !12
%7 = load i32, ptr @V4L2_JPEG_MARKER_DQT, align 4, !tbaa !12
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4, !tbaa !13
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"v4l2_jpegcompression", !7, i64 0, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca500.c_sd_get_jcomp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca500.c_sd_get_jcomp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V4L2_JPEG_MARKER_DHT = common local_unnamed_addr global i32 0, align 4
@V4L2_JPEG_MARKER_DQT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sd_get_jcomp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sd_get_jcomp(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %4, ptr %5, align 4, !tbaa !11
%6 = load i32, ptr @V4L2_JPEG_MARKER_DHT, align 4, !tbaa !13
%7 = load i32, ptr @V4L2_JPEG_MARKER_DQT, align 4, !tbaa !13
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4, !tbaa !14
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 4}
!12 = !{!"v4l2_jpegcompression", !8, i64 0, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !8, i64 0}
| fastsocket_kernel_drivers_media_video_gspca_extr_spca500.c_sd_get_jcomp |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/stm32/extr_pinctrl-stm32.c_stm32_gpio_to_irq.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/stm32/extr_pinctrl-stm32.c_stm32_gpio_to_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IRQ_TYPE_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_gpio_to_irq], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal noundef i32 @stm32_gpio_to_irq(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
unreachable
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/pinctrl/stm32/extr_pinctrl-stm32.c_stm32_gpio_to_irq.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/stm32/extr_pinctrl-stm32.c_stm32_gpio_to_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_TYPE_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stm32_gpio_to_irq], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal noundef i32 @stm32_gpio_to_irq(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
unreachable
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_pinctrl_stm32_extr_pinctrl-stm32.c_stm32_gpio_to_irq |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_elink_cb_fw_command.c'
source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_elink_cb_fw_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_2__ = type { i32, i32, i32 }
@func_mb = dso_local local_unnamed_addr global ptr null, align 8
@DBG_PHY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"wrote command 0x%08x to FW MB param 0x%08x\0A\00", align 1
@FW_MSG_SEQ_NUMBER_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"[after %d ms] read 0x%x seq 0x%x from FW MB\0A\00", align 1
@FW_MSG_CODE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"FW failed to respond!\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @elink_cb_fw_command(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SC_FW_MB_IDX(ptr noundef %0) #2
%5 = tail call i64 @CHIP_REV_IS_SLOW(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
%7 = select i1 %6, i32 10, i32 100
%8 = tail call i32 @BXE_FWMB_LOCK(ptr noundef %0) #2
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = add nsw i32 %9, 1
store i32 %10, ptr %0, align 4, !tbaa !5
%11 = load ptr, ptr @func_mb, align 8, !tbaa !10
%12 = sext i32 %4 to i64
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %12, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = tail call i32 @SHMEM_WR(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %2) #2
%16 = load ptr, ptr @func_mb, align 8, !tbaa !10
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %12, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = or i32 %10, %1
%20 = tail call i32 @SHMEM_WR(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @DBG_PHY, align 4, !tbaa !15
%22 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @BLOGD(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %2) #2
%23 = mul nuw nsw i32 %7, 1000
br label %24
24: ; preds = %34, %3
%25 = phi i32 [ 1, %3 ], [ %35, %34 ]
%26 = tail call i32 @DELAY(i32 noundef %23) #2
%27 = load ptr, ptr @func_mb, align 8, !tbaa !10
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 %12
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = tail call i32 @SHMEM_RD(ptr noundef nonnull %0, i32 noundef %29) #2
%31 = load i32, ptr @FW_MSG_SEQ_NUMBER_MASK, align 4, !tbaa !15
%32 = and i32 %31, %30
%33 = icmp eq i32 %10, %32
br i1 %33, label %37, label %34
34: ; preds = %24
%35 = add nuw nsw i32 %25, 1
%36 = icmp eq i32 %35, 501
br i1 %36, label %37, label %24, !llvm.loop !17
37: ; preds = %24, %34
%38 = phi i32 [ 501, %34 ], [ %25, %24 ]
%39 = load i32, ptr @DBG_PHY, align 4, !tbaa !15
%40 = mul nsw i32 %38, %7
%41 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @BLOGD(ptr noundef nonnull %0, i32 noundef %39, ptr noundef nonnull @.str.1, i32 noundef %40, i32 noundef %30, i32 noundef %10) #2
%42 = load i32, ptr @FW_MSG_SEQ_NUMBER_MASK, align 4, !tbaa !15
%43 = and i32 %42, %30
%44 = icmp eq i32 %10, %43
br i1 %44, label %45, label %48
45: ; preds = %37
%46 = load i32, ptr @FW_MSG_CODE_MASK, align 4, !tbaa !15
%47 = and i32 %46, %30
br label %50
48: ; preds = %37
%49 = tail call i32 @BLOGE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
br label %50
50: ; preds = %48, %45
%51 = phi i32 [ %47, %45 ], [ 0, %48 ]
%52 = tail call i32 @BXE_FWMB_UNLOCK(ptr noundef nonnull %0) #2
ret i32 %51
}
declare i32 @SC_FW_MB_IDX(ptr noundef) local_unnamed_addr #1
declare i64 @CHIP_REV_IS_SLOW(ptr noundef) local_unnamed_addr #1
declare i32 @BXE_FWMB_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @SHMEM_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOGD(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @SHMEM_RD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOGE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BXE_FWMB_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 = !{!"bxe_softc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!13, !7, i64 4}
!15 = !{!7, !7, i64 0}
!16 = !{!13, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_elink_cb_fw_command.c'
source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_elink_cb_fw_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i32 }
@func_mb = common local_unnamed_addr global ptr null, align 8
@DBG_PHY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"wrote command 0x%08x to FW MB param 0x%08x\0A\00", align 1
@FW_MSG_SEQ_NUMBER_MASK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"[after %d ms] read 0x%x seq 0x%x from FW MB\0A\00", align 1
@FW_MSG_CODE_MASK = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"FW failed to respond!\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @elink_cb_fw_command(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SC_FW_MB_IDX(ptr noundef %0) #2
%5 = tail call i64 @CHIP_REV_IS_SLOW(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
%7 = select i1 %6, i32 10, i32 100
%8 = tail call i32 @BXE_FWMB_LOCK(ptr noundef %0) #2
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = add nsw i32 %9, 1
store i32 %10, ptr %0, align 4, !tbaa !6
%11 = load ptr, ptr @func_mb, align 8, !tbaa !11
%12 = sext i32 %4 to i64
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %12, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = tail call i32 @SHMEM_WR(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %2) #2
%16 = load ptr, ptr @func_mb, align 8, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %12, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = or i32 %10, %1
%20 = tail call i32 @SHMEM_WR(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @DBG_PHY, align 4, !tbaa !16
%22 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @BLOGD(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %2) #2
%23 = mul nuw nsw i32 %7, 1000
br label %24
24: ; preds = %34, %3
%25 = phi i32 [ 1, %3 ], [ %35, %34 ]
%26 = tail call i32 @DELAY(i32 noundef %23) #2
%27 = load ptr, ptr @func_mb, align 8, !tbaa !11
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 %12
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = tail call i32 @SHMEM_RD(ptr noundef nonnull %0, i32 noundef %29) #2
%31 = load i32, ptr @FW_MSG_SEQ_NUMBER_MASK, align 4, !tbaa !16
%32 = and i32 %31, %30
%33 = icmp eq i32 %10, %32
br i1 %33, label %37, label %34
34: ; preds = %24
%35 = add nuw nsw i32 %25, 1
%36 = icmp eq i32 %35, 501
br i1 %36, label %37, label %24, !llvm.loop !18
37: ; preds = %24, %34
%38 = phi i32 [ 501, %34 ], [ %25, %24 ]
%39 = load i32, ptr @DBG_PHY, align 4, !tbaa !16
%40 = mul nuw nsw i32 %38, %7
%41 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @BLOGD(ptr noundef nonnull %0, i32 noundef %39, ptr noundef nonnull @.str.1, i32 noundef %40, i32 noundef %30, i32 noundef %10) #2
%42 = load i32, ptr @FW_MSG_SEQ_NUMBER_MASK, align 4, !tbaa !16
%43 = and i32 %42, %30
%44 = icmp eq i32 %10, %43
br i1 %44, label %45, label %48
45: ; preds = %37
%46 = load i32, ptr @FW_MSG_CODE_MASK, align 4, !tbaa !16
%47 = and i32 %46, %30
br label %50
48: ; preds = %37
%49 = tail call i32 @BLOGE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
br label %50
50: ; preds = %48, %45
%51 = phi i32 [ %47, %45 ], [ 0, %48 ]
%52 = tail call i32 @BXE_FWMB_UNLOCK(ptr noundef nonnull %0) #2
ret i32 %51
}
declare i32 @SC_FW_MB_IDX(ptr noundef) local_unnamed_addr #1
declare i64 @CHIP_REV_IS_SLOW(ptr noundef) local_unnamed_addr #1
declare i32 @BXE_FWMB_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @SHMEM_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOGD(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @SHMEM_RD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOGE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BXE_FWMB_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 = !{!"bxe_softc", !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 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8}
!15 = !{!14, !8, i64 4}
!16 = !{!8, !8, i64 0}
!17 = !{!14, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_bxe_extr_bxe.c_elink_cb_fw_command |
; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_pointer.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_pointer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@D_XDRTRACE = dso_local local_unnamed_addr global i32 0, align 4
@XLOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"xdr_pointer:\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @xdr_pointer(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr @D_XDRTRACE, align 4, !tbaa !5
%7 = tail call i64 @amuDebug(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr @XLOG_DEBUG, align 4, !tbaa !5
%11 = tail call i32 @plog(i32 noundef %10, ptr noundef nonnull @.str) #3
br label %12
12: ; preds = %9, %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%13 = load ptr, ptr %1, align 8, !tbaa !9
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
store i32 %15, ptr %5, align 4, !tbaa !5
%16 = call i32 @xdr_bool(ptr noundef %0, ptr noundef nonnull %5) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %27
20: ; preds = %12
%21 = load i32, ptr %5, align 4, !tbaa !5
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
store ptr null, ptr %1, align 8, !tbaa !9
%24 = load i32, ptr @TRUE, align 4, !tbaa !5
br label %27
25: ; preds = %20
%26 = call i32 @xdr_reference(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #3
br label %27
27: ; preds = %25, %23, %18
%28 = phi i32 [ %26, %25 ], [ %24, %23 ], [ %19, %18 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %28
}
declare i64 @amuDebug(i32 noundef) local_unnamed_addr #1
declare i32 @plog(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @xdr_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_reference(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_pointer.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D_XDRTRACE = common local_unnamed_addr global i32 0, align 4
@XLOG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"xdr_pointer:\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @xdr_pointer(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr @D_XDRTRACE, align 4, !tbaa !6
%7 = tail call i64 @amuDebug(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr @XLOG_DEBUG, align 4, !tbaa !6
%11 = tail call i32 @plog(i32 noundef %10, ptr noundef nonnull @.str) #3
br label %12
12: ; preds = %9, %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%13 = load ptr, ptr %1, align 8, !tbaa !10
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
store i32 %15, ptr %5, align 4, !tbaa !6
%16 = call i32 @xdr_bool(ptr noundef %0, ptr noundef nonnull %5) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %27
20: ; preds = %12
%21 = load i32, ptr %5, align 4, !tbaa !6
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
store ptr null, ptr %1, align 8, !tbaa !10
%24 = load i32, ptr @TRUE, align 4, !tbaa !6
br label %27
25: ; preds = %20
%26 = call i32 @xdr_reference(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #3
br label %27
27: ; preds = %25, %23, %18
%28 = phi i32 [ %26, %25 ], [ %24, %23 ], [ %19, %18 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %28
}
declare i64 @amuDebug(i32 noundef) local_unnamed_addr #1
declare i32 @plog(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @xdr_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_reference(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| freebsd_contrib_amd_libamu_extr_xdr_func.c_xdr_pointer |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvd/extr_advcap.c_tdecode.c'
source_filename = "AnghaBench/freebsd/usr.sbin/rtadvd/extr_advcap.c_tdecode.c"
target datalayout = "e-m:e-p270:32:32-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"E\1B^^\\\\::n\0Ar\0Dt\09b\08f\0C\22\22\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tdecode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @tdecode(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
br label %4
4: ; preds = %72, %2
%5 = phi ptr [ %0, %2 ], [ %74, %72 ]
%6 = phi ptr [ %3, %2 ], [ %73, %72 ]
%7 = load i8, ptr %5, align 1, !tbaa !9
%8 = icmp eq i8 %7, 34
%9 = zext i1 %8 to i64
%10 = getelementptr inbounds i8, ptr %5, i64 %9
%11 = select i1 %8, i32 34, i32 58
%12 = getelementptr inbounds i8, ptr %10, i64 1
%13 = load i8, ptr %10, align 1, !tbaa !9
%14 = sext i8 %13 to i32
%15 = icmp ne i8 %13, 0
%16 = icmp ne i32 %11, %14
%17 = and i1 %15, %16
br i1 %17, label %18, label %72
18: ; preds = %4, %62
%19 = phi i8 [ %67, %62 ], [ %13, %4 ]
%20 = phi ptr [ %66, %62 ], [ %12, %4 ]
%21 = phi ptr [ %65, %62 ], [ %6, %4 ]
%22 = phi ptr [ %63, %62 ], [ %10, %4 ]
switch i8 %19, label %62 [
i8 94, label %23
i8 92, label %27
]
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %22, i64 2
%25 = load i8, ptr %20, align 1, !tbaa !9
%26 = and i8 %25, 31
br label %62
27: ; preds = %18
%28 = getelementptr inbounds i8, ptr %22, i64 2
%29 = load i8, ptr %20, align 1, !tbaa !9
switch i8 %29, label %43 [
i8 69, label %39
i8 94, label %30
i8 92, label %31
i8 58, label %32
i8 110, label %33
i8 114, label %34
i8 116, label %35
i8 98, label %36
i8 102, label %37
i8 34, label %38
]
30: ; preds = %27
br label %39
31: ; preds = %27
br label %39
32: ; preds = %27
br label %39
33: ; preds = %27
br label %39
34: ; preds = %27
br label %39
35: ; preds = %27
br label %39
36: ; preds = %27
br label %39
37: ; preds = %27
br label %39
38: ; preds = %27
br label %39
39: ; preds = %27, %38, %37, %36, %35, %34, %33, %32, %31, %30
%40 = phi ptr [ @.str, %27 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 2), %30 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 4), %31 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 6), %32 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 8), %33 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 10), %34 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 12), %35 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 14), %36 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 16), %37 ], [ getelementptr inbounds ([21 x i8], ptr @.str, i64 0, i64 18), %38 ]
%41 = getelementptr inbounds i8, ptr %40, i64 1
%42 = load i8, ptr %41, align 1, !tbaa !9
br label %62
43: ; preds = %27
%44 = tail call i32 @isdigit(i8 noundef signext %29) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %62, label %46
46: ; preds = %43
%47 = shl i8 %29, 3
%48 = xor i8 %47, -128
%49 = getelementptr inbounds i8, ptr %22, i64 3
%50 = load i8, ptr %28, align 1, !tbaa !9
%51 = add i8 %50, -48
%52 = or i8 %51, %48
%53 = load i8, ptr %49, align 1, !tbaa !9
%54 = tail call i32 @isdigit(i8 noundef signext %53) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %62, label %56, !llvm.loop !10
56: ; preds = %46
%57 = shl i8 %52, 3
%58 = getelementptr inbounds i8, ptr %22, i64 4
%59 = load i8, ptr %49, align 1, !tbaa !9
%60 = add i8 %59, -48
%61 = or i8 %60, %57
br label %62
62: ; preds = %46, %56, %43, %18, %39, %23
%63 = phi ptr [ %20, %18 ], [ %28, %39 ], [ %28, %43 ], [ %24, %23 ], [ %49, %46 ], [ %58, %56 ]
%64 = phi i8 [ %19, %18 ], [ %42, %39 ], [ %29, %43 ], [ %26, %23 ], [ %52, %46 ], [ %61, %56 ]
%65 = getelementptr inbounds i8, ptr %21, i64 1
store i8 %64, ptr %21, align 1, !tbaa !9
%66 = getelementptr inbounds i8, ptr %63, i64 1
%67 = load i8, ptr %63, align 1, !tbaa !9
%68 = sext i8 %67 to i32
%69 = icmp ne i8 %67, 0
%70 = icmp ne i32 %11, %68
%71 = and i1 %69, %70
br i1 %71, label %18, label %72, !llvm.loop !12
72: ; preds = %62, %4
%73 = phi ptr [ %6, %4 ], [ %65, %62 ]
%74 = phi ptr [ %12, %4 ], [ %66, %62 ]
%75 = phi i32 [ %14, %4 ], [ %68, %62 ]
%76 = icmp eq i32 %11, %75
%77 = and i1 %8, %76
br i1 %77, label %4, label %78
78: ; preds = %72
%79 = getelementptr inbounds i8, ptr %73, i64 1
store i8 0, ptr %73, align 1, !tbaa !9
%80 = load ptr, ptr %1, align 8, !tbaa !5
store ptr %79, ptr %1, align 8, !tbaa !5
ret ptr %80
}
declare i32 @isdigit(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvd/extr_advcap.c_tdecode.c'
source_filename = "AnghaBench/freebsd/usr.sbin/rtadvd/extr_advcap.c_tdecode.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"E\1B^^\\\\::n\0Ar\0Dt\09b\08f\0C\22\22\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tdecode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @tdecode(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
br label %4
4: ; preds = %79, %2
%5 = phi ptr [ %0, %2 ], [ %81, %79 ]
%6 = phi ptr [ %3, %2 ], [ %80, %79 ]
%7 = load i8, ptr %5, align 1, !tbaa !10
%8 = icmp eq i8 %7, 34
%9 = zext i1 %8 to i64
%10 = getelementptr inbounds i8, ptr %5, i64 %9
%11 = select i1 %8, i32 34, i32 58
%12 = getelementptr inbounds i8, ptr %10, i64 1
%13 = load i8, ptr %10, align 1, !tbaa !10
%14 = sext i8 %13 to i32
%15 = icmp ne i8 %13, 0
%16 = icmp ne i32 %11, %14
%17 = and i1 %15, %16
br i1 %17, label %18, label %79
18: ; preds = %4, %68
%19 = phi i32 [ %75, %68 ], [ %14, %4 ]
%20 = phi i8 [ %74, %68 ], [ %13, %4 ]
%21 = phi ptr [ %73, %68 ], [ %12, %4 ]
%22 = phi ptr [ %72, %68 ], [ %6, %4 ]
%23 = phi ptr [ %69, %68 ], [ %10, %4 ]
switch i8 %20, label %68 [
i8 94, label %24
i8 92, label %29
]
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %23, i64 2
%26 = load i8, ptr %21, align 1, !tbaa !10
%27 = and i8 %26, 31
%28 = zext nneg i8 %27 to i32
br label %68
29: ; preds = %18
%30 = getelementptr inbounds i8, ptr %23, i64 2
%31 = load i8, ptr %21, align 1, !tbaa !10
%32 = sext i8 %31 to i32
switch i8 %31, label %47 [
i8 69, label %42
i8 94, label %33
i8 92, label %34
i8 58, label %35
i8 110, label %36
i8 114, label %37
i8 116, label %38
i8 98, label %39
i8 102, label %40
i8 34, label %41
]
33: ; preds = %29
br label %42
34: ; preds = %29
br label %42
35: ; preds = %29
br label %42
36: ; preds = %29
br label %42
37: ; preds = %29
br label %42
38: ; preds = %29
br label %42
39: ; preds = %29
br label %42
40: ; preds = %29
br label %42
41: ; preds = %29
br label %42
42: ; preds = %29, %41, %40, %39, %38, %37, %36, %35, %34, %33
%43 = phi ptr [ @.str, %29 ], [ getelementptr inbounds (i8, ptr @.str, i64 2), %33 ], [ getelementptr inbounds (i8, ptr @.str, i64 4), %34 ], [ getelementptr inbounds (i8, ptr @.str, i64 6), %35 ], [ getelementptr inbounds (i8, ptr @.str, i64 8), %36 ], [ getelementptr inbounds (i8, ptr @.str, i64 10), %37 ], [ getelementptr inbounds (i8, ptr @.str, i64 12), %38 ], [ getelementptr inbounds (i8, ptr @.str, i64 14), %39 ], [ getelementptr inbounds (i8, ptr @.str, i64 16), %40 ], [ getelementptr inbounds (i8, ptr @.str, i64 18), %41 ]
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1, !tbaa !10
%46 = zext i8 %45 to i32
br label %68
47: ; preds = %29
%48 = tail call i32 @isdigit(i8 noundef signext %31) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %68, label %50
50: ; preds = %47
%51 = shl nsw i32 %32, 3
%52 = add nsw i32 %51, -384
%53 = getelementptr inbounds i8, ptr %23, i64 3
%54 = load i8, ptr %30, align 1, !tbaa !10
%55 = zext i8 %54 to i32
%56 = add nsw i32 %55, -48
%57 = or i32 %56, %52
%58 = load i8, ptr %53, align 1, !tbaa !10
%59 = tail call i32 @isdigit(i8 noundef signext %58) #2
%60 = icmp eq i32 %59, 0
br i1 %60, label %68, label %61, !llvm.loop !11
61: ; preds = %50
%62 = shl nsw i32 %57, 3
%63 = getelementptr inbounds i8, ptr %23, i64 4
%64 = load i8, ptr %53, align 1, !tbaa !10
%65 = zext i8 %64 to i32
%66 = add nsw i32 %65, -48
%67 = or i32 %66, %62
br label %68
68: ; preds = %50, %61, %47, %18, %42, %24
%69 = phi ptr [ %21, %18 ], [ %30, %42 ], [ %30, %47 ], [ %25, %24 ], [ %53, %50 ], [ %63, %61 ]
%70 = phi i32 [ %19, %18 ], [ %46, %42 ], [ %32, %47 ], [ %28, %24 ], [ %57, %50 ], [ %67, %61 ]
%71 = trunc i32 %70 to i8
%72 = getelementptr inbounds i8, ptr %22, i64 1
store i8 %71, ptr %22, align 1, !tbaa !10
%73 = getelementptr inbounds i8, ptr %69, i64 1
%74 = load i8, ptr %69, align 1, !tbaa !10
%75 = sext i8 %74 to i32
%76 = icmp ne i8 %74, 0
%77 = icmp ne i32 %11, %75
%78 = and i1 %76, %77
br i1 %78, label %18, label %79, !llvm.loop !13
79: ; preds = %68, %4
%80 = phi ptr [ %6, %4 ], [ %72, %68 ]
%81 = phi ptr [ %12, %4 ], [ %73, %68 ]
%82 = phi i32 [ %14, %4 ], [ %75, %68 ]
%83 = icmp eq i32 %11, %82
%84 = and i1 %8, %83
br i1 %84, label %4, label %85
85: ; preds = %79
%86 = getelementptr inbounds i8, ptr %80, i64 1
store i8 0, ptr %80, align 1, !tbaa !10
%87 = load ptr, ptr %1, align 8, !tbaa !6
store ptr %86, ptr %1, align 8, !tbaa !6
ret ptr %87
}
declare i32 @isdigit(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| freebsd_usr.sbin_rtadvd_extr_advcap.c_tdecode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_tx_zero_isr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_tx_zero_isr.c"
target datalayout = "e-m:e-p270:32:32-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 @tx_zero_isr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @tx_zero_isr(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_tx_zero_isr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_tx_zero_isr.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 @tx_zero_isr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @tx_zero_isr(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_staging_rtl8192su_extr_r8192U_core.c_tx_zero_isr |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_handle_enoent.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_handle_enoent.c"
target datalayout = "e-m:e-p270:32:32-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 @nfs_dentry_handle_enoent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nfs_dentry_handle_enoent(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @d_unhashed(ptr noundef nonnull %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i32 @d_delete(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %7, %4, %1
ret void
}
declare i32 @d_unhashed(ptr noundef) local_unnamed_addr #1
declare i32 @d_delete(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 = !{!"dentry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_handle_enoent.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_handle_enoent.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 @nfs_dentry_handle_enoent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nfs_dentry_handle_enoent(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @d_unhashed(ptr noundef nonnull %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i32 @d_delete(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %7, %4, %1
ret void
}
declare i32 @d_unhashed(ptr noundef) local_unnamed_addr #1
declare i32 @d_delete(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 = !{!"dentry", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_nfs_extr_dir.c_nfs_dentry_handle_enoent |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-help.c_show_html_page.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-help.c_show_html_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.strbuf = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_html_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @show_html_page(ptr noundef %0) #0 {
%2 = alloca %struct.strbuf, align 4
%3 = tail call ptr @cmd_to_page(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = call i64 @get_html_page_path(ptr noundef nonnull %2, ptr noundef %3) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = call i32 @open_html(i32 noundef %7) #3
br label %9
9: ; preds = %1, %6
%10 = phi i32 [ 0, %6 ], [ -1, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @cmd_to_page(ptr noundef) local_unnamed_addr #2
declare i64 @get_html_page_path(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @open_html(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"strbuf", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-help.c_show_html_page.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-help.c_show_html_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strbuf = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @show_html_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @show_html_page(ptr noundef %0) #0 {
%2 = alloca %struct.strbuf, align 4
%3 = tail call ptr @cmd_to_page(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = call i64 @get_html_page_path(ptr noundef nonnull %2, ptr noundef %3) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = call i32 @open_html(i32 noundef %7) #3
br label %9
9: ; preds = %1, %6
%10 = phi i32 [ 0, %6 ], [ -1, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @cmd_to_page(ptr noundef) local_unnamed_addr #2
declare i64 @get_html_page_path(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @open_html(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"strbuf", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_tools_perf_extr_builtin-help.c_show_html_page |
; ModuleID = 'AnghaBench/linux/drivers/net/extr_veth.c_veth_napi_del.c'
source_filename = "AnghaBench/linux/drivers/net/extr_veth.c_veth_napi_del.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.veth_rq = type { i32, i32, i32 }
@veth_ptr_free = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @veth_napi_del], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @veth_napi_del(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %15
5: ; preds = %1, %5
%6 = phi i64 [ %11, %5 ], [ 0, %1 ]
%7 = load ptr, ptr %2, align 8, !tbaa !10
%8 = getelementptr inbounds %struct.veth_rq, ptr %7, i64 %6, i32 2
%9 = tail call i32 @napi_disable(ptr noundef nonnull %8) #2
%10 = tail call i32 @napi_hash_del(ptr noundef nonnull %8) #2
%11 = add nuw nsw i64 %6, 1
%12 = load i32, ptr %0, align 4, !tbaa !5
%13 = sext i32 %12 to i64
%14 = icmp slt i64 %11, %13
br i1 %14, label %5, label %15, !llvm.loop !13
15: ; preds = %5, %1
%16 = tail call i32 (...) @synchronize_net() #2
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %15, %19
%20 = phi i64 [ %28, %19 ], [ 0, %15 ]
%21 = load ptr, ptr %2, align 8, !tbaa !10
%22 = getelementptr inbounds %struct.veth_rq, ptr %21, i64 %20
%23 = getelementptr inbounds %struct.veth_rq, ptr %21, i64 %20, i32 2
%24 = tail call i32 @netif_napi_del(ptr noundef nonnull %23) #2
store i32 0, ptr %22, align 4, !tbaa !15
%25 = getelementptr inbounds %struct.veth_rq, ptr %21, i64 %20, i32 1
%26 = load i32, ptr @veth_ptr_free, align 4, !tbaa !17
%27 = tail call i32 @ptr_ring_cleanup(ptr noundef nonnull %25, i32 noundef %26) #2
%28 = add nuw nsw i64 %20, 1
%29 = load i32, ptr %0, align 4, !tbaa !5
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %19, label %32, !llvm.loop !18
32: ; preds = %19, %15
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @napi_disable(ptr noundef) local_unnamed_addr #1
declare i32 @napi_hash_del(ptr noundef) local_unnamed_addr #1
declare i32 @synchronize_net(...) local_unnamed_addr #1
declare i32 @netif_napi_del(ptr noundef) local_unnamed_addr #1
declare i32 @ptr_ring_cleanup(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 = !{!"net_device", !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 = !{!"veth_priv", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !7, i64 0}
!16 = !{!"veth_rq", !7, i64 0, !7, i64 4, !7, i64 8}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !14}
| ; ModuleID = 'AnghaBench/linux/drivers/net/extr_veth.c_veth_napi_del.c'
source_filename = "AnghaBench/linux/drivers/net/extr_veth.c_veth_napi_del.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.veth_rq = type { i32, i32, i32 }
@veth_ptr_free = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @veth_napi_del], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @veth_napi_del(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %15
5: ; preds = %1, %5
%6 = phi i64 [ %11, %5 ], [ 0, %1 ]
%7 = load ptr, ptr %2, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.veth_rq, ptr %7, i64 %6, i32 2
%9 = tail call i32 @napi_disable(ptr noundef nonnull %8) #2
%10 = tail call i32 @napi_hash_del(ptr noundef nonnull %8) #2
%11 = add nuw nsw i64 %6, 1
%12 = load i32, ptr %0, align 4, !tbaa !6
%13 = sext i32 %12 to i64
%14 = icmp slt i64 %11, %13
br i1 %14, label %5, label %15, !llvm.loop !14
15: ; preds = %5, %1
%16 = tail call i32 @synchronize_net() #2
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %15, %19
%20 = phi i64 [ %28, %19 ], [ 0, %15 ]
%21 = load ptr, ptr %2, align 8, !tbaa !11
%22 = getelementptr inbounds %struct.veth_rq, ptr %21, i64 %20
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = tail call i32 @netif_napi_del(ptr noundef nonnull %23) #2
store i32 0, ptr %22, align 4, !tbaa !16
%25 = getelementptr inbounds i8, ptr %22, i64 4
%26 = load i32, ptr @veth_ptr_free, align 4, !tbaa !18
%27 = tail call i32 @ptr_ring_cleanup(ptr noundef nonnull %25, i32 noundef %26) #2
%28 = add nuw nsw i64 %20, 1
%29 = load i32, ptr %0, align 4, !tbaa !6
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %19, label %32, !llvm.loop !19
32: ; preds = %19, %15
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @napi_disable(ptr noundef) local_unnamed_addr #1
declare i32 @napi_hash_del(ptr noundef) local_unnamed_addr #1
declare i32 @synchronize_net(...) local_unnamed_addr #1
declare i32 @netif_napi_del(ptr noundef) local_unnamed_addr #1
declare i32 @ptr_ring_cleanup(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 = !{!"net_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"veth_priv", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !8, i64 0}
!17 = !{!"veth_rq", !8, i64 0, !8, i64 4, !8, i64 8}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !15}
| linux_drivers_net_extr_veth.c_veth_napi_del |
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_iface.c_ipfw_kiflookup.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_iface.c_ipfw_kiflookup.c"
target datalayout = "e-m:e-p270:32:32-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 @ipfw_kiflookup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ipfw_kiflookup(ptr noundef %0) #0 {
%2 = tail call ptr @ifunit_ref(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = tail call i32 @if_rele(ptr noundef nonnull %2) #2
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @ifunit_ref(ptr noundef) local_unnamed_addr #1
declare i32 @if_rele(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 = !{!"ifnet", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_iface.c_ipfw_kiflookup.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_iface.c_ipfw_kiflookup.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 @ipfw_kiflookup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ipfw_kiflookup(ptr noundef %0) #0 {
%2 = tail call ptr @ifunit_ref(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = tail call i32 @if_rele(ptr noundef nonnull %2) #2
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @ifunit_ref(ptr noundef) local_unnamed_addr #1
declare i32 @if_rele(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 = !{!"ifnet", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_netpfil_ipfw_extr_ip_fw_iface.c_ipfw_kiflookup |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_configure_uapsd.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_configure_uapsd.c"
target datalayout = "e-m:e-p270:32:32-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.iwl_mac_power_cmd = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.TYPE_6__ = type { i32, i32 }
%struct.iwl_mvm = type { %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i64 }
@IWL_UCODE_WOWLAN = dso_local local_unnamed_addr global i64 0, align 8
@POWER_FLAGS_ADVANCE_PM_ENA_MSK = dso_local local_unnamed_addr global i32 0, align 4
@POWER_FLAGS_UAPSD_MISBEHAVING_ENA_MSK = dso_local local_unnamed_addr global i32 0, align 4
@POWER_FLAGS_SNOOZE_ENA_MSK = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_UAPSD_RX_DATA_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_UAPSD_TX_DATA_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_HEAVY_TX_THLD_PACKETS = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_HEAVY_RX_THLD_PACKETS = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_TX_THLD_PACKETS = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_RX_THLD_PACKETS = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_TX_THLD_PERCENT = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_RX_THLD_PERCENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_mvm_power_configure_uapsd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @iwl_mvm_power_configure_uapsd(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %1) #2
%5 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 1
%6 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 2
%7 = load ptr, ptr %4, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 128, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %29, label %11
11: ; preds = %3
%12 = load i64, ptr %0, align 8, !tbaa !15
%13 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !18
%14 = icmp eq i64 %12, %13
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !19
%17 = tail call i32 @cpu_to_le16(i32 noundef %16) #2
%18 = load i32, ptr %2, align 8, !tbaa !20
%19 = or i32 %18, %17
store i32 %19, ptr %2, align 8, !tbaa !20
br label %20
20: ; preds = %11, %15
%21 = tail call i32 @BIT(i32 noundef 128) #2
%22 = load i32, ptr %5, align 4, !tbaa !22
%23 = or i32 %22, %21
store i32 %23, ptr %5, align 4, !tbaa !22
%24 = load ptr, ptr %4, align 8, !tbaa !5
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %24, i64 128
%26 = load i32, ptr %25, align 4, !tbaa !23
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 6, ptr %6, align 8, !tbaa !24
br label %29
29: ; preds = %20, %28, %3
%30 = phi ptr [ %24, %20 ], [ %24, %28 ], [ %7, %3 ]
%31 = phi i1 [ true, %20 ], [ false, %28 ], [ true, %3 ]
%32 = phi i32 [ 0, %20 ], [ 1, %28 ], [ 0, %3 ]
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 129, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !12
%35 = icmp eq i32 %34, 0
br i1 %35, label %55, label %36
36: ; preds = %29
%37 = load i64, ptr %0, align 8, !tbaa !15
%38 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !18
%39 = icmp eq i64 %37, %38
br i1 %39, label %45, label %40
40: ; preds = %36
%41 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !19
%42 = tail call i32 @cpu_to_le16(i32 noundef %41) #2
%43 = load i32, ptr %2, align 8, !tbaa !20
%44 = or i32 %43, %42
store i32 %44, ptr %2, align 8, !tbaa !20
br label %45
45: ; preds = %40, %36
%46 = tail call i32 @BIT(i32 noundef 129) #2
%47 = load i32, ptr %5, align 4, !tbaa !22
%48 = or i32 %47, %46
store i32 %48, ptr %5, align 4, !tbaa !22
%49 = load ptr, ptr %4, align 8, !tbaa !5
br i1 %31, label %50, label %55
50: ; preds = %45
%51 = getelementptr inbounds %struct.TYPE_6__, ptr %49, i64 129
%52 = load i32, ptr %51, align 4, !tbaa !23
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %50
store i32 5, ptr %6, align 8, !tbaa !24
br label %55
55: ; preds = %54, %50, %45, %29
%56 = phi ptr [ %49, %45 ], [ %49, %50 ], [ %49, %54 ], [ %30, %29 ]
%57 = phi i32 [ 1, %45 ], [ 0, %50 ], [ 1, %54 ], [ %32, %29 ]
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %56, i64 130, i32 1
%59 = load i32, ptr %58, align 4, !tbaa !12
%60 = icmp eq i32 %59, 0
br i1 %60, label %81, label %61
61: ; preds = %55
%62 = load i64, ptr %0, align 8, !tbaa !15
%63 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !18
%64 = icmp eq i64 %62, %63
br i1 %64, label %70, label %65
65: ; preds = %61
%66 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !19
%67 = tail call i32 @cpu_to_le16(i32 noundef %66) #2
%68 = load i32, ptr %2, align 8, !tbaa !20
%69 = or i32 %68, %67
store i32 %69, ptr %2, align 8, !tbaa !20
br label %70
70: ; preds = %65, %61
%71 = tail call i32 @BIT(i32 noundef 130) #2
%72 = load i32, ptr %5, align 4, !tbaa !22
%73 = or i32 %72, %71
store i32 %73, ptr %5, align 4, !tbaa !22
%74 = icmp eq i32 %57, 0
br i1 %74, label %75, label %81
75: ; preds = %70
%76 = load ptr, ptr %4, align 8, !tbaa !5
%77 = getelementptr inbounds %struct.TYPE_6__, ptr %76, i64 130
%78 = load i32, ptr %77, align 4, !tbaa !23
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %75
store i32 1, ptr %6, align 8, !tbaa !24
br label %81
81: ; preds = %80, %75, %70, %55
%82 = load i32, ptr @POWER_FLAGS_UAPSD_MISBEHAVING_ENA_MSK, align 4, !tbaa !19
%83 = tail call i32 @cpu_to_le16(i32 noundef %82) #2
%84 = load i32, ptr %2, align 8, !tbaa !20
%85 = or i32 %84, %83
store i32 %85, ptr %2, align 8, !tbaa !20
%86 = load i32, ptr %5, align 4, !tbaa !22
%87 = tail call i32 @BIT(i32 noundef 128) #2
%88 = tail call i32 @BIT(i32 noundef 129) #2
%89 = or i32 %88, %87
%90 = tail call i32 @BIT(i32 noundef 131) #2
%91 = or i32 %89, %90
%92 = tail call i32 @BIT(i32 noundef 130) #2
%93 = or i32 %91, %92
%94 = icmp eq i32 %86, %93
br i1 %94, label %95, label %111
95: ; preds = %81
%96 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !19
%97 = tail call i32 @cpu_to_le16(i32 noundef %96) #2
%98 = load i32, ptr %2, align 8, !tbaa !20
%99 = or i32 %98, %97
store i32 %99, ptr %2, align 8, !tbaa !20
%100 = load i32, ptr @IWL_MVM_PS_SNOOZE_INTERVAL, align 4, !tbaa !19
%101 = tail call i32 @cpu_to_le16(i32 noundef %100) #2
%102 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 3
store i32 %101, ptr %102, align 4, !tbaa !25
%103 = load i64, ptr %0, align 8, !tbaa !15
%104 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !18
%105 = icmp eq i64 %103, %104
%106 = load i32, ptr @IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW, align 4
%107 = load i32, ptr @IWL_MVM_PS_SNOOZE_WINDOW, align 4
%108 = select i1 %105, i32 %106, i32 %107
%109 = tail call i32 @cpu_to_le16(i32 noundef %108) #2
%110 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 4
store i32 %109, ptr %110, align 8, !tbaa !26
br label %111
111: ; preds = %95, %81
%112 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 1
%113 = load ptr, ptr %112, align 8, !tbaa !27
%114 = load i32, ptr %113, align 4, !tbaa !28
%115 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 11
store i32 %114, ptr %115, align 8, !tbaa !30
%116 = load i64, ptr %0, align 8, !tbaa !15
%117 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !18
%118 = icmp eq i64 %116, %117
br i1 %118, label %127, label %119
119: ; preds = %111
%120 = load i32, ptr %2, align 8, !tbaa !20
%121 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !19
%122 = tail call i32 @cpu_to_le16(i32 noundef %121) #2
%123 = and i32 %122, %120
%124 = icmp eq i32 %123, 0
%125 = select i1 %124, ptr @IWL_MVM_UAPSD_RX_DATA_TIMEOUT, ptr @IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT
%126 = select i1 %124, ptr @IWL_MVM_UAPSD_TX_DATA_TIMEOUT, ptr @IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT
br label %127
127: ; preds = %119, %111
%128 = phi ptr [ @IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT, %111 ], [ %125, %119 ]
%129 = phi ptr [ @IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT, %111 ], [ %126, %119 ]
%130 = load i32, ptr %128, align 4, !tbaa !19
%131 = tail call ptr @cpu_to_le32(i32 noundef %130) #2
%132 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 10
store ptr %131, ptr %132, align 8, !tbaa !31
%133 = load i32, ptr %129, align 4, !tbaa !19
%134 = tail call ptr @cpu_to_le32(i32 noundef %133) #2
%135 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 9
store ptr %134, ptr %135, align 8, !tbaa !32
%136 = load i32, ptr %2, align 8, !tbaa !20
%137 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !19
%138 = tail call i32 @cpu_to_le16(i32 noundef %137) #2
%139 = and i32 %138, %136
%140 = icmp eq i32 %139, 0
%141 = load i32, ptr @IWL_MVM_PS_HEAVY_RX_THLD_PACKETS, align 4
%142 = load i32, ptr @IWL_MVM_PS_SNOOZE_HEAVY_RX_THLD_PACKETS, align 4
%143 = select i1 %140, i32 %141, i32 %142
%144 = load i32, ptr @IWL_MVM_PS_HEAVY_TX_THLD_PACKETS, align 4
%145 = load i32, ptr @IWL_MVM_PS_SNOOZE_HEAVY_TX_THLD_PACKETS, align 4
%146 = select i1 %140, i32 %144, i32 %145
%147 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 8
store i32 %146, ptr %147, align 8
%148 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 7
store i32 %143, ptr %148, align 4
%149 = load i32, ptr @IWL_MVM_PS_HEAVY_TX_THLD_PERCENT, align 4, !tbaa !19
%150 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 6
store i32 %149, ptr %150, align 8, !tbaa !33
%151 = load i32, ptr @IWL_MVM_PS_HEAVY_RX_THLD_PERCENT, align 4, !tbaa !19
%152 = getelementptr inbounds %struct.iwl_mac_power_cmd, ptr %2, i64 0, i32 5
store i32 %151, ptr %152, align 4, !tbaa !34
ret void
}
declare ptr @iwl_mvm_vif_from_mac80211(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(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 = !{!"iwl_mvm_vif", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 4}
!13 = !{!"TYPE_6__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"iwl_mvm", !17, i64 0, !7, i64 8}
!17 = !{!"TYPE_8__", !11, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{!21, !14, i64 0}
!21 = !{!"iwl_mac_power_cmd", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !7, i64 40, !7, i64 48, !14, i64 56}
!22 = !{!21, !14, i64 4}
!23 = !{!13, !14, i64 0}
!24 = !{!21, !14, i64 8}
!25 = !{!21, !14, i64 12}
!26 = !{!21, !14, i64 16}
!27 = !{!16, !7, i64 8}
!28 = !{!29, !14, i64 0}
!29 = !{!"TYPE_7__", !14, i64 0}
!30 = !{!21, !14, i64 56}
!31 = !{!21, !7, i64 48}
!32 = !{!21, !7, i64 40}
!33 = !{!21, !14, i64 24}
!34 = !{!21, !14, i64 20}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_configure_uapsd.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_configure_uapsd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IWL_UCODE_WOWLAN = common local_unnamed_addr global i64 0, align 8
@POWER_FLAGS_ADVANCE_PM_ENA_MSK = common local_unnamed_addr global i32 0, align 4
@POWER_FLAGS_UAPSD_MISBEHAVING_ENA_MSK = common local_unnamed_addr global i32 0, align 4
@POWER_FLAGS_SNOOZE_ENA_MSK = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_INTERVAL = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_WINDOW = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_UAPSD_RX_DATA_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_UAPSD_TX_DATA_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_HEAVY_TX_THLD_PACKETS = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_SNOOZE_HEAVY_RX_THLD_PACKETS = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_TX_THLD_PACKETS = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_RX_THLD_PACKETS = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_TX_THLD_PERCENT = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_PS_HEAVY_RX_THLD_PERCENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iwl_mvm_power_configure_uapsd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @iwl_mvm_power_configure_uapsd(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %1) #2
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load ptr, ptr %4, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 1028
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = icmp eq i32 %9, 0
br i1 %10, label %29, label %11
11: ; preds = %3
%12 = load i64, ptr %0, align 8, !tbaa !16
%13 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !19
%14 = icmp eq i64 %12, %13
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !20
%17 = tail call i32 @cpu_to_le16(i32 noundef %16) #2
%18 = load i32, ptr %2, align 8, !tbaa !21
%19 = or i32 %18, %17
store i32 %19, ptr %2, align 8, !tbaa !21
br label %20
20: ; preds = %11, %15
%21 = tail call i32 @BIT(i32 noundef 128) #2
%22 = load i32, ptr %5, align 4, !tbaa !23
%23 = or i32 %22, %21
store i32 %23, ptr %5, align 4, !tbaa !23
%24 = load ptr, ptr %4, align 8, !tbaa !6
%25 = getelementptr inbounds i8, ptr %24, i64 1024
%26 = load i32, ptr %25, align 4, !tbaa !24
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 6, ptr %6, align 8, !tbaa !25
br label %29
29: ; preds = %20, %28, %3
%30 = phi ptr [ %24, %20 ], [ %24, %28 ], [ %7, %3 ]
%31 = phi i1 [ true, %20 ], [ false, %28 ], [ true, %3 ]
%32 = phi i32 [ 0, %20 ], [ 1, %28 ], [ 0, %3 ]
%33 = getelementptr inbounds i8, ptr %30, i64 1036
%34 = load i32, ptr %33, align 4, !tbaa !13
%35 = icmp eq i32 %34, 0
br i1 %35, label %55, label %36
36: ; preds = %29
%37 = load i64, ptr %0, align 8, !tbaa !16
%38 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !19
%39 = icmp eq i64 %37, %38
br i1 %39, label %45, label %40
40: ; preds = %36
%41 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !20
%42 = tail call i32 @cpu_to_le16(i32 noundef %41) #2
%43 = load i32, ptr %2, align 8, !tbaa !21
%44 = or i32 %43, %42
store i32 %44, ptr %2, align 8, !tbaa !21
br label %45
45: ; preds = %40, %36
%46 = tail call i32 @BIT(i32 noundef 129) #2
%47 = load i32, ptr %5, align 4, !tbaa !23
%48 = or i32 %47, %46
store i32 %48, ptr %5, align 4, !tbaa !23
%49 = load ptr, ptr %4, align 8, !tbaa !6
br i1 %31, label %50, label %55
50: ; preds = %45
%51 = getelementptr inbounds i8, ptr %49, i64 1032
%52 = load i32, ptr %51, align 4, !tbaa !24
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %50
store i32 5, ptr %6, align 8, !tbaa !25
br label %55
55: ; preds = %54, %50, %45, %29
%56 = phi ptr [ %49, %45 ], [ %49, %50 ], [ %49, %54 ], [ %30, %29 ]
%57 = phi i32 [ 1, %45 ], [ 0, %50 ], [ 1, %54 ], [ %32, %29 ]
%58 = getelementptr inbounds i8, ptr %56, i64 1044
%59 = load i32, ptr %58, align 4, !tbaa !13
%60 = icmp eq i32 %59, 0
br i1 %60, label %81, label %61
61: ; preds = %55
%62 = load i64, ptr %0, align 8, !tbaa !16
%63 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !19
%64 = icmp eq i64 %62, %63
br i1 %64, label %70, label %65
65: ; preds = %61
%66 = load i32, ptr @POWER_FLAGS_ADVANCE_PM_ENA_MSK, align 4, !tbaa !20
%67 = tail call i32 @cpu_to_le16(i32 noundef %66) #2
%68 = load i32, ptr %2, align 8, !tbaa !21
%69 = or i32 %68, %67
store i32 %69, ptr %2, align 8, !tbaa !21
br label %70
70: ; preds = %65, %61
%71 = tail call i32 @BIT(i32 noundef 130) #2
%72 = load i32, ptr %5, align 4, !tbaa !23
%73 = or i32 %72, %71
store i32 %73, ptr %5, align 4, !tbaa !23
%74 = icmp eq i32 %57, 0
br i1 %74, label %75, label %81
75: ; preds = %70
%76 = load ptr, ptr %4, align 8, !tbaa !6
%77 = getelementptr inbounds i8, ptr %76, i64 1040
%78 = load i32, ptr %77, align 4, !tbaa !24
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %75
store i32 1, ptr %6, align 8, !tbaa !25
br label %81
81: ; preds = %80, %75, %70, %55
%82 = load i32, ptr @POWER_FLAGS_UAPSD_MISBEHAVING_ENA_MSK, align 4, !tbaa !20
%83 = tail call i32 @cpu_to_le16(i32 noundef %82) #2
%84 = load i32, ptr %2, align 8, !tbaa !21
%85 = or i32 %84, %83
store i32 %85, ptr %2, align 8, !tbaa !21
%86 = load i32, ptr %5, align 4, !tbaa !23
%87 = tail call i32 @BIT(i32 noundef 128) #2
%88 = tail call i32 @BIT(i32 noundef 129) #2
%89 = or i32 %88, %87
%90 = tail call i32 @BIT(i32 noundef 131) #2
%91 = or i32 %89, %90
%92 = tail call i32 @BIT(i32 noundef 130) #2
%93 = or i32 %91, %92
%94 = icmp eq i32 %86, %93
br i1 %94, label %95, label %111
95: ; preds = %81
%96 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !20
%97 = tail call i32 @cpu_to_le16(i32 noundef %96) #2
%98 = load i32, ptr %2, align 8, !tbaa !21
%99 = or i32 %98, %97
store i32 %99, ptr %2, align 8, !tbaa !21
%100 = load i32, ptr @IWL_MVM_PS_SNOOZE_INTERVAL, align 4, !tbaa !20
%101 = tail call i32 @cpu_to_le16(i32 noundef %100) #2
%102 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %101, ptr %102, align 4, !tbaa !26
%103 = load i64, ptr %0, align 8, !tbaa !16
%104 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !19
%105 = icmp eq i64 %103, %104
%106 = load i32, ptr @IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW, align 4
%107 = load i32, ptr @IWL_MVM_PS_SNOOZE_WINDOW, align 4
%108 = select i1 %105, i32 %106, i32 %107
%109 = tail call i32 @cpu_to_le16(i32 noundef %108) #2
%110 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %109, ptr %110, align 8, !tbaa !27
br label %111
111: ; preds = %95, %81
%112 = getelementptr inbounds i8, ptr %0, i64 8
%113 = load ptr, ptr %112, align 8, !tbaa !28
%114 = load i32, ptr %113, align 4, !tbaa !29
%115 = getelementptr inbounds i8, ptr %2, i64 56
store i32 %114, ptr %115, align 8, !tbaa !31
%116 = load i64, ptr %0, align 8, !tbaa !16
%117 = load i64, ptr @IWL_UCODE_WOWLAN, align 8, !tbaa !19
%118 = icmp eq i64 %116, %117
br i1 %118, label %127, label %119
119: ; preds = %111
%120 = load i32, ptr %2, align 8, !tbaa !21
%121 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !20
%122 = tail call i32 @cpu_to_le16(i32 noundef %121) #2
%123 = and i32 %122, %120
%124 = icmp eq i32 %123, 0
%125 = select i1 %124, ptr @IWL_MVM_UAPSD_RX_DATA_TIMEOUT, ptr @IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT
%126 = select i1 %124, ptr @IWL_MVM_UAPSD_TX_DATA_TIMEOUT, ptr @IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT
br label %127
127: ; preds = %119, %111
%128 = phi ptr [ @IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT, %111 ], [ %125, %119 ]
%129 = phi ptr [ @IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT, %111 ], [ %126, %119 ]
%130 = load i32, ptr %128, align 4, !tbaa !20
%131 = tail call ptr @cpu_to_le32(i32 noundef %130) #2
%132 = getelementptr inbounds i8, ptr %2, i64 48
store ptr %131, ptr %132, align 8, !tbaa !32
%133 = load i32, ptr %129, align 4, !tbaa !20
%134 = tail call ptr @cpu_to_le32(i32 noundef %133) #2
%135 = getelementptr inbounds i8, ptr %2, i64 40
store ptr %134, ptr %135, align 8, !tbaa !33
%136 = load i32, ptr %2, align 8, !tbaa !21
%137 = load i32, ptr @POWER_FLAGS_SNOOZE_ENA_MSK, align 4, !tbaa !20
%138 = tail call i32 @cpu_to_le16(i32 noundef %137) #2
%139 = and i32 %138, %136
%140 = icmp eq i32 %139, 0
%141 = load i32, ptr @IWL_MVM_PS_HEAVY_RX_THLD_PACKETS, align 4
%142 = load i32, ptr @IWL_MVM_PS_SNOOZE_HEAVY_RX_THLD_PACKETS, align 4
%143 = select i1 %140, i32 %141, i32 %142
%144 = load i32, ptr @IWL_MVM_PS_HEAVY_TX_THLD_PACKETS, align 4
%145 = load i32, ptr @IWL_MVM_PS_SNOOZE_HEAVY_TX_THLD_PACKETS, align 4
%146 = select i1 %140, i32 %144, i32 %145
%147 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %146, ptr %147, align 8
%148 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %143, ptr %148, align 4
%149 = load i32, ptr @IWL_MVM_PS_HEAVY_TX_THLD_PERCENT, align 4, !tbaa !20
%150 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %149, ptr %150, align 8, !tbaa !34
%151 = load i32, ptr @IWL_MVM_PS_HEAVY_RX_THLD_PERCENT, align 4, !tbaa !20
%152 = getelementptr inbounds i8, ptr %2, i64 20
store i32 %151, ptr %152, align 4, !tbaa !35
ret void
}
declare ptr @iwl_mvm_vif_from_mac80211(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(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 = !{!"iwl_mvm_vif", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !15, i64 4}
!14 = !{!"TYPE_6__", !15, i64 0, !15, i64 4}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"iwl_mvm", !18, i64 0, !8, i64 8}
!18 = !{!"TYPE_8__", !12, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !15, i64 0}
!22 = !{!"iwl_mac_power_cmd", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !8, i64 40, !8, i64 48, !15, i64 56}
!23 = !{!22, !15, i64 4}
!24 = !{!14, !15, i64 0}
!25 = !{!22, !15, i64 8}
!26 = !{!22, !15, i64 12}
!27 = !{!22, !15, i64 16}
!28 = !{!17, !8, i64 8}
!29 = !{!30, !15, i64 0}
!30 = !{!"TYPE_7__", !15, i64 0}
!31 = !{!22, !15, i64 56}
!32 = !{!22, !8, i64 48}
!33 = !{!22, !8, i64 40}
!34 = !{!22, !15, i64 24}
!35 = !{!22, !15, i64 20}
| linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_power.c_iwl_mvm_power_configure_uapsd |
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/extr_x25519_ref10.c_crypto_scalarmult_curve25519_ref10_base.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/extr_x25519_ref10.c_crypto_scalarmult_curve25519_ref10_base.c"
target datalayout = "e-m:e-p270:32:32-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 @crypto_scalarmult_curve25519_ref10_base], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @crypto_scalarmult_curve25519_ref10_base(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i8, ptr %1, align 1, !tbaa !5
store i8 %4, ptr %0, align 1, !tbaa !5
%5 = getelementptr inbounds i8, ptr %1, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !5
%7 = getelementptr inbounds i8, ptr %0, i64 1
store i8 %6, ptr %7, align 1, !tbaa !5
%8 = getelementptr inbounds i8, ptr %1, i64 2
%9 = load i8, ptr %8, align 1, !tbaa !5
%10 = getelementptr inbounds i8, ptr %0, i64 2
store i8 %9, ptr %10, align 1, !tbaa !5
%11 = getelementptr inbounds i8, ptr %1, i64 3
%12 = load i8, ptr %11, align 1, !tbaa !5
%13 = getelementptr inbounds i8, ptr %0, i64 3
store i8 %12, ptr %13, align 1, !tbaa !5
%14 = getelementptr inbounds i8, ptr %1, i64 4
%15 = load i8, ptr %14, align 1, !tbaa !5
%16 = getelementptr inbounds i8, ptr %0, i64 4
store i8 %15, ptr %16, align 1, !tbaa !5
%17 = getelementptr inbounds i8, ptr %1, i64 5
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = getelementptr inbounds i8, ptr %0, i64 5
store i8 %18, ptr %19, align 1, !tbaa !5
%20 = getelementptr inbounds i8, ptr %1, i64 6
%21 = load i8, ptr %20, align 1, !tbaa !5
%22 = getelementptr inbounds i8, ptr %0, i64 6
store i8 %21, ptr %22, align 1, !tbaa !5
%23 = getelementptr inbounds i8, ptr %1, i64 7
%24 = load i8, ptr %23, align 1, !tbaa !5
%25 = getelementptr inbounds i8, ptr %0, i64 7
store i8 %24, ptr %25, align 1, !tbaa !5
%26 = getelementptr inbounds i8, ptr %1, i64 8
%27 = load i8, ptr %26, align 1, !tbaa !5
%28 = getelementptr inbounds i8, ptr %0, i64 8
store i8 %27, ptr %28, align 1, !tbaa !5
%29 = getelementptr inbounds i8, ptr %1, i64 9
%30 = load i8, ptr %29, align 1, !tbaa !5
%31 = getelementptr inbounds i8, ptr %0, i64 9
store i8 %30, ptr %31, align 1, !tbaa !5
%32 = getelementptr inbounds i8, ptr %1, i64 10
%33 = load i8, ptr %32, align 1, !tbaa !5
%34 = getelementptr inbounds i8, ptr %0, i64 10
store i8 %33, ptr %34, align 1, !tbaa !5
%35 = getelementptr inbounds i8, ptr %1, i64 11
%36 = load i8, ptr %35, align 1, !tbaa !5
%37 = getelementptr inbounds i8, ptr %0, i64 11
store i8 %36, ptr %37, align 1, !tbaa !5
%38 = getelementptr inbounds i8, ptr %1, i64 12
%39 = load i8, ptr %38, align 1, !tbaa !5
%40 = getelementptr inbounds i8, ptr %0, i64 12
store i8 %39, ptr %40, align 1, !tbaa !5
%41 = getelementptr inbounds i8, ptr %1, i64 13
%42 = load i8, ptr %41, align 1, !tbaa !5
%43 = getelementptr inbounds i8, ptr %0, i64 13
store i8 %42, ptr %43, align 1, !tbaa !5
%44 = getelementptr inbounds i8, ptr %1, i64 14
%45 = load i8, ptr %44, align 1, !tbaa !5
%46 = getelementptr inbounds i8, ptr %0, i64 14
store i8 %45, ptr %46, align 1, !tbaa !5
%47 = getelementptr inbounds i8, ptr %1, i64 15
%48 = load i8, ptr %47, align 1, !tbaa !5
%49 = getelementptr inbounds i8, ptr %0, i64 15
store i8 %48, ptr %49, align 1, !tbaa !5
%50 = getelementptr inbounds i8, ptr %1, i64 16
%51 = load i8, ptr %50, align 1, !tbaa !5
%52 = getelementptr inbounds i8, ptr %0, i64 16
store i8 %51, ptr %52, align 1, !tbaa !5
%53 = getelementptr inbounds i8, ptr %1, i64 17
%54 = load i8, ptr %53, align 1, !tbaa !5
%55 = getelementptr inbounds i8, ptr %0, i64 17
store i8 %54, ptr %55, align 1, !tbaa !5
%56 = getelementptr inbounds i8, ptr %1, i64 18
%57 = load i8, ptr %56, align 1, !tbaa !5
%58 = getelementptr inbounds i8, ptr %0, i64 18
store i8 %57, ptr %58, align 1, !tbaa !5
%59 = getelementptr inbounds i8, ptr %1, i64 19
%60 = load i8, ptr %59, align 1, !tbaa !5
%61 = getelementptr inbounds i8, ptr %0, i64 19
store i8 %60, ptr %61, align 1, !tbaa !5
%62 = getelementptr inbounds i8, ptr %1, i64 20
%63 = load i8, ptr %62, align 1, !tbaa !5
%64 = getelementptr inbounds i8, ptr %0, i64 20
store i8 %63, ptr %64, align 1, !tbaa !5
%65 = getelementptr inbounds i8, ptr %1, i64 21
%66 = load i8, ptr %65, align 1, !tbaa !5
%67 = getelementptr inbounds i8, ptr %0, i64 21
store i8 %66, ptr %67, align 1, !tbaa !5
%68 = getelementptr inbounds i8, ptr %1, i64 22
%69 = load i8, ptr %68, align 1, !tbaa !5
%70 = getelementptr inbounds i8, ptr %0, i64 22
store i8 %69, ptr %70, align 1, !tbaa !5
%71 = getelementptr inbounds i8, ptr %1, i64 23
%72 = load i8, ptr %71, align 1, !tbaa !5
%73 = getelementptr inbounds i8, ptr %0, i64 23
store i8 %72, ptr %73, align 1, !tbaa !5
%74 = getelementptr inbounds i8, ptr %1, i64 24
%75 = load i8, ptr %74, align 1, !tbaa !5
%76 = getelementptr inbounds i8, ptr %0, i64 24
store i8 %75, ptr %76, align 1, !tbaa !5
%77 = getelementptr inbounds i8, ptr %1, i64 25
%78 = load i8, ptr %77, align 1, !tbaa !5
%79 = getelementptr inbounds i8, ptr %0, i64 25
store i8 %78, ptr %79, align 1, !tbaa !5
%80 = getelementptr inbounds i8, ptr %1, i64 26
%81 = load i8, ptr %80, align 1, !tbaa !5
%82 = getelementptr inbounds i8, ptr %0, i64 26
store i8 %81, ptr %82, align 1, !tbaa !5
%83 = getelementptr inbounds i8, ptr %1, i64 27
%84 = load i8, ptr %83, align 1, !tbaa !5
%85 = getelementptr inbounds i8, ptr %0, i64 27
store i8 %84, ptr %85, align 1, !tbaa !5
%86 = getelementptr inbounds i8, ptr %1, i64 28
%87 = load i8, ptr %86, align 1, !tbaa !5
%88 = getelementptr inbounds i8, ptr %0, i64 28
store i8 %87, ptr %88, align 1, !tbaa !5
%89 = getelementptr inbounds i8, ptr %1, i64 29
%90 = load i8, ptr %89, align 1, !tbaa !5
%91 = getelementptr inbounds i8, ptr %0, i64 29
store i8 %90, ptr %91, align 1, !tbaa !5
%92 = getelementptr inbounds i8, ptr %1, i64 30
%93 = load i8, ptr %92, align 1, !tbaa !5
%94 = getelementptr inbounds i8, ptr %0, i64 30
store i8 %93, ptr %94, align 1, !tbaa !5
%95 = getelementptr inbounds i8, ptr %1, i64 31
%96 = load i8, ptr %95, align 1, !tbaa !5
%97 = getelementptr inbounds i8, ptr %0, i64 31
%98 = load i8, ptr %0, align 1, !tbaa !5
%99 = and i8 %98, -8
store i8 %99, ptr %0, align 1, !tbaa !5
%100 = and i8 %96, 63
%101 = or disjoint i8 %100, 64
store i8 %101, ptr %97, align 1, !tbaa !5
%102 = call i32 @ge25519_scalarmult_base(ptr noundef nonnull %3, ptr noundef nonnull %0) #3
%103 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
%104 = load i32, ptr %103, align 4, !tbaa !8
%105 = load i32, ptr %3, align 4, !tbaa !11
%106 = call i32 @edwards_to_montgomery(i32 noundef undef, i32 noundef %104, i32 noundef %105) #3
%107 = call i32 @fe25519_tobytes(ptr noundef nonnull %0, i32 noundef undef) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ge25519_scalarmult_base(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @edwards_to_montgomery(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fe25519_tobytes(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 4}
!9 = !{!"TYPE_3__", !10, i64 0, !10, i64 4}
!10 = !{!"int", !6, i64 0}
!11 = !{!9, !10, i64 0}
| ; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/extr_x25519_ref10.c_crypto_scalarmult_curve25519_ref10_base.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/extr_x25519_ref10.c_crypto_scalarmult_curve25519_ref10_base.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32 }
@llvm.used = appending global [1 x ptr] [ptr @crypto_scalarmult_curve25519_ref10_base], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @crypto_scalarmult_curve25519_ref10_base(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i8, ptr %1, align 1, !tbaa !6
store i8 %4, ptr %0, align 1, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 1
store i8 %6, ptr %7, align 1, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 2
%9 = load i8, ptr %8, align 1, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 2
store i8 %9, ptr %10, align 1, !tbaa !6
%11 = getelementptr inbounds i8, ptr %1, i64 3
%12 = load i8, ptr %11, align 1, !tbaa !6
%13 = getelementptr inbounds i8, ptr %0, i64 3
store i8 %12, ptr %13, align 1, !tbaa !6
%14 = getelementptr inbounds i8, ptr %1, i64 4
%15 = load i8, ptr %14, align 1, !tbaa !6
%16 = getelementptr inbounds i8, ptr %0, i64 4
store i8 %15, ptr %16, align 1, !tbaa !6
%17 = getelementptr inbounds i8, ptr %1, i64 5
%18 = load i8, ptr %17, align 1, !tbaa !6
%19 = getelementptr inbounds i8, ptr %0, i64 5
store i8 %18, ptr %19, align 1, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 6
%21 = load i8, ptr %20, align 1, !tbaa !6
%22 = getelementptr inbounds i8, ptr %0, i64 6
store i8 %21, ptr %22, align 1, !tbaa !6
%23 = getelementptr inbounds i8, ptr %1, i64 7
%24 = load i8, ptr %23, align 1, !tbaa !6
%25 = getelementptr inbounds i8, ptr %0, i64 7
store i8 %24, ptr %25, align 1, !tbaa !6
%26 = getelementptr inbounds i8, ptr %1, i64 8
%27 = load i8, ptr %26, align 1, !tbaa !6
%28 = getelementptr inbounds i8, ptr %0, i64 8
store i8 %27, ptr %28, align 1, !tbaa !6
%29 = getelementptr inbounds i8, ptr %1, i64 9
%30 = load i8, ptr %29, align 1, !tbaa !6
%31 = getelementptr inbounds i8, ptr %0, i64 9
store i8 %30, ptr %31, align 1, !tbaa !6
%32 = getelementptr inbounds i8, ptr %1, i64 10
%33 = load i8, ptr %32, align 1, !tbaa !6
%34 = getelementptr inbounds i8, ptr %0, i64 10
store i8 %33, ptr %34, align 1, !tbaa !6
%35 = getelementptr inbounds i8, ptr %1, i64 11
%36 = load i8, ptr %35, align 1, !tbaa !6
%37 = getelementptr inbounds i8, ptr %0, i64 11
store i8 %36, ptr %37, align 1, !tbaa !6
%38 = getelementptr inbounds i8, ptr %1, i64 12
%39 = load i8, ptr %38, align 1, !tbaa !6
%40 = getelementptr inbounds i8, ptr %0, i64 12
store i8 %39, ptr %40, align 1, !tbaa !6
%41 = getelementptr inbounds i8, ptr %1, i64 13
%42 = load i8, ptr %41, align 1, !tbaa !6
%43 = getelementptr inbounds i8, ptr %0, i64 13
store i8 %42, ptr %43, align 1, !tbaa !6
%44 = getelementptr inbounds i8, ptr %1, i64 14
%45 = load i8, ptr %44, align 1, !tbaa !6
%46 = getelementptr inbounds i8, ptr %0, i64 14
store i8 %45, ptr %46, align 1, !tbaa !6
%47 = getelementptr inbounds i8, ptr %1, i64 15
%48 = load i8, ptr %47, align 1, !tbaa !6
%49 = getelementptr inbounds i8, ptr %0, i64 15
store i8 %48, ptr %49, align 1, !tbaa !6
%50 = getelementptr inbounds i8, ptr %1, i64 16
%51 = load i8, ptr %50, align 1, !tbaa !6
%52 = getelementptr inbounds i8, ptr %0, i64 16
store i8 %51, ptr %52, align 1, !tbaa !6
%53 = getelementptr inbounds i8, ptr %1, i64 17
%54 = load i8, ptr %53, align 1, !tbaa !6
%55 = getelementptr inbounds i8, ptr %0, i64 17
store i8 %54, ptr %55, align 1, !tbaa !6
%56 = getelementptr inbounds i8, ptr %1, i64 18
%57 = load i8, ptr %56, align 1, !tbaa !6
%58 = getelementptr inbounds i8, ptr %0, i64 18
store i8 %57, ptr %58, align 1, !tbaa !6
%59 = getelementptr inbounds i8, ptr %1, i64 19
%60 = load i8, ptr %59, align 1, !tbaa !6
%61 = getelementptr inbounds i8, ptr %0, i64 19
store i8 %60, ptr %61, align 1, !tbaa !6
%62 = getelementptr inbounds i8, ptr %1, i64 20
%63 = load i8, ptr %62, align 1, !tbaa !6
%64 = getelementptr inbounds i8, ptr %0, i64 20
store i8 %63, ptr %64, align 1, !tbaa !6
%65 = getelementptr inbounds i8, ptr %1, i64 21
%66 = load i8, ptr %65, align 1, !tbaa !6
%67 = getelementptr inbounds i8, ptr %0, i64 21
store i8 %66, ptr %67, align 1, !tbaa !6
%68 = getelementptr inbounds i8, ptr %1, i64 22
%69 = load i8, ptr %68, align 1, !tbaa !6
%70 = getelementptr inbounds i8, ptr %0, i64 22
store i8 %69, ptr %70, align 1, !tbaa !6
%71 = getelementptr inbounds i8, ptr %1, i64 23
%72 = load i8, ptr %71, align 1, !tbaa !6
%73 = getelementptr inbounds i8, ptr %0, i64 23
store i8 %72, ptr %73, align 1, !tbaa !6
%74 = getelementptr inbounds i8, ptr %1, i64 24
%75 = load i8, ptr %74, align 1, !tbaa !6
%76 = getelementptr inbounds i8, ptr %0, i64 24
store i8 %75, ptr %76, align 1, !tbaa !6
%77 = getelementptr inbounds i8, ptr %1, i64 25
%78 = load i8, ptr %77, align 1, !tbaa !6
%79 = getelementptr inbounds i8, ptr %0, i64 25
store i8 %78, ptr %79, align 1, !tbaa !6
%80 = getelementptr inbounds i8, ptr %1, i64 26
%81 = load i8, ptr %80, align 1, !tbaa !6
%82 = getelementptr inbounds i8, ptr %0, i64 26
store i8 %81, ptr %82, align 1, !tbaa !6
%83 = getelementptr inbounds i8, ptr %1, i64 27
%84 = load i8, ptr %83, align 1, !tbaa !6
%85 = getelementptr inbounds i8, ptr %0, i64 27
store i8 %84, ptr %85, align 1, !tbaa !6
%86 = getelementptr inbounds i8, ptr %1, i64 28
%87 = load i8, ptr %86, align 1, !tbaa !6
%88 = getelementptr inbounds i8, ptr %0, i64 28
store i8 %87, ptr %88, align 1, !tbaa !6
%89 = getelementptr inbounds i8, ptr %1, i64 29
%90 = load i8, ptr %89, align 1, !tbaa !6
%91 = getelementptr inbounds i8, ptr %0, i64 29
store i8 %90, ptr %91, align 1, !tbaa !6
%92 = getelementptr inbounds i8, ptr %1, i64 30
%93 = load i8, ptr %92, align 1, !tbaa !6
%94 = getelementptr inbounds i8, ptr %0, i64 30
store i8 %93, ptr %94, align 1, !tbaa !6
%95 = getelementptr inbounds i8, ptr %1, i64 31
%96 = load i8, ptr %95, align 1, !tbaa !6
%97 = getelementptr inbounds i8, ptr %0, i64 31
%98 = load i8, ptr %0, align 1, !tbaa !6
%99 = and i8 %98, -8
store i8 %99, ptr %0, align 1, !tbaa !6
%100 = and i8 %96, 63
%101 = or disjoint i8 %100, 64
store i8 %101, ptr %97, align 1, !tbaa !6
%102 = call i32 @ge25519_scalarmult_base(ptr noundef nonnull %3, ptr noundef nonnull %0) #3
%103 = getelementptr inbounds i8, ptr %3, i64 4
%104 = load i32, ptr %103, align 4, !tbaa !9
%105 = load i32, ptr %3, align 4, !tbaa !12
%106 = call i32 @edwards_to_montgomery(i32 noundef undef, i32 noundef %104, i32 noundef %105) #3
%107 = call i32 @fe25519_tobytes(ptr noundef nonnull %0, i32 noundef undef) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ge25519_scalarmult_base(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @edwards_to_montgomery(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fe25519_tobytes(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
| libsodium_src_libsodium_crypto_scalarmult_curve25519_ref10_extr_x25519_ref10.c_crypto_scalarmult_curve25519_ref10_base |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_mmap_size.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_mmap_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.omap_gem_object = type { i32, i32, i32 }
@OMAP_BO_TILED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @omap_gem_mmap_size(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_omap_bo(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %2, align 4, !tbaa !10
%5 = load i32, ptr @OMAP_BO_TILED, align 4, !tbaa !13
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %15, label %8
8: ; preds = %1
%9 = tail call i32 @gem2fmt(i32 noundef %4) #2
%10 = getelementptr inbounds %struct.omap_gem_object, ptr %2, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = getelementptr inbounds %struct.omap_gem_object, ptr %2, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = tail call i64 @tiler_vsize(i32 noundef %9, i32 noundef %11, i32 noundef %13) #2
br label %15
15: ; preds = %8, %1
%16 = phi i64 [ %14, %8 ], [ %3, %1 ]
ret i64 %16
}
declare ptr @to_omap_bo(ptr noundef) local_unnamed_addr #1
declare i64 @tiler_vsize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gem2fmt(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 = !{!"drm_gem_object", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"omap_gem_object", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_mmap_size.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_mmap_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OMAP_BO_TILED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @omap_gem_mmap_size(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_omap_bo(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %2, align 4, !tbaa !11
%5 = load i32, ptr @OMAP_BO_TILED, align 4, !tbaa !14
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %15, label %8
8: ; preds = %1
%9 = tail call i32 @gem2fmt(i32 noundef %4) #2
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = getelementptr inbounds i8, ptr %2, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = tail call i64 @tiler_vsize(i32 noundef %9, i32 noundef %11, i32 noundef %13) #2
br label %15
15: ; preds = %8, %1
%16 = phi i64 [ %14, %8 ], [ %3, %1 ]
ret i64 %16
}
declare ptr @to_omap_bo(ptr noundef) local_unnamed_addr #1
declare i64 @tiler_vsize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gem2fmt(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 = !{!"drm_gem_object", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"omap_gem_object", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 4}
| linux_drivers_gpu_drm_omapdrm_extr_omap_gem.c_omap_gem_mmap_size |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.