IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_update_pcm_pointers.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_update_pcm_pointers.c"
target datalayout = "e-m:e-p270:32:32-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.amdtp_stream = type { i32, i64, i32 }
%struct.TYPE_2__ = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_pcm_pointers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @update_pcm_pointers(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = add i32 %4, %2
%6 = load ptr, ptr %1, align 8, !tbaa !11
%7 = load i32, ptr %6, align 8, !tbaa !14
%8 = icmp ult i32 %5, %7
%9 = select i1 %8, i32 0, i32 %7
%10 = sub i32 %5, %9
%11 = tail call i32 @WRITE_ONCE(i32 noundef %4, i32 noundef %10) #2
%12 = zext i32 %2 to i64
%13 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = add nsw i64 %14, %12
store i64 %15, ptr %13, align 8, !tbaa !16
%16 = load ptr, ptr %1, align 8, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !17
%19 = icmp slt i64 %15, %18
br i1 %19, label %24, label %20
20: ; preds = %3
%21 = sub nsw i64 %15, %18
store i64 %21, ptr %13, align 8, !tbaa !16
%22 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 2
%23 = tail call i32 @tasklet_hi_schedule(ptr noundef nonnull %22) #2
br label %24
24: ; preds = %20, %3
ret void
}
declare i32 @WRITE_ONCE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tasklet_hi_schedule(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 = !{!"amdtp_stream", !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 = !{!"long", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"snd_pcm_substream", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0, !10, i64 8}
!16 = !{!6, !10, i64 8}
!17 = !{!15, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_update_pcm_pointers.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_update_pcm_pointers.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 @update_pcm_pointers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @update_pcm_pointers(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = add i32 %4, %2
%6 = load ptr, ptr %1, align 8, !tbaa !12
%7 = load i32, ptr %6, align 8, !tbaa !15
%8 = icmp ult i32 %5, %7
%9 = select i1 %8, i32 0, i32 %7
%10 = sub i32 %5, %9
%11 = tail call i32 @WRITE_ONCE(i32 noundef %4, i32 noundef %10) #2
%12 = zext i32 %2 to i64
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = add nsw i64 %14, %12
store i64 %15, ptr %13, align 8, !tbaa !17
%16 = load ptr, ptr %1, align 8, !tbaa !12
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !18
%19 = icmp slt i64 %15, %18
br i1 %19, label %24, label %20
20: ; preds = %3
%21 = sub nsw i64 %15, %18
store i64 %21, ptr %13, align 8, !tbaa !17
%22 = getelementptr inbounds i8, ptr %0, i64 16
%23 = tail call i32 @tasklet_hi_schedule(ptr noundef nonnull %22) #2
br label %24
24: ; preds = %20, %3
ret void
}
declare i32 @WRITE_ONCE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tasklet_hi_schedule(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 = !{!"amdtp_stream", !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 = !{!"long", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"snd_pcm_substream", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!17 = !{!7, !11, i64 8}
!18 = !{!16, !11, i64 8}
| linux_sound_firewire_extr_amdtp-stream.c_update_pcm_pointers |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_ctrl_stdavail_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_ctrl_stdavail_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ctrl_stdavail_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @ctrl_stdavail_get(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
store i32 %4, ptr %1, align 4, !tbaa !13
ret i32 0
}
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 = !{!"pvr2_ctrl", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_ctrl_stdavail_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_ctrl_stdavail_get.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 @ctrl_stdavail_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @ctrl_stdavail_get(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
store i32 %4, ptr %1, align 4, !tbaa !14
ret i32 0
}
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 = !{!"pvr2_ctrl", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| fastsocket_kernel_drivers_media_video_pvrusb2_extr_pvrusb2-hdw.c_ctrl_stdavail_get |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_av1_parse.h_leb128.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_av1_parse.h_leb128.c"
target datalayout = "e-m:e-p270:32:32-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 @leb128], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @leb128(ptr noundef %0) #0 {
%2 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%3 = and i32 %2, 127
%4 = and i32 %2, 128
%5 = icmp eq i32 %4, 0
br i1 %5, label %43, label %6
6: ; preds = %1
%7 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%8 = shl i32 %7, 7
%9 = and i32 %8, 16256
%10 = or disjoint i32 %9, %3
%11 = and i32 %7, 128
%12 = icmp eq i32 %11, 0
br i1 %12, label %43, label %13
13: ; preds = %6
%14 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%15 = shl i32 %14, 14
%16 = and i32 %15, 2080768
%17 = or disjoint i32 %16, %10
%18 = and i32 %14, 128
%19 = icmp eq i32 %18, 0
br i1 %19, label %43, label %20
20: ; preds = %13
%21 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%22 = shl i32 %21, 21
%23 = and i32 %22, 266338304
%24 = or disjoint i32 %23, %17
%25 = and i32 %21, 128
%26 = icmp eq i32 %25, 0
br i1 %26, label %43, label %27
27: ; preds = %20
%28 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%29 = shl i32 %28, 28
%30 = or disjoint i32 %29, %24
%31 = and i32 %28, 128
%32 = icmp eq i32 %31, 0
br i1 %32, label %43, label %33
33: ; preds = %27
%34 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%35 = and i32 %34, 128
%36 = icmp eq i32 %35, 0
br i1 %36, label %43, label %37
37: ; preds = %33
%38 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%39 = and i32 %38, 128
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
br label %43
43: ; preds = %41, %37, %33, %27, %20, %13, %6, %1
%44 = phi i32 [ %3, %1 ], [ %10, %6 ], [ %17, %13 ], [ %24, %20 ], [ %30, %27 ], [ poison, %33 ], [ poison, %37 ], [ poison, %41 ]
ret i32 %44
}
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_av1_parse.h_leb128.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_av1_parse.h_leb128.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 @leb128], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @leb128(ptr noundef %0) #0 {
%2 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%3 = and i32 %2, 127
%4 = and i32 %2, 128
%5 = icmp eq i32 %4, 0
br i1 %5, label %43, label %6
6: ; preds = %1
%7 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%8 = shl i32 %7, 7
%9 = and i32 %8, 16256
%10 = or disjoint i32 %9, %3
%11 = and i32 %7, 128
%12 = icmp eq i32 %11, 0
br i1 %12, label %43, label %13
13: ; preds = %6
%14 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%15 = shl i32 %14, 14
%16 = and i32 %15, 2080768
%17 = or disjoint i32 %16, %10
%18 = and i32 %14, 128
%19 = icmp eq i32 %18, 0
br i1 %19, label %43, label %20
20: ; preds = %13
%21 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%22 = shl i32 %21, 21
%23 = and i32 %22, 266338304
%24 = or disjoint i32 %23, %17
%25 = and i32 %21, 128
%26 = icmp eq i32 %25, 0
br i1 %26, label %43, label %27
27: ; preds = %20
%28 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%29 = shl i32 %28, 28
%30 = or disjoint i32 %29, %24
%31 = and i32 %28, 128
%32 = icmp eq i32 %31, 0
br i1 %32, label %43, label %33
33: ; preds = %27
%34 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%35 = and i32 %34, 128
%36 = icmp eq i32 %35, 0
br i1 %36, label %43, label %37
37: ; preds = %33
%38 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
%39 = and i32 %38, 128
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call i32 @get_bits(ptr noundef %0, i32 noundef 8) #2
br label %43
43: ; preds = %41, %37, %33, %27, %20, %13, %6, %1
%44 = phi i32 [ %3, %1 ], [ %10, %6 ], [ %17, %13 ], [ %24, %20 ], [ %30, %27 ], [ poison, %33 ], [ poison, %37 ], [ poison, %41 ]
ret i32 %44
}
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| FFmpeg_libavcodec_extr_av1_parse.h_leb128 |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_api.c_BTA_DmSearchExt.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_api.c_BTA_DmSearchExt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i32, ptr, i32, i32, ptr, i32, %struct.TYPE_13__ }
%struct.TYPE_13__ = type { i32 }
%struct.TYPE_14__ = type { i32, ptr, i32 }
@BTA_DM_API_SEARCH_EVT = dso_local local_unnamed_addr global i32 0, align 4
@BTA_DM_RS_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @BTA_DmSearchExt(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = load i32, ptr %1, align 8, !tbaa !5
%7 = shl i32 %6, 2
%8 = add i32 %7, 40
br label %9
9: ; preds = %3, %5
%10 = phi i32 [ %8, %5 ], [ 40, %3 ]
%11 = tail call i64 @osi_malloc(i32 noundef %10) #2
%12 = inttoptr i64 %11 to ptr
%13 = icmp eq i64 %11, 0
br i1 %13, label %40, label %14
14: ; preds = %9
%15 = tail call i32 @memset(ptr noundef nonnull %12, i32 noundef 0, i32 noundef %10) #2
%16 = load i32, ptr @BTA_DM_API_SEARCH_EVT, align 4, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 6
store i32 %16, ptr %17, align 4, !tbaa !12
%18 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 5
%19 = tail call i32 @memcpy(ptr noundef nonnull %18, ptr noundef %0, i32 noundef 24) #2
%20 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 4
store ptr %2, ptr %20, align 8, !tbaa !15
%21 = load i32, ptr @BTA_DM_RS_NONE, align 4, !tbaa !11
%22 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 3
store i32 %21, ptr %22, align 4, !tbaa !16
br i1 %4, label %38, label %23
23: ; preds = %14
%24 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 2
%25 = load i32, ptr %24, align 8, !tbaa !17
%26 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 2
store i32 %25, ptr %26, align 8, !tbaa !18
%27 = load i32, ptr %1, align 8, !tbaa !5
store i32 %27, ptr %12, align 8, !tbaa !19
%28 = icmp eq i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %23
%30 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 1
%31 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 1
store ptr %30, ptr %31, align 8, !tbaa !20
%32 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !21
%34 = shl i32 %27, 2
%35 = tail call i32 @memcpy(ptr noundef nonnull %30, ptr noundef %33, i32 noundef %34) #2
br label %38
36: ; preds = %23
%37 = getelementptr inbounds %struct.TYPE_15__, ptr %12, i64 0, i32 1
store ptr null, ptr %37, align 8, !tbaa !20
br label %38
38: ; preds = %29, %36, %14
%39 = tail call i32 @bta_sys_sendmsg(ptr noundef nonnull %12) #2
br label %40
40: ; preds = %38, %9
ret void
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bta_sys_sendmsg(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_14__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 36}
!13 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !14, i64 36}
!14 = !{!"TYPE_13__", !7, i64 0}
!15 = !{!13, !10, i64 24}
!16 = !{!13, !7, i64 20}
!17 = !{!6, !7, i64 16}
!18 = !{!13, !7, i64 16}
!19 = !{!13, !7, i64 0}
!20 = !{!13, !10, i64 8}
!21 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_api.c_BTA_DmSearchExt.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/dm/extr_bta_dm_api.c_BTA_DmSearchExt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BTA_DM_API_SEARCH_EVT = common local_unnamed_addr global i32 0, align 4
@BTA_DM_RS_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @BTA_DmSearchExt(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = load i32, ptr %1, align 8, !tbaa !6
%7 = shl i32 %6, 2
%8 = add i32 %7, 40
br label %9
9: ; preds = %3, %5
%10 = phi i32 [ %8, %5 ], [ 40, %3 ]
%11 = tail call i64 @osi_malloc(i32 noundef %10) #2
%12 = inttoptr i64 %11 to ptr
%13 = icmp eq i64 %11, 0
br i1 %13, label %40, label %14
14: ; preds = %9
%15 = tail call i32 @memset(ptr noundef nonnull %12, i32 noundef 0, i32 noundef %10) #2
%16 = load i32, ptr @BTA_DM_API_SEARCH_EVT, align 4, !tbaa !12
%17 = getelementptr inbounds i8, ptr %12, i64 36
store i32 %16, ptr %17, align 4, !tbaa !13
%18 = getelementptr inbounds i8, ptr %12, i64 32
%19 = tail call i32 @memcpy(ptr noundef nonnull %18, ptr noundef %0, i32 noundef 24) #2
%20 = getelementptr inbounds i8, ptr %12, i64 24
store ptr %2, ptr %20, align 8, !tbaa !16
%21 = load i32, ptr @BTA_DM_RS_NONE, align 4, !tbaa !12
%22 = getelementptr inbounds i8, ptr %12, i64 20
store i32 %21, ptr %22, align 4, !tbaa !17
br i1 %4, label %38, label %23
23: ; preds = %14
%24 = getelementptr inbounds i8, ptr %1, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !18
%26 = getelementptr inbounds i8, ptr %12, i64 16
store i32 %25, ptr %26, align 8, !tbaa !19
%27 = load i32, ptr %1, align 8, !tbaa !6
store i32 %27, ptr %12, align 8, !tbaa !20
%28 = icmp eq i32 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %23
%30 = getelementptr inbounds i8, ptr %12, i64 40
%31 = getelementptr inbounds i8, ptr %12, i64 8
store ptr %30, ptr %31, align 8, !tbaa !21
%32 = getelementptr inbounds i8, ptr %1, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !22
%34 = shl i32 %27, 2
%35 = tail call i32 @memcpy(ptr noundef nonnull %30, ptr noundef %33, i32 noundef %34) #2
br label %38
36: ; preds = %23
%37 = getelementptr inbounds i8, ptr %12, i64 8
store ptr null, ptr %37, align 8, !tbaa !21
br label %38
38: ; preds = %29, %36, %14
%39 = tail call i32 @bta_sys_sendmsg(ptr noundef nonnull %12) #2
br label %40
40: ; preds = %38, %9
ret void
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bta_sys_sendmsg(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_14__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 36}
!14 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !8, i64 32, !15, i64 36}
!15 = !{!"TYPE_13__", !8, i64 0}
!16 = !{!14, !11, i64 24}
!17 = !{!14, !8, i64 20}
!18 = !{!7, !8, i64 16}
!19 = !{!14, !8, i64 16}
!20 = !{!14, !8, i64 0}
!21 = !{!14, !11, i64 8}
!22 = !{!7, !11, i64 8}
| esp-idf_components_bt_host_bluedroid_bta_dm_extr_bta_dm_api.c_BTA_DmSearchExt |
; ModuleID = 'AnghaBench/linux/drivers/usb/chipidea/extr_usbmisc_imx.c_usbmisc_imx6_hsic_set_connect.c'
source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_usbmisc_imx.c_usbmisc_imx6_hsic_set_connect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.imx_usbmisc = type { i32, i64 }
@MX6_USB_HSIC_CTRL_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@MX6_BM_HSIC_DEV_CONN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usbmisc_imx6_hsic_set_connect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @usbmisc_imx6_hsic_set_connect(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call ptr @dev_get_drvdata(i32 noundef %2) #2
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%5 = tail call i32 @usbmisc_imx6_hsic_get_reg_offset(ptr noundef nonnull %0) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
br label %29
9: ; preds = %1
%10 = getelementptr inbounds %struct.imx_usbmisc, ptr %3, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !10
%12 = load i64, ptr @MX6_USB_HSIC_CTRL_OFFSET, align 8, !tbaa !13
%13 = zext nneg i32 %5 to i64
%14 = add i64 %11, %13
%15 = add i64 %14, %12
%16 = tail call i32 @readl(i64 noundef %15) #2
%17 = load i32, ptr @MX6_BM_HSIC_DEV_CONN, align 4, !tbaa !14
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %9
%21 = or i32 %17, %16
%22 = load i64, ptr %10, align 8, !tbaa !10
%23 = load i64, ptr @MX6_USB_HSIC_CTRL_OFFSET, align 8, !tbaa !13
%24 = add i64 %22, %13
%25 = add i64 %24, %23
%26 = tail call i32 @writel(i32 noundef %21, i64 noundef %25) #2
br label %27
27: ; preds = %20, %9
%28 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
br label %29
29: ; preds = %27, %7
%30 = phi i32 [ %5, %7 ], [ 0, %27 ]
ret i32 %30
}
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usbmisc_imx6_hsic_get_reg_offset(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"imx_usbmisc_data", !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 = !{!"imx_usbmisc", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/chipidea/extr_usbmisc_imx.c_usbmisc_imx6_hsic_set_connect.c'
source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_usbmisc_imx.c_usbmisc_imx6_hsic_set_connect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MX6_USB_HSIC_CTRL_OFFSET = common local_unnamed_addr global i64 0, align 8
@MX6_BM_HSIC_DEV_CONN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usbmisc_imx6_hsic_set_connect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @usbmisc_imx6_hsic_set_connect(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call ptr @dev_get_drvdata(i32 noundef %2) #2
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%5 = tail call i32 @usbmisc_imx6_hsic_get_reg_offset(ptr noundef nonnull %0) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
br label %29
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %3, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = load i64, ptr @MX6_USB_HSIC_CTRL_OFFSET, align 8, !tbaa !14
%13 = zext nneg i32 %5 to i64
%14 = add i64 %11, %13
%15 = add i64 %14, %12
%16 = tail call i32 @readl(i64 noundef %15) #2
%17 = load i32, ptr @MX6_BM_HSIC_DEV_CONN, align 4, !tbaa !15
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %9
%21 = or i32 %17, %16
%22 = load i64, ptr %10, align 8, !tbaa !11
%23 = load i64, ptr @MX6_USB_HSIC_CTRL_OFFSET, align 8, !tbaa !14
%24 = add i64 %22, %13
%25 = add i64 %24, %23
%26 = tail call i32 @writel(i32 noundef %21, i64 noundef %25) #2
br label %27
27: ; preds = %20, %9
%28 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
br label %29
29: ; preds = %27, %7
%30 = phi i32 [ %5, %7 ], [ 0, %27 ]
ret i32 %30
}
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usbmisc_imx6_hsic_get_reg_offset(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"imx_usbmisc_data", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"imx_usbmisc", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!8, !8, i64 0}
| linux_drivers_usb_chipidea_extr_usbmisc_imx.c_usbmisc_imx6_hsic_set_connect |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_uath.c_uath_sysctl_node.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_uath.c_uath_sysctl_node.c"
target datalayout = "e-m:e-p270:32:32-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.uath_softc = type { i32, %struct.uath_stat }
%struct.uath_stat = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@OID_AUTO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stats\00", align 1
@CTLFLAG_RD = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"UATH statistics\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"badchunkseqnum\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Bad chunk sequence numbers\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"invalidlen\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Invalid length\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"multichunk\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"Multi chunks\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"toobigrxpkt\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"Too big rx packets\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"stopinprogress\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"Stop in progress\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"crcerrs\00", align 1
@.str.13 = private unnamed_addr constant [11 x i8] c"CRC errors\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"phyerr\00", align 1
@.str.15 = private unnamed_addr constant [11 x i8] c"PHY errors\00", align 1
@.str.16 = private unnamed_addr constant [15 x i8] c"decrypt_crcerr\00", align 1
@.str.17 = private unnamed_addr constant [22 x i8] c"Decryption CRC errors\00", align 1
@.str.18 = private unnamed_addr constant [15 x i8] c"decrypt_micerr\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c"Decryption Misc errors\00", align 1
@.str.20 = private unnamed_addr constant [10 x i8] c"decomperr\00", align 1
@.str.21 = private unnamed_addr constant [14 x i8] c"Decomp errors\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"keyerr\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"Key errors\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.25 = private unnamed_addr constant [15 x i8] c"Unknown errors\00", align 1
@.str.26 = private unnamed_addr constant [11 x i8] c"cmd_active\00", align 1
@.str.27 = private unnamed_addr constant [32 x i8] c"Active numbers in Command queue\00", align 1
@.str.28 = private unnamed_addr constant [13 x i8] c"cmd_inactive\00", align 1
@.str.29 = private unnamed_addr constant [34 x i8] c"Inactive numbers in Command queue\00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"cmd_pending\00", align 1
@.str.31 = private unnamed_addr constant [33 x i8] c"Pending numbers in Command queue\00", align 1
@.str.32 = private unnamed_addr constant [12 x i8] c"cmd_waiting\00", align 1
@.str.33 = private unnamed_addr constant [33 x i8] c"Waiting numbers in Command queue\00", align 1
@.str.34 = private unnamed_addr constant [10 x i8] c"rx_active\00", align 1
@.str.35 = private unnamed_addr constant [27 x i8] c"Active numbers in RX queue\00", align 1
@.str.36 = private unnamed_addr constant [12 x i8] c"rx_inactive\00", align 1
@.str.37 = private unnamed_addr constant [29 x i8] c"Inactive numbers in RX queue\00", align 1
@.str.38 = private unnamed_addr constant [10 x i8] c"tx_active\00", align 1
@.str.39 = private unnamed_addr constant [27 x i8] c"Active numbers in TX queue\00", align 1
@.str.40 = private unnamed_addr constant [12 x i8] c"tx_inactive\00", align 1
@.str.41 = private unnamed_addr constant [29 x i8] c"Inactive numbers in TX queue\00", align 1
@.str.42 = private unnamed_addr constant [11 x i8] c"tx_pending\00", align 1
@.str.43 = private unnamed_addr constant [28 x i8] c"Pending numbers in TX queue\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @uath_sysctl_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uath_sysctl_node(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @device_get_sysctl_ctx(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @device_get_sysctl_tree(i32 noundef %5) #2
%7 = tail call ptr @SYSCTL_CHILDREN(ptr noundef %6) #2
%8 = load i32, ptr @OID_AUTO, align 4, !tbaa !11
%9 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !11
%10 = tail call ptr @SYSCTL_ADD_NODE(ptr noundef %4, ptr noundef %7, i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, ptr noundef null, ptr noundef nonnull @.str.1) #2
%11 = tail call ptr @SYSCTL_CHILDREN(ptr noundef %10) #2
%12 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 20
%13 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef nonnull @.str.3) #2
%14 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 19
%15 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.4, ptr noundef nonnull %14, ptr noundef nonnull @.str.5) #2
%16 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 18
%17 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.6, ptr noundef nonnull %16, ptr noundef nonnull @.str.7) #2
%18 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 17
%19 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.8, ptr noundef nonnull %18, ptr noundef nonnull @.str.9) #2
%20 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 16
%21 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef nonnull %20, ptr noundef nonnull @.str.11) #2
%22 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 15
%23 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.12, ptr noundef nonnull %22, ptr noundef nonnull @.str.13) #2
%24 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 14
%25 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.14, ptr noundef nonnull %24, ptr noundef nonnull @.str.15) #2
%26 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 13
%27 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.16, ptr noundef nonnull %26, ptr noundef nonnull @.str.17) #2
%28 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 12
%29 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.18, ptr noundef nonnull %28, ptr noundef nonnull @.str.19) #2
%30 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 11
%31 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.20, ptr noundef nonnull %30, ptr noundef nonnull @.str.21) #2
%32 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 10
%33 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.22, ptr noundef nonnull %32, ptr noundef nonnull @.str.23) #2
%34 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 9
%35 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.24, ptr noundef nonnull %34, ptr noundef nonnull @.str.25) #2
%36 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 8
%37 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.26, ptr noundef nonnull %36, ptr noundef nonnull @.str.27) #2
%38 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 7
%39 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.28, ptr noundef nonnull %38, ptr noundef nonnull @.str.29) #2
%40 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 6
%41 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.30, ptr noundef nonnull %40, ptr noundef nonnull @.str.31) #2
%42 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 5
%43 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.32, ptr noundef nonnull %42, ptr noundef nonnull @.str.33) #2
%44 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 4
%45 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.34, ptr noundef nonnull %44, ptr noundef nonnull @.str.35) #2
%46 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 3
%47 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.36, ptr noundef nonnull %46, ptr noundef nonnull @.str.37) #2
%48 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 2
%49 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.38, ptr noundef nonnull %48, ptr noundef nonnull @.str.39) #2
%50 = getelementptr inbounds %struct.uath_softc, ptr %0, i64 0, i32 1, i32 1
%51 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.40, ptr noundef nonnull %50, ptr noundef nonnull @.str.41) #2
%52 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.42, ptr noundef nonnull %2, ptr noundef nonnull @.str.43) #2
ret void
}
declare ptr @device_get_sysctl_ctx(i32 noundef) local_unnamed_addr #1
declare ptr @SYSCTL_CHILDREN(ptr noundef) local_unnamed_addr #1
declare ptr @device_get_sysctl_tree(i32 noundef) local_unnamed_addr #1
declare ptr @SYSCTL_ADD_NODE(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UATH_SYSCTL_STAT_ADD32(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, !7, i64 0}
!6 = !{!"uath_softc", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"uath_stat", !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, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_uath.c_uath_sysctl_node.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_uath.c_uath_sysctl_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OID_AUTO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stats\00", align 1
@CTLFLAG_RD = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"UATH statistics\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"badchunkseqnum\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Bad chunk sequence numbers\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"invalidlen\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Invalid length\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"multichunk\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"Multi chunks\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"toobigrxpkt\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"Too big rx packets\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"stopinprogress\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"Stop in progress\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"crcerrs\00", align 1
@.str.13 = private unnamed_addr constant [11 x i8] c"CRC errors\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"phyerr\00", align 1
@.str.15 = private unnamed_addr constant [11 x i8] c"PHY errors\00", align 1
@.str.16 = private unnamed_addr constant [15 x i8] c"decrypt_crcerr\00", align 1
@.str.17 = private unnamed_addr constant [22 x i8] c"Decryption CRC errors\00", align 1
@.str.18 = private unnamed_addr constant [15 x i8] c"decrypt_micerr\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c"Decryption Misc errors\00", align 1
@.str.20 = private unnamed_addr constant [10 x i8] c"decomperr\00", align 1
@.str.21 = private unnamed_addr constant [14 x i8] c"Decomp errors\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"keyerr\00", align 1
@.str.23 = private unnamed_addr constant [11 x i8] c"Key errors\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.25 = private unnamed_addr constant [15 x i8] c"Unknown errors\00", align 1
@.str.26 = private unnamed_addr constant [11 x i8] c"cmd_active\00", align 1
@.str.27 = private unnamed_addr constant [32 x i8] c"Active numbers in Command queue\00", align 1
@.str.28 = private unnamed_addr constant [13 x i8] c"cmd_inactive\00", align 1
@.str.29 = private unnamed_addr constant [34 x i8] c"Inactive numbers in Command queue\00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"cmd_pending\00", align 1
@.str.31 = private unnamed_addr constant [33 x i8] c"Pending numbers in Command queue\00", align 1
@.str.32 = private unnamed_addr constant [12 x i8] c"cmd_waiting\00", align 1
@.str.33 = private unnamed_addr constant [33 x i8] c"Waiting numbers in Command queue\00", align 1
@.str.34 = private unnamed_addr constant [10 x i8] c"rx_active\00", align 1
@.str.35 = private unnamed_addr constant [27 x i8] c"Active numbers in RX queue\00", align 1
@.str.36 = private unnamed_addr constant [12 x i8] c"rx_inactive\00", align 1
@.str.37 = private unnamed_addr constant [29 x i8] c"Inactive numbers in RX queue\00", align 1
@.str.38 = private unnamed_addr constant [10 x i8] c"tx_active\00", align 1
@.str.39 = private unnamed_addr constant [27 x i8] c"Active numbers in TX queue\00", align 1
@.str.40 = private unnamed_addr constant [12 x i8] c"tx_inactive\00", align 1
@.str.41 = private unnamed_addr constant [29 x i8] c"Inactive numbers in TX queue\00", align 1
@.str.42 = private unnamed_addr constant [11 x i8] c"tx_pending\00", align 1
@.str.43 = private unnamed_addr constant [28 x i8] c"Pending numbers in TX queue\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @uath_sysctl_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uath_sysctl_node(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @device_get_sysctl_ctx(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @device_get_sysctl_tree(i32 noundef %5) #2
%7 = tail call ptr @SYSCTL_CHILDREN(ptr noundef %6) #2
%8 = load i32, ptr @OID_AUTO, align 4, !tbaa !12
%9 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !12
%10 = tail call ptr @SYSCTL_ADD_NODE(ptr noundef %4, ptr noundef %7, i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, ptr noundef null, ptr noundef nonnull @.str.1) #2
%11 = tail call ptr @SYSCTL_CHILDREN(ptr noundef %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 84
%13 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef nonnull @.str.3) #2
%14 = getelementptr inbounds i8, ptr %0, i64 80
%15 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.4, ptr noundef nonnull %14, ptr noundef nonnull @.str.5) #2
%16 = getelementptr inbounds i8, ptr %0, i64 76
%17 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.6, ptr noundef nonnull %16, ptr noundef nonnull @.str.7) #2
%18 = getelementptr inbounds i8, ptr %0, i64 72
%19 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.8, ptr noundef nonnull %18, ptr noundef nonnull @.str.9) #2
%20 = getelementptr inbounds i8, ptr %0, i64 68
%21 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef nonnull %20, ptr noundef nonnull @.str.11) #2
%22 = getelementptr inbounds i8, ptr %0, i64 64
%23 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.12, ptr noundef nonnull %22, ptr noundef nonnull @.str.13) #2
%24 = getelementptr inbounds i8, ptr %0, i64 60
%25 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.14, ptr noundef nonnull %24, ptr noundef nonnull @.str.15) #2
%26 = getelementptr inbounds i8, ptr %0, i64 56
%27 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.16, ptr noundef nonnull %26, ptr noundef nonnull @.str.17) #2
%28 = getelementptr inbounds i8, ptr %0, i64 52
%29 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.18, ptr noundef nonnull %28, ptr noundef nonnull @.str.19) #2
%30 = getelementptr inbounds i8, ptr %0, i64 48
%31 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.20, ptr noundef nonnull %30, ptr noundef nonnull @.str.21) #2
%32 = getelementptr inbounds i8, ptr %0, i64 44
%33 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.22, ptr noundef nonnull %32, ptr noundef nonnull @.str.23) #2
%34 = getelementptr inbounds i8, ptr %0, i64 40
%35 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.24, ptr noundef nonnull %34, ptr noundef nonnull @.str.25) #2
%36 = getelementptr inbounds i8, ptr %0, i64 36
%37 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.26, ptr noundef nonnull %36, ptr noundef nonnull @.str.27) #2
%38 = getelementptr inbounds i8, ptr %0, i64 32
%39 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.28, ptr noundef nonnull %38, ptr noundef nonnull @.str.29) #2
%40 = getelementptr inbounds i8, ptr %0, i64 28
%41 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.30, ptr noundef nonnull %40, ptr noundef nonnull @.str.31) #2
%42 = getelementptr inbounds i8, ptr %0, i64 24
%43 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.32, ptr noundef nonnull %42, ptr noundef nonnull @.str.33) #2
%44 = getelementptr inbounds i8, ptr %0, i64 20
%45 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.34, ptr noundef nonnull %44, ptr noundef nonnull @.str.35) #2
%46 = getelementptr inbounds i8, ptr %0, i64 16
%47 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.36, ptr noundef nonnull %46, ptr noundef nonnull @.str.37) #2
%48 = getelementptr inbounds i8, ptr %0, i64 12
%49 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.38, ptr noundef nonnull %48, ptr noundef nonnull @.str.39) #2
%50 = getelementptr inbounds i8, ptr %0, i64 8
%51 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.40, ptr noundef nonnull %50, ptr noundef nonnull @.str.41) #2
%52 = tail call i32 @UATH_SYSCTL_STAT_ADD32(ptr noundef %4, ptr noundef %11, ptr noundef nonnull @.str.42, ptr noundef nonnull %2, ptr noundef nonnull @.str.43) #2
ret void
}
declare ptr @device_get_sysctl_ctx(i32 noundef) local_unnamed_addr #1
declare ptr @SYSCTL_CHILDREN(ptr noundef) local_unnamed_addr #1
declare ptr @device_get_sysctl_tree(i32 noundef) local_unnamed_addr #1
declare ptr @SYSCTL_ADD_NODE(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UATH_SYSCTL_STAT_ADD32(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, !8, i64 0}
!7 = !{!"uath_softc", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"uath_stat", !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, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !8, i64 80}
!12 = !{!8, !8, i64 0}
| freebsd_sys_dev_usb_wlan_extr_if_uath.c_uath_sysctl_node |
; ModuleID = 'AnghaBench/openssl/crypto/conf/extr_conf_lib.c_OPENSSL_INIT_set_config_file_flags.c'
source_filename = "AnghaBench/openssl/crypto/conf/extr_conf_lib.c_OPENSSL_INIT_set_config_file_flags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @OPENSSL_INIT_set_config_file_flags(ptr nocapture noundef writeonly %0, i64 noundef %1) local_unnamed_addr #0 {
store i64 %1, ptr %0, align 8, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openssl/crypto/conf/extr_conf_lib.c_OPENSSL_INIT_set_config_file_flags.c'
source_filename = "AnghaBench/openssl/crypto/conf/extr_conf_lib.c_OPENSSL_INIT_set_config_file_flags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @OPENSSL_INIT_set_config_file_flags(ptr nocapture noundef writeonly %0, i64 noundef %1) local_unnamed_addr #0 {
store i64 %1, ptr %0, align 8, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| openssl_crypto_conf_extr_conf_lib.c_OPENSSL_INIT_set_config_file_flags |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_adtsenc.c_adts_write_header.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_adtsenc.c_adts_write_header.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ID3v2_DEFAULT_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @adts_write_header], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @adts_write_header(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @ID3v2_DEFAULT_MAGIC, align 4, !tbaa !13
%7 = tail call i32 @ff_id3v2_write_simple(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %6) #2
br label %8
8: ; preds = %5, %1
ret i32 0
}
declare i32 @ff_id3v2_write_simple(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_adtsenc.c_adts_write_header.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_adtsenc.c_adts_write_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ID3v2_DEFAULT_MAGIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @adts_write_header], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @adts_write_header(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !11
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @ID3v2_DEFAULT_MAGIC, align 4, !tbaa !14
%7 = tail call i32 @ff_id3v2_write_simple(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %6) #2
br label %8
8: ; preds = %5, %1
ret i32 0
}
declare i32 @ff_id3v2_write_simple(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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| FFmpeg_libavformat_extr_adtsenc.c_adts_write_header |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_a1p.c_ReadHSCX.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_a1p.c_ReadHSCX.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ADDRREG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@HSCX_REG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@HSCX_CH_DIFF = dso_local local_unnamed_addr global i32 0, align 4
@DATAREG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ReadHSCX], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @ReadHSCX(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @ADDRREG_OFFSET, align 8, !tbaa !12
%6 = add nsw i64 %5, %4
%7 = load i64, ptr @HSCX_REG_OFFSET, align 8, !tbaa !12
%8 = load i32, ptr @HSCX_CH_DIFF, align 4, !tbaa !13
%9 = mul nsw i32 %8, %1
%10 = sext i32 %9 to i64
%11 = add i64 %2, -32
%12 = add i64 %11, %7
%13 = add i64 %12, %10
%14 = tail call i32 @byteout(i64 noundef %6, i64 noundef %13) #2
%15 = load i64, ptr %0, align 8, !tbaa !5
%16 = load i64, ptr @DATAREG_OFFSET, align 8, !tbaa !12
%17 = add nsw i64 %16, %15
%18 = tail call i64 @bytein(i64 noundef %17) #2
ret i64 %18
}
declare i32 @byteout(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bytein(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, !9, i64 0}
!6 = !{!"IsdnCardState", !7, 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"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_a1p.c_ReadHSCX.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_a1p.c_ReadHSCX.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADDRREG_OFFSET = common local_unnamed_addr global i64 0, align 8
@HSCX_REG_OFFSET = common local_unnamed_addr global i64 0, align 8
@HSCX_CH_DIFF = common local_unnamed_addr global i32 0, align 4
@DATAREG_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ReadHSCX], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @ReadHSCX(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @ADDRREG_OFFSET, align 8, !tbaa !13
%6 = add nsw i64 %5, %4
%7 = load i64, ptr @HSCX_REG_OFFSET, align 8, !tbaa !13
%8 = load i32, ptr @HSCX_CH_DIFF, align 4, !tbaa !14
%9 = mul nsw i32 %8, %1
%10 = sext i32 %9 to i64
%11 = add i64 %2, -32
%12 = add i64 %11, %7
%13 = add i64 %12, %10
%14 = tail call i32 @byteout(i64 noundef %6, i64 noundef %13) #2
%15 = load i64, ptr %0, align 8, !tbaa !6
%16 = load i64, ptr @DATAREG_OFFSET, align 8, !tbaa !13
%17 = add nsw i64 %16, %15
%18 = tail call i64 @bytein(i64 noundef %17) #2
ret i64 %18
}
declare i32 @byteout(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bytein(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, !10, i64 0}
!7 = !{!"IsdnCardState", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !11, i64 0}
| fastsocket_kernel_drivers_isdn_hisax_extr_avm_a1p.c_ReadHSCX |
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_plot_def.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_plot_def.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_4__ = type { i32, i32, i32, i32, i32 }
@conf = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@.str = private unnamed_addr constant [10 x i8] c"className\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"label\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"chartType\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"chartReverse\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"redrawOnExpand\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"d3\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_plot_def], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_plot_def(ptr noundef %0, ptr nocapture noundef readonly byval(%struct.TYPE_4__) align 8 %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @conf, align 8, !tbaa !5
%7 = icmp eq i64 %6, 0
%8 = add nsw i32 %4, 1
%9 = add nsw i32 %4, 2
%10 = select i1 %7, i32 0, i32 %8
%11 = select i1 %7, i32 0, i32 %9
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 4
%13 = load i32, ptr %12, align 8, !tbaa !10
%14 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %10, i32 noundef 0) #2
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %10, i32 noundef 0) #2
%18 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%19 = load i32, ptr %18, align 8, !tbaa !14
%20 = tail call i32 @chart2str(i32 noundef %19) #2
%21 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %20, i32 noundef %10, i32 noundef 0) #2
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = tail call i32 @fpskeyival(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %23, i32 noundef %10, i32 noundef 0) #2
%25 = load i32, ptr %1, align 8, !tbaa !16
%26 = tail call i32 @fpskeyival(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %25, i32 noundef %10, i32 noundef 0) #2
%27 = tail call i32 @fpopen_obj_attr(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %10) #2
%28 = tail call i32 @print_d3_chart_def(ptr noundef %0, ptr noundef %2, i32 noundef %3, i32 noundef %11) #2
%29 = tail call i32 @fpclose_obj(ptr noundef %0, i32 noundef %10, i32 noundef 1) #2
ret void
}
declare i32 @fpskeysval(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @chart2str(i32 noundef) local_unnamed_addr #1
declare i32 @fpskeyival(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpopen_obj_attr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_d3_chart_def(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpclose_obj(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 12}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 4}
!16 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_plot_def.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_plot_def.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64 }
@conf = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@.str = private unnamed_addr constant [10 x i8] c"className\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"label\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"chartType\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"chartReverse\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"redrawOnExpand\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"d3\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_plot_def], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_plot_def(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @conf, align 8, !tbaa !6
%7 = icmp eq i64 %6, 0
%8 = add nsw i32 %4, 1
%9 = add nsw i32 %4, 2
%10 = select i1 %7, i32 0, i32 %8
%11 = select i1 %7, i32 0, i32 %9
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %10, i32 noundef 0) #2
%15 = getelementptr inbounds i8, ptr %1, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %10, i32 noundef 0) #2
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = tail call i32 @chart2str(i32 noundef %19) #2
%21 = tail call i32 @fpskeysval(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %20, i32 noundef %10, i32 noundef 0) #2
%22 = getelementptr inbounds i8, ptr %1, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = tail call i32 @fpskeyival(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %23, i32 noundef %10, i32 noundef 0) #2
%25 = load i32, ptr %1, align 4, !tbaa !17
%26 = tail call i32 @fpskeyival(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %25, i32 noundef %10, i32 noundef 0) #2
%27 = tail call i32 @fpopen_obj_attr(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %10) #2
%28 = tail call i32 @print_d3_chart_def(ptr noundef %0, ptr noundef %2, i32 noundef %3, i32 noundef %11) #2
%29 = tail call i32 @fpclose_obj(ptr noundef %0, i32 noundef %10, i32 noundef 1) #2
ret void
}
declare i32 @fpskeysval(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @chart2str(i32 noundef) local_unnamed_addr #1
declare i32 @fpskeyival(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpopen_obj_attr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_d3_chart_def(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpclose_obj(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 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 16}
!12 = !{!"TYPE_4__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 12}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 4}
!17 = !{!12, !13, i64 0}
| goaccess_src_extr_output.c_print_plot_def |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_compat_gtar.c_test_compat_gtar_2.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_compat_gtar.c_test_compat_gtar_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__const.test_compat_gtar_2.name = private unnamed_addr constant [23 x i8] c"test_compat_gtar_2.tar\00", align 16
@ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_EOF = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_FILTER_NONE = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_FORMAT_TAR_GNUTAR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_compat_gtar_2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_compat_gtar_2() #0 {
%1 = alloca [23 x i8], align 16
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 23, ptr nonnull %1) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(23) %1, ptr noundef nonnull align 16 dereferenceable(23) @__const.test_compat_gtar_2.name, i64 23, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call ptr (...) @archive_read_new() #4
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #4
%7 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%8 = tail call i32 @archive_read_support_filter_all(ptr noundef %3) #4
%9 = tail call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %7, i32 noundef %8) #4
%10 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%11 = tail call i32 @archive_read_support_format_all(ptr noundef %3) #4
%12 = tail call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %10, i32 noundef %11) #4
%13 = call i32 @extract_reference_file(ptr noundef nonnull %1) #4
%14 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%15 = call i32 @archive_read_open_filename(ptr noundef %3, ptr noundef nonnull %1, i32 noundef 10240) #4
%16 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %14, i32 noundef %15) #4
%17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%18 = call i32 @archive_read_next_header(ptr noundef %3, ptr noundef nonnull %2) #4
%19 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %17, i32 noundef %18) #4
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%21 = icmp eq i32 %18, %20
br i1 %21, label %24, label %22
22: ; preds = %0
%23 = call i32 @archive_read_free(ptr noundef %3) #4
br label %46
24: ; preds = %0
%25 = load ptr, ptr %2, align 8, !tbaa !9
%26 = call i32 @archive_entry_uid(ptr noundef %25) #4
%27 = call i32 @assertEqualInt(i32 noundef 2097152, i32 noundef %26) #4
%28 = load ptr, ptr %2, align 8, !tbaa !9
%29 = call i32 @archive_entry_gid(ptr noundef %28) #4
%30 = call i32 @assertEqualInt(i32 noundef 2097152, i32 noundef %29) #4
%31 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !5
%32 = call i32 @archive_read_next_header(ptr noundef %3, ptr noundef nonnull %2) #4
%33 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %31, i32 noundef %32) #4
%34 = call i32 @archive_filter_code(ptr noundef %3, i32 noundef 0) #4
%35 = load i32, ptr @ARCHIVE_FILTER_NONE, align 4, !tbaa !5
%36 = call i32 @assertEqualInt(i32 noundef %34, i32 noundef %35) #4
%37 = call i32 @archive_format(ptr noundef %3) #4
%38 = load i32, ptr @ARCHIVE_FORMAT_TAR_GNUTAR, align 4, !tbaa !5
%39 = call i32 @assertEqualInt(i32 noundef %37, i32 noundef %38) #4
%40 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%41 = call i32 @archive_read_close(ptr noundef %3) #4
%42 = call i32 @assertEqualInt(i32 noundef %40, i32 noundef %41) #4
%43 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%44 = call i32 @archive_read_free(ptr noundef %3) #4
%45 = call i32 @assertEqualInt(i32 noundef %43, i32 noundef %44) #4
br label %46
46: ; preds = %24, %22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 23, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @assert(i32 noundef) local_unnamed_addr #3
declare ptr @archive_read_new(...) local_unnamed_addr #3
declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #3
declare i32 @extract_reference_file(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #3
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_entry_uid(ptr noundef) local_unnamed_addr #3
declare i32 @archive_entry_gid(ptr noundef) local_unnamed_addr #3
declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_format(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/libarchive/libarchive/test/extr_test_compat_gtar.c_test_compat_gtar_2.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_compat_gtar.c_test_compat_gtar_2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__const.test_compat_gtar_2.name = private unnamed_addr constant [23 x i8] c"test_compat_gtar_2.tar\00", align 1
@ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_EOF = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_FILTER_NONE = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_FORMAT_TAR_GNUTAR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_compat_gtar_2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_compat_gtar_2() #0 {
%1 = alloca [23 x i8], align 1
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 23, ptr nonnull %1) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(23) %1, ptr noundef nonnull align 1 dereferenceable(23) @__const.test_compat_gtar_2.name, i64 23, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call ptr @archive_read_new() #4
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #4
%7 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%8 = tail call i32 @archive_read_support_filter_all(ptr noundef %3) #4
%9 = tail call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %7, i32 noundef %8) #4
%10 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%11 = tail call i32 @archive_read_support_format_all(ptr noundef %3) #4
%12 = tail call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %10, i32 noundef %11) #4
%13 = call i32 @extract_reference_file(ptr noundef nonnull %1) #4
%14 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%15 = call i32 @archive_read_open_filename(ptr noundef %3, ptr noundef nonnull %1, i32 noundef 10240) #4
%16 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %14, i32 noundef %15) #4
%17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%18 = call i32 @archive_read_next_header(ptr noundef %3, ptr noundef nonnull %2) #4
%19 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %17, i32 noundef %18) #4
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%21 = icmp eq i32 %18, %20
br i1 %21, label %24, label %22
22: ; preds = %0
%23 = call i32 @archive_read_free(ptr noundef %3) #4
br label %46
24: ; preds = %0
%25 = load ptr, ptr %2, align 8, !tbaa !10
%26 = call i32 @archive_entry_uid(ptr noundef %25) #4
%27 = call i32 @assertEqualInt(i32 noundef 2097152, i32 noundef %26) #4
%28 = load ptr, ptr %2, align 8, !tbaa !10
%29 = call i32 @archive_entry_gid(ptr noundef %28) #4
%30 = call i32 @assertEqualInt(i32 noundef 2097152, i32 noundef %29) #4
%31 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !6
%32 = call i32 @archive_read_next_header(ptr noundef %3, ptr noundef nonnull %2) #4
%33 = call i32 @assertEqualIntA(ptr noundef %3, i32 noundef %31, i32 noundef %32) #4
%34 = call i32 @archive_filter_code(ptr noundef %3, i32 noundef 0) #4
%35 = load i32, ptr @ARCHIVE_FILTER_NONE, align 4, !tbaa !6
%36 = call i32 @assertEqualInt(i32 noundef %34, i32 noundef %35) #4
%37 = call i32 @archive_format(ptr noundef %3) #4
%38 = load i32, ptr @ARCHIVE_FORMAT_TAR_GNUTAR, align 4, !tbaa !6
%39 = call i32 @assertEqualInt(i32 noundef %37, i32 noundef %38) #4
%40 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%41 = call i32 @archive_read_close(ptr noundef %3) #4
%42 = call i32 @assertEqualInt(i32 noundef %40, i32 noundef %41) #4
%43 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%44 = call i32 @archive_read_free(ptr noundef %3) #4
%45 = call i32 @assertEqualInt(i32 noundef %43, i32 noundef %44) #4
br label %46
46: ; preds = %24, %22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 23, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @assert(i32 noundef) local_unnamed_addr #3
declare ptr @archive_read_new(...) local_unnamed_addr #3
declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #3
declare i32 @extract_reference_file(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #3
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_entry_uid(ptr noundef) local_unnamed_addr #3
declare i32 @archive_entry_gid(ptr noundef) local_unnamed_addr #3
declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @archive_format(ptr noundef) local_unnamed_addr #3
declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_libarchive_libarchive_test_extr_test_compat_gtar.c_test_compat_gtar_2 |
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powerpc/extr_busdma_machdep.c_busdma_swi.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/powerpc/extr_busdma_machdep.c_busdma_swi.c"
target datalayout = "e-m:e-p270:32:32-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.bus_dmamap = type { i32, i32, i32, ptr }
%struct.TYPE_3__ = type { i32, ptr }
@bounce_lock = dso_local global i32 0, align 4
@bounce_map_callbacklist = dso_local global i32 0, align 4
@links = dso_local local_unnamed_addr global i32 0, align 4
@BUS_DMA_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@BUS_DMA_WAITOK = dso_local local_unnamed_addr global i32 0, align 4
@BUS_DMA_UNLOCK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @busdma_swi() local_unnamed_addr #0 {
%1 = tail call i32 @mtx_lock(ptr noundef nonnull @bounce_lock) #2
%2 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull @bounce_map_callbacklist) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %30, label %4
4: ; preds = %0, %4
%5 = phi ptr [ %28, %4 ], [ %2, %0 ]
%6 = load i32, ptr @links, align 4, !tbaa !5
%7 = tail call i32 @STAILQ_REMOVE_HEAD(ptr noundef nonnull @bounce_map_callbacklist, i32 noundef %6) #2
%8 = tail call i32 @mtx_unlock(ptr noundef nonnull @bounce_lock) #2
%9 = getelementptr inbounds %struct.bus_dmamap, ptr %5, i64 0, i32 3
%10 = load ptr, ptr %9, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load i32, ptr %10, align 8, !tbaa !14
%14 = load i32, ptr @BUS_DMA_LOCK, align 4, !tbaa !5
%15 = tail call i32 %12(i32 noundef %13, i32 noundef %14) #2
%16 = load ptr, ptr %9, align 8, !tbaa !9
%17 = getelementptr inbounds %struct.bus_dmamap, ptr %5, i64 0, i32 2
%18 = getelementptr inbounds %struct.bus_dmamap, ptr %5, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = load i32, ptr %5, align 8, !tbaa !16
%21 = load i32, ptr @BUS_DMA_WAITOK, align 4, !tbaa !5
%22 = tail call i32 @bus_dmamap_load_mem(ptr noundef %16, ptr noundef nonnull %5, ptr noundef nonnull %17, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
%23 = load ptr, ptr %11, align 8, !tbaa !12
%24 = load i32, ptr %10, align 8, !tbaa !14
%25 = load i32, ptr @BUS_DMA_UNLOCK, align 4, !tbaa !5
%26 = tail call i32 %23(i32 noundef %24, i32 noundef %25) #2
%27 = tail call i32 @mtx_lock(ptr noundef nonnull @bounce_lock) #2
%28 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull @bounce_map_callbacklist) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %4, !llvm.loop !17
30: ; preds = %4, %0
%31 = tail call i32 @mtx_unlock(ptr noundef nonnull @bounce_lock) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare ptr @STAILQ_FIRST(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_REMOVE_HEAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_load_mem(ptr noundef, 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 = !{!"bus_dmamap", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_3__", !6, i64 0, !11, i64 8}
!14 = !{!13, !6, i64 0}
!15 = !{!10, !6, i64 4}
!16 = !{!10, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powerpc/extr_busdma_machdep.c_busdma_swi.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/powerpc/extr_busdma_machdep.c_busdma_swi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bounce_lock = common global i32 0, align 4
@bounce_map_callbacklist = common global i32 0, align 4
@links = common local_unnamed_addr global i32 0, align 4
@BUS_DMA_LOCK = common local_unnamed_addr global i32 0, align 4
@BUS_DMA_WAITOK = common local_unnamed_addr global i32 0, align 4
@BUS_DMA_UNLOCK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @busdma_swi() local_unnamed_addr #0 {
%1 = tail call i32 @mtx_lock(ptr noundef nonnull @bounce_lock) #2
%2 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull @bounce_map_callbacklist) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %30, label %4
4: ; preds = %0, %4
%5 = phi ptr [ %28, %4 ], [ %2, %0 ]
%6 = load i32, ptr @links, align 4, !tbaa !6
%7 = tail call i32 @STAILQ_REMOVE_HEAD(ptr noundef nonnull @bounce_map_callbacklist, i32 noundef %6) #2
%8 = tail call i32 @mtx_unlock(ptr noundef nonnull @bounce_lock) #2
%9 = getelementptr inbounds i8, ptr %5, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr %10, align 8, !tbaa !15
%14 = load i32, ptr @BUS_DMA_LOCK, align 4, !tbaa !6
%15 = tail call i32 %12(i32 noundef %13, i32 noundef %14) #2
%16 = load ptr, ptr %9, align 8, !tbaa !10
%17 = getelementptr inbounds i8, ptr %5, i64 8
%18 = getelementptr inbounds i8, ptr %5, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = load i32, ptr %5, align 8, !tbaa !17
%21 = load i32, ptr @BUS_DMA_WAITOK, align 4, !tbaa !6
%22 = tail call i32 @bus_dmamap_load_mem(ptr noundef %16, ptr noundef nonnull %5, ptr noundef nonnull %17, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
%23 = load ptr, ptr %11, align 8, !tbaa !13
%24 = load i32, ptr %10, align 8, !tbaa !15
%25 = load i32, ptr @BUS_DMA_UNLOCK, align 4, !tbaa !6
%26 = tail call i32 %23(i32 noundef %24, i32 noundef %25) #2
%27 = tail call i32 @mtx_lock(ptr noundef nonnull @bounce_lock) #2
%28 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull @bounce_map_callbacklist) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %4, !llvm.loop !18
30: ; preds = %4, %0
%31 = tail call i32 @mtx_unlock(ptr noundef nonnull @bounce_lock) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare ptr @STAILQ_FIRST(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_REMOVE_HEAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_load_mem(ptr noundef, 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 = !{!"bus_dmamap", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_3__", !7, i64 0, !12, i64 8}
!15 = !{!14, !7, i64 0}
!16 = !{!11, !7, i64 4}
!17 = !{!11, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_powerpc_powerpc_extr_busdma_machdep.c_busdma_swi |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_matroskaenc.c_mkv_deinit.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_matroskaenc.c_mkv_deinit.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr, ptr, ptr, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mkv_deinit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mkv_deinit(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 7
%4 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 6
%6 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 5
%8 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %7) #2
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 4
%10 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %1
%15 = tail call i32 @av_freep(ptr noundef nonnull %12) #2
%16 = tail call i32 @av_freep(ptr noundef nonnull %11) #2
br label %17
17: ; preds = %14, %1
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !13
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = tail call i32 @av_freep(ptr noundef nonnull %19) #2
%23 = tail call i32 @av_freep(ptr noundef nonnull %18) #2
br label %24
24: ; preds = %21, %17
%25 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @av_freep(ptr noundef nonnull %26) #2
%30 = tail call i32 @av_freep(ptr noundef nonnull %25) #2
br label %31
31: ; preds = %28, %24
%32 = tail call i32 @av_freep(ptr noundef nonnull %2) #2
ret void
}
declare i32 @ffio_free_dyn_buf(ptr noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_matroskaenc.c_mkv_deinit.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_matroskaenc.c_mkv_deinit.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 @mkv_deinit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mkv_deinit(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 44
%4 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %2, i64 40
%6 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %2, i64 36
%8 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %7) #2
%9 = getelementptr inbounds i8, ptr %2, i64 32
%10 = tail call i32 @ffio_free_dyn_buf(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %2, i64 24
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %1
%15 = tail call i32 @av_freep(ptr noundef nonnull %12) #2
%16 = tail call i32 @av_freep(ptr noundef nonnull %11) #2
br label %17
17: ; preds = %14, %1
%18 = getelementptr inbounds i8, ptr %2, i64 16
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = tail call i32 @av_freep(ptr noundef nonnull %19) #2
%23 = tail call i32 @av_freep(ptr noundef nonnull %18) #2
br label %24
24: ; preds = %21, %17
%25 = getelementptr inbounds i8, ptr %2, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @av_freep(ptr noundef nonnull %26) #2
%30 = tail call i32 @av_freep(ptr noundef nonnull %25) #2
br label %31
31: ; preds = %28, %24
%32 = tail call i32 @av_freep(ptr noundef nonnull %2) #2
ret void
}
declare i32 @ffio_free_dyn_buf(ptr noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 24}
!12 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 16}
!15 = !{!12, !8, i64 8}
| FFmpeg_libavformat_extr_matroskaenc.c_mkv_deinit |
; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure-openssl.c_my_sock_read.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure-openssl.c_my_sock_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SOCK_ERRNO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @my_sock_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @my_sock_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @BIO_get_data(ptr noundef %0) #2
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @pqsecure_raw_read(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2
%7 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
%8 = icmp slt i32 %6, 0
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load i32, ptr @SOCK_ERRNO, align 4, !tbaa !5
%11 = add i32 %10, -128
%12 = icmp ult i32 %11, 3
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @BIO_set_retry_read(ptr noundef %0) #2
br label %15
15: ; preds = %9, %13, %3
ret i32 %6
}
declare i32 @pqsecure_raw_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BIO_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_set_retry_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure-openssl.c_my_sock_read.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure-openssl.c_my_sock_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOCK_ERRNO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @my_sock_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @my_sock_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @BIO_get_data(ptr noundef %0) #2
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @pqsecure_raw_read(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2
%7 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
%8 = icmp slt i32 %6, 0
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load i32, ptr @SOCK_ERRNO, align 4, !tbaa !6
%11 = add i32 %10, -128
%12 = icmp ult i32 %11, 3
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @BIO_set_retry_read(ptr noundef %0) #2
br label %15
15: ; preds = %9, %13, %3
ret i32 %6
}
declare i32 @pqsecure_raw_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BIO_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_set_retry_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| postgres_src_interfaces_libpq_extr_fe-secure-openssl.c_my_sock_read |
; ModuleID = 'AnghaBench/linux/kernel/power/extr_hibernate.c_resume_offset_show.c'
source_filename = "AnghaBench/linux/kernel/power/extr_hibernate.c_resume_offset_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
@swsusp_resume_block = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @resume_offset_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @resume_offset_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr @swsusp_resume_block, align 8, !tbaa !5
%5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/kernel/power/extr_hibernate.c_resume_offset_show.c'
source_filename = "AnghaBench/linux/kernel/power/extr_hibernate.c_resume_offset_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
@swsusp_resume_block = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @resume_offset_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @resume_offset_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr @swsusp_resume_block, align 8, !tbaa !6
%5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_kernel_power_extr_hibernate.c_resume_offset_show |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_dup_bio_out.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_dup_bio_out.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@BIO_NOCLOSE = dso_local local_unnamed_addr global i32 0, align 4
@BIO_FP_TEXT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"HARNESS_OSSL_PREFIX\00", align 1
@prefix_method = dso_local local_unnamed_addr global ptr null, align 8
@PREFIX_CTRL_SET_PREFIX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @dup_bio_out(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stdout, align 4, !tbaa !5
%3 = load i32, ptr @BIO_NOCLOSE, align 4, !tbaa !5
%4 = tail call i64 @istext(i32 noundef %0) #3
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @BIO_FP_TEXT, align 4
%7 = select i1 %5, i32 0, i32 %6
%8 = or i32 %7, %3
%9 = tail call ptr @BIO_new_fp(i32 noundef %2, i32 noundef %8) #3
%10 = tail call i64 @istext(i32 noundef %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %1
%13 = tail call ptr @getenv(ptr noundef nonnull @.str)
%14 = icmp eq ptr %13, null
br i1 %14, label %26, label %15
15: ; preds = %12
%16 = load ptr, ptr @prefix_method, align 8, !tbaa !9
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = tail call ptr (...) @apps_bf_prefix() #3
store ptr %19, ptr @prefix_method, align 8, !tbaa !9
br label %20
20: ; preds = %18, %15
%21 = phi ptr [ %19, %18 ], [ %16, %15 ]
%22 = tail call i32 @BIO_new(ptr noundef %21) #3
%23 = tail call ptr @BIO_push(i32 noundef %22, ptr noundef %9) #3
%24 = load i32, ptr @PREFIX_CTRL_SET_PREFIX, align 4, !tbaa !5
%25 = tail call i32 @BIO_ctrl(ptr noundef %23, i32 noundef %24, i32 noundef 0, ptr noundef nonnull %13) #3
br label %26
26: ; preds = %20, %12, %1
%27 = phi ptr [ %23, %20 ], [ %9, %12 ], [ %9, %1 ]
ret ptr %27
}
declare ptr @BIO_new_fp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @istext(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare ptr @apps_bf_prefix(...) local_unnamed_addr #1
declare ptr @BIO_push(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BIO_new(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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/crypto/openssl/apps/extr_apps.c_dup_bio_out.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_dup_bio_out.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 i32 0, align 4
@BIO_NOCLOSE = common local_unnamed_addr global i32 0, align 4
@BIO_FP_TEXT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"HARNESS_OSSL_PREFIX\00", align 1
@prefix_method = common local_unnamed_addr global ptr null, align 8
@PREFIX_CTRL_SET_PREFIX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @dup_bio_out(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stdout, align 4, !tbaa !6
%3 = load i32, ptr @BIO_NOCLOSE, align 4, !tbaa !6
%4 = tail call i64 @istext(i32 noundef %0) #3
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @BIO_FP_TEXT, align 4
%7 = select i1 %5, i32 0, i32 %6
%8 = or i32 %7, %3
%9 = tail call ptr @BIO_new_fp(i32 noundef %2, i32 noundef %8) #3
%10 = tail call i64 @istext(i32 noundef %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %1
%13 = tail call ptr @getenv(ptr noundef nonnull @.str)
%14 = icmp eq ptr %13, null
br i1 %14, label %26, label %15
15: ; preds = %12
%16 = load ptr, ptr @prefix_method, align 8, !tbaa !10
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = tail call ptr @apps_bf_prefix() #3
store ptr %19, ptr @prefix_method, align 8, !tbaa !10
br label %20
20: ; preds = %18, %15
%21 = phi ptr [ %19, %18 ], [ %16, %15 ]
%22 = tail call i32 @BIO_new(ptr noundef %21) #3
%23 = tail call ptr @BIO_push(i32 noundef %22, ptr noundef %9) #3
%24 = load i32, ptr @PREFIX_CTRL_SET_PREFIX, align 4, !tbaa !6
%25 = tail call i32 @BIO_ctrl(ptr noundef %23, i32 noundef %24, i32 noundef 0, ptr noundef nonnull %13) #3
br label %26
26: ; preds = %20, %12, %1
%27 = phi ptr [ %23, %20 ], [ %9, %12 ], [ %9, %1 ]
ret ptr %27
}
declare ptr @BIO_new_fp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @istext(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare ptr @apps_bf_prefix(...) local_unnamed_addr #1
declare ptr @BIO_push(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BIO_new(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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_crypto_openssl_apps_extr_apps.c_dup_bio_out |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_mm_node_addr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_mm_node_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64 }
@AMDGPU_BO_INVALID_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @amdgpu_mm_node_addr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @amdgpu_mm_node_addr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = load i32, ptr @AMDGPU_BO_INVALID_OFFSET, align 4, !tbaa !10
%6 = icmp eq i32 %4, %5
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !10
%9 = shl i32 %4, %8
%10 = load ptr, ptr %0, align 8, !tbaa !11
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = load i64, ptr %2, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !19
%15 = trunc i64 %14 to i32
%16 = add i32 %9, %15
br label %17
17: ; preds = %7, %3
%18 = phi i32 [ %16, %7 ], [ 0, %3 ]
ret i32 %18
}
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, !7, i64 0}
!6 = !{!"drm_mm_node", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"ttm_buffer_object", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_4__", !13, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"ttm_mem_reg", !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_3__", !18, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_mm_node_addr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_mm_node_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64 }
@AMDGPU_BO_INVALID_OFFSET = common local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @amdgpu_mm_node_addr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @amdgpu_mm_node_addr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = load i32, ptr @AMDGPU_BO_INVALID_OFFSET, align 4, !tbaa !11
%6 = icmp eq i32 %4, %5
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !11
%9 = shl i32 %4, %8
%10 = load ptr, ptr %0, align 8, !tbaa !12
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = load i64, ptr %2, align 8, !tbaa !17
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !20
%15 = trunc i64 %14 to i32
%16 = add i32 %9, %15
br label %17
17: ; preds = %7, %3
%18 = phi i32 [ %16, %7 ], [ 0, %3 ]
ret i32 %18
}
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, !8, i64 0}
!7 = !{!"drm_mm_node", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"ttm_buffer_object", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_4__", !14, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"ttm_mem_reg", !19, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"TYPE_3__", !19, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_ttm.c_amdgpu_mm_node_addr |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_cm.c_i40iw_ipv6_is_loopback.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_cm.c_i40iw_ipv6_is_loopback.c"
target datalayout = "e-m:e-p270:32:32-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.in6_addr = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @i40iw_ipv6_is_loopback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i40iw_ipv6_is_loopback(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.in6_addr, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 @i40iw_copy_ip_htonl(i32 noundef undef, ptr noundef %1) #3
%5 = tail call i32 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef 16) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = call i64 @ipv6_addr_loopback(ptr noundef nonnull %3) #3
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %2
%12 = phi i32 [ 1, %2 ], [ %10, %7 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i40iw_copy_ip_htonl(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ipv6_addr_loopback(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_cm.c_i40iw_ipv6_is_loopback.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_cm.c_i40iw_ipv6_is_loopback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.in6_addr = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @i40iw_ipv6_is_loopback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @i40iw_ipv6_is_loopback(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.in6_addr, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 @i40iw_copy_ip_htonl(i32 noundef undef, ptr noundef %1) #3
%5 = tail call i32 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef 16) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = call i64 @ipv6_addr_loopback(ptr noundef nonnull %3) #3
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %2
%12 = phi i32 [ 1, %2 ], [ %10, %7 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i40iw_copy_ip_htonl(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ipv6_addr_loopback(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_infiniband_hw_i40iw_extr_i40iw_cm.c_i40iw_ipv6_is_loopback |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/fc980c/extr_matrix.c_KEY_INIT.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/fc980c/extr_matrix.c_KEY_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"
@DDRB = dso_local local_unnamed_addr global i32 0, align 4
@DDRC = dso_local local_unnamed_addr global i32 0, align 4
@PORTC = dso_local local_unnamed_addr global i32 0, align 4
@DDRD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @KEY_INIT], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @KEY_INIT() #0 {
%1 = load i32, ptr @DDRB, align 4, !tbaa !5
%2 = or i32 %1, 15
store i32 %2, ptr @DDRB, align 4, !tbaa !5
%3 = load i32, ptr @DDRC, align 4, !tbaa !5
%4 = and i32 %3, -193
%5 = load i32, ptr @PORTC, align 4, !tbaa !5
%6 = or i32 %5, 64
store i32 %6, ptr @PORTC, align 4, !tbaa !5
%7 = or disjoint i32 %4, 128
store i32 %7, ptr @DDRC, align 4, !tbaa !5
%8 = load i32, ptr @DDRD, align 4, !tbaa !5
%9 = or i32 %8, 240
store i32 %9, ptr @DDRD, align 4, !tbaa !5
%10 = tail call i32 (...) @KEY_UNABLE() #2
%11 = tail call i32 (...) @KEY_HYS_OFF() #2
ret void
}
declare i32 @KEY_UNABLE(...) local_unnamed_addr #1
declare i32 @KEY_HYS_OFF(...) 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/qmk_firmware/keyboards/fc980c/extr_matrix.c_KEY_INIT.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/fc980c/extr_matrix.c_KEY_INIT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DDRB = common local_unnamed_addr global i32 0, align 4
@DDRC = common local_unnamed_addr global i32 0, align 4
@PORTC = common local_unnamed_addr global i32 0, align 4
@DDRD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @KEY_INIT], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @KEY_INIT() #0 {
%1 = load i32, ptr @DDRB, align 4, !tbaa !6
%2 = or i32 %1, 15
store i32 %2, ptr @DDRB, align 4, !tbaa !6
%3 = load i32, ptr @DDRC, align 4, !tbaa !6
%4 = and i32 %3, -193
%5 = load i32, ptr @PORTC, align 4, !tbaa !6
%6 = or i32 %5, 64
store i32 %6, ptr @PORTC, align 4, !tbaa !6
%7 = or disjoint i32 %4, 128
store i32 %7, ptr @DDRC, align 4, !tbaa !6
%8 = load i32, ptr @DDRD, align 4, !tbaa !6
%9 = or i32 %8, 240
store i32 %9, ptr @DDRD, align 4, !tbaa !6
%10 = tail call i32 @KEY_UNABLE() #2
%11 = tail call i32 @KEY_HYS_OFF() #2
ret void
}
declare i32 @KEY_UNABLE(...) local_unnamed_addr #1
declare i32 @KEY_HYS_OFF(...) 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"}
| qmk_firmware_keyboards_fc980c_extr_matrix.c_KEY_INIT |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_keep_kernel_symbols.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_keep_kernel_symbols.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dtrace_kernel_symbol_mode = dso_local local_unnamed_addr global i64 0, align 8
@DTRACE_KERNEL_SYMBOLS_ALWAYS_FROM_KERNEL = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @dtrace_keep_kernel_symbols() local_unnamed_addr #0 {
%1 = tail call i64 (...) @dtrace_is_restricted() #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 (...) @dtrace_are_restrictions_relaxed() #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %3, %0
%7 = load i64, ptr @dtrace_kernel_symbol_mode, align 8, !tbaa !5
%8 = load i64, ptr @DTRACE_KERNEL_SYMBOLS_ALWAYS_FROM_KERNEL, align 8, !tbaa !5
%9 = icmp eq i64 %7, %8
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %6, %3
%12 = phi i32 [ 0, %3 ], [ %10, %6 ]
ret i32 %12
}
declare i64 @dtrace_is_restricted(...) local_unnamed_addr #1
declare i32 @dtrace_are_restrictions_relaxed(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_keep_kernel_symbols.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_keep_kernel_symbols.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dtrace_kernel_symbol_mode = common local_unnamed_addr global i64 0, align 8
@DTRACE_KERNEL_SYMBOLS_ALWAYS_FROM_KERNEL = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @dtrace_keep_kernel_symbols() local_unnamed_addr #0 {
%1 = tail call i64 @dtrace_is_restricted() #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @dtrace_are_restrictions_relaxed() #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %3, %0
%7 = load i64, ptr @dtrace_kernel_symbol_mode, align 8, !tbaa !6
%8 = load i64, ptr @DTRACE_KERNEL_SYMBOLS_ALWAYS_FROM_KERNEL, align 8, !tbaa !6
%9 = icmp eq i64 %7, %8
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %6, %3
%12 = phi i32 [ 0, %3 ], [ %10, %6 ]
ret i32 %12
}
declare i64 @dtrace_is_restricted(...) local_unnamed_addr #1
declare i32 @dtrace_are_restrictions_relaxed(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| darwin-xnu_bsd_dev_dtrace_extr_dtrace.c_dtrace_keep_kernel_symbols |
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_hpilo.c_get_entry_id.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_hpilo.c_get_entry_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENTRY_MASK_DESCRIPTOR = dso_local local_unnamed_addr global i32 0, align 4
@ENTRY_BITPOS_DESCRIPTOR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_entry_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @get_entry_id(i32 noundef %0) #0 {
%2 = load i32, ptr @ENTRY_MASK_DESCRIPTOR, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = load i32, ptr @ENTRY_BITPOS_DESCRIPTOR, align 4, !tbaa !5
%5 = ashr i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/extr_hpilo.c_get_entry_id.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_hpilo.c_get_entry_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENTRY_MASK_DESCRIPTOR = common local_unnamed_addr global i32 0, align 4
@ENTRY_BITPOS_DESCRIPTOR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_entry_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @get_entry_id(i32 noundef %0) #0 {
%2 = load i32, ptr @ENTRY_MASK_DESCRIPTOR, align 4, !tbaa !6
%3 = and i32 %2, %0
%4 = load i32, ptr @ENTRY_BITPOS_DESCRIPTOR, align 4, !tbaa !6
%5 = ashr i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_misc_extr_hpilo.c_get_entry_id |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_linkprio.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_linkprio.c"
target datalayout = "e-m:e-p270:32:32-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 @msg_linkprio], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @msg_linkprio(ptr noundef %0) #0 {
%2 = tail call i32 @msg_bits(ptr noundef %0, i32 noundef 5, i32 noundef 4, i32 noundef 31) #2
ret i32 %2
}
declare i32 @msg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_linkprio.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_linkprio.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 @msg_linkprio], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @msg_linkprio(ptr noundef %0) #0 {
%2 = tail call i32 @msg_bits(ptr noundef %0, i32 noundef 5, i32 noundef 4, i32 noundef 31) #2
ret i32 %2
}
declare i32 @msg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_net_tipc_extr_msg.h_msg_linkprio |
; ModuleID = 'AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_is_used_desc_packed.c'
source_filename = "AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_is_used_desc_packed.c"
target datalayout = "e-m:e-p270:32:32-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 }
@VRING_PACKED_DESC_F_AVAIL = dso_local local_unnamed_addr global i32 0, align 4
@VRING_PACKED_DESC_F_USED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_used_desc_packed], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @is_used_desc_packed(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %1
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i64 @le16_to_cpu(i32 noundef %6) #2
%8 = load i32, ptr @VRING_PACKED_DESC_F_AVAIL, align 4, !tbaa !15
%9 = shl nuw i32 1, %8
%10 = sext i32 %9 to i64
%11 = and i64 %7, %10
%12 = load i32, ptr @VRING_PACKED_DESC_F_USED, align 4, !tbaa !15
%13 = shl nuw i32 1, %12
%14 = sext i32 %13 to i64
%15 = and i64 %7, %14
%16 = icmp ne i64 %15, 0
%17 = zext i1 %16 to i32
%18 = icmp eq i64 %11, 0
%19 = xor i1 %18, %16
%20 = icmp eq i32 %17, %2
%21 = and i1 %19, %20
%22 = zext i1 %21 to i32
ret i32 %22
}
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"vring_virtqueue", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_is_used_desc_packed.c'
source_filename = "AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_is_used_desc_packed.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 }
@VRING_PACKED_DESC_F_AVAIL = common local_unnamed_addr global i32 0, align 4
@VRING_PACKED_DESC_F_USED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_used_desc_packed], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_used_desc_packed(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %1
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call i64 @le16_to_cpu(i32 noundef %6) #2
%8 = load i32, ptr @VRING_PACKED_DESC_F_AVAIL, align 4, !tbaa !16
%9 = shl nuw i32 1, %8
%10 = sext i32 %9 to i64
%11 = and i64 %7, %10
%12 = load i32, ptr @VRING_PACKED_DESC_F_USED, align 4, !tbaa !16
%13 = shl nuw i32 1, %12
%14 = sext i32 %13 to i64
%15 = and i64 %7, %14
%16 = icmp ne i64 %15, 0
%17 = zext i1 %16 to i32
%18 = icmp eq i64 %11, 0
%19 = xor i1 %18, %16
%20 = icmp eq i32 %17, %2
%21 = and i1 %19, %20
%22 = zext i1 %21 to i32
ret i32 %22
}
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"vring_virtqueue", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"int", !11, i64 0}
!16 = !{!15, !15, i64 0}
| linux_drivers_virtio_extr_virtio_ring.c_is_used_desc_packed |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_fas216.c_fas216_set_sync.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_fas216.c_fas216_set_sync.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.TYPE_8__ = type { ptr, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
@REG_SOF = dso_local local_unnamed_addr global i32 0, align 4
@REG_STP = dso_local local_unnamed_addr global i32 0, align 4
@CNTL3_FASTSCSI = dso_local local_unnamed_addr global i32 0, align 4
@REG_CNTL3 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fas216_set_sync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fas216_set_sync(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @REG_SOF, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @REG_STP, align 4, !tbaa !5
%10 = load ptr, ptr %0, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 %5, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %12) #2
%14 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 %5, i32 2
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = icmp sgt i32 %20, 49
%22 = load i32, ptr @CNTL3_FASTSCSI, align 4
%23 = xor i32 %22, -1
%24 = select i1 %21, i32 %23, i32 -1
%25 = and i32 %24, %17
%26 = load i32, ptr @REG_CNTL3, align 4, !tbaa !5
%27 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2
ret void
}
declare i32 @fas216_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_7__", !11, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8}
!15 = !{!14, !6, i64 4}
!16 = !{!10, !11, i64 8}
!17 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_fas216.c_fas216_set_sync.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_fas216.c_fas216_set_sync.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, i32, i32 }
@REG_SOF = common local_unnamed_addr global i32 0, align 4
@REG_STP = common local_unnamed_addr global i32 0, align 4
@CNTL3_FASTSCSI = common local_unnamed_addr global i32 0, align 4
@REG_CNTL3 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fas216_set_sync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fas216_set_sync(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @REG_SOF, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @REG_STP, align 4, !tbaa !6
%10 = load ptr, ptr %0, align 8, !tbaa !10
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 %5, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %12) #2
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds i8, ptr %15, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 %5, i32 2
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = icmp sgt i32 %20, 49
%22 = load i32, ptr @CNTL3_FASTSCSI, align 4
%23 = xor i32 %22, -1
%24 = select i1 %21, i32 %23, i32 -1
%25 = and i32 %24, %17
%26 = load i32, ptr @REG_CNTL3, align 4, !tbaa !6
%27 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2
ret void
}
declare i32 @fas216_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_7__", !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8}
!16 = !{!15, !7, i64 4}
!17 = !{!11, !12, i64 8}
!18 = !{!15, !7, i64 8}
| fastsocket_kernel_drivers_scsi_arm_extr_fas216.c_fas216_set_sync |
; ModuleID = 'AnghaBench/linux/drivers/android/extr_binderfs.c_binderfs_create_file.c'
source_filename = "AnghaBench/linux/drivers/android/extr_binderfs.c_binderfs_create_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.inode = type { ptr, ptr, ptr }
@S_IFREG = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @binderfs_create_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @d_inode(ptr noundef %0) #2
%6 = tail call i32 @inode_lock(ptr noundef %5) #2
%7 = tail call ptr @binderfs_create_dentry(ptr noundef %0, ptr noundef %1) #2
%8 = tail call i64 @IS_ERR(ptr noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %26
10: ; preds = %4
%11 = getelementptr inbounds %struct.inode, ptr %5, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = load i32, ptr @S_IFREG, align 4, !tbaa !10
%14 = or i32 %13, 292
%15 = tail call ptr @binderfs_make_inode(ptr noundef %12, i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %10
%18 = tail call i32 @dput(ptr noundef %7) #2
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%20 = sub nsw i32 0, %19
%21 = tail call ptr @ERR_PTR(i32 noundef %20) #2
br label %26
22: ; preds = %10
%23 = getelementptr inbounds %struct.inode, ptr %15, i64 0, i32 1
store ptr %2, ptr %23, align 8, !tbaa !12
store ptr %3, ptr %15, align 8, !tbaa !13
%24 = tail call i32 @d_instantiate(ptr noundef %7, ptr noundef nonnull %15) #2
%25 = tail call i32 @fsnotify_create(ptr noundef nonnull %5, ptr noundef %7) #2
br label %26
26: ; preds = %4, %22, %17
%27 = phi ptr [ %7, %4 ], [ %7, %22 ], [ %21, %17 ]
%28 = tail call i32 @inode_unlock(ptr noundef %5) #2
ret ptr %27
}
declare ptr @d_inode(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1
declare ptr @binderfs_create_dentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @binderfs_make_inode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dput(ptr noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fsnotify_create(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @inode_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 16}
!6 = !{!"inode", !7, i64 0, !7, i64 8, !7, i64 16}
!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 8}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/android/extr_binderfs.c_binderfs_create_file.c'
source_filename = "AnghaBench/linux/drivers/android/extr_binderfs.c_binderfs_create_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@S_IFREG = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @binderfs_create_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @d_inode(ptr noundef %0) #2
%6 = tail call i32 @inode_lock(ptr noundef %5) #2
%7 = tail call ptr @binderfs_create_dentry(ptr noundef %0, ptr noundef %1) #2
%8 = tail call i64 @IS_ERR(ptr noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %26
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %5, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = load i32, ptr @S_IFREG, align 4, !tbaa !11
%14 = or i32 %13, 292
%15 = tail call ptr @binderfs_make_inode(ptr noundef %12, i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %10
%18 = tail call i32 @dput(ptr noundef %7) #2
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%20 = sub nsw i32 0, %19
%21 = tail call ptr @ERR_PTR(i32 noundef %20) #2
br label %26
22: ; preds = %10
%23 = getelementptr inbounds i8, ptr %15, i64 8
store ptr %2, ptr %23, align 8, !tbaa !13
store ptr %3, ptr %15, align 8, !tbaa !14
%24 = tail call i32 @d_instantiate(ptr noundef %7, ptr noundef nonnull %15) #2
%25 = tail call i32 @fsnotify_create(ptr noundef nonnull %5, ptr noundef %7) #2
br label %26
26: ; preds = %4, %22, %17
%27 = phi ptr [ %7, %4 ], [ %7, %22 ], [ %21, %17 ]
%28 = tail call i32 @inode_unlock(ptr noundef %5) #2
ret ptr %27
}
declare ptr @d_inode(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1
declare ptr @binderfs_create_dentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @binderfs_make_inode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dput(ptr noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fsnotify_create(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @inode_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 16}
!7 = !{!"inode", !8, i64 0, !8, i64 8, !8, i64 16}
!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 8}
!14 = !{!7, !8, i64 0}
| linux_drivers_android_extr_binderfs.c_binderfs_create_file |
; ModuleID = 'AnghaBench/memcached/extr_memcached.c_server_sockets.c'
source_filename = "AnghaBench/memcached/extr_memcached.c_server_sockets.c"
target datalayout = "e-m:e-p270:32:32-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 }
@settings = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"Failed to allocate memory for parsing server interface string\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c";,\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Invalid IPV6 address: \22%s\22\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Invalid port number: \22%s\22\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_sockets], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @server_sockets(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @settings, i64 0, i32 1), align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @server_socket(ptr noundef null, i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 0) #5
br label %68
10: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
%11 = tail call ptr @strdup(ptr noundef nonnull %6)
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @stderr, align 4, !tbaa !11
%15 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef nonnull @.str) #5
br label %66
16: ; preds = %10
%17 = call ptr @strtok_r(ptr noundef nonnull %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %4)
%18 = icmp eq ptr %17, null
br i1 %18, label %63, label %19
19: ; preds = %16, %50
%20 = phi ptr [ %59, %50 ], [ %17, %16 ]
%21 = phi i32 [ %58, %50 ], [ 0, %16 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
store i32 %0, ptr %5, align 4, !tbaa !11
%22 = load i8, ptr %20, align 1, !tbaa !12
%23 = icmp eq i8 %22, 91
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext 93) #5
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr @stderr, align 4, !tbaa !11
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef nonnull @.str.2, ptr noundef nonnull %20) #5
br label %61
30: ; preds = %24
%31 = getelementptr inbounds i8, ptr %20, i64 1
store i8 0, ptr %25, align 1, !tbaa !12
%32 = getelementptr inbounds i8, ptr %25, i64 1
br label %33
33: ; preds = %30, %19
%34 = phi ptr [ %32, %30 ], [ %20, %19 ]
%35 = phi ptr [ %31, %30 ], [ null, %19 ]
%36 = call ptr @strchr(ptr noundef nonnull %34, i8 noundef signext 58) #5
%37 = icmp eq ptr %36, null
br i1 %37, label %50, label %38
38: ; preds = %33
%39 = getelementptr inbounds i8, ptr %36, i64 1
%40 = call ptr @strchr(ptr noundef nonnull %39, i8 noundef signext 58) #5
%41 = icmp eq ptr %40, null
%42 = icmp ne ptr %35, null
%43 = select i1 %41, i1 true, i1 %42
br i1 %43, label %44, label %50
44: ; preds = %38
store i8 0, ptr %36, align 1, !tbaa !12
%45 = call i32 @safe_strtol(ptr noundef nonnull %39, ptr noundef nonnull %5) #5
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr @stderr, align 4, !tbaa !11
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef nonnull @.str.3, ptr noundef nonnull %39) #5
br label %61
50: ; preds = %38, %44, %33
%51 = icmp eq ptr %35, null
%52 = select i1 %51, ptr %34, ptr %35
%53 = call i64 @strcmp(ptr noundef nonnull %52, ptr noundef nonnull @.str.4) #5
%54 = icmp eq i64 %53, 0
%55 = select i1 %54, ptr null, ptr %52
%56 = load i32, ptr %5, align 4, !tbaa !11
%57 = call i32 @server_socket(ptr noundef %55, i32 noundef %56, i32 noundef %1, ptr noundef %2, i32 noundef 0) #5
%58 = or i32 %57, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
%59 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull %4)
%60 = icmp eq ptr %59, null
br i1 %60, label %63, label %19, !llvm.loop !13
61: ; preds = %47, %27
%62 = call i32 @free(ptr noundef nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
br label %66
63: ; preds = %50, %16
%64 = phi i32 [ 0, %16 ], [ %58, %50 ]
%65 = call i32 @free(ptr noundef nonnull %11) #5
br label %66
66: ; preds = %61, %63, %13
%67 = phi i32 [ 1, %13 ], [ %64, %63 ], [ 1, %61 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
br label %68
68: ; preds = %66, %8
%69 = phi i32 [ %9, %8 ], [ %67, %66 ]
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @server_socket(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare ptr @strtok_r(ptr noundef, ptr nocapture noundef readonly, ptr noundef) local_unnamed_addr #4
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @safe_strtol(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_2__", !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 = !{!7, !7, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/memcached/extr_memcached.c_server_sockets.c'
source_filename = "AnghaBench/memcached/extr_memcached.c_server_sockets.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 }
@settings = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"Failed to allocate memory for parsing server interface string\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c";,\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Invalid IPV6 address: \22%s\22\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Invalid port number: \22%s\22\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @server_sockets], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @server_sockets(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = load ptr, ptr getelementptr inbounds (i8, ptr @settings, i64 8), align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @server_socket(ptr noundef null, i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 0) #5
br label %68
10: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
%11 = tail call ptr @strdup(ptr noundef nonnull %6)
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @stderr, align 4, !tbaa !12
%15 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef nonnull @.str) #5
br label %66
16: ; preds = %10
%17 = call ptr @strtok_r(ptr noundef nonnull %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %4)
%18 = icmp eq ptr %17, null
br i1 %18, label %63, label %19
19: ; preds = %16, %50
%20 = phi ptr [ %59, %50 ], [ %17, %16 ]
%21 = phi i32 [ %58, %50 ], [ 0, %16 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
store i32 %0, ptr %5, align 4, !tbaa !12
%22 = load i8, ptr %20, align 1, !tbaa !13
%23 = icmp eq i8 %22, 91
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext 93) #5
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr @stderr, align 4, !tbaa !12
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef nonnull @.str.2, ptr noundef nonnull %20) #5
br label %61
30: ; preds = %24
%31 = getelementptr inbounds i8, ptr %20, i64 1
store i8 0, ptr %25, align 1, !tbaa !13
%32 = getelementptr inbounds i8, ptr %25, i64 1
br label %33
33: ; preds = %30, %19
%34 = phi ptr [ %32, %30 ], [ %20, %19 ]
%35 = phi ptr [ %31, %30 ], [ null, %19 ]
%36 = call ptr @strchr(ptr noundef nonnull %34, i8 noundef signext 58) #5
%37 = icmp eq ptr %36, null
br i1 %37, label %50, label %38
38: ; preds = %33
%39 = getelementptr inbounds i8, ptr %36, i64 1
%40 = call ptr @strchr(ptr noundef nonnull %39, i8 noundef signext 58) #5
%41 = icmp eq ptr %40, null
%42 = icmp ne ptr %35, null
%43 = select i1 %41, i1 true, i1 %42
br i1 %43, label %44, label %50
44: ; preds = %38
store i8 0, ptr %36, align 1, !tbaa !13
%45 = call i32 @safe_strtol(ptr noundef nonnull %39, ptr noundef nonnull %5) #5
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr @stderr, align 4, !tbaa !12
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef nonnull @.str.3, ptr noundef nonnull %39) #5
br label %61
50: ; preds = %38, %44, %33
%51 = icmp eq ptr %35, null
%52 = select i1 %51, ptr %34, ptr %35
%53 = call i64 @strcmp(ptr noundef nonnull %52, ptr noundef nonnull @.str.4) #5
%54 = icmp eq i64 %53, 0
%55 = select i1 %54, ptr null, ptr %52
%56 = load i32, ptr %5, align 4, !tbaa !12
%57 = call i32 @server_socket(ptr noundef %55, i32 noundef %56, i32 noundef %1, ptr noundef %2, i32 noundef 0) #5
%58 = or i32 %57, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
%59 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull %4)
%60 = icmp eq ptr %59, null
br i1 %60, label %63, label %19, !llvm.loop !14
61: ; preds = %47, %27
%62 = call i32 @free(ptr noundef nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
br label %66
63: ; preds = %50, %16
%64 = phi i32 [ 0, %16 ], [ %58, %50 ]
%65 = call i32 @free(ptr noundef nonnull %11) #5
br label %66
66: ; preds = %61, %63, %13
%67 = phi i32 [ 1, %13 ], [ %64, %63 ], [ 1, %61 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
br label %68
68: ; preds = %66, %8
%69 = phi i32 [ %9, %8 ], [ %67, %66 ]
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @server_socket(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare ptr @strtok_r(ptr noundef, ptr nocapture noundef readonly, ptr noundef) local_unnamed_addr #4
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @safe_strtol(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_2__", !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 = !{!8, !8, i64 0}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| memcached_extr_memcached.c_server_sockets |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_md.c_md_write.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_md.c_md_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @md_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @md_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq ptr %1, null
%5 = icmp slt i32 %2, 1
%6 = or i1 %4, %5
br i1 %6, label %30, label %7
7: ; preds = %3
%8 = tail call ptr @BIO_get_data(ptr noundef %0) #2
%9 = tail call ptr @BIO_next(ptr noundef %0) #2
%10 = icmp ne ptr %8, null
%11 = icmp ne ptr %9, null
%12 = select i1 %10, i1 %11, i1 false
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = tail call i32 @BIO_write(ptr noundef nonnull %9, ptr noundef nonnull %1, i32 noundef %2) #2
br label %15
15: ; preds = %13, %7
%16 = phi i32 [ %14, %13 ], [ 0, %7 ]
%17 = tail call i64 @BIO_get_init(ptr noundef %0) #2
%18 = icmp ne i64 %17, 0
%19 = icmp sgt i32 %16, 0
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %26
21: ; preds = %15
%22 = tail call i32 @EVP_DigestUpdate(ptr noundef %8, ptr noundef nonnull %1, i32 noundef %16) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
br label %30
26: ; preds = %21, %15
br i1 %11, label %27, label %30
27: ; preds = %26
%28 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
%29 = tail call i32 @BIO_copy_next_retry(ptr noundef %0) #2
br label %30
30: ; preds = %26, %27, %3, %24
%31 = phi i32 [ 0, %24 ], [ 0, %3 ], [ %16, %27 ], [ %16, %26 ]
ret i32 %31
}
declare ptr @BIO_get_data(ptr noundef) local_unnamed_addr #1
declare ptr @BIO_next(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BIO_get_init(ptr noundef) local_unnamed_addr #1
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_copy_next_retry(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_md.c_md_write.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_md.c_md_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @md_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @md_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq ptr %1, null
%5 = icmp slt i32 %2, 1
%6 = or i1 %4, %5
br i1 %6, label %30, label %7
7: ; preds = %3
%8 = tail call ptr @BIO_get_data(ptr noundef %0) #2
%9 = tail call ptr @BIO_next(ptr noundef %0) #2
%10 = icmp ne ptr %8, null
%11 = icmp ne ptr %9, null
%12 = select i1 %10, i1 %11, i1 false
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = tail call i32 @BIO_write(ptr noundef nonnull %9, ptr noundef nonnull %1, i32 noundef %2) #2
br label %15
15: ; preds = %13, %7
%16 = phi i32 [ %14, %13 ], [ 0, %7 ]
%17 = tail call i64 @BIO_get_init(ptr noundef %0) #2
%18 = icmp ne i64 %17, 0
%19 = icmp sgt i32 %16, 0
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %26
21: ; preds = %15
%22 = tail call i32 @EVP_DigestUpdate(ptr noundef %8, ptr noundef nonnull %1, i32 noundef %16) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
br label %30
26: ; preds = %21, %15
br i1 %11, label %27, label %30
27: ; preds = %26
%28 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2
%29 = tail call i32 @BIO_copy_next_retry(ptr noundef %0) #2
br label %30
30: ; preds = %26, %27, %3, %24
%31 = phi i32 [ 0, %24 ], [ 0, %3 ], [ %16, %27 ], [ %16, %26 ]
ret i32 %31
}
declare ptr @BIO_get_data(ptr noundef) local_unnamed_addr #1
declare ptr @BIO_next(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BIO_get_init(ptr noundef) local_unnamed_addr #1
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1
declare i32 @BIO_copy_next_retry(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_crypto_openssl_crypto_evp_extr_bio_md.c_md_write |
; ModuleID = 'AnghaBench/linux/tools/perf/ui/browsers/extr_header.c_ui_browser__argv_write.c'
source_filename = "AnghaBench/linux/tools/perf/ui/browsers/extr_header.c_ui_browser__argv_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ui_browser = type { i32, i64 }
@HE_COLORSET_SELECTED = dso_local local_unnamed_addr global i32 0, align 4
@HE_COLORSET_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ui_browser__argv_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ui_browser__argv_write(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca [2 x i8], align 2
%5 = load ptr, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #4
store i16 32, ptr %4, align 2
%6 = tail call i32 @ui_browser__is_current_entry(ptr noundef %0, i32 noundef %2) #4
%7 = getelementptr inbounds %struct.ui_browser, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !9
%9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5)
%10 = icmp ult i64 %8, %9
%11 = getelementptr inbounds i8, ptr %5, i64 %8
%12 = select i1 %10, ptr %11, ptr %4
%13 = icmp eq i32 %6, 0
%14 = load i32, ptr @HE_COLORSET_SELECTED, align 4
%15 = load i32, ptr @HE_COLORSET_NORMAL, align 4
%16 = select i1 %13, i32 %15, i32 %14
%17 = tail call i32 @ui_browser__set_color(ptr noundef %0, i32 noundef %16) #4
%18 = load i32, ptr %0, align 8, !tbaa !13
%19 = call i32 @ui_browser__write_nstring(ptr noundef nonnull %0, ptr noundef %12, i32 noundef %18) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ui_browser__is_current_entry(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @ui_browser__set_color(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ui_browser__write_nstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"ui_browser", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/perf/ui/browsers/extr_header.c_ui_browser__argv_write.c'
source_filename = "AnghaBench/linux/tools/perf/ui/browsers/extr_header.c_ui_browser__argv_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HE_COLORSET_SELECTED = common local_unnamed_addr global i32 0, align 4
@HE_COLORSET_NORMAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ui_browser__argv_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ui_browser__argv_write(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca [2 x i8], align 2
%5 = load ptr, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #4
store i16 32, ptr %4, align 2
%6 = tail call i32 @ui_browser__is_current_entry(ptr noundef %0, i32 noundef %2) #4
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !10
%9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5)
%10 = icmp ult i64 %8, %9
%11 = getelementptr inbounds i8, ptr %5, i64 %8
%12 = select i1 %10, ptr %11, ptr %4
%13 = icmp eq i32 %6, 0
%14 = load i32, ptr @HE_COLORSET_SELECTED, align 4
%15 = load i32, ptr @HE_COLORSET_NORMAL, align 4
%16 = select i1 %13, i32 %15, i32 %14
%17 = tail call i32 @ui_browser__set_color(ptr noundef %0, i32 noundef %16) #4
%18 = load i32, ptr %0, align 8, !tbaa !14
%19 = call i32 @ui_browser__write_nstring(ptr noundef nonnull %0, ptr noundef %12, i32 noundef %18) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ui_browser__is_current_entry(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @ui_browser__set_color(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ui_browser__write_nstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"ui_browser", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
| linux_tools_perf_ui_browsers_extr_header.c_ui_browser__argv_write |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_pack_dac8800.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_pack_dac8800.c"
target datalayout = "e-m:e-p270:32:32-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 @pack_dac8800], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef i32 @pack_dac8800(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = shl i32 %0, 8
%5 = and i32 %4, 1792
%6 = and i32 %1, 255
%7 = or disjoint i32 %5, %6
store i32 %7, ptr %2, align 4, !tbaa !5
ret i32 11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_pack_dac8800.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_mio_common.c_pack_dac8800.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 @pack_dac8800], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef i32 @pack_dac8800(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = shl i32 %0, 8
%5 = and i32 %4, 1792
%6 = and i32 %1, 255
%7 = or disjoint i32 %5, %6
store i32 %7, ptr %2, align 4, !tbaa !6
ret i32 11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_ni_mio_common.c_pack_dac8800 |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_id.c_svn_fs_x__id_unparse.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_id.c_svn_fs_x__id_unparse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_INT64_BUFFER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_fs_x__id_unparse(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SVN_INT64_BUFFER_SIZE, align 4, !tbaa !5
%4 = shl nsw i32 %3, 1
%5 = or disjoint i32 %4, 1
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 16
%8 = call ptr @part_unparse(ptr noundef nonnull %7, ptr noundef %0) #2
%9 = ptrtoint ptr %8 to i64
%10 = ptrtoint ptr %7 to i64
%11 = sub i64 %9, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @svn_string_ncreate(ptr noundef nonnull %7, i32 noundef %12, ptr noundef %1) #2
ret ptr %13
}
declare ptr @part_unparse(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @svn_string_ncreate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_id.c_svn_fs_x__id_unparse.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_id.c_svn_fs_x__id_unparse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_INT64_BUFFER_SIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_fs_x__id_unparse(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SVN_INT64_BUFFER_SIZE, align 4, !tbaa !6
%4 = shl nsw i32 %3, 1
%5 = or disjoint i32 %4, 1
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 1
%8 = call ptr @part_unparse(ptr noundef nonnull %7, ptr noundef %0) #2
%9 = ptrtoint ptr %8 to i64
%10 = ptrtoint ptr %7 to i64
%11 = sub i64 %9, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @svn_string_ncreate(ptr noundef nonnull %7, i32 noundef %12, ptr noundef %1) #2
ret ptr %13
}
declare ptr @part_unparse(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @svn_string_ncreate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_id.c_svn_fs_x__id_unparse |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_new_page_of_size.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_new_page_of_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"
@.str = private unnamed_addr constant [8 x i8] c"fz_page\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @fz_new_page_of_size(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fz_calloc(ptr noundef %0, i32 noundef 1, i32 noundef %1) #2
%4 = tail call ptr @Memento_label(i32 noundef %3, ptr noundef nonnull @.str) #2
store i32 1, ptr %4, align 4, !tbaa !5
ret ptr %4
}
declare ptr @Memento_label(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_calloc(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_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_new_page_of_size.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_new_page_of_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"fz_page\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @fz_new_page_of_size(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fz_calloc(ptr noundef %0, i32 noundef 1, i32 noundef %1) #2
%4 = tail call ptr @Memento_label(i32 noundef %3, ptr noundef nonnull @.str) #2
store i32 1, ptr %4, align 4, !tbaa !6
ret ptr %4
}
declare ptr @Memento_label(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_calloc(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_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| sumatrapdf_mupdf_source_fitz_extr_document.c_fz_new_page_of_size |
; ModuleID = 'AnghaBench/linux/drivers/input/joystick/iforce/extr_iforce-packets.c_iforce_report_hats_buttons.c'
source_filename = "AnghaBench/linux/drivers/input/joystick/iforce/extr_iforce-packets.c_iforce_report_hats_buttons.c"
target datalayout = "e-m:e-p270:32:32-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.iforce = type { ptr, ptr }
%struct.TYPE_4__ = type { i32, i32 }
@ABS_HAT0X = dso_local local_unnamed_addr global i32 0, align 4
@iforce_hat_to_axis = dso_local local_unnamed_addr global ptr null, align 8
@ABS_HAT0Y = dso_local local_unnamed_addr global i32 0, align 4
@ABS_HAT1X = dso_local local_unnamed_addr global i32 0, align 4
@ABS_HAT1Y = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iforce_report_hats_buttons], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @iforce_report_hats_buttons(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.iforce, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @ABS_HAT0X, align 4, !tbaa !10
%6 = load ptr, ptr @iforce_hat_to_axis, align 8, !tbaa !12
%7 = getelementptr inbounds i32, ptr %1, i64 6
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = ashr i32 %8, 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @input_report_abs(ptr noundef %4, i32 noundef %5, i32 noundef %12) #2
%14 = load i32, ptr @ABS_HAT0Y, align 4, !tbaa !10
%15 = load ptr, ptr @iforce_hat_to_axis, align 8, !tbaa !12
%16 = load i32, ptr %7, align 4, !tbaa !10
%17 = ashr i32 %16, 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %18, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = tail call i32 @input_report_abs(ptr noundef %4, i32 noundef %14, i32 noundef %20) #2
%22 = getelementptr i32, ptr %1, i64 5
%23 = load ptr, ptr %0, align 8, !tbaa !16
%24 = load ptr, ptr %23, align 8, !tbaa !17
%25 = load i64, ptr %24, align 8, !tbaa !19
%26 = icmp sgt i64 %25, -1
br i1 %26, label %27, label %48
27: ; preds = %2, %27
%28 = phi i64 [ %39, %27 ], [ 0, %2 ]
%29 = phi i64 [ %43, %27 ], [ %25, %2 ]
%30 = trunc i64 %28 to i32
%31 = lshr i64 %28, 3
%32 = and i64 %31, 536870911
%33 = getelementptr i32, ptr %22, i64 %32
%34 = load i32, ptr %33, align 4, !tbaa !10
%35 = and i32 %30, 7
%36 = shl nuw nsw i32 1, %35
%37 = and i32 %34, %36
%38 = tail call i32 @input_report_key(ptr noundef %4, i64 noundef %29, i32 noundef %37) #2
%39 = add nuw i64 %28, 1
%40 = load ptr, ptr %0, align 8, !tbaa !16
%41 = load ptr, ptr %40, align 8, !tbaa !17
%42 = getelementptr inbounds i64, ptr %41, i64 %39
%43 = load i64, ptr %42, align 8, !tbaa !19
%44 = icmp sgt i64 %43, -1
br i1 %44, label %27, label %45, !llvm.loop !21
45: ; preds = %27
%46 = trunc i64 %39 to i32
%47 = icmp ult i32 %46, 9
br i1 %47, label %48, label %91
48: ; preds = %2, %45
%49 = load i32, ptr %7, align 4, !tbaa !10
%50 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !10
%51 = load i32, ptr %4, align 4, !tbaa !23
%52 = tail call i64 @test_bit(i32 noundef %50, i32 noundef %51) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %70, label %54
54: ; preds = %48
%55 = tail call i32 @BIT(i32 noundef 3) #2
%56 = and i32 %55, %49
%57 = icmp eq i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %54
%59 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !10
%60 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %59, i32 noundef -1) #2
br label %70
61: ; preds = %54
%62 = tail call i32 @BIT(i32 noundef 1) #2
%63 = and i32 %62, %49
%64 = icmp eq i32 %63, 0
%65 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !10
br i1 %64, label %68, label %66
66: ; preds = %61
%67 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %65, i32 noundef 1) #2
br label %70
68: ; preds = %61
%69 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %65, i32 noundef 0) #2
br label %70
70: ; preds = %58, %68, %66, %48
%71 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !10
%72 = load i32, ptr %4, align 4, !tbaa !23
%73 = tail call i64 @test_bit(i32 noundef %71, i32 noundef %72) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %91, label %75
75: ; preds = %70
%76 = tail call i32 @BIT(i32 noundef 0) #2
%77 = and i32 %76, %49
%78 = icmp eq i32 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %75
%80 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !10
%81 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %80, i32 noundef -1) #2
br label %91
82: ; preds = %75
%83 = tail call i32 @BIT(i32 noundef 2) #2
%84 = and i32 %83, %49
%85 = icmp eq i32 %84, 0
%86 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !10
br i1 %85, label %89, label %87
87: ; preds = %82
%88 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %86, i32 noundef 1) #2
br label %91
89: ; preds = %82
%90 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %86, i32 noundef 0) #2
br label %91
91: ; preds = %70, %87, %89, %79, %45
ret void
}
declare i32 @input_report_abs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @input_report_key(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"iforce", !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 = !{!7, !7, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_4__", !11, i64 0, !11, i64 4}
!15 = !{!14, !11, i64 4}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !11, i64 0}
!24 = !{!"input_dev", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/input/joystick/iforce/extr_iforce-packets.c_iforce_report_hats_buttons.c'
source_filename = "AnghaBench/linux/drivers/input/joystick/iforce/extr_iforce-packets.c_iforce_report_hats_buttons.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, i32 }
@ABS_HAT0X = common local_unnamed_addr global i32 0, align 4
@iforce_hat_to_axis = common local_unnamed_addr global ptr null, align 8
@ABS_HAT0Y = common local_unnamed_addr global i32 0, align 4
@ABS_HAT1X = common local_unnamed_addr global i32 0, align 4
@ABS_HAT1Y = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iforce_report_hats_buttons], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @iforce_report_hats_buttons(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @ABS_HAT0X, align 4, !tbaa !11
%6 = load ptr, ptr @iforce_hat_to_axis, align 8, !tbaa !13
%7 = getelementptr inbounds i8, ptr %1, i64 24
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = ashr i32 %8, 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @input_report_abs(ptr noundef %4, i32 noundef %5, i32 noundef %12) #2
%14 = load i32, ptr @ABS_HAT0Y, align 4, !tbaa !11
%15 = load ptr, ptr @iforce_hat_to_axis, align 8, !tbaa !13
%16 = load i32, ptr %7, align 4, !tbaa !11
%17 = ashr i32 %16, 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %18, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = tail call i32 @input_report_abs(ptr noundef %4, i32 noundef %14, i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %1, i64 20
%23 = load ptr, ptr %0, align 8, !tbaa !17
%24 = load ptr, ptr %23, align 8, !tbaa !18
%25 = load i64, ptr %24, align 8, !tbaa !20
%26 = icmp sgt i64 %25, -1
br i1 %26, label %27, label %47
27: ; preds = %2, %27
%28 = phi i64 [ %39, %27 ], [ 0, %2 ]
%29 = phi i64 [ %43, %27 ], [ %25, %2 ]
%30 = trunc nuw nsw i64 %28 to i32
%31 = lshr i64 %28, 3
%32 = and i64 %31, 536870911
%33 = getelementptr inbounds i32, ptr %22, i64 %32
%34 = load i32, ptr %33, align 4, !tbaa !11
%35 = and i32 %30, 7
%36 = shl nuw nsw i32 1, %35
%37 = and i32 %34, %36
%38 = tail call i32 @input_report_key(ptr noundef %4, i64 noundef %29, i32 noundef %37) #2
%39 = add nuw nsw i64 %28, 1
%40 = load ptr, ptr %0, align 8, !tbaa !17
%41 = load ptr, ptr %40, align 8, !tbaa !18
%42 = getelementptr inbounds i64, ptr %41, i64 %39
%43 = load i64, ptr %42, align 8, !tbaa !20
%44 = icmp sgt i64 %43, -1
br i1 %44, label %27, label %45, !llvm.loop !22
45: ; preds = %27
%46 = icmp ult i64 %28, 8
br i1 %46, label %47, label %90
47: ; preds = %2, %45
%48 = load i32, ptr %7, align 4, !tbaa !11
%49 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !11
%50 = load i32, ptr %4, align 4, !tbaa !24
%51 = tail call i64 @test_bit(i32 noundef %49, i32 noundef %50) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %69, label %53
53: ; preds = %47
%54 = tail call i32 @BIT(i32 noundef 3) #2
%55 = and i32 %54, %48
%56 = icmp eq i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !11
%59 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %58, i32 noundef -1) #2
br label %69
60: ; preds = %53
%61 = tail call i32 @BIT(i32 noundef 1) #2
%62 = and i32 %61, %48
%63 = icmp eq i32 %62, 0
%64 = load i32, ptr @ABS_HAT1X, align 4, !tbaa !11
br i1 %63, label %67, label %65
65: ; preds = %60
%66 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %64, i32 noundef 1) #2
br label %69
67: ; preds = %60
%68 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %64, i32 noundef 0) #2
br label %69
69: ; preds = %57, %67, %65, %47
%70 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !11
%71 = load i32, ptr %4, align 4, !tbaa !24
%72 = tail call i64 @test_bit(i32 noundef %70, i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %90, label %74
74: ; preds = %69
%75 = tail call i32 @BIT(i32 noundef 0) #2
%76 = and i32 %75, %48
%77 = icmp eq i32 %76, 0
br i1 %77, label %81, label %78
78: ; preds = %74
%79 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !11
%80 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %79, i32 noundef -1) #2
br label %90
81: ; preds = %74
%82 = tail call i32 @BIT(i32 noundef 2) #2
%83 = and i32 %82, %48
%84 = icmp eq i32 %83, 0
%85 = load i32, ptr @ABS_HAT1Y, align 4, !tbaa !11
br i1 %84, label %88, label %86
86: ; preds = %81
%87 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %85, i32 noundef 1) #2
br label %90
88: ; preds = %81
%89 = tail call i32 @input_report_abs(ptr noundef nonnull %4, i32 noundef %85, i32 noundef 0) #2
br label %90
90: ; preds = %69, %86, %88, %78, %45
ret void
}
declare i32 @input_report_abs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @input_report_key(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"iforce", !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 = !{!8, !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_4__", !12, i64 0, !12, i64 4}
!16 = !{!15, !12, i64 4}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_3__", !8, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !9, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !12, i64 0}
!25 = !{!"input_dev", !12, i64 0}
| linux_drivers_input_joystick_iforce_extr_iforce-packets.c_iforce_report_hats_buttons |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_db.c_gatts_read_attr_perm_check.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_db.c_gatts_read_attr_perm_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, i64 }
@GATT_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @gatts_read_attr_perm_check(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @GATT_NOT_FOUND, align 4, !tbaa !5
%7 = icmp eq ptr %0, null
br i1 %7, label %24, label %8
8: ; preds = %5
%9 = load i64, ptr %0, align 8, !tbaa !9
%10 = icmp eq i64 %9, 0
br i1 %10, label %24, label %11
11: ; preds = %8, %20
%12 = phi i64 [ %22, %20 ], [ %9, %8 ]
%13 = inttoptr i64 %12 to ptr
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = icmp sgt i64 %14, %2
br i1 %15, label %24, label %16
16: ; preds = %11
%17 = icmp eq i64 %14, %2
br i1 %17, label %18, label %20
18: ; preds = %16
%19 = tail call i32 @gatts_check_attr_readability(ptr noundef nonnull %13, i32 noundef 0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
br label %24
20: ; preds = %16
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !14
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %11, !llvm.loop !15
24: ; preds = %11, %20, %18, %8, %5
%25 = phi i32 [ %19, %18 ], [ %6, %8 ], [ %6, %5 ], [ %6, %20 ], [ %6, %11 ]
ret i32 %25
}
declare i32 @gatts_check_attr_readability(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_db.c_gatts_read_attr_perm_check.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_db.c_gatts_read_attr_perm_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GATT_NOT_FOUND = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @gatts_read_attr_perm_check(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @GATT_NOT_FOUND, align 4, !tbaa !6
%7 = icmp eq ptr %0, null
br i1 %7, label %24, label %8
8: ; preds = %5
%9 = load i64, ptr %0, align 8, !tbaa !10
%10 = icmp eq i64 %9, 0
br i1 %10, label %24, label %11
11: ; preds = %8, %20
%12 = phi i64 [ %22, %20 ], [ %9, %8 ]
%13 = inttoptr i64 %12 to ptr
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = icmp sgt i64 %14, %2
br i1 %15, label %24, label %16
16: ; preds = %11
%17 = icmp eq i64 %14, %2
br i1 %17, label %18, label %20
18: ; preds = %16
%19 = tail call i32 @gatts_check_attr_readability(ptr noundef nonnull %13, i32 noundef 0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
br label %24
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %13, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !15
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %11, !llvm.loop !16
24: ; preds = %11, %20, %18, %8, %5
%25 = phi i32 [ %19, %18 ], [ %6, %8 ], [ %6, %5 ], [ %6, %20 ], [ %6, %11 ]
ret i32 %25
}
declare i32 @gatts_check_attr_readability(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !12, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_db.c_gatts_read_attr_perm_check |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ps3rom.c_ps3rom_queuecommand.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ps3rom.c_ps3rom_queuecommand.c"
target datalayout = "e-m:e-p270:32:32-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.scsi_cmnd = type { ptr, ptr, ptr, i32, ptr }
%struct.ps3rom_private = type { ptr, ptr }
@SCSI_SENSE_BUFFERSIZE = dso_local local_unnamed_addr global i32 0, align 4
@ILLEGAL_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ps3rom_queuecommand], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ps3rom_queuecommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.scsi_cmnd, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @shost_priv(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.ps3rom_private, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
store ptr %0, ptr %6, align 8, !tbaa !15
store ptr %1, ptr %0, align 8, !tbaa !16
%9 = getelementptr inbounds %struct.scsi_cmnd, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = load i8, ptr %10, align 1, !tbaa !18
switch i8 %11, label %20 [
i8 -127, label %12
i8 -128, label %16
]
12: ; preds = %2
%13 = tail call i32 @srb10_lba(ptr noundef nonnull %0) #2
%14 = tail call i32 @srb10_len(ptr noundef nonnull %0) #2
%15 = tail call i32 @ps3rom_read_request(ptr noundef %8, ptr noundef nonnull %0, i32 noundef %13, i32 noundef %14) #2
br label %22
16: ; preds = %2
%17 = tail call i32 @srb10_lba(ptr noundef nonnull %0) #2
%18 = tail call i32 @srb10_len(ptr noundef nonnull %0) #2
%19 = tail call i32 @ps3rom_write_request(ptr noundef %8, ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2
br label %22
20: ; preds = %2
%21 = tail call i32 @ps3rom_atapi_request(ptr noundef %8, ptr noundef nonnull %0) #2
br label %22
22: ; preds = %20, %16, %12
%23 = phi i32 [ %21, %20 ], [ %19, %16 ], [ %15, %12 ]
%24 = icmp eq i32 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %22
%26 = getelementptr inbounds %struct.scsi_cmnd, ptr %0, i64 0, i32 2
%27 = load ptr, ptr %26, align 8, !tbaa !19
%28 = load i32, ptr @SCSI_SENSE_BUFFERSIZE, align 4, !tbaa !20
%29 = tail call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %28) #2
%30 = getelementptr inbounds %struct.scsi_cmnd, ptr %0, i64 0, i32 3
store i32 %23, ptr %30, align 8, !tbaa !21
%31 = load ptr, ptr %26, align 8, !tbaa !19
store i32 112, ptr %31, align 4, !tbaa !20
%32 = load i32, ptr @ILLEGAL_REQUEST, align 4, !tbaa !20
%33 = getelementptr inbounds i32, ptr %31, i64 2
store i32 %32, ptr %33, align 4, !tbaa !20
store ptr null, ptr %6, align 8, !tbaa !15
%34 = load ptr, ptr %0, align 8, !tbaa !16
tail call void %34(ptr noundef nonnull %0) #2
br label %35
35: ; preds = %25, %22
ret i32 0
}
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1
declare i32 @ps3rom_read_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @srb10_lba(ptr noundef) local_unnamed_addr #1
declare i32 @srb10_len(ptr noundef) local_unnamed_addr #1
declare i32 @ps3rom_write_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ps3rom_atapi_request(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"scsi_cmnd", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"ps3rom_private", !7, i64 0, !7, i64 8}
!15 = !{!14, !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !7, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !7, i64 16}
!20 = !{!10, !10, i64 0}
!21 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ps3rom.c_ps3rom_queuecommand.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ps3rom.c_ps3rom_queuecommand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCSI_SENSE_BUFFERSIZE = common local_unnamed_addr global i32 0, align 4
@ILLEGAL_REQUEST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ps3rom_queuecommand], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ps3rom_queuecommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call ptr @shost_priv(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
store ptr %0, ptr %6, align 8, !tbaa !16
store ptr %1, ptr %0, align 8, !tbaa !17
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = load i8, ptr %10, align 1, !tbaa !19
switch i8 %11, label %20 [
i8 -127, label %12
i8 -128, label %16
]
12: ; preds = %2
%13 = tail call i32 @srb10_lba(ptr noundef nonnull %0) #2
%14 = tail call i32 @srb10_len(ptr noundef nonnull %0) #2
%15 = tail call i32 @ps3rom_read_request(ptr noundef %8, ptr noundef nonnull %0, i32 noundef %13, i32 noundef %14) #2
br label %22
16: ; preds = %2
%17 = tail call i32 @srb10_lba(ptr noundef nonnull %0) #2
%18 = tail call i32 @srb10_len(ptr noundef nonnull %0) #2
%19 = tail call i32 @ps3rom_write_request(ptr noundef %8, ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2
br label %22
20: ; preds = %2
%21 = tail call i32 @ps3rom_atapi_request(ptr noundef %8, ptr noundef nonnull %0) #2
br label %22
22: ; preds = %20, %16, %12
%23 = phi i32 [ %21, %20 ], [ %19, %16 ], [ %15, %12 ]
%24 = icmp eq i32 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %22
%26 = getelementptr inbounds i8, ptr %0, i64 16
%27 = load ptr, ptr %26, align 8, !tbaa !20
%28 = load i32, ptr @SCSI_SENSE_BUFFERSIZE, align 4, !tbaa !21
%29 = tail call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %23, ptr %30, align 8, !tbaa !22
%31 = load ptr, ptr %26, align 8, !tbaa !20
store i32 112, ptr %31, align 4, !tbaa !21
%32 = load i32, ptr @ILLEGAL_REQUEST, align 4, !tbaa !21
%33 = getelementptr inbounds i8, ptr %31, i64 8
store i32 %32, ptr %33, align 4, !tbaa !21
store ptr null, ptr %6, align 8, !tbaa !16
%34 = load ptr, ptr %0, align 8, !tbaa !17
tail call void %34(ptr noundef nonnull %0) #2
br label %35
35: ; preds = %25, %22
ret i32 0
}
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1
declare i32 @ps3rom_read_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @srb10_lba(ptr noundef) local_unnamed_addr #1
declare i32 @srb10_len(ptr noundef) local_unnamed_addr #1
declare i32 @ps3rom_write_request(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ps3rom_atapi_request(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 32}
!7 = !{!"scsi_cmnd", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !8, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"ps3rom_private", !8, i64 0, !8, i64 8}
!16 = !{!15, !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !8, i64 8}
!19 = !{!9, !9, i64 0}
!20 = !{!7, !8, i64 16}
!21 = !{!11, !11, i64 0}
!22 = !{!7, !11, i64 24}
| fastsocket_kernel_drivers_scsi_extr_ps3rom.c_ps3rom_queuecommand |
; ModuleID = 'AnghaBench/curl/lib/extr_mime.c_curl_mime_filename.c'
source_filename = "AnghaBench/curl/lib/extr_mime.c_curl_mime_filename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CURLE_BAD_FUNCTION_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4
@CURLE_OUT_OF_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@CURLE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @curl_mime_filename(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = tail call i32 @Curl_safefree(ptr noundef %5) #3
store ptr null, ptr %0, align 8, !tbaa !5
%7 = icmp eq ptr %1, null
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = tail call ptr @strdup(ptr noundef nonnull %1)
store ptr %9, ptr %0, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %4
br label %12
12: ; preds = %8, %2, %11
%13 = phi ptr [ @CURLE_OK, %11 ], [ @CURLE_BAD_FUNCTION_ARGUMENT, %2 ], [ @CURLE_OUT_OF_MEMORY, %8 ]
%14 = load i32, ptr %13, align 4, !tbaa !10
ret i32 %14
}
declare i32 @Curl_safefree(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) 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 = { "no-trapping-math"="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: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/curl/lib/extr_mime.c_curl_mime_filename.c'
source_filename = "AnghaBench/curl/lib/extr_mime.c_curl_mime_filename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURLE_BAD_FUNCTION_ARGUMENT = common local_unnamed_addr global i32 0, align 4
@CURLE_OUT_OF_MEMORY = common local_unnamed_addr global i32 0, align 4
@CURLE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @curl_mime_filename(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = tail call i32 @Curl_safefree(ptr noundef %5) #3
store ptr null, ptr %0, align 8, !tbaa !6
%7 = icmp eq ptr %1, null
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = tail call ptr @strdup(ptr noundef nonnull %1)
store ptr %9, ptr %0, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %4
br label %12
12: ; preds = %8, %2, %11
%13 = phi ptr [ @CURLE_OK, %11 ], [ @CURLE_BAD_FUNCTION_ARGUMENT, %2 ], [ @CURLE_OUT_OF_MEMORY, %8 ]
%14 = load i32, ptr %13, align 4, !tbaa !11
ret i32 %14
}
declare i32 @Curl_safefree(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
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 = !{!"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}
| curl_lib_extr_mime.c_curl_mime_filename |
; ModuleID = 'AnghaBench/php-src/ext/com_dotnet/extr_com_com.c_php_com_do_invoke.c'
source_filename = "AnghaBench/php-src/ext/com_dotnet/extr_com_com.c_php_com_do_invoke.c"
target datalayout = "e-m:e-p270:32:32-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"Unable to lookup `%s': %s\00", align 1
@FAILURE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @php_com_do_invoke(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) local_unnamed_addr #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, 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 = call i32 @php_com_get_id_of_name(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %9) #3
%12 = call i64 @FAILED(i32 noundef %11) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %8
%15 = call ptr @php_win32_error_to_msg(i32 noundef %11) #3
%16 = call i32 @spprintf(ptr noundef nonnull %10, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %15) #3
%17 = call i32 @php_win32_error_msg_free(ptr noundef %15) #3
%18 = load ptr, ptr %10, align 8, !tbaa !5
%19 = call i32 @php_com_throw_exception(i32 noundef %11, ptr noundef %18) #3
%20 = load ptr, ptr %10, align 8, !tbaa !5
%21 = call i32 @efree(ptr noundef %20) #3
%22 = load i32, ptr @FAILURE, align 4, !tbaa !9
br label %26
23: ; preds = %8
%24 = load i32, ptr %9, align 4, !tbaa !9
%25 = call i32 @php_com_do_invoke_by_id(ptr noundef %0, i32 noundef %24, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef %7) #3
br label %26
26: ; preds = %23, %14
%27 = phi i32 [ %22, %14 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @php_com_get_id_of_name(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare ptr @php_win32_error_to_msg(i32 noundef) local_unnamed_addr #2
declare i32 @spprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @php_win32_error_msg_free(ptr noundef) local_unnamed_addr #2
declare i32 @php_com_throw_exception(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @efree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @php_com_do_invoke_by_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/com_dotnet/extr_com_com.c_php_com_do_invoke.c'
source_filename = "AnghaBench/php-src/ext/com_dotnet/extr_com_com.c_php_com_do_invoke.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"Unable to lookup `%s': %s\00", align 1
@FAILURE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @php_com_do_invoke(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) local_unnamed_addr #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, 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 = call i32 @php_com_get_id_of_name(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %9) #3
%12 = call i64 @FAILED(i32 noundef %11) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %8
%15 = call ptr @php_win32_error_to_msg(i32 noundef %11) #3
%16 = call i32 @spprintf(ptr noundef nonnull %10, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %15) #3
%17 = call i32 @php_win32_error_msg_free(ptr noundef %15) #3
%18 = load ptr, ptr %10, align 8, !tbaa !6
%19 = call i32 @php_com_throw_exception(i32 noundef %11, ptr noundef %18) #3
%20 = load ptr, ptr %10, align 8, !tbaa !6
%21 = call i32 @efree(ptr noundef %20) #3
%22 = load i32, ptr @FAILURE, align 4, !tbaa !10
br label %26
23: ; preds = %8
%24 = load i32, ptr %9, align 4, !tbaa !10
%25 = call i32 @php_com_do_invoke_by_id(ptr noundef %0, i32 noundef %24, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef %7) #3
br label %26
26: ; preds = %23, %14
%27 = phi i32 [ %22, %14 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @php_com_get_id_of_name(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare ptr @php_win32_error_to_msg(i32 noundef) local_unnamed_addr #2
declare i32 @spprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @php_win32_error_msg_free(ptr noundef) local_unnamed_addr #2
declare i32 @php_com_throw_exception(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @efree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @php_com_do_invoke_by_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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}
| php-src_ext_com_dotnet_extr_com_com.c_php_com_do_invoke |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/1/rs/src/extr_irq.c_show_invalid_entry_message.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/1/rs/src/extr_irq.c_show_invalid_entry_message.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%s, ESR: %x, address: %x\0D\0A\00", align 1
@entry_error_messages = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @show_invalid_entry_message(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @entry_error_messages, align 8, !tbaa !5
%5 = sext i32 %0 to i64
%6 = getelementptr inbounds ptr, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, i64 noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/1/rs/src/extr_irq.c_show_invalid_entry_message.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/1/rs/src/extr_irq.c_show_invalid_entry_message.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 [27 x i8] c"%s, ESR: %x, address: %x\0D\0A\00", align 1
@entry_error_messages = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @show_invalid_entry_message(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @entry_error_messages, align 8, !tbaa !6
%5 = sext i32 %0 to i64
%6 = getelementptr inbounds ptr, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, i64 noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| raspberry-pi-os_exercises_lesson03_1_rs_src_extr_irq.c_show_invalid_entry_message |
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ehci-hcd.c_ehci_stop.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_ehci-hcd.c_ehci_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.ehci_hcd = type { i32, ptr, i32, i32, i64 }
@.str = private unnamed_addr constant [6 x i8] c"stop\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"ehci_stop completed\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ehci_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ehci_stop(ptr noundef %0) #0 {
%2 = tail call ptr @hcd_to_ehci(ptr noundef %0) #2
%3 = tail call i32 @ehci_dbg(ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds %struct.ehci_hcd, ptr %2, i64 0, i32 2
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.ehci_hcd, ptr %2, i64 0, i32 4
store i64 0, ptr %6, align 8, !tbaa !5
%7 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%8 = tail call i32 @ehci_quiesce(ptr noundef %2) #2
%9 = tail call i32 @ehci_silence_controller(ptr noundef %2) #2
%10 = tail call i32 @ehci_reset(ptr noundef %2) #2
%11 = getelementptr inbounds %struct.ehci_hcd, ptr %2, i64 0, i32 3
%12 = tail call i32 @hrtimer_cancel(ptr noundef nonnull %11) #2
%13 = tail call i32 @remove_sysfs_files(ptr noundef %2) #2
%14 = tail call i32 @remove_debug_files(ptr noundef %2) #2
%15 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%16 = tail call i32 @end_free_itds(ptr noundef %2) #2
%17 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%18 = tail call i32 @ehci_mem_cleanup(ptr noundef %2) #2
%19 = load i32, ptr %2, align 8, !tbaa !12
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = tail call i32 (...) @usb_amd_dev_put() #2
br label %23
23: ; preds = %21, %1
%24 = getelementptr inbounds %struct.ehci_hcd, ptr %2, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = tail call i32 @ehci_readl(ptr noundef nonnull %2, ptr noundef %25) #2
%27 = tail call i32 @dbg_status(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %26) #2
ret void
}
declare ptr @hcd_to_ehci(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_quiesce(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_silence_controller(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_reset(ptr noundef) local_unnamed_addr #1
declare i32 @hrtimer_cancel(ptr noundef) local_unnamed_addr #1
declare i32 @remove_sysfs_files(ptr noundef) local_unnamed_addr #1
declare i32 @remove_debug_files(ptr noundef) local_unnamed_addr #1
declare i32 @end_free_itds(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_mem_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @usb_amd_dev_put(...) local_unnamed_addr #1
declare i32 @dbg_status(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ehci_readl(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, !11, i64 24}
!6 = !{!"ehci_hcd", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !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, !7, i64 0}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ehci-hcd.c_ehci_stop.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_ehci-hcd.c_ehci_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"stop\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"ehci_stop completed\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ehci_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ehci_stop(ptr noundef %0) #0 {
%2 = tail call ptr @hcd_to_ehci(ptr noundef %0) #2
%3 = tail call i32 @ehci_dbg(ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %2, i64 24
store i64 0, ptr %6, align 8, !tbaa !6
%7 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%8 = tail call i32 @ehci_quiesce(ptr noundef %2) #2
%9 = tail call i32 @ehci_silence_controller(ptr noundef %2) #2
%10 = tail call i32 @ehci_reset(ptr noundef %2) #2
%11 = getelementptr inbounds i8, ptr %2, i64 20
%12 = tail call i32 @hrtimer_cancel(ptr noundef nonnull %11) #2
%13 = tail call i32 @remove_sysfs_files(ptr noundef %2) #2
%14 = tail call i32 @remove_debug_files(ptr noundef %2) #2
%15 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%16 = tail call i32 @end_free_itds(ptr noundef %2) #2
%17 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%18 = tail call i32 @ehci_mem_cleanup(ptr noundef %2) #2
%19 = load i32, ptr %2, align 8, !tbaa !13
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = tail call i32 @usb_amd_dev_put() #2
br label %23
23: ; preds = %21, %1
%24 = getelementptr inbounds i8, ptr %2, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = tail call i32 @ehci_readl(ptr noundef nonnull %2, ptr noundef %25) #2
%27 = tail call i32 @dbg_status(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %26) #2
ret void
}
declare ptr @hcd_to_ehci(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_quiesce(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_silence_controller(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_reset(ptr noundef) local_unnamed_addr #1
declare i32 @hrtimer_cancel(ptr noundef) local_unnamed_addr #1
declare i32 @remove_sysfs_files(ptr noundef) local_unnamed_addr #1
declare i32 @remove_debug_files(ptr noundef) local_unnamed_addr #1
declare i32 @end_free_itds(ptr noundef) local_unnamed_addr #1
declare i32 @ehci_mem_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @usb_amd_dev_put(...) local_unnamed_addr #1
declare i32 @dbg_status(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ehci_readl(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, !12, i64 24}
!7 = !{!"ehci_hcd", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !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, !8, i64 0}
!14 = !{!7, !11, i64 8}
| linux_drivers_usb_host_extr_ehci-hcd.c_ehci_stop |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_altivec_expand_vec_set_builtin.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_altivec_expand_vec_set_builtin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NULL_RTX = dso_local local_unnamed_addr global i32 0, align 4
@VOIDmode = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @altivec_expand_vec_set_builtin], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @altivec_expand_vec_set_builtin(i32 noundef %0) #0 {
%2 = tail call i32 @TREE_VALUE(i32 noundef %0) #2
%3 = tail call i32 @TREE_CHAIN(i32 noundef %0) #2
%4 = tail call i32 @TREE_VALUE(i32 noundef %3) #2
%5 = tail call i32 @TREE_CHAIN(i32 noundef %0) #2
%6 = tail call i32 @TREE_CHAIN(i32 noundef %5) #2
%7 = tail call i32 @TREE_VALUE(i32 noundef %6) #2
%8 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%9 = tail call i32 @TYPE_MODE(i32 noundef %8) #2
%10 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%11 = tail call i32 @TREE_TYPE(i32 noundef %10) #2
%12 = tail call i32 @TYPE_MODE(i32 noundef %11) #2
%13 = tail call i32 @VECTOR_MODE_P(i32 noundef %9) #2
%14 = tail call i32 @gcc_assert(i32 noundef %13) #2
%15 = load i32, ptr @NULL_RTX, align 4, !tbaa !5
%16 = tail call i32 @expand_expr(i32 noundef %2, i32 noundef %15, i32 noundef %9, i32 noundef 0) #2
%17 = load i32, ptr @NULL_RTX, align 4, !tbaa !5
%18 = tail call i32 @expand_expr(i32 noundef %4, i32 noundef %17, i32 noundef %12, i32 noundef 0) #2
%19 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%20 = tail call i32 @get_element_number(i32 noundef %19, i32 noundef %7) #2
%21 = tail call i64 @GET_MODE(i32 noundef %18) #2
%22 = zext i32 %12 to i64
%23 = icmp eq i64 %21, %22
br i1 %23, label %31, label %24
24: ; preds = %1
%25 = tail call i64 @GET_MODE(i32 noundef %18) #2
%26 = load i64, ptr @VOIDmode, align 8, !tbaa !9
%27 = icmp eq i64 %25, %26
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i64 @GET_MODE(i32 noundef %18) #2
%30 = tail call i32 @convert_modes(i32 noundef %12, i64 noundef %29, i32 noundef %18, i32 noundef 1) #2
br label %31
31: ; preds = %28, %24, %1
%32 = phi i32 [ %30, %28 ], [ %18, %24 ], [ %18, %1 ]
%33 = tail call i32 @force_reg(i32 noundef %9, i32 noundef %16) #2
%34 = tail call i32 @force_reg(i32 noundef %12, i32 noundef %32) #2
%35 = tail call i32 @rs6000_expand_vector_set(i32 noundef %33, i32 noundef %34, i32 noundef %20) #2
ret i32 %33
}
declare i32 @TREE_VALUE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CHAIN(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1
declare i32 @VECTOR_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @expand_expr(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_element_number(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @convert_modes(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @force_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rs6000_expand_vector_set(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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_altivec_expand_vec_set_builtin.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_altivec_expand_vec_set_builtin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NULL_RTX = common local_unnamed_addr global i32 0, align 4
@VOIDmode = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @altivec_expand_vec_set_builtin], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @altivec_expand_vec_set_builtin(i32 noundef %0) #0 {
%2 = tail call i32 @TREE_VALUE(i32 noundef %0) #2
%3 = tail call i32 @TREE_CHAIN(i32 noundef %0) #2
%4 = tail call i32 @TREE_VALUE(i32 noundef %3) #2
%5 = tail call i32 @TREE_CHAIN(i32 noundef %0) #2
%6 = tail call i32 @TREE_CHAIN(i32 noundef %5) #2
%7 = tail call i32 @TREE_VALUE(i32 noundef %6) #2
%8 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%9 = tail call i32 @TYPE_MODE(i32 noundef %8) #2
%10 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%11 = tail call i32 @TREE_TYPE(i32 noundef %10) #2
%12 = tail call i32 @TYPE_MODE(i32 noundef %11) #2
%13 = tail call i32 @VECTOR_MODE_P(i32 noundef %9) #2
%14 = tail call i32 @gcc_assert(i32 noundef %13) #2
%15 = load i32, ptr @NULL_RTX, align 4, !tbaa !6
%16 = tail call i32 @expand_expr(i32 noundef %2, i32 noundef %15, i32 noundef %9, i32 noundef 0) #2
%17 = load i32, ptr @NULL_RTX, align 4, !tbaa !6
%18 = tail call i32 @expand_expr(i32 noundef %4, i32 noundef %17, i32 noundef %12, i32 noundef 0) #2
%19 = tail call i32 @TREE_TYPE(i32 noundef %2) #2
%20 = tail call i32 @get_element_number(i32 noundef %19, i32 noundef %7) #2
%21 = tail call i64 @GET_MODE(i32 noundef %18) #2
%22 = zext i32 %12 to i64
%23 = icmp eq i64 %21, %22
br i1 %23, label %31, label %24
24: ; preds = %1
%25 = tail call i64 @GET_MODE(i32 noundef %18) #2
%26 = load i64, ptr @VOIDmode, align 8, !tbaa !10
%27 = icmp eq i64 %25, %26
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i64 @GET_MODE(i32 noundef %18) #2
%30 = tail call i32 @convert_modes(i32 noundef %12, i64 noundef %29, i32 noundef %18, i32 noundef 1) #2
br label %31
31: ; preds = %28, %24, %1
%32 = phi i32 [ %30, %28 ], [ %18, %24 ], [ %18, %1 ]
%33 = tail call i32 @force_reg(i32 noundef %9, i32 noundef %16) #2
%34 = tail call i32 @force_reg(i32 noundef %12, i32 noundef %32) #2
%35 = tail call i32 @rs6000_expand_vector_set(i32 noundef %33, i32 noundef %34, i32 noundef %20) #2
ret i32 %33
}
declare i32 @TREE_VALUE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_CHAIN(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @TREE_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1
declare i32 @VECTOR_MODE_P(i32 noundef) local_unnamed_addr #1
declare i32 @expand_expr(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_element_number(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @convert_modes(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @force_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rs6000_expand_vector_set(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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| freebsd_contrib_gcc_config_rs6000_extr_rs6000.c_altivec_expand_vec_set_builtin |
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_mimefilter.c_application_postscript_filter.c'
source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_mimefilter.c_application_postscript_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 @application_postscript_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @application_postscript_filter(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 2
br i1 %3, label %4, label %12
4: ; preds = %2
%5 = load i8, ptr %0, align 1, !tbaa !5
%6 = icmp eq i8 %5, 37
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !5
%10 = icmp eq i8 %9, 33
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %4, %2
%13 = phi i32 [ 0, %4 ], [ 0, %2 ], [ %11, %7 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_mimefilter.c_application_postscript_filter.c'
source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_mimefilter.c_application_postscript_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 @application_postscript_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @application_postscript_filter(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 2
br i1 %3, label %4, label %12
4: ; preds = %2
%5 = load i8, ptr %0, align 1, !tbaa !6
%6 = icmp eq i8 %5, 37
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !6
%10 = icmp eq i8 %9, 33
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %4, %2
%13 = phi i32 [ 0, %4 ], [ 0, %2 ], [ %11, %7 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| reactos_dll_win32_urlmon_extr_mimefilter.c_application_postscript_filter |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ada-lang.c_desc_arity.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ada-lang.c_desc_arity.c"
target datalayout = "e-m:e-p270:32:32-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 @desc_arity], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @desc_arity(ptr noundef %0) #0 {
%2 = tail call ptr @desc_base_type(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @TYPE_NFIELDS(ptr noundef nonnull %2) #2
%6 = sdiv i32 %5, 2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @desc_base_type(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_NFIELDS(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ada-lang.c_desc_arity.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ada-lang.c_desc_arity.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 @desc_arity], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1073741824, 1073741824) i32 @desc_arity(ptr noundef %0) #0 {
%2 = tail call ptr @desc_base_type(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @TYPE_NFIELDS(ptr noundef nonnull %2) #2
%6 = sdiv i32 %5, 2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @desc_base_type(ptr noundef) local_unnamed_addr #1
declare i32 @TYPE_NFIELDS(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_ada-lang.c_desc_arity |
; ModuleID = 'AnghaBench/linux/drivers/nvdimm/extr_dimm_devs.c_nvdimm_set_locked.c'
source_filename = "AnghaBench/linux/drivers/nvdimm/extr_dimm_devs.c_nvdimm_set_locked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NDD_LOCKED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @nvdimm_set_locked(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_nvdimm(ptr noundef %0) #2
%3 = load i32, ptr @NDD_LOCKED, align 4, !tbaa !5
%4 = tail call i32 @set_bit(i32 noundef %3, ptr noundef %2) #2
ret void
}
declare ptr @to_nvdimm(ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/nvdimm/extr_dimm_devs.c_nvdimm_set_locked.c'
source_filename = "AnghaBench/linux/drivers/nvdimm/extr_dimm_devs.c_nvdimm_set_locked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NDD_LOCKED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @nvdimm_set_locked(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_nvdimm(ptr noundef %0) #2
%3 = load i32, ptr @NDD_LOCKED, align 4, !tbaa !6
%4 = tail call i32 @set_bit(i32 noundef %3, ptr noundef %2) #2
ret void
}
declare ptr @to_nvdimm(ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_nvdimm_extr_dimm_devs.c_nvdimm_set_locked |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/arc/extr_emac_rockchip.c_emac_rockchip_set_mac_speed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/arc/extr_emac_rockchip.c_emac_rockchip_set_mac_speed.c"
target datalayout = "e-m:e-p270:32:32-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.rockchip_priv_data = type { ptr, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@.str = private unnamed_addr constant [24 x i8] c"speed %u not supported\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to apply speed %u to grf (%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @emac_rockchip_set_mac_speed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @emac_rockchip_set_mac_speed(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !11
switch i32 %1, label %10 [
i32 10, label %5
i32 100, label %8
]
5: ; preds = %2
%6 = add nsw i32 %4, 16
%7 = shl nuw i32 1, %6
br label %12
8: ; preds = %2
%9 = shl i32 65537, %4
br label %12
10: ; preds = %2
%11 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %22
12: ; preds = %8, %5
%13 = phi i32 [ %9, %8 ], [ %7, %5 ]
%14 = getelementptr inbounds %struct.rockchip_priv_data, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = tail call i32 @regmap_write(i32 noundef %15, i32 noundef %17, i32 noundef %13) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %12
%21 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %18) #2
br label %22
22: ; preds = %12, %20, %10
ret void
}
declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @regmap_write(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 = !{!"rockchip_priv_data", !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 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 4}
!13 = !{!6, !10, i64 8}
!14 = !{!12, !10, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/arc/extr_emac_rockchip.c_emac_rockchip_set_mac_speed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/arc/extr_emac_rockchip.c_emac_rockchip_set_mac_speed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [24 x i8] c"speed %u not supported\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to apply speed %u to grf (%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @emac_rockchip_set_mac_speed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @emac_rockchip_set_mac_speed(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !12
switch i32 %1, label %10 [
i32 10, label %5
i32 100, label %8
]
5: ; preds = %2
%6 = add nsw i32 %4, 16
%7 = shl nuw i32 1, %6
br label %12
8: ; preds = %2
%9 = shl i32 65537, %4
br label %12
10: ; preds = %2
%11 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %22
12: ; preds = %8, %5
%13 = phi i32 [ %9, %8 ], [ %7, %5 ]
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %3, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = tail call i32 @regmap_write(i32 noundef %15, i32 noundef %17, i32 noundef %13) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %12
%21 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %18) #2
br label %22
22: ; preds = %12, %20, %10
ret void
}
declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @regmap_write(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 = !{!"rockchip_priv_data", !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 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!14 = !{!7, !11, i64 8}
!15 = !{!13, !11, i64 4}
| linux_drivers_net_ethernet_arc_extr_emac_rockchip.c_emac_rockchip_set_mac_speed |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-vect-analyze.c_exist_non_indexing_operands_for_use_p.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-vect-analyze.c_exist_non_indexing_operands_for_use_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SSA_NAME = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @exist_non_indexing_operands_for_use_p], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @exist_non_indexing_operands_for_use_p(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i32 @vinfo_for_stmt(i64 noundef %1) #2
%4 = tail call i32 @STMT_VINFO_DATA_REF(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #2
%8 = tail call i64 @TREE_CODE(i64 noundef %7) #2
%9 = load i64, ptr @SSA_NAME, align 8, !tbaa !5
%10 = icmp eq i64 %8, %9
br i1 %10, label %19, label %11
11: ; preds = %6
%12 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 1) #2
%13 = tail call i64 @TREE_CODE(i64 noundef %12) #2
%14 = load i64, ptr @SSA_NAME, align 8, !tbaa !5
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = icmp eq i64 %12, %0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %16, %11, %6, %2
%20 = phi i32 [ 1, %2 ], [ 0, %6 ], [ 0, %11 ], [ %18, %16 ]
ret i32 %20
}
declare i32 @vinfo_for_stmt(i64 noundef) local_unnamed_addr #1
declare i32 @STMT_VINFO_DATA_REF(i32 noundef) local_unnamed_addr #1
declare i64 @TREE_CODE(i64 noundef) local_unnamed_addr #1
declare i64 @TREE_OPERAND(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-vect-analyze.c_exist_non_indexing_operands_for_use_p.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-vect-analyze.c_exist_non_indexing_operands_for_use_p.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSA_NAME = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @exist_non_indexing_operands_for_use_p], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @exist_non_indexing_operands_for_use_p(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i32 @vinfo_for_stmt(i64 noundef %1) #2
%4 = tail call i32 @STMT_VINFO_DATA_REF(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #2
%8 = tail call i64 @TREE_CODE(i64 noundef %7) #2
%9 = load i64, ptr @SSA_NAME, align 8, !tbaa !6
%10 = icmp eq i64 %8, %9
br i1 %10, label %19, label %11
11: ; preds = %6
%12 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 1) #2
%13 = tail call i64 @TREE_CODE(i64 noundef %12) #2
%14 = load i64, ptr @SSA_NAME, align 8, !tbaa !6
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = icmp eq i64 %12, %0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %16, %11, %6, %2
%20 = phi i32 [ 1, %2 ], [ 0, %6 ], [ 0, %11 ], [ %18, %16 ]
ret i32 %20
}
declare i32 @vinfo_for_stmt(i64 noundef) local_unnamed_addr #1
declare i32 @STMT_VINFO_DATA_REF(i32 noundef) local_unnamed_addr #1
declare i64 @TREE_CODE(i64 noundef) local_unnamed_addr #1
declare i64 @TREE_OPERAND(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_extr_tree-vect-analyze.c_exist_non_indexing_operands_for_use_p |
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_tunnel.c_tb_tunnel_discover_dp.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_tunnel.c_tb_tunnel_discover_dp.c"
target datalayout = "e-m:e-p270:32:32-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.tb_tunnel = type { ptr, ptr, ptr, i32, i32 }
@TB_TUNNEL_DP = dso_local local_unnamed_addr global i32 0, align 4
@tb_dp_xchg_caps = dso_local local_unnamed_addr global i32 0, align 4
@tb_dp_activate = dso_local local_unnamed_addr global i32 0, align 4
@TB_DP_VIDEO_HOPID = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Video\00", align 1
@TB_DP_VIDEO_PATH_OUT = dso_local local_unnamed_addr global i64 0, align 8
@TB_DP_AUX_TX_HOPID = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"AUX TX\00", align 1
@TB_DP_AUX_PATH_OUT = dso_local local_unnamed_addr global i64 0, align 8
@TB_DP_AUX_RX_HOPID = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"AUX RX\00", align 1
@TB_DP_AUX_PATH_IN = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [48 x i8] c"path does not end on a DP adapter, cleaning up\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"path is not complete, cleaning up\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"discovered\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @tb_tunnel_discover_dp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @tb_dp_port_is_enabled(ptr noundef %1) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %78, label %6
6: ; preds = %2
%7 = load i32, ptr @TB_TUNNEL_DP, align 4, !tbaa !5
%8 = tail call ptr @tb_tunnel_alloc(ptr noundef %0, i32 noundef 3, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %78, label %10
10: ; preds = %6
%11 = load i32, ptr @tb_dp_xchg_caps, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.tb_tunnel, ptr %8, i64 0, i32 4
store i32 %11, ptr %12, align 4, !tbaa !9
%13 = load i32, ptr @tb_dp_activate, align 4, !tbaa !5
%14 = getelementptr inbounds %struct.tb_tunnel, ptr %8, i64 0, i32 3
store i32 %13, ptr %14, align 8, !tbaa !12
store ptr %1, ptr %8, align 8, !tbaa !13
%15 = load i32, ptr @TB_DP_VIDEO_HOPID, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.tb_tunnel, ptr %8, i64 0, i32 1
%17 = tail call ptr @tb_path_discover(ptr noundef %1, i32 noundef %15, ptr noundef null, i32 noundef -1, ptr noundef nonnull %16, ptr noundef nonnull @.str) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = tail call i32 @tb_dp_port_enable(ptr noundef %1, i32 noundef 0) #3
br label %76
21: ; preds = %10
%22 = getelementptr inbounds %struct.tb_tunnel, ptr %8, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !14
%24 = load i64, ptr @TB_DP_VIDEO_PATH_OUT, align 8, !tbaa !15
%25 = getelementptr inbounds ptr, ptr %23, i64 %24
store ptr %17, ptr %25, align 8, !tbaa !17
%26 = load ptr, ptr %22, align 8, !tbaa !14
%27 = getelementptr inbounds ptr, ptr %26, i64 %24
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = tail call i32 @tb_dp_init_video_path(ptr noundef %28, i32 noundef 1) #3
%30 = load i32, ptr @TB_DP_AUX_TX_HOPID, align 4, !tbaa !5
%31 = tail call ptr @tb_path_discover(ptr noundef %1, i32 noundef %30, ptr noundef null, i32 noundef -1, ptr noundef null, ptr noundef nonnull @.str.1) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %74, label %33
33: ; preds = %21
%34 = load ptr, ptr %22, align 8, !tbaa !14
%35 = load i64, ptr @TB_DP_AUX_PATH_OUT, align 8, !tbaa !15
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %31, ptr %36, align 8, !tbaa !17
%37 = load ptr, ptr %22, align 8, !tbaa !14
%38 = getelementptr inbounds ptr, ptr %37, i64 %35
%39 = load ptr, ptr %38, align 8, !tbaa !17
%40 = tail call i32 @tb_dp_init_aux_path(ptr noundef %39) #3
%41 = load ptr, ptr %16, align 8, !tbaa !18
%42 = load i32, ptr @TB_DP_AUX_RX_HOPID, align 4, !tbaa !5
%43 = call ptr @tb_path_discover(ptr noundef %41, i32 noundef -1, ptr noundef %1, i32 noundef %42, ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %74, label %45
45: ; preds = %33
%46 = load ptr, ptr %22, align 8, !tbaa !14
%47 = load i64, ptr @TB_DP_AUX_PATH_IN, align 8, !tbaa !15
%48 = getelementptr inbounds ptr, ptr %46, i64 %47
store ptr %43, ptr %48, align 8, !tbaa !17
%49 = load ptr, ptr %22, align 8, !tbaa !14
%50 = getelementptr inbounds ptr, ptr %49, i64 %47
%51 = load ptr, ptr %50, align 8, !tbaa !17
%52 = call i32 @tb_dp_init_aux_path(ptr noundef %51) #3
%53 = load ptr, ptr %16, align 8, !tbaa !18
%54 = call i32 @tb_port_is_dpout(ptr noundef %53) #3
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %45
%57 = call i32 @tb_port_warn(ptr noundef %1, ptr noundef nonnull @.str.3) #3
br label %74
58: ; preds = %45
%59 = load ptr, ptr %16, align 8, !tbaa !18
%60 = call i32 @tb_dp_port_is_enabled(ptr noundef %59) #3
%61 = icmp eq i32 %60, 0
br i1 %61, label %74, label %62
62: ; preds = %58
%63 = load ptr, ptr %16, align 8, !tbaa !18
%64 = call i32 @tb_dp_port_hpd_is_active(ptr noundef %63) #3
%65 = icmp eq i32 %64, 0
br i1 %65, label %74, label %66
66: ; preds = %62
%67 = load ptr, ptr %3, align 8, !tbaa !17
%68 = load ptr, ptr %8, align 8, !tbaa !13
%69 = icmp eq ptr %67, %68
br i1 %69, label %72, label %70
70: ; preds = %66
%71 = call i32 @tb_tunnel_warn(ptr noundef nonnull %8, ptr noundef nonnull @.str.4) #3
br label %74
72: ; preds = %66
%73 = call i32 @tb_tunnel_dbg(ptr noundef nonnull %8, ptr noundef nonnull @.str.5) #3
br label %78
74: ; preds = %62, %58, %33, %21, %70, %56
%75 = call i32 @tb_tunnel_deactivate(ptr noundef nonnull %8) #3
br label %76
76: ; preds = %74, %19
%77 = call i32 @tb_tunnel_free(ptr noundef nonnull %8) #3
br label %78
78: ; preds = %6, %2, %76, %72
%79 = phi ptr [ null, %76 ], [ %8, %72 ], [ null, %2 ], [ null, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @tb_dp_port_is_enabled(ptr noundef) local_unnamed_addr #2
declare ptr @tb_tunnel_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @tb_path_discover(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_dp_port_enable(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tb_dp_init_video_path(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tb_dp_init_aux_path(ptr noundef) local_unnamed_addr #2
declare i32 @tb_port_is_dpout(ptr noundef) local_unnamed_addr #2
declare i32 @tb_port_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_dp_port_hpd_is_active(ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_deactivate(ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 28}
!10 = !{!"tb_tunnel", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 28}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !11, i64 0}
!14 = !{!10, !11, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_tunnel.c_tb_tunnel_discover_dp.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_tunnel.c_tb_tunnel_discover_dp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TB_TUNNEL_DP = common local_unnamed_addr global i32 0, align 4
@tb_dp_xchg_caps = common local_unnamed_addr global i32 0, align 4
@tb_dp_activate = common local_unnamed_addr global i32 0, align 4
@TB_DP_VIDEO_HOPID = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Video\00", align 1
@TB_DP_VIDEO_PATH_OUT = common local_unnamed_addr global i64 0, align 8
@TB_DP_AUX_TX_HOPID = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"AUX TX\00", align 1
@TB_DP_AUX_PATH_OUT = common local_unnamed_addr global i64 0, align 8
@TB_DP_AUX_RX_HOPID = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"AUX RX\00", align 1
@TB_DP_AUX_PATH_IN = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [48 x i8] c"path does not end on a DP adapter, cleaning up\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"path is not complete, cleaning up\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"discovered\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @tb_tunnel_discover_dp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @tb_dp_port_is_enabled(ptr noundef %1) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %78, label %6
6: ; preds = %2
%7 = load i32, ptr @TB_TUNNEL_DP, align 4, !tbaa !6
%8 = tail call ptr @tb_tunnel_alloc(ptr noundef %0, i32 noundef 3, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %78, label %10
10: ; preds = %6
%11 = load i32, ptr @tb_dp_xchg_caps, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %8, i64 28
store i32 %11, ptr %12, align 4, !tbaa !10
%13 = load i32, ptr @tb_dp_activate, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %8, i64 24
store i32 %13, ptr %14, align 8, !tbaa !13
store ptr %1, ptr %8, align 8, !tbaa !14
%15 = load i32, ptr @TB_DP_VIDEO_HOPID, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %8, i64 8
%17 = tail call ptr @tb_path_discover(ptr noundef %1, i32 noundef %15, ptr noundef null, i32 noundef -1, ptr noundef nonnull %16, ptr noundef nonnull @.str) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = tail call i32 @tb_dp_port_enable(ptr noundef %1, i32 noundef 0) #3
br label %76
21: ; preds = %10
%22 = getelementptr inbounds i8, ptr %8, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = load i64, ptr @TB_DP_VIDEO_PATH_OUT, align 8, !tbaa !16
%25 = getelementptr inbounds ptr, ptr %23, i64 %24
store ptr %17, ptr %25, align 8, !tbaa !18
%26 = load ptr, ptr %22, align 8, !tbaa !15
%27 = getelementptr inbounds ptr, ptr %26, i64 %24
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = tail call i32 @tb_dp_init_video_path(ptr noundef %28, i32 noundef 1) #3
%30 = load i32, ptr @TB_DP_AUX_TX_HOPID, align 4, !tbaa !6
%31 = tail call ptr @tb_path_discover(ptr noundef %1, i32 noundef %30, ptr noundef null, i32 noundef -1, ptr noundef null, ptr noundef nonnull @.str.1) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %74, label %33
33: ; preds = %21
%34 = load ptr, ptr %22, align 8, !tbaa !15
%35 = load i64, ptr @TB_DP_AUX_PATH_OUT, align 8, !tbaa !16
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %31, ptr %36, align 8, !tbaa !18
%37 = load ptr, ptr %22, align 8, !tbaa !15
%38 = getelementptr inbounds ptr, ptr %37, i64 %35
%39 = load ptr, ptr %38, align 8, !tbaa !18
%40 = tail call i32 @tb_dp_init_aux_path(ptr noundef %39) #3
%41 = load ptr, ptr %16, align 8, !tbaa !19
%42 = load i32, ptr @TB_DP_AUX_RX_HOPID, align 4, !tbaa !6
%43 = call ptr @tb_path_discover(ptr noundef %41, i32 noundef -1, ptr noundef %1, i32 noundef %42, ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %74, label %45
45: ; preds = %33
%46 = load ptr, ptr %22, align 8, !tbaa !15
%47 = load i64, ptr @TB_DP_AUX_PATH_IN, align 8, !tbaa !16
%48 = getelementptr inbounds ptr, ptr %46, i64 %47
store ptr %43, ptr %48, align 8, !tbaa !18
%49 = load ptr, ptr %22, align 8, !tbaa !15
%50 = getelementptr inbounds ptr, ptr %49, i64 %47
%51 = load ptr, ptr %50, align 8, !tbaa !18
%52 = call i32 @tb_dp_init_aux_path(ptr noundef %51) #3
%53 = load ptr, ptr %16, align 8, !tbaa !19
%54 = call i32 @tb_port_is_dpout(ptr noundef %53) #3
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %45
%57 = call i32 @tb_port_warn(ptr noundef %1, ptr noundef nonnull @.str.3) #3
br label %74
58: ; preds = %45
%59 = load ptr, ptr %16, align 8, !tbaa !19
%60 = call i32 @tb_dp_port_is_enabled(ptr noundef %59) #3
%61 = icmp eq i32 %60, 0
br i1 %61, label %74, label %62
62: ; preds = %58
%63 = load ptr, ptr %16, align 8, !tbaa !19
%64 = call i32 @tb_dp_port_hpd_is_active(ptr noundef %63) #3
%65 = icmp eq i32 %64, 0
br i1 %65, label %74, label %66
66: ; preds = %62
%67 = load ptr, ptr %3, align 8, !tbaa !18
%68 = load ptr, ptr %8, align 8, !tbaa !14
%69 = icmp eq ptr %67, %68
br i1 %69, label %72, label %70
70: ; preds = %66
%71 = call i32 @tb_tunnel_warn(ptr noundef nonnull %8, ptr noundef nonnull @.str.4) #3
br label %74
72: ; preds = %66
%73 = call i32 @tb_tunnel_dbg(ptr noundef nonnull %8, ptr noundef nonnull @.str.5) #3
br label %78
74: ; preds = %62, %58, %33, %21, %70, %56
%75 = call i32 @tb_tunnel_deactivate(ptr noundef nonnull %8) #3
br label %76
76: ; preds = %74, %19
%77 = call i32 @tb_tunnel_free(ptr noundef nonnull %8) #3
br label %78
78: ; preds = %6, %2, %76, %72
%79 = phi ptr [ null, %76 ], [ %8, %72 ], [ null, %2 ], [ null, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @tb_dp_port_is_enabled(ptr noundef) local_unnamed_addr #2
declare ptr @tb_tunnel_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @tb_path_discover(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_dp_port_enable(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tb_dp_init_video_path(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tb_dp_init_aux_path(ptr noundef) local_unnamed_addr #2
declare i32 @tb_port_is_dpout(ptr noundef) local_unnamed_addr #2
declare i32 @tb_port_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_dp_port_hpd_is_active(ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_deactivate(ptr noundef) local_unnamed_addr #2
declare i32 @tb_tunnel_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 28}
!11 = !{!"tb_tunnel", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 24}
!14 = !{!11, !12, i64 0}
!15 = !{!11, !12, i64 16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!11, !12, i64 8}
| linux_drivers_thunderbolt_extr_tunnel.c_tb_tunnel_discover_dp |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-cache-metadata.c___load_discards.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-cache-metadata.c___load_discards.c"
target datalayout = "e-m:e-p270:32:32-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.dm_bitset_cursor = type { i32 }
%struct.dm_cache_metadata = type { i32, i32, i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__load_discards], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__load_discards(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca %struct.dm_bitset_cursor, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.dm_cache_metadata, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @from_dblock(i32 noundef %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %65, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.dm_cache_metadata, ptr %0, i64 0, i32 4
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i32, ptr %5, align 4, !tbaa !5
%15 = tail call i32 @from_dblock(i32 noundef %14) #3
%16 = icmp sgt i32 %15, 0
br i1 %16, label %59, label %65
17: ; preds = %9
%18 = getelementptr inbounds %struct.dm_cache_metadata, ptr %0, i64 0, i32 3
%19 = getelementptr inbounds %struct.dm_cache_metadata, ptr %0, i64 0, i32 2
%20 = load i32, ptr %19, align 8, !tbaa !12
%21 = tail call i32 @dm_bitset_flush(ptr noundef nonnull %18, i32 noundef %20, ptr noundef nonnull %19) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %65
23: ; preds = %17
%24 = load i32, ptr %19, align 8, !tbaa !12
%25 = load i32, ptr %5, align 4, !tbaa !5
%26 = tail call i32 @from_dblock(i32 noundef %25) #3
%27 = call i32 @dm_bitset_cursor_begin(ptr noundef nonnull %18, i32 noundef %24, i32 noundef %26, ptr noundef nonnull %4) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %65
29: ; preds = %23
%30 = load i32, ptr %0, align 8, !tbaa !13
%31 = call i32 @to_dblock(i32 noundef 0) #3
%32 = call i32 @dm_bitset_cursor_get_value(ptr noundef nonnull %4) #3
%33 = call i32 %1(ptr noundef %2, i32 noundef %30, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %42, label %51
35: ; preds = %48
%36 = add nuw nsw i32 %43, 1
%37 = load i32, ptr %0, align 8, !tbaa !13
%38 = call i32 @to_dblock(i32 noundef %36) #3
%39 = call i32 @dm_bitset_cursor_get_value(ptr noundef nonnull %4) #3
%40 = call i32 %1(ptr noundef %2, i32 noundef %37, i32 noundef %38, i32 noundef %39) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %51
42: ; preds = %29, %35
%43 = phi i32 [ %36, %35 ], [ 0, %29 ]
%44 = load i32, ptr %5, align 4, !tbaa !5
%45 = call i32 @from_dblock(i32 noundef %44) #3
%46 = add nsw i32 %45, -1
%47 = icmp slt i32 %43, %46
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = call i32 @dm_bitset_cursor_next(ptr noundef nonnull %4) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %35, label %51
51: ; preds = %35, %42, %48, %29
%52 = phi i32 [ %33, %29 ], [ %49, %48 ], [ 0, %42 ], [ %40, %35 ]
%53 = call i32 @dm_bitset_cursor_end(ptr noundef nonnull %4) #3
br label %65
54: ; preds = %59
%55 = add nuw nsw i32 %60, 1
%56 = load i32, ptr %5, align 4, !tbaa !5
%57 = tail call i32 @from_dblock(i32 noundef %56) #3
%58 = icmp slt i32 %55, %57
br i1 %58, label %59, label %65, !llvm.loop !14
59: ; preds = %13, %54
%60 = phi i32 [ %55, %54 ], [ 0, %13 ]
%61 = load i32, ptr %0, align 8, !tbaa !13
%62 = tail call i32 @to_dblock(i32 noundef %60) #3
%63 = tail call i32 %1(ptr noundef %2, i32 noundef %61, i32 noundef %62, i32 noundef 0) #3
%64 = icmp eq i32 %63, 0
br i1 %64, label %54, label %65
65: ; preds = %59, %54, %13, %51, %23, %17, %3
%66 = phi i32 [ 0, %3 ], [ %21, %17 ], [ %27, %23 ], [ %52, %51 ], [ 0, %13 ], [ %63, %59 ], [ 0, %54 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @from_dblock(i32 noundef) local_unnamed_addr #2
declare i32 @dm_bitset_flush(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_begin(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_dblock(i32 noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_get_value(ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_next(ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_end(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"dm_cache_metadata", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-cache-metadata.c___load_discards.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-cache-metadata.c___load_discards.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.dm_bitset_cursor = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @__load_discards], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__load_discards(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca %struct.dm_bitset_cursor, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @from_dblock(i32 noundef %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %65, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i32, ptr %5, align 4, !tbaa !6
%15 = tail call i32 @from_dblock(i32 noundef %14) #3
%16 = icmp sgt i32 %15, 0
br i1 %16, label %59, label %65
17: ; preds = %9
%18 = getelementptr inbounds i8, ptr %0, i64 12
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !13
%21 = tail call i32 @dm_bitset_flush(ptr noundef nonnull %18, i32 noundef %20, ptr noundef nonnull %19) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %65
23: ; preds = %17
%24 = load i32, ptr %19, align 8, !tbaa !13
%25 = load i32, ptr %5, align 4, !tbaa !6
%26 = tail call i32 @from_dblock(i32 noundef %25) #3
%27 = call i32 @dm_bitset_cursor_begin(ptr noundef nonnull %18, i32 noundef %24, i32 noundef %26, ptr noundef nonnull %4) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %65
29: ; preds = %23
%30 = load i32, ptr %0, align 8, !tbaa !14
%31 = call i32 @to_dblock(i32 noundef 0) #3
%32 = call i32 @dm_bitset_cursor_get_value(ptr noundef nonnull %4) #3
%33 = call i32 %1(ptr noundef %2, i32 noundef %30, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %42, label %51
35: ; preds = %48
%36 = add nuw nsw i32 %43, 1
%37 = load i32, ptr %0, align 8, !tbaa !14
%38 = call i32 @to_dblock(i32 noundef %36) #3
%39 = call i32 @dm_bitset_cursor_get_value(ptr noundef nonnull %4) #3
%40 = call i32 %1(ptr noundef %2, i32 noundef %37, i32 noundef %38, i32 noundef %39) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %51
42: ; preds = %29, %35
%43 = phi i32 [ %36, %35 ], [ 0, %29 ]
%44 = load i32, ptr %5, align 4, !tbaa !6
%45 = call i32 @from_dblock(i32 noundef %44) #3
%46 = add nsw i32 %45, -1
%47 = icmp slt i32 %43, %46
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = call i32 @dm_bitset_cursor_next(ptr noundef nonnull %4) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %35, label %51
51: ; preds = %35, %42, %48, %29
%52 = phi i32 [ %33, %29 ], [ %49, %48 ], [ 0, %42 ], [ %40, %35 ]
%53 = call i32 @dm_bitset_cursor_end(ptr noundef nonnull %4) #3
br label %65
54: ; preds = %59
%55 = add nuw nsw i32 %60, 1
%56 = load i32, ptr %5, align 4, !tbaa !6
%57 = tail call i32 @from_dblock(i32 noundef %56) #3
%58 = icmp slt i32 %55, %57
br i1 %58, label %59, label %65, !llvm.loop !15
59: ; preds = %13, %54
%60 = phi i32 [ %55, %54 ], [ 0, %13 ]
%61 = load i32, ptr %0, align 8, !tbaa !14
%62 = tail call i32 @to_dblock(i32 noundef %60) #3
%63 = tail call i32 %1(ptr noundef %2, i32 noundef %61, i32 noundef %62, i32 noundef 0) #3
%64 = icmp eq i32 %63, 0
br i1 %64, label %54, label %65
65: ; preds = %59, %54, %13, %51, %23, %17, %3
%66 = phi i32 [ 0, %3 ], [ %21, %17 ], [ %27, %23 ], [ %52, %51 ], [ 0, %13 ], [ %63, %59 ], [ 0, %54 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @from_dblock(i32 noundef) local_unnamed_addr #2
declare i32 @dm_bitset_flush(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_begin(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_dblock(i32 noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_get_value(ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_next(ptr noundef) local_unnamed_addr #2
declare i32 @dm_bitset_cursor_end(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"dm_cache_metadata", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_drivers_md_extr_dm-cache-metadata.c___load_discards |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pcmcia/pdaudiocf/extr_pdaudiocf.h_pdacf_reg_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pcmcia/pdaudiocf/extr_pdaudiocf.h_pdacf_reg_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @pdacf_reg_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal zeroext i16 @pdacf_reg_read(ptr nocapture noundef readonly %0, i8 noundef zeroext %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = zext i8 %1 to i64
%5 = add nsw i64 %3, %4
%6 = tail call zeroext i16 @inw(i64 noundef %5) #2
ret i16 %6
}
declare zeroext i16 @inw(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_pdacf", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pcmcia/pdaudiocf/extr_pdaudiocf.h_pdacf_reg_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pcmcia/pdaudiocf/extr_pdaudiocf.h_pdacf_reg_read.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 @pdacf_reg_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal zeroext i16 @pdacf_reg_read(ptr nocapture noundef readonly %0, i8 noundef zeroext %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = zext i8 %1 to i64
%5 = add nsw i64 %3, %4
%6 = tail call zeroext i16 @inw(i64 noundef %5) #2
ret i16 %6
}
declare zeroext i16 @inw(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_pdacf", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_sound_pcmcia_pdaudiocf_extr_pdaudiocf.h_pdacf_reg_read |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8900.c_wm8900_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8900.c_wm8900_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"
@WM8900_REG_ID = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Device is not a WM8900 - ID %x\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@SND_SOC_BIAS_STANDBY = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_LINVOL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_RINVOL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_LOUT1CTL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_ROUT1CTL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_LOUT2CTL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_ROUT2CTL = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_LDAC_DV = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_RDAC_DV = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_LADC_DV = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_RADC_DV = dso_local local_unnamed_addr global i32 0, align 4
@WM8900_REG_OUTBIASCTL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8900_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wm8900_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @WM8900_REG_ID, align 4, !tbaa !5
%3 = tail call i32 @snd_soc_component_read32(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 35072
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = tail call i32 @dev_err(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #2
%8 = load i32, ptr @ENODEV, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %36
10: ; preds = %1
%11 = tail call i32 @wm8900_reset(ptr noundef %0) #2
%12 = load i32, ptr @SND_SOC_BIAS_STANDBY, align 4, !tbaa !5
%13 = tail call i32 @snd_soc_component_force_bias_level(ptr noundef %0, i32 noundef %12) #2
%14 = load i32, ptr @WM8900_REG_LINVOL, align 4, !tbaa !5
%15 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %14, i32 noundef 256, i32 noundef 256) #2
%16 = load i32, ptr @WM8900_REG_RINVOL, align 4, !tbaa !5
%17 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %16, i32 noundef 256, i32 noundef 256) #2
%18 = load i32, ptr @WM8900_REG_LOUT1CTL, align 4, !tbaa !5
%19 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %18, i32 noundef 256, i32 noundef 256) #2
%20 = load i32, ptr @WM8900_REG_ROUT1CTL, align 4, !tbaa !5
%21 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %20, i32 noundef 256, i32 noundef 256) #2
%22 = load i32, ptr @WM8900_REG_LOUT2CTL, align 4, !tbaa !5
%23 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %22, i32 noundef 256, i32 noundef 256) #2
%24 = load i32, ptr @WM8900_REG_ROUT2CTL, align 4, !tbaa !5
%25 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %24, i32 noundef 256, i32 noundef 256) #2
%26 = load i32, ptr @WM8900_REG_LDAC_DV, align 4, !tbaa !5
%27 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %26, i32 noundef 256, i32 noundef 256) #2
%28 = load i32, ptr @WM8900_REG_RDAC_DV, align 4, !tbaa !5
%29 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %28, i32 noundef 256, i32 noundef 256) #2
%30 = load i32, ptr @WM8900_REG_LADC_DV, align 4, !tbaa !5
%31 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %30, i32 noundef 256, i32 noundef 256) #2
%32 = load i32, ptr @WM8900_REG_RADC_DV, align 4, !tbaa !5
%33 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %32, i32 noundef 256, i32 noundef 256) #2
%34 = load i32, ptr @WM8900_REG_OUTBIASCTL, align 4, !tbaa !5
%35 = tail call i32 @snd_soc_component_write(ptr noundef %0, i32 noundef %34, i32 noundef 129) #2
br label %36
36: ; preds = %10, %5
%37 = phi i32 [ %9, %5 ], [ 0, %10 ]
ret i32 %37
}
declare i32 @snd_soc_component_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wm8900_reset(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_force_bias_level(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"snd_soc_component", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8900.c_wm8900_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8900.c_wm8900_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WM8900_REG_ID = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Device is not a WM8900 - ID %x\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@SND_SOC_BIAS_STANDBY = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_LINVOL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_RINVOL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_LOUT1CTL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_ROUT1CTL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_LOUT2CTL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_ROUT2CTL = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_LDAC_DV = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_RDAC_DV = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_LADC_DV = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_RADC_DV = common local_unnamed_addr global i32 0, align 4
@WM8900_REG_OUTBIASCTL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wm8900_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @wm8900_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @WM8900_REG_ID, align 4, !tbaa !6
%3 = tail call i32 @snd_soc_component_read32(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 35072
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = tail call i32 @dev_err(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #2
%8 = load i32, ptr @ENODEV, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %36
10: ; preds = %1
%11 = tail call i32 @wm8900_reset(ptr noundef %0) #2
%12 = load i32, ptr @SND_SOC_BIAS_STANDBY, align 4, !tbaa !6
%13 = tail call i32 @snd_soc_component_force_bias_level(ptr noundef %0, i32 noundef %12) #2
%14 = load i32, ptr @WM8900_REG_LINVOL, align 4, !tbaa !6
%15 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %14, i32 noundef 256, i32 noundef 256) #2
%16 = load i32, ptr @WM8900_REG_RINVOL, align 4, !tbaa !6
%17 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %16, i32 noundef 256, i32 noundef 256) #2
%18 = load i32, ptr @WM8900_REG_LOUT1CTL, align 4, !tbaa !6
%19 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %18, i32 noundef 256, i32 noundef 256) #2
%20 = load i32, ptr @WM8900_REG_ROUT1CTL, align 4, !tbaa !6
%21 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %20, i32 noundef 256, i32 noundef 256) #2
%22 = load i32, ptr @WM8900_REG_LOUT2CTL, align 4, !tbaa !6
%23 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %22, i32 noundef 256, i32 noundef 256) #2
%24 = load i32, ptr @WM8900_REG_ROUT2CTL, align 4, !tbaa !6
%25 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %24, i32 noundef 256, i32 noundef 256) #2
%26 = load i32, ptr @WM8900_REG_LDAC_DV, align 4, !tbaa !6
%27 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %26, i32 noundef 256, i32 noundef 256) #2
%28 = load i32, ptr @WM8900_REG_RDAC_DV, align 4, !tbaa !6
%29 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %28, i32 noundef 256, i32 noundef 256) #2
%30 = load i32, ptr @WM8900_REG_LADC_DV, align 4, !tbaa !6
%31 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %30, i32 noundef 256, i32 noundef 256) #2
%32 = load i32, ptr @WM8900_REG_RADC_DV, align 4, !tbaa !6
%33 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %32, i32 noundef 256, i32 noundef 256) #2
%34 = load i32, ptr @WM8900_REG_OUTBIASCTL, align 4, !tbaa !6
%35 = tail call i32 @snd_soc_component_write(ptr noundef %0, i32 noundef %34, i32 noundef 129) #2
br label %36
36: ; preds = %10, %5
%37 = phi i32 [ %9, %5 ], [ 0, %10 ]
ret i32 %37
}
declare i32 @snd_soc_component_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wm8900_reset(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_force_bias_level(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"snd_soc_component", !7, i64 0}
| linux_sound_soc_codecs_extr_wm8900.c_wm8900_probe |
; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_zlog.c_zlog_stream_close.c'
source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_zlog.c_zlog_stream_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @zlog_stream_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @zlog_stream_finish(ptr noundef %0) #2
%3 = tail call i32 @zlog_stream_destroy(ptr noundef %0) #2
ret i32 %2
}
declare i32 @zlog_stream_finish(ptr noundef) local_unnamed_addr #1
declare i32 @zlog_stream_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_zlog.c_zlog_stream_close.c'
source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_zlog.c_zlog_stream_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zlog_stream_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @zlog_stream_finish(ptr noundef %0) #2
%3 = tail call i32 @zlog_stream_destroy(ptr noundef %0) #2
ret i32 %2
}
declare i32 @zlog_stream_finish(ptr noundef) local_unnamed_addr #1
declare i32 @zlog_stream_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| php-src_sapi_fpm_fpm_extr_zlog.c_zlog_stream_close |
; ModuleID = 'AnghaBench/hashcat/src/extr_filehandling.c_count_lines.c'
source_filename = "AnghaBench/hashcat/src/extr_filehandling.c_count_lines.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HCBUFSIZ_LARGE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @count_lines(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @HCBUFSIZ_LARGE, align 8, !tbaa !5
%3 = add nsw i64 %2, 1
%4 = tail call i64 @hcmalloc(i64 noundef %3) #3
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @hc_feof(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %65
8: ; preds = %1, %60
%9 = phi i64 [ %62, %60 ], [ 0, %1 ]
%10 = phi i8 [ %61, %60 ], [ 10, %1 ]
%11 = load i64, ptr @HCBUFSIZ_LARGE, align 8, !tbaa !5
%12 = tail call i64 @hc_fread(ptr noundef %5, i32 noundef 1, i64 noundef %11, ptr noundef %0) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %60, label %14, !llvm.loop !9
14: ; preds = %8
%15 = icmp ult i64 %12, 4
br i1 %15, label %45, label %16
16: ; preds = %14
%17 = and i64 %12, -4
%18 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %9, i64 0
%19 = insertelement <2 x i8> poison, i8 %10, i64 1
br label %20
20: ; preds = %20, %16
%21 = phi i64 [ 0, %16 ], [ %37, %20 ]
%22 = phi <2 x i64> [ %18, %16 ], [ %35, %20 ]
%23 = phi <2 x i64> [ zeroinitializer, %16 ], [ %36, %20 ]
%24 = phi <2 x i8> [ %19, %16 ], [ %28, %20 ]
%25 = getelementptr inbounds i8, ptr %5, i64 %21
%26 = getelementptr inbounds i8, ptr %25, i64 2
%27 = load <2 x i8>, ptr %25, align 1, !tbaa !11
%28 = load <2 x i8>, ptr %26, align 1, !tbaa !11
%29 = shufflevector <2 x i8> %24, <2 x i8> %27, <2 x i32> <i32 1, i32 2>
%30 = shufflevector <2 x i8> %27, <2 x i8> %28, <2 x i32> <i32 1, i32 2>
%31 = icmp eq <2 x i8> %29, <i8 10, i8 10>
%32 = icmp eq <2 x i8> %30, <i8 10, i8 10>
%33 = zext <2 x i1> %31 to <2 x i64>
%34 = zext <2 x i1> %32 to <2 x i64>
%35 = add <2 x i64> %22, %33
%36 = add <2 x i64> %23, %34
%37 = add nuw i64 %21, 4
%38 = icmp eq i64 %37, %17
br i1 %38, label %39, label %20, !llvm.loop !12
39: ; preds = %20
%40 = extractelement <2 x i8> %28, i64 1
%41 = add <2 x i64> %36, %35
%42 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %41)
%43 = icmp eq i64 %12, %17
%44 = extractelement <2 x i8> %28, i64 1
br i1 %43, label %60, label %45
45: ; preds = %14, %39
%46 = phi i64 [ %17, %39 ], [ 0, %14 ]
%47 = phi i64 [ %42, %39 ], [ %9, %14 ]
%48 = phi i8 [ %44, %39 ], [ %10, %14 ]
br label %49
49: ; preds = %45, %49
%50 = phi i64 [ %58, %49 ], [ %46, %45 ]
%51 = phi i64 [ %55, %49 ], [ %47, %45 ]
%52 = phi i8 [ %57, %49 ], [ %48, %45 ]
%53 = icmp eq i8 %52, 10
%54 = zext i1 %53 to i64
%55 = add nsw i64 %51, %54
%56 = getelementptr inbounds i8, ptr %5, i64 %50
%57 = load i8, ptr %56, align 1, !tbaa !11
%58 = add nuw i64 %50, 1
%59 = icmp eq i64 %58, %12
br i1 %59, label %60, label %49, !llvm.loop !15
60: ; preds = %49, %39, %8
%61 = phi i8 [ %10, %8 ], [ %40, %39 ], [ %57, %49 ]
%62 = phi i64 [ %9, %8 ], [ %42, %39 ], [ %55, %49 ]
%63 = tail call i32 @hc_feof(ptr noundef %0) #3
%64 = icmp eq i32 %63, 0
br i1 %64, label %8, label %65
65: ; preds = %60, %1
%66 = phi i64 [ 0, %1 ], [ %62, %60 ]
%67 = tail call i32 @hcfree(ptr noundef %5) #3
ret i64 %66
}
declare i64 @hcmalloc(i64 noundef) local_unnamed_addr #1
declare i32 @hc_feof(ptr noundef) local_unnamed_addr #1
declare i64 @hc_fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hcfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10, !13, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10, !14, !13}
| ; ModuleID = 'AnghaBench/hashcat/src/extr_filehandling.c_count_lines.c'
source_filename = "AnghaBench/hashcat/src/extr_filehandling.c_count_lines.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HCBUFSIZ_LARGE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @count_lines(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @HCBUFSIZ_LARGE, align 8, !tbaa !6
%3 = add nsw i64 %2, 1
%4 = tail call i64 @hcmalloc(i64 noundef %3) #3
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @hc_feof(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %57
8: ; preds = %1, %52
%9 = phi i64 [ %54, %52 ], [ 0, %1 ]
%10 = phi i8 [ %53, %52 ], [ 10, %1 ]
%11 = load i64, ptr @HCBUFSIZ_LARGE, align 8, !tbaa !6
%12 = tail call i64 @hc_fread(ptr noundef %5, i32 noundef 1, i64 noundef %11, ptr noundef %0) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %52, label %14, !llvm.loop !10
14: ; preds = %8
%15 = icmp ult i64 %12, 16
br i1 %15, label %37, label %16
16: ; preds = %14
%17 = and i64 %12, -16
%18 = insertelement <16 x i64> <i64 poison, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0>, i64 %9, i64 0
%19 = insertelement <16 x i8> poison, i8 %10, i64 15
br label %20
20: ; preds = %20, %16
%21 = phi i64 [ 0, %16 ], [ %30, %20 ]
%22 = phi <16 x i64> [ %18, %16 ], [ %29, %20 ]
%23 = phi <16 x i8> [ %19, %16 ], [ %25, %20 ]
%24 = getelementptr inbounds i8, ptr %5, i64 %21
%25 = load <16 x i8>, ptr %24, align 1, !tbaa !12
%26 = shufflevector <16 x i8> %23, <16 x i8> %25, <16 x i32> <i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30>
%27 = icmp eq <16 x i8> %26, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%28 = zext <16 x i1> %27 to <16 x i64>
%29 = add <16 x i64> %22, %28
%30 = add nuw i64 %21, 16
%31 = icmp eq i64 %30, %17
br i1 %31, label %32, label %20, !llvm.loop !13
32: ; preds = %20
%33 = extractelement <16 x i8> %25, i64 15
%34 = tail call i64 @llvm.vector.reduce.add.v16i64(<16 x i64> %29)
%35 = extractelement <16 x i8> %25, i64 15
%36 = icmp eq i64 %12, %17
br i1 %36, label %52, label %37
37: ; preds = %32, %14
%38 = phi i64 [ 0, %14 ], [ %17, %32 ]
%39 = phi i64 [ %9, %14 ], [ %34, %32 ]
%40 = phi i8 [ %10, %14 ], [ %35, %32 ]
br label %41
41: ; preds = %37, %41
%42 = phi i64 [ %50, %41 ], [ %38, %37 ]
%43 = phi i64 [ %47, %41 ], [ %39, %37 ]
%44 = phi i8 [ %49, %41 ], [ %40, %37 ]
%45 = icmp eq i8 %44, 10
%46 = zext i1 %45 to i64
%47 = add nsw i64 %43, %46
%48 = getelementptr inbounds i8, ptr %5, i64 %42
%49 = load i8, ptr %48, align 1, !tbaa !12
%50 = add nuw i64 %42, 1
%51 = icmp eq i64 %50, %12
br i1 %51, label %52, label %41, !llvm.loop !16
52: ; preds = %41, %32, %8
%53 = phi i8 [ %10, %8 ], [ %33, %32 ], [ %49, %41 ]
%54 = phi i64 [ %9, %8 ], [ %34, %32 ], [ %47, %41 ]
%55 = tail call i32 @hc_feof(ptr noundef %0) #3
%56 = icmp eq i32 %55, 0
br i1 %56, label %8, label %57
57: ; preds = %52, %1
%58 = phi i64 [ 0, %1 ], [ %54, %52 ]
%59 = tail call i32 @hcfree(ptr noundef %5) #3
ret i64 %58
}
declare i64 @hcmalloc(i64 noundef) local_unnamed_addr #1
declare i32 @hc_feof(ptr noundef) local_unnamed_addr #1
declare i64 @hc_fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hcfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v16i64(<16 x 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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !11, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !11, !15, !14}
| hashcat_src_extr_filehandling.c_count_lines |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/fst/extr_fst_session.c_fst_session_global_deinit.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/fst/extr_fst_session.c_fst_session_global_deinit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@global_sessions_list = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @fst_session_global_deinit() local_unnamed_addr #0 {
%1 = tail call i32 @dl_list_empty(ptr noundef nonnull @global_sessions_list) #2
%2 = tail call i32 @WPA_ASSERT(i32 noundef %1) #2
ret void
}
declare i32 @WPA_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @dl_list_empty(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/fst/extr_fst_session.c_fst_session_global_deinit.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/fst/extr_fst_session.c_fst_session_global_deinit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@global_sessions_list = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @fst_session_global_deinit() local_unnamed_addr #0 {
%1 = tail call i32 @dl_list_empty(ptr noundef nonnull @global_sessions_list) #2
%2 = tail call i32 @WPA_ASSERT(i32 noundef %1) #2
ret void
}
declare i32 @WPA_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @dl_list_empty(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_wpa_src_fst_extr_fst_session.c_fst_session_global_deinit |
; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_do_video_stats.c'
source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_do_video_stats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { float, i32, i32, ptr, i32, i32, ptr, ptr }
%struct.TYPE_6__ = type { i64, i32, double, double, i32 }
%struct.TYPE_7__ = type { i32, i32 }
@vstats_file = dso_local local_unnamed_addr global i64 0, align 8
@vstats_filename = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
@AVMEDIA_TYPE_VIDEO = dso_local local_unnamed_addr global i64 0, align 8
@vstats_version = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"frame= %5d q= %2.1f \00", align 1
@FF_QP2LAMBDA = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [38 x i8] c"out= %2d st= %2d frame= %5d q= %2.1f \00", align 1
@AV_CODEC_FLAG_PSNR = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [13 x i8] c"PSNR= %6.2f \00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"f_size= %6d \00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"s_size= %8.0fkB time= %0.3f br= %7.1fkbits/s avg_br= %7.1fkbits/s \00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"type= %c\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_video_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_video_stats(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr @vstats_file, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr @vstats_filename, align 4, !tbaa !9
%7 = tail call i64 @fopen(i32 noundef %6, ptr noundef nonnull @.str) #2
store i64 %7, ptr @vstats_file, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = tail call i32 @perror(ptr noundef nonnull @.str.1) #2
%11 = tail call i32 @exit_program(i32 noundef 1) #2
br label %12
12: ; preds = %5, %9, %2
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 7
%14 = load ptr, ptr %13, align 8, !tbaa !11
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = load i64, ptr @AVMEDIA_TYPE_VIDEO, align 8, !tbaa !5
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %103
18: ; preds = %12
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = load i32, ptr %20, align 4, !tbaa !19
%22 = load i32, ptr @vstats_version, align 4, !tbaa !9
%23 = icmp slt i32 %22, 2
%24 = load i64, ptr @vstats_file, align 8, !tbaa !5
br i1 %23, label %25, label %32
25: ; preds = %18
%26 = load float, ptr %0, align 8, !tbaa !21
%27 = load i64, ptr @FF_QP2LAMBDA, align 8, !tbaa !5
%28 = sitofp i64 %27 to float
%29 = fdiv float %26, %28
%30 = fpext float %29 to double
%31 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %24, ptr noundef nonnull @.str.2, i32 noundef %21, double noundef %30) #2
br label %43
32: ; preds = %18
%33 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !22
%35 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%36 = load i32, ptr %35, align 8, !tbaa !23
%37 = load float, ptr %0, align 8, !tbaa !21
%38 = load i64, ptr @FF_QP2LAMBDA, align 8, !tbaa !5
%39 = sitofp i64 %38 to float
%40 = fdiv float %37, %39
%41 = fpext float %40 to double
%42 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %24, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %36, i32 noundef %21, double noundef %41) #2
br label %43
43: ; preds = %32, %25
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%45 = load ptr, ptr %44, align 8, !tbaa !24
%46 = load double, ptr %45, align 8, !tbaa !25
%47 = fcmp ult double %46, 0.000000e+00
br i1 %47, label %67, label %48
48: ; preds = %43
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 1
%50 = load i32, ptr %49, align 8, !tbaa !26
%51 = load i32, ptr @AV_CODEC_FLAG_PSNR, align 4, !tbaa !9
%52 = and i32 %51, %50
%53 = icmp eq i32 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %48
%55 = load i64, ptr @vstats_file, align 8, !tbaa !5
%56 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 2
%57 = load double, ptr %56, align 8, !tbaa !27
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 3
%59 = load double, ptr %58, align 8, !tbaa !28
%60 = fmul double %57, %59
%61 = fmul double %60, 2.550000e+02
%62 = fmul double %61, 2.550000e+02
%63 = fdiv double %46, %62
%64 = tail call double @psnr(double noundef %63) #2
%65 = fptosi double %64 to i32
%66 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %55, ptr noundef nonnull @.str.4, i32 noundef %65) #2
br label %67
67: ; preds = %54, %48, %43
%68 = load i64, ptr @vstats_file, align 8, !tbaa !5
%69 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %68, ptr noundef nonnull @.str.5, i32 noundef %1) #2
%70 = load ptr, ptr %19, align 8, !tbaa !18
%71 = tail call i32 @av_stream_get_end_pts(ptr noundef %70) #2
%72 = load ptr, ptr %19, align 8, !tbaa !18
%73 = getelementptr inbounds %struct.TYPE_7__, ptr %72, i64 0, i32 1
%74 = load i32, ptr %73, align 4, !tbaa !29
%75 = tail call i32 @av_q2d(i32 noundef %74) #2
%76 = mul nsw i32 %75, %71
%77 = sitofp i32 %76 to double
%78 = icmp slt i32 %76, 1
%79 = select i1 %78, double 1.000000e-02, double %77
%80 = shl nsw i32 %1, 3
%81 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 4
%82 = load i32, ptr %81, align 8, !tbaa !30
%83 = tail call i32 @av_q2d(i32 noundef %82) #2
%84 = sdiv i32 %80, %83
%85 = sitofp i32 %84 to double
%86 = fdiv double %85, 1.000000e+03
%87 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%88 = load i32, ptr %87, align 8, !tbaa !31
%89 = shl nsw i32 %88, 3
%90 = sitofp i32 %89 to double
%91 = fdiv double %90, %79
%92 = fdiv double %91, 1.000000e+03
%93 = load i64, ptr @vstats_file, align 8, !tbaa !5
%94 = sitofp i32 %88 to double
%95 = fmul double %94, 0x3F50000000000000
%96 = fptosi double %95 to i32
%97 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %93, ptr noundef nonnull @.str.6, i32 noundef %96, double noundef %79, double noundef %86, double noundef %92) #2
%98 = load i64, ptr @vstats_file, align 8, !tbaa !5
%99 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5
%100 = load i32, ptr %99, align 4, !tbaa !32
%101 = tail call i32 @av_get_picture_type_char(i32 noundef %100) #2
%102 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %98, ptr noundef nonnull @.str.7, i32 noundef %101) #2
br label %103
103: ; preds = %67, %12
ret void
}
declare i64 @fopen(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
declare i32 @exit_program(i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i64 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare double @psnr(double noundef) local_unnamed_addr #1
declare i32 @av_stream_get_end_pts(ptr noundef) local_unnamed_addr #1
declare i32 @av_q2d(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_picture_type_char(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}
!11 = !{!12, !14, i64 40}
!12 = !{!"TYPE_5__", !13, i64 0, !10, i64 4, !10, i64 8, !14, i64 16, !10, i64 24, !10, i64 28, !14, i64 32, !14, i64 40}
!13 = !{!"float", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_6__", !6, i64 0, !10, i64 8, !17, i64 16, !17, i64 24, !10, i64 32}
!17 = !{!"double", !7, i64 0}
!18 = !{!12, !14, i64 32}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_7__", !10, i64 0, !10, i64 4}
!21 = !{!12, !13, i64 0}
!22 = !{!12, !10, i64 4}
!23 = !{!12, !10, i64 8}
!24 = !{!12, !14, i64 16}
!25 = !{!17, !17, i64 0}
!26 = !{!16, !10, i64 8}
!27 = !{!16, !17, i64 16}
!28 = !{!16, !17, i64 24}
!29 = !{!20, !10, i64 4}
!30 = !{!16, !10, i64 32}
!31 = !{!12, !10, i64 24}
!32 = !{!12, !10, i64 28}
| ; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_do_video_stats.c'
source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_do_video_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vstats_file = common local_unnamed_addr global i64 0, align 8
@vstats_filename = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
@AVMEDIA_TYPE_VIDEO = common local_unnamed_addr global i64 0, align 8
@vstats_version = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"frame= %5d q= %2.1f \00", align 1
@FF_QP2LAMBDA = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [38 x i8] c"out= %2d st= %2d frame= %5d q= %2.1f \00", align 1
@AV_CODEC_FLAG_PSNR = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [13 x i8] c"PSNR= %6.2f \00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"f_size= %6d \00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"s_size= %8.0fkB time= %0.3f br= %7.1fkbits/s avg_br= %7.1fkbits/s \00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"type= %c\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @do_video_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_video_stats(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr @vstats_file, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr @vstats_filename, align 4, !tbaa !10
%7 = tail call i64 @fopen(i32 noundef %6, ptr noundef nonnull @.str) #2
store i64 %7, ptr @vstats_file, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = tail call i32 @perror(ptr noundef nonnull @.str.1) #2
%11 = tail call i32 @exit_program(i32 noundef 1) #2
br label %12
12: ; preds = %5, %9, %2
%13 = getelementptr inbounds i8, ptr %0, i64 40
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = load i64, ptr @AVMEDIA_TYPE_VIDEO, align 8, !tbaa !6
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %103
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %0, i64 32
%20 = load ptr, ptr %19, align 8, !tbaa !19
%21 = load i32, ptr %20, align 4, !tbaa !20
%22 = load i32, ptr @vstats_version, align 4, !tbaa !10
%23 = icmp slt i32 %22, 2
%24 = load i64, ptr @vstats_file, align 8, !tbaa !6
br i1 %23, label %25, label %32
25: ; preds = %18
%26 = load float, ptr %0, align 8, !tbaa !22
%27 = load i64, ptr @FF_QP2LAMBDA, align 8, !tbaa !6
%28 = sitofp i64 %27 to float
%29 = fdiv float %26, %28
%30 = fpext float %29 to double
%31 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %24, ptr noundef nonnull @.str.2, i32 noundef %21, double noundef %30) #2
br label %43
32: ; preds = %18
%33 = getelementptr inbounds i8, ptr %0, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !23
%35 = getelementptr inbounds i8, ptr %0, i64 8
%36 = load i32, ptr %35, align 8, !tbaa !24
%37 = load float, ptr %0, align 8, !tbaa !22
%38 = load i64, ptr @FF_QP2LAMBDA, align 8, !tbaa !6
%39 = sitofp i64 %38 to float
%40 = fdiv float %37, %39
%41 = fpext float %40 to double
%42 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %24, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %36, i32 noundef %21, double noundef %41) #2
br label %43
43: ; preds = %32, %25
%44 = getelementptr inbounds i8, ptr %0, i64 16
%45 = load ptr, ptr %44, align 8, !tbaa !25
%46 = load double, ptr %45, align 8, !tbaa !26
%47 = fcmp ult double %46, 0.000000e+00
br i1 %47, label %67, label %48
48: ; preds = %43
%49 = getelementptr inbounds i8, ptr %14, i64 8
%50 = load i32, ptr %49, align 8, !tbaa !27
%51 = load i32, ptr @AV_CODEC_FLAG_PSNR, align 4, !tbaa !10
%52 = and i32 %51, %50
%53 = icmp eq i32 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %48
%55 = load i64, ptr @vstats_file, align 8, !tbaa !6
%56 = getelementptr inbounds i8, ptr %14, i64 16
%57 = load double, ptr %56, align 8, !tbaa !28
%58 = getelementptr inbounds i8, ptr %14, i64 24
%59 = load double, ptr %58, align 8, !tbaa !29
%60 = fmul double %57, %59
%61 = fmul double %60, 2.550000e+02
%62 = fmul double %61, 2.550000e+02
%63 = fdiv double %46, %62
%64 = tail call double @psnr(double noundef %63) #2
%65 = fptosi double %64 to i32
%66 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %55, ptr noundef nonnull @.str.4, i32 noundef %65) #2
br label %67
67: ; preds = %54, %48, %43
%68 = load i64, ptr @vstats_file, align 8, !tbaa !6
%69 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %68, ptr noundef nonnull @.str.5, i32 noundef %1) #2
%70 = load ptr, ptr %19, align 8, !tbaa !19
%71 = tail call i32 @av_stream_get_end_pts(ptr noundef %70) #2
%72 = load ptr, ptr %19, align 8, !tbaa !19
%73 = getelementptr inbounds i8, ptr %72, i64 4
%74 = load i32, ptr %73, align 4, !tbaa !30
%75 = tail call i32 @av_q2d(i32 noundef %74) #2
%76 = mul nsw i32 %75, %71
%77 = sitofp i32 %76 to double
%78 = icmp slt i32 %76, 1
%79 = select i1 %78, double 1.000000e-02, double %77
%80 = shl nsw i32 %1, 3
%81 = getelementptr inbounds i8, ptr %14, i64 32
%82 = load i32, ptr %81, align 8, !tbaa !31
%83 = tail call i32 @av_q2d(i32 noundef %82) #2
%84 = sdiv i32 %80, %83
%85 = sitofp i32 %84 to double
%86 = fdiv double %85, 1.000000e+03
%87 = getelementptr inbounds i8, ptr %0, i64 24
%88 = load i32, ptr %87, align 8, !tbaa !32
%89 = shl nsw i32 %88, 3
%90 = sitofp i32 %89 to double
%91 = fdiv double %90, %79
%92 = fdiv double %91, 1.000000e+03
%93 = load i64, ptr @vstats_file, align 8, !tbaa !6
%94 = sitofp i32 %88 to double
%95 = fmul double %94, 0x3F50000000000000
%96 = fptosi double %95 to i32
%97 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %93, ptr noundef nonnull @.str.6, i32 noundef %96, double noundef %79, double noundef %86, double noundef %92) #2
%98 = load i64, ptr @vstats_file, align 8, !tbaa !6
%99 = getelementptr inbounds i8, ptr %0, i64 28
%100 = load i32, ptr %99, align 4, !tbaa !33
%101 = tail call i32 @av_get_picture_type_char(i32 noundef %100) #2
%102 = tail call i32 (i64, ptr, i32, ...) @fprintf(i64 noundef %98, ptr noundef nonnull @.str.7, i32 noundef %101) #2
br label %103
103: ; preds = %67, %12
ret void
}
declare i64 @fopen(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
declare i32 @exit_program(i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i64 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare double @psnr(double noundef) local_unnamed_addr #1
declare i32 @av_stream_get_end_pts(ptr noundef) local_unnamed_addr #1
declare i32 @av_q2d(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_picture_type_char(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}
!12 = !{!13, !15, i64 40}
!13 = !{!"TYPE_5__", !14, i64 0, !11, i64 4, !11, i64 8, !15, i64 16, !11, i64 24, !11, i64 28, !15, i64 32, !15, i64 40}
!14 = !{!"float", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_6__", !7, i64 0, !11, i64 8, !18, i64 16, !18, i64 24, !11, i64 32}
!18 = !{!"double", !8, i64 0}
!19 = !{!13, !15, i64 32}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_7__", !11, i64 0, !11, i64 4}
!22 = !{!13, !14, i64 0}
!23 = !{!13, !11, i64 4}
!24 = !{!13, !11, i64 8}
!25 = !{!13, !15, i64 16}
!26 = !{!18, !18, i64 0}
!27 = !{!17, !11, i64 8}
!28 = !{!17, !18, i64 16}
!29 = !{!17, !18, i64 24}
!30 = !{!21, !11, i64 4}
!31 = !{!17, !11, i64 32}
!32 = !{!13, !11, i64 24}
!33 = !{!13, !11, i64 28}
| FFmpeg_fftools_extr_ffmpeg.c_do_video_stats |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_sd.c_sd_check_events.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_sd.c_sd_check_events.c"
target datalayout = "e-m:e-p270:32:32-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.scsi_sense_hdr = type { i32 }
%struct.scsi_disk = type { i32, ptr }
@KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"sd_check_events\0A\00", align 1
@SD_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@SD_MAX_RETRIES = dso_local local_unnamed_addr global i32 0, align 4
@DISK_EVENT_MEDIA_CHANGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_check_events], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sd_check_events(ptr noundef %0, i32 %1) #0 {
%3 = alloca %struct.scsi_sense_hdr, align 4
%4 = tail call ptr @scsi_disk_get(ptr noundef %0) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %43, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.scsi_disk, ptr %4, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = load i32, ptr @KERN_INFO, align 4, !tbaa !11
%10 = tail call i32 @sd_printk(i32 noundef %9, ptr noundef nonnull %4, ptr noundef nonnull @.str) #3
%11 = tail call i32 @SCSI_LOG_HLQUEUE(i32 noundef 3, i32 noundef %10) #3
%12 = tail call i32 @scsi_device_online(ptr noundef %8) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %6
%15 = tail call i32 @set_media_not_present(ptr noundef nonnull %4) #3
br label %37
16: ; preds = %6
%17 = tail call i64 @scsi_block_when_processing_errors(ptr noundef %8) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %32, label %19
19: ; preds = %16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4
%20 = load i32, ptr @SD_TIMEOUT, align 4, !tbaa !11
%21 = load i32, ptr @SD_MAX_RETRIES, align 4, !tbaa !11
%22 = call i32 @scsi_test_unit_ready(ptr noundef %8, i32 noundef %20, i32 noundef %21, ptr noundef nonnull %3) #3
%23 = call i64 @host_byte(i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %19
%26 = call i32 @set_media_not_present(ptr noundef nonnull %4) #3
br label %30
27: ; preds = %19
%28 = call i64 @media_not_present(ptr noundef nonnull %4, ptr noundef nonnull %3) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %25, %27
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %37
31: ; preds = %27
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %32
32: ; preds = %31, %16
%33 = load i32, ptr %4, align 8, !tbaa !12
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 1, ptr %8, align 4, !tbaa !13
br label %36
36: ; preds = %35, %32
store i32 1, ptr %4, align 8, !tbaa !12
br label %37
37: ; preds = %30, %36, %14
%38 = load i32, ptr %8, align 4, !tbaa !13
%39 = icmp eq i32 %38, 0
%40 = load i32, ptr @DISK_EVENT_MEDIA_CHANGE, align 4
%41 = select i1 %39, i32 0, i32 %40
store i32 0, ptr %8, align 4, !tbaa !13
%42 = call i32 @scsi_disk_put(ptr noundef nonnull %4) #3
br label %43
43: ; preds = %2, %37
%44 = phi i32 [ %41, %37 ], [ 0, %2 ]
ret i32 %44
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @scsi_disk_get(ptr noundef) local_unnamed_addr #2
declare i32 @SCSI_LOG_HLQUEUE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sd_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @scsi_device_online(ptr noundef) local_unnamed_addr #2
declare i32 @set_media_not_present(ptr noundef) local_unnamed_addr #2
declare i64 @scsi_block_when_processing_errors(ptr noundef) local_unnamed_addr #2
declare i32 @scsi_test_unit_ready(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @host_byte(i32 noundef) local_unnamed_addr #2
declare i64 @media_not_present(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @scsi_disk_put(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 = !{!"scsi_disk", !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 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"scsi_device", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_sd.c_sd_check_events.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_sd.c_sd_check_events.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.scsi_sense_hdr = type { i32 }
@KERN_INFO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"sd_check_events\0A\00", align 1
@SD_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@SD_MAX_RETRIES = common local_unnamed_addr global i32 0, align 4
@DISK_EVENT_MEDIA_CHANGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sd_check_events], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sd_check_events(ptr noundef %0, i32 %1) #0 {
%3 = alloca %struct.scsi_sense_hdr, align 4
%4 = tail call ptr @scsi_disk_get(ptr noundef %0) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %43, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = load i32, ptr @KERN_INFO, align 4, !tbaa !12
%10 = tail call i32 @sd_printk(i32 noundef %9, ptr noundef nonnull %4, ptr noundef nonnull @.str) #3
%11 = tail call i32 @SCSI_LOG_HLQUEUE(i32 noundef 3, i32 noundef %10) #3
%12 = tail call i32 @scsi_device_online(ptr noundef %8) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %6
%15 = tail call i32 @set_media_not_present(ptr noundef nonnull %4) #3
br label %37
16: ; preds = %6
%17 = tail call i64 @scsi_block_when_processing_errors(ptr noundef %8) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %32, label %19
19: ; preds = %16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4
%20 = load i32, ptr @SD_TIMEOUT, align 4, !tbaa !12
%21 = load i32, ptr @SD_MAX_RETRIES, align 4, !tbaa !12
%22 = call i32 @scsi_test_unit_ready(ptr noundef %8, i32 noundef %20, i32 noundef %21, ptr noundef nonnull %3) #3
%23 = call i64 @host_byte(i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %19
%26 = call i32 @set_media_not_present(ptr noundef nonnull %4) #3
br label %30
27: ; preds = %19
%28 = call i64 @media_not_present(ptr noundef nonnull %4, ptr noundef nonnull %3) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %25, %27
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %37
31: ; preds = %27
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %32
32: ; preds = %31, %16
%33 = load i32, ptr %4, align 8, !tbaa !13
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 1, ptr %8, align 4, !tbaa !14
br label %36
36: ; preds = %35, %32
store i32 1, ptr %4, align 8, !tbaa !13
br label %37
37: ; preds = %30, %36, %14
%38 = load i32, ptr %8, align 4, !tbaa !14
%39 = icmp eq i32 %38, 0
%40 = load i32, ptr @DISK_EVENT_MEDIA_CHANGE, align 4
%41 = select i1 %39, i32 0, i32 %40
store i32 0, ptr %8, align 4, !tbaa !14
%42 = call i32 @scsi_disk_put(ptr noundef nonnull %4) #3
br label %43
43: ; preds = %2, %37
%44 = phi i32 [ %41, %37 ], [ 0, %2 ]
ret i32 %44
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @scsi_disk_get(ptr noundef) local_unnamed_addr #2
declare i32 @SCSI_LOG_HLQUEUE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sd_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @scsi_device_online(ptr noundef) local_unnamed_addr #2
declare i32 @set_media_not_present(ptr noundef) local_unnamed_addr #2
declare i64 @scsi_block_when_processing_errors(ptr noundef) local_unnamed_addr #2
declare i32 @scsi_test_unit_ready(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @host_byte(i32 noundef) local_unnamed_addr #2
declare i64 @media_not_present(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @scsi_disk_put(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 = !{!"scsi_disk", !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 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"scsi_device", !8, i64 0}
| linux_drivers_scsi_extr_sd.c_sd_check_events |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c__wil_cfg80211_set_ies.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c__wil_cfg80211_set_ies.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.wil6210_vif = type { i32, i32, i32, i32, i32, i32 }
%struct.cfg80211_beacon_data = type { ptr, i32, ptr, i32, i32, ptr, i32, ptr }
@WMI_FRAME_PROBE_RESP = dso_local local_unnamed_addr global i32 0, align 4
@WMI_FRAME_ASSOC_RESP = dso_local local_unnamed_addr global i32 0, align 4
@WMI_FRAME_BEACON = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_wil_cfg80211_set_ies], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_wil_cfg80211_set_ies(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.wil6210_vif, ptr %0, i64 0, i32 5
%7 = getelementptr inbounds %struct.wil6210_vif, ptr %0, i64 0, i32 4
%8 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 7
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 6
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %9, i32 noundef %11) #3
%13 = getelementptr inbounds %struct.wil6210_vif, ptr %0, i64 0, i32 3
%14 = getelementptr inbounds %struct.wil6210_vif, ptr %0, i64 0, i32 2
%15 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 5
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 4
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %16, i32 noundef %18) #3
%20 = getelementptr inbounds %struct.wil6210_vif, ptr %0, i64 0, i32 1
%21 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %1, i64 0, i32 3
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %20, ptr noundef %0, ptr noundef %22, i32 noundef %24) #3
%26 = load ptr, ptr %8, align 8, !tbaa !11
%27 = load i32, ptr %10, align 8, !tbaa !13
%28 = call ptr @_wil_cfg80211_get_proberesp_ies(ptr noundef %26, i32 noundef %27, ptr noundef nonnull %4) #3
%29 = load i32, ptr %4, align 4, !tbaa !5
%30 = load ptr, ptr %15, align 8, !tbaa !14
%31 = load i32, ptr %17, align 4, !tbaa !15
%32 = call i32 @_wil_cfg80211_merge_extra_ies(ptr noundef %28, i32 noundef %29, ptr noundef %30, i32 noundef %31, ptr noundef nonnull %5, ptr noundef nonnull %3) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %51
34: ; preds = %2
%35 = load i32, ptr @WMI_FRAME_PROBE_RESP, align 4, !tbaa !5
%36 = load i32, ptr %3, align 4, !tbaa !5
%37 = load ptr, ptr %5, align 8, !tbaa !9
%38 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef %37) #3
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %34
%41 = load ptr, ptr %21, align 8, !tbaa !16
%42 = icmp eq ptr %41, null
%43 = load i32, ptr @WMI_FRAME_ASSOC_RESP, align 4, !tbaa !5
br i1 %42, label %47, label %44
44: ; preds = %40
%45 = load i32, ptr %23, align 8, !tbaa !17
%46 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %43, i32 noundef %45, ptr noundef nonnull %41) #3
br label %51
47: ; preds = %40
%48 = load i32, ptr %3, align 4, !tbaa !5
%49 = load ptr, ptr %5, align 8, !tbaa !9
%50 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %43, i32 noundef %48, ptr noundef %49) #3
br label %51
51: ; preds = %44, %47, %34, %2
%52 = phi i32 [ %32, %2 ], [ %38, %34 ], [ %46, %44 ], [ %50, %47 ]
%53 = load ptr, ptr %5, align 8, !tbaa !9
%54 = call i32 @kfree(ptr noundef %53) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wil_memdup_ie(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @_wil_cfg80211_get_proberesp_ies(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_wil_cfg80211_merge_extra_ies(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wmi_set_ie(ptr noundef, i32 noundef, i32 noundef, 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"cfg80211_beacon_data", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !10, i64 32, !6, i64 40, !10, i64 48}
!13 = !{!12, !6, i64 40}
!14 = !{!12, !10, i64 32}
!15 = !{!12, !6, i64 28}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !6, i64 24}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c__wil_cfg80211_set_ies.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c__wil_cfg80211_set_ies.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WMI_FRAME_PROBE_RESP = common local_unnamed_addr global i32 0, align 4
@WMI_FRAME_ASSOC_RESP = common local_unnamed_addr global i32 0, align 4
@WMI_FRAME_BEACON = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_wil_cfg80211_set_ies], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_wil_cfg80211_set_ies(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !10
%6 = getelementptr inbounds i8, ptr %0, i64 20
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = getelementptr inbounds i8, ptr %1, i64 48
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %1, i64 40
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %9, i32 noundef %11) #3
%13 = getelementptr inbounds i8, ptr %0, i64 12
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = getelementptr inbounds i8, ptr %1, i64 32
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = getelementptr inbounds i8, ptr %1, i64 28
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %16, i32 noundef %18) #3
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = getelementptr inbounds i8, ptr %1, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = getelementptr inbounds i8, ptr %1, i64 24
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = tail call i32 @wil_memdup_ie(ptr noundef nonnull %20, ptr noundef %0, ptr noundef %22, i32 noundef %24) #3
%26 = load ptr, ptr %8, align 8, !tbaa !12
%27 = load i32, ptr %10, align 8, !tbaa !14
%28 = call ptr @_wil_cfg80211_get_proberesp_ies(ptr noundef %26, i32 noundef %27, ptr noundef nonnull %4) #3
%29 = load i32, ptr %4, align 4, !tbaa !6
%30 = load ptr, ptr %15, align 8, !tbaa !15
%31 = load i32, ptr %17, align 4, !tbaa !16
%32 = call i32 @_wil_cfg80211_merge_extra_ies(ptr noundef %28, i32 noundef %29, ptr noundef %30, i32 noundef %31, ptr noundef nonnull %5, ptr noundef nonnull %3) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %51
34: ; preds = %2
%35 = load i32, ptr @WMI_FRAME_PROBE_RESP, align 4, !tbaa !6
%36 = load i32, ptr %3, align 4, !tbaa !6
%37 = load ptr, ptr %5, align 8, !tbaa !10
%38 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef %37) #3
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %34
%41 = load ptr, ptr %21, align 8, !tbaa !17
%42 = icmp eq ptr %41, null
%43 = load i32, ptr @WMI_FRAME_ASSOC_RESP, align 4, !tbaa !6
br i1 %42, label %47, label %44
44: ; preds = %40
%45 = load i32, ptr %23, align 8, !tbaa !18
%46 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %43, i32 noundef %45, ptr noundef nonnull %41) #3
br label %51
47: ; preds = %40
%48 = load i32, ptr %3, align 4, !tbaa !6
%49 = load ptr, ptr %5, align 8, !tbaa !10
%50 = call i32 @wmi_set_ie(ptr noundef %0, i32 noundef %43, i32 noundef %48, ptr noundef %49) #3
br label %51
51: ; preds = %44, %47, %34, %2
%52 = phi i32 [ %32, %2 ], [ %38, %34 ], [ %46, %44 ], [ %50, %47 ]
%53 = load ptr, ptr %5, align 8, !tbaa !10
%54 = call i32 @kfree(ptr noundef %53) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wil_memdup_ie(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @_wil_cfg80211_get_proberesp_ies(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_wil_cfg80211_merge_extra_ies(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wmi_set_ie(ptr noundef, i32 noundef, i32 noundef, 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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 48}
!13 = !{!"cfg80211_beacon_data", !11, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !11, i64 32, !7, i64 40, !11, i64 48}
!14 = !{!13, !7, i64 40}
!15 = !{!13, !11, i64 32}
!16 = !{!13, !7, i64 28}
!17 = !{!13, !11, i64 16}
!18 = !{!13, !7, i64 24}
| linux_drivers_net_wireless_ath_wil6210_extr_cfg80211.c__wil_cfg80211_set_ies |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_mx21ads.c_mx21ads_fb_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_mx21ads.c_mx21ads_fb_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"
@MX21ADS_IO_REG = dso_local local_unnamed_addr global i32 0, align 4
@MX21ADS_IO_LCDON = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mx21ads_fb_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mx21ads_fb_init(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @MX21ADS_IO_REG, align 4, !tbaa !5
%3 = tail call i32 @__raw_readw(i32 noundef %2) #2
%4 = load i32, ptr @MX21ADS_IO_LCDON, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr @MX21ADS_IO_REG, align 4, !tbaa !5
%7 = tail call i32 @__raw_writew(i32 noundef %5, i32 noundef %6) #2
ret i32 0
}
declare i32 @__raw_readw(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_writew(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_mx21ads.c_mx21ads_fb_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_mx21ads.c_mx21ads_fb_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MX21ADS_IO_REG = common local_unnamed_addr global i32 0, align 4
@MX21ADS_IO_LCDON = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mx21ads_fb_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mx21ads_fb_init(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @MX21ADS_IO_REG, align 4, !tbaa !6
%3 = tail call i32 @__raw_readw(i32 noundef %2) #2
%4 = load i32, ptr @MX21ADS_IO_LCDON, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr @MX21ADS_IO_REG, align 4, !tbaa !6
%7 = tail call i32 @__raw_writew(i32 noundef %5, i32 noundef %6) #2
ret i32 0
}
declare i32 @__raw_readw(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_writew(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_arm_mach-mx2_extr_mx21ads.c_mx21ads_fb_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_dma_translation_special_bit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_dma_translation_special_bit.c"
target datalayout = "e-m:e-p270:32:32-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.ssb_device = type { %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { i64 }
@SSB_DEV_80211 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ssb_dma_translation_special_bit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @ssb_dma_translation_special_bit(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.ssb_device, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = load i64, ptr %0, align 8, !tbaa !15
%6 = load i64, ptr @SSB_DEV_80211, align 8, !tbaa !16
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %1
switch i32 %4, label %9 [
i32 43231, label %12
i32 43221, label %12
i32 17186, label %12
]
9: ; preds = %8
%10 = icmp eq i32 %4, 43222
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %1, %9, %8, %8, %8
%13 = phi i32 [ 1, %8 ], [ %11, %9 ], [ 1, %8 ], [ 1, %8 ], [ 0, %1 ]
ret i32 %13
}
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, !11, i64 8}
!6 = !{!"ssb_device", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!6, !8, i64 0}
!16 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_dma_translation_special_bit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_dma_translation_special_bit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSB_DEV_80211 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ssb_dma_translation_special_bit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @ssb_dma_translation_special_bit(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = load i64, ptr %0, align 8, !tbaa !16
%6 = load i64, ptr @SSB_DEV_80211, align 8, !tbaa !17
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %1
switch i32 %4, label %9 [
i32 43231, label %12
i32 43221, label %12
i32 17186, label %12
]
9: ; preds = %8
%10 = icmp eq i32 %4, 43222
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %1, %9, %8, %8, %8
%13 = phi i32 [ 1, %8 ], [ %11, %9 ], [ 1, %8 ], [ 1, %8 ], [ 0, %1 ]
ret i32 %13
}
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, !12, i64 8}
!7 = !{!"ssb_device", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!7, !9, i64 0}
!17 = !{!9, !9, i64 0}
| fastsocket_kernel_drivers_ssb_extr_main.c_ssb_dma_translation_special_bit |
; ModuleID = 'AnghaBench/linux/drivers/iio/imu/inv_mpu6050/extr_inv_mpu_core.c_inv_mpu6050_set_lpf_regs.c'
source_filename = "AnghaBench/linux/drivers/iio/imu/inv_mpu6050/extr_inv_mpu_core.c_inv_mpu6050_set_lpf_regs.c"
target datalayout = "e-m:e-p270:32:32-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.inv_mpu6050_state = type { i32, ptr, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @inv_mpu6050_set_lpf_regs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @inv_mpu6050_set_lpf_regs(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.inv_mpu6050_state, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.inv_mpu6050_state, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @regmap_write(i32 noundef %4, i32 noundef %8, i32 noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = load i32, ptr %0, align 8, !tbaa !14
%13 = add i32 %12, -128
%14 = icmp ult i32 %13, 3
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load i32, ptr %3, align 8, !tbaa !5
%17 = load ptr, ptr %5, align 8, !tbaa !11
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = tail call i32 @regmap_write(i32 noundef %16, i32 noundef %18, i32 noundef %1) #2
br label %20
20: ; preds = %15, %11, %2
%21 = phi i32 [ %9, %2 ], [ %19, %15 ], [ 0, %11 ]
ret i32 %21
}
declare i32 @regmap_write(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 16}
!6 = !{!"inv_mpu6050_state", !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 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 4}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/imu/inv_mpu6050/extr_inv_mpu_core.c_inv_mpu6050_set_lpf_regs.c'
source_filename = "AnghaBench/linux/drivers/iio/imu/inv_mpu6050/extr_inv_mpu_core.c_inv_mpu6050_set_lpf_regs.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 @inv_mpu6050_set_lpf_regs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @inv_mpu6050_set_lpf_regs(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @regmap_write(i32 noundef %4, i32 noundef %8, i32 noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = load i32, ptr %0, align 8, !tbaa !15
%13 = add i32 %12, -128
%14 = icmp ult i32 %13, 3
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load i32, ptr %3, align 8, !tbaa !6
%17 = load ptr, ptr %5, align 8, !tbaa !12
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = tail call i32 @regmap_write(i32 noundef %16, i32 noundef %18, i32 noundef %1) #2
br label %20
20: ; preds = %15, %11, %2
%21 = phi i32 [ %9, %2 ], [ %19, %15 ], [ 0, %11 ]
ret i32 %21
}
declare i32 @regmap_write(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 16}
!7 = !{!"inv_mpu6050_state", !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 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 4}
!14 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!15 = !{!7, !8, i64 0}
!16 = !{!14, !8, i64 0}
| linux_drivers_iio_imu_inv_mpu6050_extr_inv_mpu_core.c_inv_mpu6050_set_lpf_regs |
; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_image.c_R_CreateBuiltinImages.c'
source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_image.c_R_CreateBuiltinImages.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_2__ = type { i32, i8**, i8*, i8* }
@DEFAULT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"*white\00", align 1
@IMGTYPE_COLORALPHA = dso_local local_unnamed_addr global i32 0, align 4
@IMGFLAG_NONE = dso_local local_unnamed_addr global i32 0, align 4
@tr = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"*identityLight\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"*scratch\00", align 1
@IMGFLAG_PICMIP = dso_local local_unnamed_addr global i32 0, align 4
@IMGFLAG_CLAMPTOEDGE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @R_CreateBuiltinImages() local_unnamed_addr #0 {
%1 = load i32, i32* @DEFAULT_SIZE, align 4, !tbaa !5
%2 = zext i32 %1 to i64
%3 = mul nuw i64 %2, %2
%4 = alloca [4 x i32], i64 %3, align 16
%5 = tail call i32 (...) @R_CreateDefaultImage() #2
%6 = bitcast [4 x i32]* %4 to i32***
%7 = trunc i64 %3 to i32
%8 = shl i32 %7, 4
%9 = call i32 @Com_Memset(i32*** noundef nonnull %6, i32 noundef 255, i32 noundef %8) #2
%10 = getelementptr inbounds [4 x i32], [4 x i32]* %4, i64 0, i64 0
%11 = load i32, i32* @IMGTYPE_COLORALPHA, align 4, !tbaa !5
%12 = load i32, i32* @IMGFLAG_NONE, align 4, !tbaa !5
%13 = call i8* @R_CreateImage(i8* noundef getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* noundef nonnull %10, i32 noundef 8, i32 noundef 8, i32 noundef %11, i32 noundef %12, i32 noundef 0) #2
store i8* %13, i8** getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @tr, i64 0, i32 3), align 8, !tbaa !9
%14 = load i32, i32* @DEFAULT_SIZE, align 4, !tbaa !5
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %57
16: ; preds = %0
%17 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @tr, i64 0, i32 0), align 8
%18 = zext i32 %14 to i64
%19 = and i64 %18, 1
%20 = icmp eq i32 %14, 1
%21 = and i64 %18, 4294967294
%22 = icmp eq i64 %19, 0
br label %23
23: ; preds = %54, %16
%24 = phi i64 [ 0, %16 ], [ %55, %54 ]
%25 = getelementptr inbounds [4 x i32], [4 x i32]* %4, i64 %24
br i1 %20, label %45, label %26
26: ; preds = %23, %26
%27 = phi i64 [ %42, %26 ], [ 0, %23 ]
%28 = phi i64 [ %43, %26 ], [ 0, %23 ]
%29 = mul nuw nsw i64 %27, %2
%30 = getelementptr inbounds [4 x i32], [4 x i32]* %25, i64 %29
%31 = getelementptr inbounds [4 x i32], [4 x i32]* %30, i64 0, i64 2
store i32 %17, i32* %31, align 8, !tbaa !5
%32 = getelementptr inbounds [4 x i32], [4 x i32]* %30, i64 0, i64 1
store i32 %17, i32* %32, align 4, !tbaa !5
%33 = getelementptr inbounds [4 x i32], [4 x i32]* %30, i64 0, i64 0
store i32 %17, i32* %33, align 16, !tbaa !5
%34 = getelementptr inbounds [4 x i32], [4 x i32]* %30, i64 0, i64 3
store i32 255, i32* %34, align 4, !tbaa !5
%35 = or i64 %27, 1
%36 = mul nuw nsw i64 %35, %2
%37 = getelementptr inbounds [4 x i32], [4 x i32]* %25, i64 %36
%38 = getelementptr inbounds [4 x i32], [4 x i32]* %37, i64 0, i64 2
store i32 %17, i32* %38, align 8, !tbaa !5
%39 = getelementptr inbounds [4 x i32], [4 x i32]* %37, i64 0, i64 1
store i32 %17, i32* %39, align 4, !tbaa !5
%40 = getelementptr inbounds [4 x i32], [4 x i32]* %37, i64 0, i64 0
store i32 %17, i32* %40, align 16, !tbaa !5
%41 = getelementptr inbounds [4 x i32], [4 x i32]* %37, i64 0, i64 3
store i32 255, i32* %41, align 4, !tbaa !5
%42 = add nuw nsw i64 %27, 2
%43 = add i64 %28, 2
%44 = icmp eq i64 %43, %21
br i1 %44, label %45, label %26, !llvm.loop !12
45: ; preds = %26, %23
%46 = phi i64 [ 0, %23 ], [ %42, %26 ]
br i1 %22, label %54, label %47
47: ; preds = %45
%48 = mul nuw nsw i64 %46, %2
%49 = getelementptr inbounds [4 x i32], [4 x i32]* %25, i64 %48
%50 = getelementptr inbounds [4 x i32], [4 x i32]* %49, i64 0, i64 2
store i32 %17, i32* %50, align 8, !tbaa !5
%51 = getelementptr inbounds [4 x i32], [4 x i32]* %49, i64 0, i64 1
store i32 %17, i32* %51, align 4, !tbaa !5
%52 = getelementptr inbounds [4 x i32], [4 x i32]* %49, i64 0, i64 0
store i32 %17, i32* %52, align 16, !tbaa !5
%53 = getelementptr inbounds [4 x i32], [4 x i32]* %49, i64 0, i64 3
store i32 255, i32* %53, align 4, !tbaa !5
br label %54
54: ; preds = %45, %47
%55 = add nuw nsw i64 %24, 1
%56 = icmp eq i64 %55, %18
br i1 %56, label %57, label %23, !llvm.loop !14
57: ; preds = %54, %0
%58 = load i32, i32* @IMGTYPE_COLORALPHA, align 4, !tbaa !5
%59 = load i32, i32* @IMGFLAG_NONE, align 4, !tbaa !5
%60 = call i8* @R_CreateImage(i8* noundef getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32* noundef nonnull %10, i32 noundef 8, i32 noundef 8, i32 noundef %58, i32 noundef %59, i32 noundef 0) #2
store i8* %60, i8** getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @tr, i64 0, i32 2), align 8, !tbaa !15
br label %61
61: ; preds = %57, %61
%62 = phi i64 [ 0, %57 ], [ %71, %61 ]
%63 = load i32, i32* @DEFAULT_SIZE, align 4, !tbaa !5
%64 = load i32, i32* @IMGTYPE_COLORALPHA, align 4, !tbaa !5
%65 = load i32, i32* @IMGFLAG_PICMIP, align 4, !tbaa !5
%66 = load i32, i32* @IMGFLAG_CLAMPTOEDGE, align 4, !tbaa !5
%67 = or i32 %66, %65
%68 = call i8* @R_CreateImage(i8* noundef getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32* noundef nonnull %10, i32 noundef %63, i32 noundef %63, i32 noundef %64, i32 noundef %67, i32 noundef 0) #2
%69 = load i8**, i8*** getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @tr, i64 0, i32 1), align 8, !tbaa !16
%70 = getelementptr inbounds i8*, i8** %69, i64 %62
store i8* %68, i8** %70, align 8, !tbaa !17
%71 = add nuw nsw i64 %62, 1
%72 = icmp eq i64 %71, 32
br i1 %72, label %73, label %61, !llvm.loop !18
73: ; preds = %61
%74 = call i32 (...) @R_CreateDlightImage() #2
%75 = call i32 (...) @R_CreateFogImage() #2
ret void
}
declare i32 @R_CreateDefaultImage(...) local_unnamed_addr #1
declare i32 @Com_Memset(i32*** noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i8* @R_CreateImage(i8* noundef, i32* noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @R_CreateDlightImage(...) local_unnamed_addr #1
declare i32 @R_CreateFogImage(...) 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 24}
!10 = !{!"TYPE_2__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 8}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !13}
| ; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_image.c_R_CreateBuiltinImages.c'
source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_image.c_R_CreateBuiltinImages.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, ptr, ptr }
@DEFAULT_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"*white\00", align 1
@IMGTYPE_COLORALPHA = common local_unnamed_addr global i32 0, align 4
@IMGFLAG_NONE = common local_unnamed_addr global i32 0, align 4
@tr = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"*identityLight\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"*scratch\00", align 1
@IMGFLAG_PICMIP = common local_unnamed_addr global i32 0, align 4
@IMGFLAG_CLAMPTOEDGE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @R_CreateBuiltinImages() local_unnamed_addr #0 {
%1 = load i32, ptr @DEFAULT_SIZE, align 4, !tbaa !6
%2 = zext i32 %1 to i64
%3 = mul nuw i64 %2, %2
%4 = alloca [4 x i32], i64 %3, align 4
%5 = tail call i32 @R_CreateDefaultImage() #2
%6 = trunc i64 %3 to i32
%7 = shl i32 %6, 4
%8 = call i32 @Com_Memset(ptr noundef nonnull %4, i32 noundef 255, i32 noundef %7) #2
%9 = load i32, ptr @IMGTYPE_COLORALPHA, align 4, !tbaa !6
%10 = load i32, ptr @IMGFLAG_NONE, align 4, !tbaa !6
%11 = call ptr @R_CreateImage(ptr noundef nonnull @.str, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 8, i32 noundef %9, i32 noundef %10, i32 noundef 0) #2
store ptr %11, ptr getelementptr inbounds (i8, ptr @tr, i64 24), align 8, !tbaa !10
%12 = load i32, ptr @DEFAULT_SIZE, align 4, !tbaa !6
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %55
14: ; preds = %0
%15 = load i32, ptr @tr, align 8
%16 = zext nneg i32 %12 to i64
%17 = icmp ugt i32 %12, 15
%18 = icmp eq i32 %1, 1
%19 = select i1 %17, i1 %18, i1 false
%20 = and i64 %16, 2147483632
%21 = insertelement <4 x i32> poison, i32 %15, i64 0
%22 = shufflevector <4 x i32> %21, <4 x i32> poison, <4 x i32> zeroinitializer
%23 = shufflevector <4 x i32> %21, <4 x i32> poison, <8 x i32> zeroinitializer
%24 = shufflevector <4 x i32> %22, <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
%25 = shufflevector <8 x i32> %23, <8 x i32> %24, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 1, i32 5, i32 9, i32 13, i32 2, i32 6, i32 10, i32 14, i32 3, i32 7, i32 11, i32 15>
%26 = icmp eq i64 %20, %16
%27 = insertelement <4 x i32> <i32 poison, i32 255, i32 poison, i32 poison>, i32 %15, i64 0
%28 = shufflevector <4 x i32> %27, <4 x i32> poison, <4 x i32> <i32 0, i32 0, i32 0, i32 1>
br label %29
29: ; preds = %52, %14
%30 = phi i64 [ 0, %14 ], [ %53, %52 ]
%31 = getelementptr inbounds [4 x i32], ptr %4, i64 %30
br i1 %19, label %32, label %44
32: ; preds = %29, %32
%33 = phi i64 [ %41, %32 ], [ 0, %29 ]
%34 = or disjoint i64 %33, 4
%35 = or disjoint i64 %33, 8
%36 = or disjoint i64 %33, 12
%37 = getelementptr inbounds [4 x i32], ptr %31, i64 %33
%38 = getelementptr inbounds [4 x i32], ptr %31, i64 %34
%39 = getelementptr inbounds [4 x i32], ptr %31, i64 %35
%40 = getelementptr inbounds [4 x i32], ptr %31, i64 %36
store <16 x i32> %25, ptr %37, align 4, !tbaa !6
store <16 x i32> %25, ptr %38, align 4, !tbaa !6
store <16 x i32> %25, ptr %39, align 4, !tbaa !6
store <16 x i32> %25, ptr %40, align 4, !tbaa !6
%41 = add nuw i64 %33, 16
%42 = icmp eq i64 %41, %20
br i1 %42, label %43, label %32, !llvm.loop !13
43: ; preds = %32
br i1 %26, label %52, label %44
44: ; preds = %43, %29
%45 = phi i64 [ 0, %29 ], [ %20, %43 ]
br label %46
46: ; preds = %44, %46
%47 = phi i64 [ %50, %46 ], [ %45, %44 ]
%48 = mul nuw nsw i64 %47, %2
%49 = getelementptr inbounds [4 x i32], ptr %31, i64 %48
store <4 x i32> %28, ptr %49, align 4, !tbaa !6
%50 = add nuw nsw i64 %47, 1
%51 = icmp eq i64 %50, %16
br i1 %51, label %52, label %46, !llvm.loop !17
52: ; preds = %46, %43
%53 = add nuw nsw i64 %30, 1
%54 = icmp eq i64 %53, %16
br i1 %54, label %55, label %29, !llvm.loop !18
55: ; preds = %52, %0
%56 = load i32, ptr @IMGTYPE_COLORALPHA, align 4, !tbaa !6
%57 = load i32, ptr @IMGFLAG_NONE, align 4, !tbaa !6
%58 = call ptr @R_CreateImage(ptr noundef nonnull @.str.1, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 8, i32 noundef %56, i32 noundef %57, i32 noundef 0) #2
store ptr %58, ptr getelementptr inbounds (i8, ptr @tr, i64 16), align 8, !tbaa !19
br label %59
59: ; preds = %55, %59
%60 = phi i64 [ 0, %55 ], [ %69, %59 ]
%61 = load i32, ptr @DEFAULT_SIZE, align 4, !tbaa !6
%62 = load i32, ptr @IMGTYPE_COLORALPHA, align 4, !tbaa !6
%63 = load i32, ptr @IMGFLAG_PICMIP, align 4, !tbaa !6
%64 = load i32, ptr @IMGFLAG_CLAMPTOEDGE, align 4, !tbaa !6
%65 = or i32 %64, %63
%66 = call ptr @R_CreateImage(ptr noundef nonnull @.str.2, ptr noundef nonnull %4, i32 noundef %61, i32 noundef %61, i32 noundef %62, i32 noundef %65, i32 noundef 0) #2
%67 = load ptr, ptr getelementptr inbounds (i8, ptr @tr, i64 8), align 8, !tbaa !20
%68 = getelementptr inbounds ptr, ptr %67, i64 %60
store ptr %66, ptr %68, align 8, !tbaa !21
%69 = add nuw nsw i64 %60, 1
%70 = icmp eq i64 %69, 32
br i1 %70, label %71, label %59, !llvm.loop !22
71: ; preds = %59
%72 = call i32 @R_CreateDlightImage() #2
%73 = call i32 @R_CreateFogImage() #2
ret void
}
declare i32 @R_CreateDefaultImage(...) local_unnamed_addr #1
declare i32 @Com_Memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @R_CreateImage(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @R_CreateDlightImage(...) local_unnamed_addr #1
declare i32 @R_CreateFogImage(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 24}
!11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !15}
!18 = distinct !{!18, !14}
!19 = !{!11, !12, i64 16}
!20 = !{!11, !12, i64 8}
!21 = !{!12, !12, i64 0}
!22 = distinct !{!22, !14}
| lab_engine_code_renderergl1_extr_tr_image.c_R_CreateBuiltinImages |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn66xx_device.c_lio_cn6xxx_enable_error_reporting.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn66xx_device.c_lio_cn6xxx_enable_error_reporting.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CN6XXX_PCIE_DEVCTL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"PCI-E Link error detected: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Enabling PCI-E error reporting..\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @lio_cn6xxx_enable_error_reporting(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @CN6XXX_PCIE_DEVCTL, align 4, !tbaa !10
%5 = call i32 @pci_read_config_dword(ptr noundef %3, i32 noundef %4, ptr noundef nonnull %2) #3
%6 = load i32, ptr %2, align 4, !tbaa !10
%7 = and i32 %6, 786432
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %1
%10 = load ptr, ptr %0, align 8, !tbaa !5
%11 = call i32 @dev_err(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3
%12 = load i32, ptr %2, align 4, !tbaa !10
br label %13
13: ; preds = %9, %1
%14 = phi i32 [ %12, %9 ], [ %6, %1 ]
%15 = or i32 %14, 15
store i32 %15, ptr %2, align 4, !tbaa !10
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = call i32 @dev_dbg(ptr noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load ptr, ptr %0, align 8, !tbaa !5
%19 = load i32, ptr @CN6XXX_PCIE_DEVCTL, align 4, !tbaa !10
%20 = load i32, ptr %2, align 4, !tbaa !10
%21 = call i32 @pci_write_config_dword(ptr noundef %18, i32 noundef %19, i32 noundef %20) #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_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr 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, !7, i64 0}
!6 = !{!"octeon_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn66xx_device.c_lio_cn6xxx_enable_error_reporting.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn66xx_device.c_lio_cn6xxx_enable_error_reporting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CN6XXX_PCIE_DEVCTL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"PCI-E Link error detected: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Enabling PCI-E error reporting..\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @lio_cn6xxx_enable_error_reporting(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @CN6XXX_PCIE_DEVCTL, align 4, !tbaa !11
%5 = call i32 @pci_read_config_dword(ptr noundef %3, i32 noundef %4, ptr noundef nonnull %2) #3
%6 = load i32, ptr %2, align 4, !tbaa !11
%7 = and i32 %6, 786432
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %1
%10 = load ptr, ptr %0, align 8, !tbaa !6
%11 = call i32 @dev_err(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3
%12 = load i32, ptr %2, align 4, !tbaa !11
br label %13
13: ; preds = %9, %1
%14 = phi i32 [ %12, %9 ], [ %6, %1 ]
%15 = or i32 %14, 15
store i32 %15, ptr %2, align 4, !tbaa !11
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = call i32 @dev_dbg(ptr noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load ptr, ptr %0, align 8, !tbaa !6
%19 = load i32, ptr @CN6XXX_PCIE_DEVCTL, align 4, !tbaa !11
%20 = load i32, ptr %2, align 4, !tbaa !11
%21 = call i32 @pci_write_config_dword(ptr noundef %18, i32 noundef %19, i32 noundef %20) #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_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr 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, !8, i64 0}
!7 = !{!"octeon_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_net_ethernet_cavium_liquidio_extr_cn66xx_device.c_lio_cn6xxx_enable_error_reporting |
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_hard-interface.c_batadv_hardif_deactivate_interface.c'
source_filename = "AnghaBench/linux/net/batman-adv/extr_hard-interface.c_batadv_hardif_deactivate_interface.c"
target datalayout = "e-m:e-p270:32:32-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.batadv_hard_iface = type { i64, i32, ptr }
@BATADV_IF_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8
@BATADV_IF_TO_BE_ACTIVATED = dso_local local_unnamed_addr global i64 0, align 8
@BATADV_IF_INACTIVE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [27 x i8] c"Interface deactivated: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @batadv_hardif_deactivate_interface], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @batadv_hardif_deactivate_interface(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @BATADV_IF_ACTIVE, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BATADV_IF_TO_BE_ACTIVATED, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i64, ptr @BATADV_IF_INACTIVE, align 8, !tbaa !12
store i64 %9, ptr %0, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.batadv_hard_iface, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = getelementptr inbounds %struct.batadv_hard_iface, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = tail call i32 @batadv_info(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %14) #2
%16 = load i32, ptr %10, align 8, !tbaa !13
%17 = tail call i32 @batadv_update_min_mtu(i32 noundef %16) #2
br label %18
18: ; preds = %1, %8
ret void
}
declare i32 @batadv_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @batadv_update_min_mtu(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 = !{!"batadv_hard_iface", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !11, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_hard-interface.c_batadv_hardif_deactivate_interface.c'
source_filename = "AnghaBench/linux/net/batman-adv/extr_hard-interface.c_batadv_hardif_deactivate_interface.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BATADV_IF_ACTIVE = common local_unnamed_addr global i64 0, align 8
@BATADV_IF_TO_BE_ACTIVATED = common local_unnamed_addr global i64 0, align 8
@BATADV_IF_INACTIVE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [27 x i8] c"Interface deactivated: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @batadv_hardif_deactivate_interface], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @batadv_hardif_deactivate_interface(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @BATADV_IF_ACTIVE, align 8, !tbaa !13
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BATADV_IF_TO_BE_ACTIVATED, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i64, ptr @BATADV_IF_INACTIVE, align 8, !tbaa !13
store i64 %9, ptr %0, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = tail call i32 @batadv_info(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %14) #2
%16 = load i32, ptr %10, align 8, !tbaa !14
%17 = tail call i32 @batadv_update_min_mtu(i32 noundef %16) #2
br label %18
18: ; preds = %1, %8
ret void
}
declare i32 @batadv_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @batadv_update_min_mtu(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 = !{!"batadv_hard_iface", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !12, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0}
| linux_net_batman-adv_extr_hard-interface.c_batadv_hardif_deactivate_interface |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_coff_swap_lineno_out.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_coff_swap_lineno_out.c"
target datalayout = "e-m:e-p270:32:32-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.internal_lineno = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@LINESZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @coff_swap_lineno_out], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @coff_swap_lineno_out(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.internal_lineno, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %2, align 4, !tbaa !11
%7 = tail call i32 @H_PUT_32(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr %1, align 4, !tbaa !14
%9 = tail call i32 @PUT_LINENO_LNNO(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %2) #2
%10 = load i32, ptr @LINESZ, align 4, !tbaa !15
ret i32 %10
}
declare i32 @H_PUT_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PUT_LINENO_LNNO(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, !7, i64 4}
!6 = !{!"internal_lineno", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_3__", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"external_lineno", !13, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_coff_swap_lineno_out.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_coff_swap_lineno_out.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LINESZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @coff_swap_lineno_out], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @coff_swap_lineno_out(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %2, align 4, !tbaa !12
%7 = tail call i32 @H_PUT_32(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr %1, align 4, !tbaa !15
%9 = tail call i32 @PUT_LINENO_LNNO(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %2) #2
%10 = load i32, ptr @LINESZ, align 4, !tbaa !16
ret i32 %10
}
declare i32 @H_PUT_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PUT_LINENO_LNNO(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, !8, i64 4}
!7 = !{!"internal_lineno", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"external_lineno", !14, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
| freebsd_contrib_binutils_bfd_extr_coffswap.h_coff_swap_lineno_out |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_gtia.c_GTIA_UpdatePmplColls.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_gtia.c_GTIA_UpdatePmplColls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@hitclr_pos = dso_local local_unnamed_addr global i64 0, align 8
@P1PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_P1PL = dso_local local_unnamed_addr global i32 0, align 4
@P2PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_P2PL = dso_local local_unnamed_addr global i32 0, align 4
@P3PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_P3PL = dso_local local_unnamed_addr global i32 0, align 4
@M0PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_M0PL = dso_local local_unnamed_addr global i32 0, align 4
@M1PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_M1PL = dso_local local_unnamed_addr global i32 0, align 4
@M2PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_M2PL = dso_local local_unnamed_addr global i32 0, align 4
@M3PL_T = dso_local local_unnamed_addr global i32 0, align 4
@GTIA_M3PL = dso_local local_unnamed_addr global i32 0, align 4
@collision_curpos = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @GTIA_UpdatePmplColls() local_unnamed_addr #0 {
%1 = load i64, ptr @hitclr_pos, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @generate_partial_pmpl_colls(i64 noundef %1, i32 noundef poison) #2
br label %27
5: ; preds = %0
%6 = load i32, ptr @P1PL_T, align 4, !tbaa !9
%7 = load i32, ptr @GTIA_P1PL, align 4, !tbaa !9
%8 = or i32 %7, %6
store i32 %8, ptr @GTIA_P1PL, align 4, !tbaa !9
%9 = load i32, ptr @P2PL_T, align 4, !tbaa !9
%10 = load i32, ptr @GTIA_P2PL, align 4, !tbaa !9
%11 = or i32 %10, %9
store i32 %11, ptr @GTIA_P2PL, align 4, !tbaa !9
%12 = load i32, ptr @P3PL_T, align 4, !tbaa !9
%13 = load i32, ptr @GTIA_P3PL, align 4, !tbaa !9
%14 = or i32 %13, %12
store i32 %14, ptr @GTIA_P3PL, align 4, !tbaa !9
%15 = load i32, ptr @M0PL_T, align 4, !tbaa !9
%16 = load i32, ptr @GTIA_M0PL, align 4, !tbaa !9
%17 = or i32 %16, %15
store i32 %17, ptr @GTIA_M0PL, align 4, !tbaa !9
%18 = load i32, ptr @M1PL_T, align 4, !tbaa !9
%19 = load i32, ptr @GTIA_M1PL, align 4, !tbaa !9
%20 = or i32 %19, %18
store i32 %20, ptr @GTIA_M1PL, align 4, !tbaa !9
%21 = load i32, ptr @M2PL_T, align 4, !tbaa !9
%22 = load i32, ptr @GTIA_M2PL, align 4, !tbaa !9
%23 = or i32 %22, %21
store i32 %23, ptr @GTIA_M2PL, align 4, !tbaa !9
%24 = load i32, ptr @M3PL_T, align 4, !tbaa !9
%25 = load i32, ptr @GTIA_M3PL, align 4, !tbaa !9
%26 = or i32 %25, %24
store i32 %26, ptr @GTIA_M3PL, align 4, !tbaa !9
br label %27
27: ; preds = %5, %3
store i64 0, ptr @collision_curpos, align 8, !tbaa !5
store i64 0, ptr @hitclr_pos, align 8, !tbaa !5
ret void
}
declare i32 @generate_partial_pmpl_colls(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/Provenance/Cores/Atari800/atari800-src/extr_gtia.c_GTIA_UpdatePmplColls.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_gtia.c_GTIA_UpdatePmplColls.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hitclr_pos = common local_unnamed_addr global i64 0, align 8
@P1PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_P1PL = common local_unnamed_addr global i32 0, align 4
@P2PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_P2PL = common local_unnamed_addr global i32 0, align 4
@P3PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_P3PL = common local_unnamed_addr global i32 0, align 4
@M0PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_M0PL = common local_unnamed_addr global i32 0, align 4
@M1PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_M1PL = common local_unnamed_addr global i32 0, align 4
@M2PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_M2PL = common local_unnamed_addr global i32 0, align 4
@M3PL_T = common local_unnamed_addr global i32 0, align 4
@GTIA_M3PL = common local_unnamed_addr global i32 0, align 4
@collision_curpos = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @GTIA_UpdatePmplColls() local_unnamed_addr #0 {
%1 = load i64, ptr @hitclr_pos, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @generate_partial_pmpl_colls(i64 noundef %1, i32 noundef poison) #2
br label %27
5: ; preds = %0
%6 = load i32, ptr @P1PL_T, align 4, !tbaa !10
%7 = load i32, ptr @GTIA_P1PL, align 4, !tbaa !10
%8 = or i32 %7, %6
store i32 %8, ptr @GTIA_P1PL, align 4, !tbaa !10
%9 = load i32, ptr @P2PL_T, align 4, !tbaa !10
%10 = load i32, ptr @GTIA_P2PL, align 4, !tbaa !10
%11 = or i32 %10, %9
store i32 %11, ptr @GTIA_P2PL, align 4, !tbaa !10
%12 = load i32, ptr @P3PL_T, align 4, !tbaa !10
%13 = load i32, ptr @GTIA_P3PL, align 4, !tbaa !10
%14 = or i32 %13, %12
store i32 %14, ptr @GTIA_P3PL, align 4, !tbaa !10
%15 = load i32, ptr @M0PL_T, align 4, !tbaa !10
%16 = load i32, ptr @GTIA_M0PL, align 4, !tbaa !10
%17 = or i32 %16, %15
store i32 %17, ptr @GTIA_M0PL, align 4, !tbaa !10
%18 = load i32, ptr @M1PL_T, align 4, !tbaa !10
%19 = load i32, ptr @GTIA_M1PL, align 4, !tbaa !10
%20 = or i32 %19, %18
store i32 %20, ptr @GTIA_M1PL, align 4, !tbaa !10
%21 = load i32, ptr @M2PL_T, align 4, !tbaa !10
%22 = load i32, ptr @GTIA_M2PL, align 4, !tbaa !10
%23 = or i32 %22, %21
store i32 %23, ptr @GTIA_M2PL, align 4, !tbaa !10
%24 = load i32, ptr @M3PL_T, align 4, !tbaa !10
%25 = load i32, ptr @GTIA_M3PL, align 4, !tbaa !10
%26 = or i32 %25, %24
store i32 %26, ptr @GTIA_M3PL, align 4, !tbaa !10
br label %27
27: ; preds = %5, %3
store i64 0, ptr @collision_curpos, align 8, !tbaa !6
store i64 0, ptr @hitclr_pos, align 8, !tbaa !6
ret void
}
declare i32 @generate_partial_pmpl_colls(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| Provenance_Cores_Atari800_atari800-src_extr_gtia.c_GTIA_UpdatePmplColls |
; ModuleID = 'AnghaBench/libgit2/tests/revwalk/extr_mergebase.c_test_revwalk_mergebase__octopus_merge_branch.c'
source_filename = "AnghaBench/libgit2/tests/revwalk/extr_mergebase.c_test_revwalk_mergebase__octopus_merge_branch.c"
target datalayout = "e-m:e-p270:32:32-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 [41 x i8] c"8496071c1b46c854b31185ea97743be6a8774479\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"a65fed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"763d71\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"849607\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_revwalk_mergebase__octopus_merge_branch() local_unnamed_addr #0 {
%1 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%2 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%3 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2
ret void
}
declare i32 @assert_mergebase_octopus(ptr noundef, i32 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)"}
| ; ModuleID = 'AnghaBench/libgit2/tests/revwalk/extr_mergebase.c_test_revwalk_mergebase__octopus_merge_branch.c'
source_filename = "AnghaBench/libgit2/tests/revwalk/extr_mergebase.c_test_revwalk_mergebase__octopus_merge_branch.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 [41 x i8] c"8496071c1b46c854b31185ea97743be6a8774479\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"a65fed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"763d71\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"849607\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_revwalk_mergebase__octopus_merge_branch() local_unnamed_addr #0 {
%1 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%2 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%3 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @assert_mergebase_octopus(ptr noundef nonnull @.str, i32 noundef 3, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2
ret void
}
declare i32 @assert_mergebase_octopus(ptr noundef, i32 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)"}
| libgit2_tests_revwalk_extr_mergebase.c_test_revwalk_mergebase__octopus_merge_branch |
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_cr_bllcd.c_cr_backlight_get_intensity.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_cr_bllcd.c_cr_backlight_get_intensity.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@gpio_bar = dso_local local_unnamed_addr global i32 0, align 4
@CRVML_PANEL_PORT = dso_local local_unnamed_addr global i32 0, align 4
@CRVML_BACKLIGHT_OFF = dso_local local_unnamed_addr global i32 0, align 4
@FB_BLANK_POWERDOWN = dso_local local_unnamed_addr global i32 0, align 4
@FB_BLANK_UNBLANK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cr_backlight_get_intensity], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cr_backlight_get_intensity(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @gpio_bar, align 4, !tbaa !5
%3 = load i32, ptr @CRVML_PANEL_PORT, align 4, !tbaa !5
%4 = add nsw i32 %3, %2
%5 = tail call i32 @inl(i32 noundef %4) #2
%6 = load i32, ptr @CRVML_BACKLIGHT_OFF, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @FB_BLANK_UNBLANK, align 4
%10 = load i32, ptr @FB_BLANK_POWERDOWN, align 4
%11 = select i1 %8, i32 %9, i32 %10
ret i32 %11
}
declare i32 @inl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_cr_bllcd.c_cr_backlight_get_intensity.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_cr_bllcd.c_cr_backlight_get_intensity.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gpio_bar = common local_unnamed_addr global i32 0, align 4
@CRVML_PANEL_PORT = common local_unnamed_addr global i32 0, align 4
@CRVML_BACKLIGHT_OFF = common local_unnamed_addr global i32 0, align 4
@FB_BLANK_POWERDOWN = common local_unnamed_addr global i32 0, align 4
@FB_BLANK_UNBLANK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cr_backlight_get_intensity], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cr_backlight_get_intensity(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @gpio_bar, align 4, !tbaa !6
%3 = load i32, ptr @CRVML_PANEL_PORT, align 4, !tbaa !6
%4 = add nsw i32 %3, %2
%5 = tail call i32 @inl(i32 noundef %4) #2
%6 = load i32, ptr @CRVML_BACKLIGHT_OFF, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @FB_BLANK_UNBLANK, align 4
%10 = load i32, ptr @FB_BLANK_POWERDOWN, align 4
%11 = select i1 %8, i32 %9, i32 %10
ret i32 %11
}
declare i32 @inl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_backlight_extr_cr_bllcd.c_cr_backlight_get_intensity |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_phy_start_req.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_phy_start_req.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.phy_start_req = type { %struct.TYPE_2__, ptr, ptr }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
%struct.pm8001_hba_info = type { i32, ptr }
@OPC_INB_PHYSTART = dso_local local_unnamed_addr global i32 0, align 4
@SPINHOLD_DISABLE = dso_local local_unnamed_addr global i32 0, align 4
@LINKMODE_AUTO = dso_local local_unnamed_addr global i32 0, align 4
@LINKRATE_15 = dso_local local_unnamed_addr global i32 0, align 4
@LINKRATE_30 = dso_local local_unnamed_addr global i32 0, align 4
@LINKRATE_60 = dso_local local_unnamed_addr global i32 0, align 4
@SAS_END_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@SAS_PROTOCOL_ALL = dso_local local_unnamed_addr global i32 0, align 4
@SAS_ADDR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pm8001_chip_phy_start_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pm8001_chip_phy_start_req(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.phy_start_req, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%4 = load i32, ptr @OPC_INB_PHYSTART, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.pm8001_hba_info, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3
%8 = call ptr @cpu_to_le32(i32 noundef 1) #3
%9 = getelementptr inbounds %struct.phy_start_req, ptr %3, i64 0, i32 2
store ptr %8, ptr %9, align 8, !tbaa !12
%10 = load i32, ptr @SPINHOLD_DISABLE, align 4, !tbaa !5
%11 = load i32, ptr @LINKMODE_AUTO, align 4, !tbaa !5
%12 = load i32, ptr @LINKRATE_15, align 4, !tbaa !5
%13 = load i32, ptr @LINKRATE_30, align 4, !tbaa !5
%14 = load i32, ptr @LINKRATE_60, align 4, !tbaa !5
%15 = or i32 %10, %11
%16 = or i32 %15, %12
%17 = or i32 %16, %13
%18 = or i32 %17, %14
%19 = or i32 %18, %1
%20 = call ptr @cpu_to_le32(i32 noundef %19) #3
%21 = getelementptr inbounds %struct.phy_start_req, ptr %3, i64 0, i32 1
store ptr %20, ptr %21, align 8, !tbaa !15
%22 = load i32, ptr @SAS_END_DEVICE, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3
store i32 %22, ptr %23, align 4, !tbaa !16
%24 = load i32, ptr @SAS_PROTOCOL_ALL, align 4, !tbaa !5
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
store i32 %24, ptr %25, align 8, !tbaa !17
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !18
%28 = load i32, ptr %0, align 8, !tbaa !19
%29 = load i32, ptr @SAS_ADDR_SIZE, align 4, !tbaa !5
%30 = call i32 @memcpy(i32 noundef %27, i32 noundef %28, i32 noundef %29) #3
store i32 %1, ptr %3, align 8, !tbaa !20
%31 = call i32 @pm8001_mpi_build_cmd(ptr noundef nonnull %0, ptr noundef %6, i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pm8001_mpi_build_cmd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"pm8001_hba_info", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 24}
!13 = !{!"phy_start_req", !14, i64 0, !11, i64 16, !11, i64 24}
!14 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = !{!13, !11, i64 16}
!16 = !{!13, !6, i64 12}
!17 = !{!13, !6, i64 8}
!18 = !{!13, !6, i64 4}
!19 = !{!10, !6, i64 0}
!20 = !{!13, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_phy_start_req.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_phy_start_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.phy_start_req = type { %struct.TYPE_2__, ptr, ptr }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
@OPC_INB_PHYSTART = common local_unnamed_addr global i32 0, align 4
@SPINHOLD_DISABLE = common local_unnamed_addr global i32 0, align 4
@LINKMODE_AUTO = common local_unnamed_addr global i32 0, align 4
@LINKRATE_15 = common local_unnamed_addr global i32 0, align 4
@LINKRATE_30 = common local_unnamed_addr global i32 0, align 4
@LINKRATE_60 = common local_unnamed_addr global i32 0, align 4
@SAS_END_DEVICE = common local_unnamed_addr global i32 0, align 4
@SAS_PROTOCOL_ALL = common local_unnamed_addr global i32 0, align 4
@SAS_ADDR_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pm8001_chip_phy_start_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pm8001_chip_phy_start_req(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.phy_start_req, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%4 = load i32, ptr @OPC_INB_PHYSTART, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3
%8 = call ptr @cpu_to_le32(i32 noundef 1) #3
%9 = getelementptr inbounds i8, ptr %3, i64 24
store ptr %8, ptr %9, align 8, !tbaa !13
%10 = load i32, ptr @SPINHOLD_DISABLE, align 4, !tbaa !6
%11 = load i32, ptr @LINKMODE_AUTO, align 4, !tbaa !6
%12 = load i32, ptr @LINKRATE_15, align 4, !tbaa !6
%13 = load i32, ptr @LINKRATE_30, align 4, !tbaa !6
%14 = load i32, ptr @LINKRATE_60, align 4, !tbaa !6
%15 = or i32 %10, %11
%16 = or i32 %15, %12
%17 = or i32 %16, %13
%18 = or i32 %17, %14
%19 = or i32 %18, %1
%20 = call ptr @cpu_to_le32(i32 noundef %19) #3
%21 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %20, ptr %21, align 8, !tbaa !16
%22 = load i32, ptr @SAS_END_DEVICE, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %22, ptr %23, align 4, !tbaa !17
%24 = load i32, ptr @SAS_PROTOCOL_ALL, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %24, ptr %25, align 8, !tbaa !18
%26 = getelementptr inbounds i8, ptr %3, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !19
%28 = load i32, ptr %0, align 8, !tbaa !20
%29 = load i32, ptr @SAS_ADDR_SIZE, align 4, !tbaa !6
%30 = call i32 @memcpy(i32 noundef %27, i32 noundef %28, i32 noundef %29) #3
store i32 %1, ptr %3, align 8, !tbaa !21
%31 = call i32 @pm8001_mpi_build_cmd(ptr noundef nonnull %0, ptr noundef %6, i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pm8001_mpi_build_cmd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"pm8001_hba_info", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 24}
!14 = !{!"phy_start_req", !15, i64 0, !12, i64 16, !12, i64 24}
!15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!14, !12, i64 16}
!17 = !{!14, !7, i64 12}
!18 = !{!14, !7, i64 8}
!19 = !{!14, !7, i64 4}
!20 = !{!11, !7, i64 0}
!21 = !{!14, !7, i64 0}
| fastsocket_kernel_drivers_scsi_pm8001_extr_pm8001_hwi.c_pm8001_chip_phy_start_req |
; ModuleID = 'AnghaBench/libgit2/tests/buf/extr_splice.c_test_buf_splice__append.c'
source_filename = "AnghaBench/libgit2/tests/buf/extr_splice.c_test_buf_splice__append.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_buf = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" world!\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_buf_splice__append() local_unnamed_addr #0 {
%1 = tail call i32 @git_buf_sets(ptr noundef nonnull @_buf, ptr noundef nonnull @.str) #2
%2 = tail call i32 @git_buf_len(ptr noundef nonnull @_buf) #2
%3 = tail call i32 @strlen(ptr noundef nonnull @.str.1) #2
%4 = tail call i32 @git_buf_splice(ptr noundef nonnull @_buf, i32 noundef %2, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %3) #2
%5 = tail call i32 @cl_git_pass(i32 noundef %4) #2
%6 = tail call i32 @git_buf_cstr(ptr noundef nonnull @_buf) #2
%7 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.2, i32 noundef %6) #2
ret void
}
declare i32 @git_buf_sets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_splice(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_len(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_cstr(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/libgit2/tests/buf/extr_splice.c_test_buf_splice__append.c'
source_filename = "AnghaBench/libgit2/tests/buf/extr_splice.c_test_buf_splice__append.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_buf = common global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c" world!\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_buf_splice__append() local_unnamed_addr #0 {
%1 = tail call i32 @git_buf_sets(ptr noundef nonnull @_buf, ptr noundef nonnull @.str) #2
%2 = tail call i32 @git_buf_len(ptr noundef nonnull @_buf) #2
%3 = tail call i32 @strlen(ptr noundef nonnull @.str.1) #2
%4 = tail call i32 @git_buf_splice(ptr noundef nonnull @_buf, i32 noundef %2, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %3) #2
%5 = tail call i32 @cl_git_pass(i32 noundef %4) #2
%6 = tail call i32 @git_buf_cstr(ptr noundef nonnull @_buf) #2
%7 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.2, i32 noundef %6) #2
ret void
}
declare i32 @git_buf_sets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_splice(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_len(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_buf_cstr(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)"}
| libgit2_tests_buf_extr_splice.c_test_buf_splice__append |
; ModuleID = 'AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set0_newPkey.c'
source_filename = "AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set0_newPkey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr }
@CMP_R_NULL_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @OSSL_CMP_CTX_set0_newPkey(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %8
5: ; preds = %3
%6 = load i32, ptr @CMP_R_NULL_ARGUMENT, align 4, !tbaa !5
%7 = tail call i32 @CMPerr(i32 noundef 0, i32 noundef %6) #2
br label %12
8: ; preds = %3
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !9
%11 = tail call i32 @EVP_PKEY_free(ptr noundef %10) #2
store ptr %2, ptr %9, align 8, !tbaa !9
store i32 %1, ptr %0, align 8, !tbaa !12
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ 0, %5 ], [ 1, %8 ]
ret i32 %13
}
declare i32 @CMPerr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set0_newPkey.c'
source_filename = "AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set0_newPkey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMP_R_NULL_ARGUMENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @OSSL_CMP_CTX_set0_newPkey(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %8
5: ; preds = %3
%6 = load i32, ptr @CMP_R_NULL_ARGUMENT, align 4, !tbaa !6
%7 = tail call i32 @CMPerr(i32 noundef 0, i32 noundef %6) #2
br label %12
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = tail call i32 @EVP_PKEY_free(ptr noundef %10) #2
store ptr %2, ptr %9, align 8, !tbaa !10
store i32 %1, ptr %0, align 8, !tbaa !13
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ 0, %5 ], [ 1, %8 ]
ret i32 %13
}
declare i32 @CMPerr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
| openssl_crypto_cmp_extr_cmp_ctx.c_OSSL_CMP_CTX_set0_newPkey |
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.h_mv88e6xxx_g2_misc_4_bit_port.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.h_mv88e6xxx_g2_misc_4_bit_port.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mv88e6xxx_g2_misc_4_bit_port], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @mv88e6xxx_g2_misc_4_bit_port(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
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/linux/drivers/net/dsa/mv88e6xxx/extr_global2.h_mv88e6xxx_g2_misc_4_bit_port.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.h_mv88e6xxx_g2_misc_4_bit_port.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mv88e6xxx_g2_misc_4_bit_port], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mv88e6xxx_g2_misc_4_bit_port(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
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"}
| linux_drivers_net_dsa_mv88e6xxx_extr_global2.h_mv88e6xxx_g2_misc_4_bit_port |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_info-cmd.c_relative_url.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_info-cmd.c_relative_url.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [3 x i8] c"^/\00", align 1
@SVN_VA_NULL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @relative_url], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @relative_url(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = tail call i32 @svn_uri_skip_ancestor(i32 noundef %4, i32 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @svn_path_uri_encode(i32 noundef %6, ptr noundef %1) #2
%8 = load i32, ptr @SVN_VA_NULL, align 4, !tbaa !11
%9 = tail call ptr @apr_pstrcat(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2
ret ptr %9
}
declare ptr @apr_pstrcat(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_path_uri_encode(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_uri_skip_ancestor(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_info-cmd.c_relative_url.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_info-cmd.c_relative_url.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"^/\00", align 1
@SVN_VA_NULL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @relative_url], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @relative_url(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = tail call i32 @svn_uri_skip_ancestor(i32 noundef %4, i32 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @svn_path_uri_encode(i32 noundef %6, ptr noundef %1) #2
%8 = load i32, ptr @SVN_VA_NULL, align 4, !tbaa !12
%9 = tail call ptr @apr_pstrcat(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2
ret ptr %9
}
declare ptr @apr_pstrcat(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_path_uri_encode(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_uri_skip_ancestor(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| freebsd_contrib_subversion_subversion_svn_extr_info-cmd.c_relative_url |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/tulip/extr_uli526x.c_read_srom_word.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/tulip/extr_uli526x.c_read_srom_word.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DCR9 = dso_local local_unnamed_addr global i64 0, align 8
@CR9_SROM_READ = dso_local local_unnamed_addr global i32 0, align 4
@CR9_SRCS = dso_local local_unnamed_addr global i32 0, align 4
@SROM_DATA_1 = dso_local local_unnamed_addr global i32 0, align 4
@SROM_DATA_0 = dso_local local_unnamed_addr global i32 0, align 4
@CR9_SRCLK = dso_local local_unnamed_addr global i32 0, align 4
@CR9_CRDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_srom_word], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_srom_word(i64 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @DCR9, align 8, !tbaa !5
%4 = add nsw i64 %3, %0
%5 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%6 = tail call i32 @outl(i32 noundef %5, i64 noundef %4) #2
%7 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%8 = load i32, ptr @CR9_SRCS, align 4, !tbaa !9
%9 = or i32 %8, %7
%10 = tail call i32 @outl(i32 noundef %9, i64 noundef %4) #2
%11 = load i32, ptr @SROM_DATA_1, align 4, !tbaa !9
%12 = tail call i32 @SROM_CLK_WRITE(i32 noundef %11, i64 noundef %4) #2
%13 = load i32, ptr @SROM_DATA_1, align 4, !tbaa !9
%14 = tail call i32 @SROM_CLK_WRITE(i32 noundef %13, i64 noundef %4) #2
%15 = load i32, ptr @SROM_DATA_0, align 4, !tbaa !9
%16 = tail call i32 @SROM_CLK_WRITE(i32 noundef %15, i64 noundef %4) #2
%17 = and i32 %1, 32
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr @SROM_DATA_1, align 4
%20 = load i32, ptr @SROM_DATA_0, align 4
%21 = select i1 %18, i32 %20, i32 %19
%22 = tail call i32 @SROM_CLK_WRITE(i32 noundef %21, i64 noundef %4) #2
%23 = and i32 %1, 16
%24 = icmp eq i32 %23, 0
%25 = load i32, ptr @SROM_DATA_1, align 4
%26 = load i32, ptr @SROM_DATA_0, align 4
%27 = select i1 %24, i32 %26, i32 %25
%28 = tail call i32 @SROM_CLK_WRITE(i32 noundef %27, i64 noundef %4) #2
%29 = and i32 %1, 8
%30 = icmp eq i32 %29, 0
%31 = load i32, ptr @SROM_DATA_1, align 4
%32 = load i32, ptr @SROM_DATA_0, align 4
%33 = select i1 %30, i32 %32, i32 %31
%34 = tail call i32 @SROM_CLK_WRITE(i32 noundef %33, i64 noundef %4) #2
%35 = and i32 %1, 4
%36 = icmp eq i32 %35, 0
%37 = load i32, ptr @SROM_DATA_1, align 4
%38 = load i32, ptr @SROM_DATA_0, align 4
%39 = select i1 %36, i32 %38, i32 %37
%40 = tail call i32 @SROM_CLK_WRITE(i32 noundef %39, i64 noundef %4) #2
%41 = and i32 %1, 2
%42 = icmp eq i32 %41, 0
%43 = load i32, ptr @SROM_DATA_1, align 4
%44 = load i32, ptr @SROM_DATA_0, align 4
%45 = select i1 %42, i32 %44, i32 %43
%46 = tail call i32 @SROM_CLK_WRITE(i32 noundef %45, i64 noundef %4) #2
%47 = and i32 %1, 1
%48 = icmp eq i32 %47, 0
%49 = load i32, ptr @SROM_DATA_1, align 4
%50 = load i32, ptr @SROM_DATA_0, align 4
%51 = select i1 %48, i32 %50, i32 %49
%52 = tail call i32 @SROM_CLK_WRITE(i32 noundef %51, i64 noundef %4) #2
%53 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%54 = load i32, ptr @CR9_SRCS, align 4, !tbaa !9
%55 = or i32 %54, %53
%56 = tail call i32 @outl(i32 noundef %55, i64 noundef %4) #2
br label %57
57: ; preds = %2, %57
%58 = phi i32 [ 16, %2 ], [ %79, %57 ]
%59 = phi i32 [ %51, %2 ], [ %73, %57 ]
%60 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%61 = load i32, ptr @CR9_SRCS, align 4, !tbaa !9
%62 = or i32 %61, %60
%63 = load i32, ptr @CR9_SRCLK, align 4, !tbaa !9
%64 = or i32 %62, %63
%65 = tail call i32 @outl(i32 noundef %64, i64 noundef %4) #2
%66 = tail call i32 @udelay(i32 noundef 5) #2
%67 = shl i32 %59, 1
%68 = tail call i32 @inl(i64 noundef %4) #2
%69 = load i32, ptr @CR9_CRDOUT, align 4, !tbaa !9
%70 = and i32 %69, %68
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i32
%73 = or disjoint i32 %67, %72
%74 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%75 = load i32, ptr @CR9_SRCS, align 4, !tbaa !9
%76 = or i32 %75, %74
%77 = tail call i32 @outl(i32 noundef %76, i64 noundef %4) #2
%78 = tail call i32 @udelay(i32 noundef 5) #2
%79 = add nsw i32 %58, -1
%80 = icmp ugt i32 %58, 1
br i1 %80, label %57, label %81, !llvm.loop !11
81: ; preds = %57
%82 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !9
%83 = tail call i32 @outl(i32 noundef %82, i64 noundef %4) #2
ret i32 %73
}
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @SROM_CLK_WRITE(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @inl(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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/tulip/extr_uli526x.c_read_srom_word.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/tulip/extr_uli526x.c_read_srom_word.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCR9 = common local_unnamed_addr global i64 0, align 8
@CR9_SROM_READ = common local_unnamed_addr global i32 0, align 4
@CR9_SRCS = common local_unnamed_addr global i32 0, align 4
@SROM_DATA_1 = common local_unnamed_addr global i32 0, align 4
@SROM_DATA_0 = common local_unnamed_addr global i32 0, align 4
@CR9_SRCLK = common local_unnamed_addr global i32 0, align 4
@CR9_CRDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_srom_word], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_srom_word(i64 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @DCR9, align 8, !tbaa !6
%4 = add nsw i64 %3, %0
%5 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%6 = tail call i32 @outl(i32 noundef %5, i64 noundef %4) #2
%7 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%8 = load i32, ptr @CR9_SRCS, align 4, !tbaa !10
%9 = or i32 %8, %7
%10 = tail call i32 @outl(i32 noundef %9, i64 noundef %4) #2
%11 = load i32, ptr @SROM_DATA_1, align 4, !tbaa !10
%12 = tail call i32 @SROM_CLK_WRITE(i32 noundef %11, i64 noundef %4) #2
%13 = load i32, ptr @SROM_DATA_1, align 4, !tbaa !10
%14 = tail call i32 @SROM_CLK_WRITE(i32 noundef %13, i64 noundef %4) #2
%15 = load i32, ptr @SROM_DATA_0, align 4, !tbaa !10
%16 = tail call i32 @SROM_CLK_WRITE(i32 noundef %15, i64 noundef %4) #2
%17 = and i32 %1, 32
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr @SROM_DATA_1, align 4
%20 = load i32, ptr @SROM_DATA_0, align 4
%21 = select i1 %18, i32 %20, i32 %19
%22 = tail call i32 @SROM_CLK_WRITE(i32 noundef %21, i64 noundef %4) #2
%23 = and i32 %1, 16
%24 = icmp eq i32 %23, 0
%25 = load i32, ptr @SROM_DATA_1, align 4
%26 = load i32, ptr @SROM_DATA_0, align 4
%27 = select i1 %24, i32 %26, i32 %25
%28 = tail call i32 @SROM_CLK_WRITE(i32 noundef %27, i64 noundef %4) #2
%29 = and i32 %1, 8
%30 = icmp eq i32 %29, 0
%31 = load i32, ptr @SROM_DATA_1, align 4
%32 = load i32, ptr @SROM_DATA_0, align 4
%33 = select i1 %30, i32 %32, i32 %31
%34 = tail call i32 @SROM_CLK_WRITE(i32 noundef %33, i64 noundef %4) #2
%35 = and i32 %1, 4
%36 = icmp eq i32 %35, 0
%37 = load i32, ptr @SROM_DATA_1, align 4
%38 = load i32, ptr @SROM_DATA_0, align 4
%39 = select i1 %36, i32 %38, i32 %37
%40 = tail call i32 @SROM_CLK_WRITE(i32 noundef %39, i64 noundef %4) #2
%41 = and i32 %1, 2
%42 = icmp eq i32 %41, 0
%43 = load i32, ptr @SROM_DATA_1, align 4
%44 = load i32, ptr @SROM_DATA_0, align 4
%45 = select i1 %42, i32 %44, i32 %43
%46 = tail call i32 @SROM_CLK_WRITE(i32 noundef %45, i64 noundef %4) #2
%47 = and i32 %1, 1
%48 = icmp eq i32 %47, 0
%49 = load i32, ptr @SROM_DATA_1, align 4
%50 = load i32, ptr @SROM_DATA_0, align 4
%51 = select i1 %48, i32 %50, i32 %49
%52 = tail call i32 @SROM_CLK_WRITE(i32 noundef %51, i64 noundef %4) #2
%53 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%54 = load i32, ptr @CR9_SRCS, align 4, !tbaa !10
%55 = or i32 %54, %53
%56 = tail call i32 @outl(i32 noundef %55, i64 noundef %4) #2
br label %57
57: ; preds = %2, %57
%58 = phi i32 [ 16, %2 ], [ %79, %57 ]
%59 = phi i32 [ %51, %2 ], [ %73, %57 ]
%60 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%61 = load i32, ptr @CR9_SRCS, align 4, !tbaa !10
%62 = or i32 %61, %60
%63 = load i32, ptr @CR9_SRCLK, align 4, !tbaa !10
%64 = or i32 %62, %63
%65 = tail call i32 @outl(i32 noundef %64, i64 noundef %4) #2
%66 = tail call i32 @udelay(i32 noundef 5) #2
%67 = shl i32 %59, 1
%68 = tail call i32 @inl(i64 noundef %4) #2
%69 = load i32, ptr @CR9_CRDOUT, align 4, !tbaa !10
%70 = and i32 %69, %68
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i32
%73 = or disjoint i32 %67, %72
%74 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%75 = load i32, ptr @CR9_SRCS, align 4, !tbaa !10
%76 = or i32 %75, %74
%77 = tail call i32 @outl(i32 noundef %76, i64 noundef %4) #2
%78 = tail call i32 @udelay(i32 noundef 5) #2
%79 = add nsw i32 %58, -1
%80 = icmp ugt i32 %58, 1
br i1 %80, label %57, label %81, !llvm.loop !12
81: ; preds = %57
%82 = load i32, ptr @CR9_SROM_READ, align 4, !tbaa !10
%83 = tail call i32 @outl(i32 noundef %82, i64 noundef %4) #2
ret i32 %73
}
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @SROM_CLK_WRITE(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @inl(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, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_tulip_extr_uli526x.c_read_srom_word |
; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_max_quic_connections.c'
source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_max_quic_connections.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@conf = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_max_quic_connections], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @on_config_max_quic_connections(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @h2o_configurator_scanf(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @conf) #2
ret i32 %4
}
declare i32 @h2o_configurator_scanf(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)"}
| ; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_max_quic_connections.c'
source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_max_quic_connections.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 }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@conf = common global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @on_config_max_quic_connections], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @on_config_max_quic_connections(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @h2o_configurator_scanf(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @conf) #2
ret i32 %4
}
declare i32 @h2o_configurator_scanf(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)"}
| h2o_src_extr_main.c_on_config_max_quic_connections |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftgmac100.c_ftgmac100_stop_hw.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftgmac100.c_ftgmac100_stop_hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FTGMAC100_OFFSET_MACCR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ftgmac100_stop_hw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ftgmac100_stop_hw(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @FTGMAC100_OFFSET_MACCR, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
%5 = tail call i32 @iowrite32(i32 noundef 0, i64 noundef %4) #2
ret void
}
declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ftgmac100", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftgmac100.c_ftgmac100_stop_hw.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftgmac100.c_ftgmac100_stop_hw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FTGMAC100_OFFSET_MACCR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ftgmac100_stop_hw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ftgmac100_stop_hw(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @FTGMAC100_OFFSET_MACCR, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
%5 = tail call i32 @iowrite32(i32 noundef 0, i64 noundef %4) #2
ret void
}
declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ftgmac100", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_net_ethernet_faraday_extr_ftgmac100.c_ftgmac100_stop_hw |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_set_rx_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_set_rx_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PGID_CPU = dso_local local_unnamed_addr global i32 0, align 4
@ANA_PGID_PGID = dso_local local_unnamed_addr global i32 0, align 4
@ocelot_mc_sync = dso_local local_unnamed_addr global i32 0, align 4
@ocelot_mc_unsync = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocelot_set_rx_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ocelot_set_rx_mode(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = add nsw i32 %4, -1
%6 = tail call i32 @GENMASK(i32 noundef %5, i32 noundef 0) #2
%7 = load i32, ptr %3, align 4, !tbaa !10
%8 = add nsw i32 %7, 1
%9 = load i32, ptr @PGID_CPU, align 4, !tbaa !13
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %18
11: ; preds = %1, %11
%12 = phi i32 [ %15, %11 ], [ %8, %1 ]
%13 = load i32, ptr @ANA_PGID_PGID, align 4, !tbaa !13
%14 = tail call i32 @ocelot_write_rix(ptr noundef nonnull %3, i32 noundef %6, i32 noundef %13, i32 noundef %12) #2
%15 = add nsw i32 %12, 1
%16 = load i32, ptr @PGID_CPU, align 4, !tbaa !13
%17 = icmp slt i32 %15, %16
br i1 %17, label %11, label %18, !llvm.loop !14
18: ; preds = %11, %1
%19 = load i32, ptr @ocelot_mc_sync, align 4, !tbaa !13
%20 = load i32, ptr @ocelot_mc_unsync, align 4, !tbaa !13
%21 = tail call i32 @__dev_mc_sync(ptr noundef %0, i32 noundef %19, i32 noundef %20) #2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocelot_write_rix(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__dev_mc_sync(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 = !{!"ocelot_port", !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 = !{!"ocelot", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_set_rx_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_set_rx_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PGID_CPU = common local_unnamed_addr global i32 0, align 4
@ANA_PGID_PGID = common local_unnamed_addr global i32 0, align 4
@ocelot_mc_sync = common local_unnamed_addr global i32 0, align 4
@ocelot_mc_unsync = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ocelot_set_rx_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ocelot_set_rx_mode(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = add nsw i32 %4, -1
%6 = tail call i32 @GENMASK(i32 noundef %5, i32 noundef 0) #2
%7 = load i32, ptr %3, align 4, !tbaa !11
%8 = add nsw i32 %7, 1
%9 = load i32, ptr @PGID_CPU, align 4, !tbaa !14
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %18
11: ; preds = %1, %11
%12 = phi i32 [ %15, %11 ], [ %8, %1 ]
%13 = load i32, ptr @ANA_PGID_PGID, align 4, !tbaa !14
%14 = tail call i32 @ocelot_write_rix(ptr noundef nonnull %3, i32 noundef %6, i32 noundef %13, i32 noundef %12) #2
%15 = add nsw i32 %12, 1
%16 = load i32, ptr @PGID_CPU, align 4, !tbaa !14
%17 = icmp slt i32 %15, %16
br i1 %17, label %11, label %18, !llvm.loop !15
18: ; preds = %11, %1
%19 = load i32, ptr @ocelot_mc_sync, align 4, !tbaa !14
%20 = load i32, ptr @ocelot_mc_unsync, align 4, !tbaa !14
%21 = tail call i32 @__dev_mc_sync(ptr noundef %0, i32 noundef %19, i32 noundef %20) #2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocelot_write_rix(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__dev_mc_sync(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 = !{!"ocelot_port", !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 = !{!"ocelot", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_mscc_extr_ocelot.c_ocelot_set_rx_mode |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_hw.c_nv10CalcArbitration.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_hw.c_nv10CalcArbitration.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
%struct.TYPE_6__ = type { i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nv10CalcArbitration], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal void @nv10CalcArbitration(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 5
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 6
%15 = load i32, ptr %14, align 8, !tbaa !16
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 7
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 8
%19 = load i64, ptr %18, align 8, !tbaa !18
%20 = icmp eq i64 %19, 0
%21 = icmp eq i32 %11, 64
%22 = select i1 %21, i32 22, i32 20
%23 = select i1 %21, i32 20, i32 19
%24 = select i1 %20, i32 %22, i32 %23
%25 = icmp eq i32 %13, 0
%26 = icmp eq i32 %11, 128
%27 = select i1 %25, i1 %26, i1 false
%28 = icmp eq i32 %15, 32
%29 = select i1 %28, i32 8, i32 4
%30 = select i1 %28, i32 31, i32 42
%31 = select i1 %27, i32 %30, i32 %29
%32 = select i1 %27, i32 17, i32 18
%33 = icmp eq i32 %17, 0
%34 = add nuw nsw i32 %24, 4
%35 = select i1 %33, i32 %24, i32 %34
%36 = add nuw nsw i32 %35, %31
%37 = mul nuw nsw i32 %36, 1000000
%38 = sdiv i32 %37, %5
%39 = mul nuw nsw i32 %35, 1000000
%40 = sdiv i32 %39, %5
%41 = sdiv i32 9000000, %7
%42 = sdiv i32 4000000, %3
%43 = add nsw i32 %42, %41
%44 = add nsw i32 %43, %40
%45 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
store i32 1024, ptr %45, align 4, !tbaa !19
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
store i32 512, ptr %46, align 4, !tbaa !21
%47 = mul nsw i32 %15, %3
%48 = sdiv i32 %47, 8
%49 = select i1 %33, i32 2, i32 3
%50 = mul i32 %9, 2000000
%51 = mul i32 %9, 1000000
%52 = mul i32 %51, %49
%53 = shl nsw i32 %38, 1
%54 = add i32 %43, %53
%55 = add nsw i32 %43, %38
%56 = and i32 %11, -64
%57 = icmp ne i32 %56, 64
%58 = mul nsw i32 %48, 100
%59 = mul nsw i32 %7, 816
%60 = icmp sge i32 %58, %59
%61 = mul nsw i32 %7, 784
%62 = icmp slt i32 %58, %61
%63 = select i1 %57, i1 true, i1 %60
br label %64
64: ; preds = %120, %2
%65 = phi i32 [ %32, %2 ], [ %121, %120 ]
%66 = phi i32 [ 512, %2 ], [ %122, %120 ]
%67 = mul i32 %65, 1000000
%68 = sdiv i32 %67, %5
br i1 %25, label %77, label %69
69: ; preds = %64
%70 = sdiv i32 %50, %5
%71 = sdiv i32 %52, %5
%72 = add i32 %54, %70
%73 = add i32 %72, %71
%74 = mul nsw i32 %73, %48
%75 = sdiv i32 %74, 1000000
%76 = add nsw i32 %75, 1
br label %87
77: ; preds = %64
%78 = sdiv i32 %52, %5
%79 = add i32 %55, %78
%80 = mul nsw i32 %79, %48
%81 = sdiv i32 %80, 1000000
%82 = add nsw i32 %81, 1
%83 = select i1 %57, i32 %82, i32 4095
br i1 %63, label %87, label %84
84: ; preds = %77
%85 = select i1 %62, i32 %66, i32 512
%86 = select i1 %62, i32 %82, i32 1024
br label %87
87: ; preds = %77, %84, %69
%88 = phi i32 [ %66, %69 ], [ %66, %77 ], [ %85, %84 ]
%89 = phi i32 [ %76, %69 ], [ %83, %77 ], [ %86, %84 ]
%90 = trunc i32 %89 to i16
%91 = sdiv i16 %90, 8
%92 = sext i16 %91 to i32
%93 = shl nsw i32 %92, 3
%94 = icmp slt i32 %93, %89
%95 = add nsw i32 %89, 8
%96 = select i1 %94, i32 %95, i32 %89
%97 = add nsw i32 %96, %88
%98 = add nsw i32 %97, -1024
%99 = add nsw i32 %44, %68
%100 = mul nsw i32 %99, %3
%101 = sdiv i32 %100, 1000000
%102 = mul nsw i32 %101, %15
%103 = sdiv i32 %102, 8
%104 = icmp slt i32 %103, %98
%105 = icmp sgt i32 %97, 1024
%106 = and i1 %105, %104
br i1 %106, label %107, label %115
107: ; preds = %87
%108 = icmp eq i32 %65, 0
br i1 %108, label %109, label %113
109: ; preds = %107
%110 = icmp sgt i32 %88, 32
%111 = zext i1 %110 to i32
%112 = lshr i32 %88, %111
br i1 %110, label %120, label %123
113: ; preds = %107
%114 = add nsw i32 %65, -1
br label %120
115: ; preds = %87
%116 = icmp sgt i32 %96, 1023
br i1 %116, label %117, label %123
117: ; preds = %115
%118 = icmp eq i32 %65, 0
%119 = add i32 %65, -1
br i1 %118, label %123, label %120
120: ; preds = %117, %109, %113
%121 = phi i32 [ %119, %117 ], [ %114, %113 ], [ 0, %109 ]
%122 = phi i32 [ %88, %117 ], [ %88, %113 ], [ %112, %109 ]
br label %64, !llvm.loop !22
123: ; preds = %115, %109, %117
%124 = phi i32 [ %88, %117 ], [ %112, %109 ], [ %88, %115 ]
%125 = phi i32 [ 0, %117 ], [ 0, %109 ], [ 1, %115 ]
%126 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%127 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%128 = sub i32 1032, %124
%129 = tail call i32 @llvm.smax.i32(i32 %96, i32 %128)
store i32 %125, ptr %0, align 4, !tbaa !24
store i32 %129, ptr %127, align 4, !tbaa !25
store i32 %124, ptr %126, align 4, !tbaa !26
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!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, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 20}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 28}
!18 = !{!6, !10, i64 32}
!19 = !{!20, !7, i64 12}
!20 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!21 = !{!20, !7, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!20, !7, i64 0}
!25 = !{!20, !7, i64 4}
!26 = !{!20, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_hw.c_nv10CalcArbitration.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_hw.c_nv10CalcArbitration.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 @nv10CalcArbitration], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal void @nv10CalcArbitration(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %1, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !15
%12 = getelementptr inbounds i8, ptr %1, i64 20
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %1, i64 24
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds i8, ptr %1, i64 28
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = getelementptr inbounds i8, ptr %1, i64 32
%19 = load i64, ptr %18, align 8, !tbaa !19
%20 = icmp eq i64 %19, 0
%21 = icmp eq i32 %11, 64
%22 = select i1 %21, i32 22, i32 20
%23 = select i1 %21, i32 20, i32 19
%24 = select i1 %20, i32 %22, i32 %23
%25 = icmp eq i32 %13, 0
%26 = icmp eq i32 %11, 128
%27 = select i1 %25, i1 %26, i1 false
%28 = icmp eq i32 %15, 32
%29 = select i1 %28, i32 8, i32 4
%30 = select i1 %28, i32 31, i32 42
%31 = select i1 %27, i32 %30, i32 %29
%32 = select i1 %27, i32 17, i32 18
%33 = icmp eq i32 %17, 0
%34 = add nuw nsw i32 %24, 4
%35 = select i1 %33, i32 %24, i32 %34
%36 = add nuw nsw i32 %35, %31
%37 = mul nuw nsw i32 %36, 1000000
%38 = sdiv i32 %37, %5
%39 = mul nuw nsw i32 %35, 1000000
%40 = sdiv i32 %39, %5
%41 = sdiv i32 9000000, %7
%42 = sdiv i32 4000000, %3
%43 = add nsw i32 %42, %41
%44 = add nsw i32 %43, %40
%45 = getelementptr inbounds i8, ptr %0, i64 12
store <2 x i32> <i32 1024, i32 512>, ptr %45, align 4, !tbaa !20
%46 = mul nsw i32 %15, %3
%47 = sdiv i32 %46, 8
%48 = select i1 %33, i32 2, i32 3
%49 = mul i32 %9, 2000000
%50 = mul i32 %9, 1000000
%51 = mul i32 %50, %48
%52 = shl nsw i32 %38, 1
%53 = add i32 %43, %52
%54 = add nsw i32 %43, %38
%55 = and i32 %11, -64
%56 = icmp ne i32 %55, 64
%57 = mul nsw i32 %47, 100
%58 = mul nsw i32 %7, 816
%59 = icmp sge i32 %57, %58
%60 = mul nsw i32 %7, 784
%61 = icmp slt i32 %57, %60
%62 = select i1 %56, i1 true, i1 %59
br label %63
63: ; preds = %119, %2
%64 = phi i32 [ %32, %2 ], [ %120, %119 ]
%65 = phi i32 [ 512, %2 ], [ %121, %119 ]
%66 = mul i32 %64, 1000000
%67 = sdiv i32 %66, %5
br i1 %25, label %76, label %68
68: ; preds = %63
%69 = sdiv i32 %49, %5
%70 = sdiv i32 %51, %5
%71 = add i32 %53, %69
%72 = add i32 %71, %70
%73 = mul nsw i32 %72, %47
%74 = sdiv i32 %73, 1000000
%75 = add nsw i32 %74, 1
br label %86
76: ; preds = %63
%77 = sdiv i32 %51, %5
%78 = add i32 %54, %77
%79 = mul nsw i32 %78, %47
%80 = sdiv i32 %79, 1000000
%81 = add nsw i32 %80, 1
%82 = select i1 %56, i32 %81, i32 4095
br i1 %62, label %86, label %83
83: ; preds = %76
%84 = select i1 %61, i32 %65, i32 512
%85 = select i1 %61, i32 %81, i32 1024
br label %86
86: ; preds = %76, %83, %68
%87 = phi i32 [ %65, %68 ], [ %65, %76 ], [ %84, %83 ]
%88 = phi i32 [ %75, %68 ], [ %82, %76 ], [ %85, %83 ]
%89 = trunc nsw i32 %88 to i16
%90 = sdiv i16 %89, 8
%91 = sext i16 %90 to i32
%92 = shl nsw i32 %91, 3
%93 = icmp slt i32 %92, %88
%94 = add nsw i32 %88, 8
%95 = select i1 %93, i32 %94, i32 %88
%96 = add nsw i32 %95, %87
%97 = add nsw i32 %96, -1024
%98 = add nsw i32 %44, %67
%99 = mul nsw i32 %98, %3
%100 = sdiv i32 %99, 1000000
%101 = mul nsw i32 %100, %15
%102 = sdiv i32 %101, 8
%103 = icmp slt i32 %102, %97
%104 = icmp sgt i32 %96, 1024
%105 = and i1 %104, %103
br i1 %105, label %106, label %114
106: ; preds = %86
%107 = icmp eq i32 %64, 0
br i1 %107, label %108, label %112
108: ; preds = %106
%109 = icmp sgt i32 %87, 32
%110 = zext i1 %109 to i32
%111 = lshr i32 %87, %110
br i1 %109, label %119, label %122
112: ; preds = %106
%113 = add nsw i32 %64, -1
br label %119
114: ; preds = %86
%115 = icmp sgt i32 %95, 1023
br i1 %115, label %116, label %122
116: ; preds = %114
%117 = icmp eq i32 %64, 0
%118 = add i32 %64, -1
br i1 %117, label %122, label %119
119: ; preds = %116, %108, %112
%120 = phi i32 [ %118, %116 ], [ %113, %112 ], [ 0, %108 ]
%121 = phi i32 [ %87, %116 ], [ %87, %112 ], [ %111, %108 ]
br label %63, !llvm.loop !21
122: ; preds = %114, %108, %116
%123 = phi i32 [ %87, %116 ], [ %111, %108 ], [ %87, %114 ]
%124 = phi i32 [ 0, %116 ], [ 0, %108 ], [ 1, %114 ]
%125 = getelementptr inbounds i8, ptr %0, i64 8
%126 = getelementptr inbounds i8, ptr %0, i64 4
%127 = sub i32 1032, %123
%128 = tail call i32 @llvm.smax.i32(i32 %95, i32 %127)
store i32 %124, ptr %0, align 4, !tbaa !23
store i32 %128, ptr %126, align 4, !tbaa !25
store i32 %123, ptr %125, align 4, !tbaa !26
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!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, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 20}
!17 = !{!7, !8, i64 24}
!18 = !{!7, !8, i64 28}
!19 = !{!7, !11, i64 32}
!20 = !{!8, !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!25 = !{!24, !8, i64 4}
!26 = !{!24, !8, i64 8}
| linux_drivers_video_fbdev_nvidia_extr_nv_hw.c_nv10CalcArbitration |
; ModuleID = 'AnghaBench/linux/arch/sparc/boot/extr_piggyback.c_st4.c'
source_filename = "AnghaBench/linux/arch/sparc/boot/extr_piggyback.c_st4.c"
target datalayout = "e-m:e-p270:32:32-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 @st4], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @st4(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = lshr i32 %1, 24
%4 = trunc i32 %3 to i8
store i8 %4, ptr %0, align 1, !tbaa !5
%5 = lshr i32 %1, 16
%6 = trunc i32 %5 to i8
%7 = getelementptr inbounds i8, ptr %0, i64 1
store i8 %6, ptr %7, align 1, !tbaa !5
%8 = lshr i32 %1, 8
%9 = trunc i32 %8 to i8
%10 = getelementptr inbounds i8, ptr %0, i64 2
store i8 %9, ptr %10, align 1, !tbaa !5
%11 = trunc i32 %1 to i8
%12 = getelementptr inbounds i8, ptr %0, i64 3
store i8 %11, ptr %12, align 1, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/boot/extr_piggyback.c_st4.c'
source_filename = "AnghaBench/linux/arch/sparc/boot/extr_piggyback.c_st4.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 @st4], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @st4(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = lshr i32 %1, 24
%4 = trunc nuw i32 %3 to i8
store i8 %4, ptr %0, align 1, !tbaa !6
%5 = lshr i32 %1, 16
%6 = trunc i32 %5 to i8
%7 = getelementptr inbounds i8, ptr %0, i64 1
store i8 %6, ptr %7, align 1, !tbaa !6
%8 = lshr i32 %1, 8
%9 = trunc i32 %8 to i8
%10 = getelementptr inbounds i8, ptr %0, i64 2
store i8 %9, ptr %10, align 1, !tbaa !6
%11 = trunc i32 %1 to i8
%12 = getelementptr inbounds i8, ptr %0, i64 3
store i8 %11, ptr %12, align 1, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| linux_arch_sparc_boot_extr_piggyback.c_st4 |
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_diff.c_differ.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_diff.c_differ.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_8__ = type { i64, i32, i32, i32 }
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EPIPE = dso_local local_unnamed_addr global i64 0, align 8
@TEXT_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Internal error: bad data from diff IOCTL\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @differ], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @differ(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @fdopen(i32 noundef %4, ptr noundef nonnull @.str)
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
br label %18
9: ; preds = %1
%10 = load i64, ptr @errno, align 8, !tbaa !11
store i64 %10, ptr %0, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = tail call i32 @strerror(i64 noundef %10) #4
%14 = tail call i32 @strlcpy(i32 noundef %12, i32 noundef %13, i32 noundef 4) #4
%15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @close(i32 noundef %16) #4
br label %77
18: ; preds = %29, %7
%19 = phi ptr [ %2, %7 ], [ %30, %29 ]
%20 = phi i32 [ 4, %7 ], [ %31, %29 ]
%21 = load i32, ptr %8, align 4, !tbaa !14
%22 = call i32 @read(i32 noundef %21, ptr noundef %19, i32 noundef %20) #4
%23 = zext nneg i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
%25 = sub nsw i32 %20, %22
%26 = icmp sgt i32 %25, 0
%27 = icmp sgt i32 %22, 0
%28 = and i1 %27, %26
br i1 %28, label %29, label %32
29: ; preds = %18, %54
%30 = phi ptr [ %24, %18 ], [ %2, %54 ]
%31 = phi i32 [ %25, %18 ], [ 4, %54 ]
br label %18, !llvm.loop !15
32: ; preds = %18
%33 = icmp slt i32 %22, 0
br i1 %33, label %38, label %34
34: ; preds = %32
%35 = icmp eq i32 %22, 0
%36 = icmp ne i32 %25, 4
%37 = and i1 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %34, %32
%39 = load i64, ptr @EPIPE, align 8, !tbaa !11
store i64 %39, ptr %0, align 8, !tbaa !12
br label %61
40: ; preds = %34
br i1 %35, label %61, label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4, !tbaa !17
switch i32 %42, label %47 [
i32 129, label %43
i32 128, label %45
]
43: ; preds = %41
%44 = call i32 @write_free_diffs(ptr noundef nonnull %5, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %49
45: ; preds = %41
%46 = call i32 @write_inuse_diffs(ptr noundef nonnull %5, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %49
47: ; preds = %41
%48 = load i64, ptr @EPIPE, align 8, !tbaa !11
store i64 %48, ptr %0, align 8, !tbaa !12
br label %54
49: ; preds = %45, %43
%50 = phi i32 [ %46, %45 ], [ %44, %43 ]
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load i64, ptr %0, align 8, !tbaa !12
br label %54
54: ; preds = %52, %47
%55 = phi i64 [ %53, %52 ], [ %48, %47 ]
%56 = icmp eq i64 %55, 0
br i1 %56, label %29, label %61
57: ; preds = %49
%58 = call i32 @fclose(ptr noundef nonnull %5)
%59 = load i32, ptr %8, align 4, !tbaa !14
%60 = call i32 @close(i32 noundef %59) #4
br label %77
61: ; preds = %40, %54, %38
%62 = call i32 @fclose(ptr noundef nonnull %5)
%63 = load i32, ptr %8, align 4, !tbaa !14
%64 = call i32 @close(i32 noundef %63) #4
%65 = load i64, ptr %0, align 8, !tbaa !12
%66 = icmp eq i64 %65, 0
br i1 %66, label %77, label %67
67: ; preds = %61
%68 = load i64, ptr @EPIPE, align 8, !tbaa !11
%69 = icmp eq i64 %65, %68
%70 = zext i1 %69 to i32
%71 = call i32 @ASSERT(i32 noundef %70) #4
%72 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%73 = load i32, ptr %72, align 8, !tbaa !13
%74 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !19
%75 = call ptr @dgettext(i32 noundef %74, ptr noundef nonnull @.str.1) #4
%76 = call i32 @snprintf(i32 noundef %73, i32 noundef 4, ptr noundef %75) #4
br label %77
77: ; preds = %57, %61, %67, %9
%78 = phi ptr [ inttoptr (i64 -1 to ptr), %9 ], [ inttoptr (i64 -1 to ptr), %67 ], [ inttoptr (i64 -1 to ptr), %57 ], [ null, %61 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret ptr %78
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strerror(i64 noundef) local_unnamed_addr #3
declare i32 @close(i32 noundef) local_unnamed_addr #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @write_free_diffs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @write_inuse_diffs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #3
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @dgettext(i32 noundef, ptr 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !10, i64 12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_7__", !10, i64 0}
!19 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_diff.c_differ.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_diff.c_differ.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@errno = common local_unnamed_addr global i64 0, align 8
@EPIPE = common local_unnamed_addr global i64 0, align 8
@TEXT_DOMAIN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Internal error: bad data from diff IOCTL\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @differ], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @differ(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @fdopen(i32 noundef %4, ptr noundef nonnull @.str)
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 12
br label %18
9: ; preds = %1
%10 = load i64, ptr @errno, align 8, !tbaa !12
store i64 %10, ptr %0, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @strerror(i64 noundef %10) #4
%14 = tail call i32 @strlcpy(i32 noundef %12, i32 noundef %13, i32 noundef 4) #4
%15 = getelementptr inbounds i8, ptr %0, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = tail call i32 @close(i32 noundef %16) #4
br label %77
18: ; preds = %29, %7
%19 = phi ptr [ %2, %7 ], [ %30, %29 ]
%20 = phi i32 [ 4, %7 ], [ %31, %29 ]
%21 = load i32, ptr %8, align 4, !tbaa !15
%22 = call i32 @read(i32 noundef %21, ptr noundef %19, i32 noundef %20) #4
%23 = zext nneg i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
%25 = sub nsw i32 %20, %22
%26 = icmp sgt i32 %25, 0
%27 = icmp sgt i32 %22, 0
%28 = and i1 %27, %26
br i1 %28, label %29, label %32
29: ; preds = %18, %54
%30 = phi ptr [ %24, %18 ], [ %2, %54 ]
%31 = phi i32 [ %25, %18 ], [ 4, %54 ]
br label %18, !llvm.loop !16
32: ; preds = %18
%33 = icmp slt i32 %22, 0
br i1 %33, label %38, label %34
34: ; preds = %32
%35 = icmp eq i32 %22, 0
%36 = icmp ne i32 %25, 4
%37 = and i1 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %34, %32
%39 = load i64, ptr @EPIPE, align 8, !tbaa !12
store i64 %39, ptr %0, align 8, !tbaa !13
br label %61
40: ; preds = %34
br i1 %35, label %61, label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4, !tbaa !18
switch i32 %42, label %47 [
i32 129, label %43
i32 128, label %45
]
43: ; preds = %41
%44 = call i32 @write_free_diffs(ptr noundef nonnull %5, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %49
45: ; preds = %41
%46 = call i32 @write_inuse_diffs(ptr noundef nonnull %5, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %49
47: ; preds = %41
%48 = load i64, ptr @EPIPE, align 8, !tbaa !12
store i64 %48, ptr %0, align 8, !tbaa !13
br label %54
49: ; preds = %45, %43
%50 = phi i32 [ %46, %45 ], [ %44, %43 ]
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load i64, ptr %0, align 8, !tbaa !13
br label %54
54: ; preds = %52, %47
%55 = phi i64 [ %53, %52 ], [ %48, %47 ]
%56 = icmp eq i64 %55, 0
br i1 %56, label %29, label %61
57: ; preds = %49
%58 = call i32 @fclose(ptr noundef nonnull %5)
%59 = load i32, ptr %8, align 4, !tbaa !15
%60 = call i32 @close(i32 noundef %59) #4
br label %77
61: ; preds = %40, %54, %38
%62 = call i32 @fclose(ptr noundef nonnull %5)
%63 = load i32, ptr %8, align 4, !tbaa !15
%64 = call i32 @close(i32 noundef %63) #4
%65 = load i64, ptr %0, align 8, !tbaa !13
%66 = icmp eq i64 %65, 0
br i1 %66, label %77, label %67
67: ; preds = %61
%68 = load i64, ptr @EPIPE, align 8, !tbaa !12
%69 = icmp eq i64 %65, %68
%70 = zext i1 %69 to i32
%71 = call i32 @ASSERT(i32 noundef %70) #4
%72 = getelementptr inbounds i8, ptr %0, i64 8
%73 = load i32, ptr %72, align 8, !tbaa !14
%74 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !20
%75 = call ptr @dgettext(i32 noundef %74, ptr noundef nonnull @.str.1) #4
%76 = call i32 @snprintf(i32 noundef %73, i32 noundef 4, ptr noundef %75) #4
br label %77
77: ; preds = %57, %61, %67, %9
%78 = phi ptr [ inttoptr (i64 -1 to ptr), %9 ], [ inttoptr (i64 -1 to ptr), %67 ], [ inttoptr (i64 -1 to ptr), %57 ], [ null, %61 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret ptr %78
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strerror(i64 noundef) local_unnamed_addr #3
declare i32 @close(i32 noundef) local_unnamed_addr #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @write_free_diffs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @write_inuse_diffs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #3
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @dgettext(i32 noundef, ptr 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !11, i64 12}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_7__", !11, i64 0}
!20 = !{!11, !11, i64 0}
| zfs_lib_libzfs_extr_libzfs_diff.c_differ |
; ModuleID = 'AnghaBench/RetroArch/cheevos-new/extr_cheevos.c_rcheevos_set_cheats.c'
source_filename = "AnghaBench/RetroArch/cheevos-new/extr_cheevos.c_rcheevos_set_cheats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@rcheevos_cheats_are_enabled = dso_local local_unnamed_addr global i32 0, align 4
@rcheevos_cheats_were_enabled = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local noundef i32 @rcheevos_set_cheats() local_unnamed_addr #0 {
%1 = load i32, ptr @rcheevos_cheats_are_enabled, align 4, !tbaa !5
store i32 %1, ptr @rcheevos_cheats_were_enabled, align 4, !tbaa !5
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/cheevos-new/extr_cheevos.c_rcheevos_set_cheats.c'
source_filename = "AnghaBench/RetroArch/cheevos-new/extr_cheevos.c_rcheevos_set_cheats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rcheevos_cheats_are_enabled = common local_unnamed_addr global i32 0, align 4
@rcheevos_cheats_were_enabled = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define noundef i32 @rcheevos_set_cheats() local_unnamed_addr #0 {
%1 = load i32, ptr @rcheevos_cheats_are_enabled, align 4, !tbaa !6
store i32 %1, ptr @rcheevos_cheats_were_enabled, align 4, !tbaa !6
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_cheevos-new_extr_cheevos.c_rcheevos_set_cheats |
; ModuleID = 'AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_partition_name_show.c'
source_filename = "AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_partition_name_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @partition_name_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @partition_name_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_visor_device(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %5) #2
ret i32 %6
}
declare ptr @to_visor_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"visor_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_partition_name_show.c'
source_filename = "AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_partition_name_show.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"%s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @partition_name_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @partition_name_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_visor_device(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %5) #2
ret i32 %6
}
declare ptr @to_visor_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"visor_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_visorbus_extr_visorbus_main.c_partition_name_show |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_talitos.c_ablkcipher_des3_setkey.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_talitos.c_ablkcipher_des3_setkey.c"
target datalayout = "e-m:e-p270:32:32-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 @ablkcipher_des3_setkey], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ablkcipher_des3_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @verify_ablkcipher_des3_key(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @ablkcipher_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%8 = zext i32 %7 to i64
br label %9
9: ; preds = %3, %6
%10 = phi i64 [ %8, %6 ], [ %4, %3 ]
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @verify_ablkcipher_des3_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ablkcipher_setkey(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/linux/drivers/crypto/extr_talitos.c_ablkcipher_des3_setkey.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_talitos.c_ablkcipher_des3_setkey.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 @ablkcipher_des3_setkey], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ablkcipher_des3_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @verify_ablkcipher_des3_key(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @ablkcipher_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%8 = zext i32 %7 to i64
br label %9
9: ; preds = %3, %6
%10 = phi i64 [ %8, %6 ], [ %4, %3 ]
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @verify_ablkcipher_des3_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ablkcipher_setkey(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)"}
| linux_drivers_crypto_extr_talitos.c_ablkcipher_des3_setkey |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap1/extr_timer32k.c_omap_32k_timer_set_periodic.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap1/extr_timer32k.c_omap_32k_timer_set_periodic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OMAP_32K_TIMER_TICK_PERIOD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_32k_timer_set_periodic], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @omap_32k_timer_set_periodic(ptr nocapture readnone %0) #0 {
%2 = tail call i32 (...) @omap_32k_timer_stop() #2
%3 = load i32, ptr @OMAP_32K_TIMER_TICK_PERIOD, align 4, !tbaa !5
%4 = tail call i32 @omap_32k_timer_start(i32 noundef %3) #2
ret i32 0
}
declare i32 @omap_32k_timer_stop(...) local_unnamed_addr #1
declare i32 @omap_32k_timer_start(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap1/extr_timer32k.c_omap_32k_timer_set_periodic.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap1/extr_timer32k.c_omap_32k_timer_set_periodic.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OMAP_32K_TIMER_TICK_PERIOD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @omap_32k_timer_set_periodic], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @omap_32k_timer_set_periodic(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @omap_32k_timer_stop() #2
%3 = load i32, ptr @OMAP_32K_TIMER_TICK_PERIOD, align 4, !tbaa !6
%4 = tail call i32 @omap_32k_timer_start(i32 noundef %3) #2
ret i32 0
}
declare i32 @omap_32k_timer_stop(...) local_unnamed_addr #1
declare i32 @omap_32k_timer_start(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_arm_mach-omap1_extr_timer32k.c_omap_32k_timer_set_periodic |
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_tsl2583.c_in_illuminance_calibrate_store.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_tsl2583.c_in_illuminance_calibrate_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @in_illuminance_calibrate_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @in_illuminance_calibrate_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #3
%7 = tail call ptr @iio_priv(ptr noundef %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = call i64 @kstrtoint(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%9 = icmp ne i64 %8, 0
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 1
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %16
13: ; preds = %4
%14 = load i32, ptr @EINVAL, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %23
16: ; preds = %4
%17 = call i32 @mutex_lock(ptr noundef %7) #3
%18 = call i32 @tsl2583_als_calibrate(ptr noundef %6) #3
%19 = icmp slt i32 %18, 0
%20 = trunc i64 %3 to i32
%21 = select i1 %19, i32 %18, i32 %20
%22 = call i32 @mutex_unlock(ptr noundef %7) #3
br label %23
23: ; preds = %16, %13
%24 = phi i32 [ %15, %13 ], [ %21, %16 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #2
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @tsl2583_als_calibrate(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_tsl2583.c_in_illuminance_calibrate_store.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_tsl2583.c_in_illuminance_calibrate_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @in_illuminance_calibrate_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @in_illuminance_calibrate_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #3
%7 = tail call ptr @iio_priv(ptr noundef %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = call i64 @kstrtoint(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%9 = icmp ne i64 %8, 0
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 1
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %16
13: ; preds = %4
%14 = load i32, ptr @EINVAL, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %23
16: ; preds = %4
%17 = call i32 @mutex_lock(ptr noundef %7) #3
%18 = call i32 @tsl2583_als_calibrate(ptr noundef %6) #3
%19 = icmp slt i32 %18, 0
%20 = trunc i64 %3 to i32
%21 = select i1 %19, i32 %18, i32 %20
%22 = call i32 @mutex_unlock(ptr noundef %7) #3
br label %23
23: ; preds = %16, %13
%24 = phi i32 [ %15, %13 ], [ %21, %16 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #2
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @tsl2583_als_calibrate(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_iio_light_extr_tsl2583.c_in_illuminance_calibrate_store |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_parser.c_make_parameter_declarator.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_parser.c_make_parameter_declarator.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, ptr, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local ptr @make_parameter_declarator(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @alloc_declarator(i32 noundef 32) #2
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4
store ptr null, ptr %6, align 8, !tbaa !5
%7 = icmp eq ptr %0, null
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3
store i32 %9, ptr %10, align 8, !tbaa !12
br label %14
11: ; preds = %3
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3
%13 = tail call i32 @clear_decl_specs(ptr noundef nonnull %12) #2
br label %14
14: ; preds = %11, %8
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2
store ptr %1, ptr %15, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
store i32 %2, ptr %16, align 4, !tbaa !14
store i32 0, ptr %5, align 8, !tbaa !15
ret ptr %5
}
declare i64 @alloc_declarator(i32 noundef) local_unnamed_addr #1
declare i32 @clear_decl_specs(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 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_parser.c_make_parameter_declarator.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_parser.c_make_parameter_declarator.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @make_parameter_declarator(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @alloc_declarator(i32 noundef 32) #2
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds i8, ptr %5, i64 24
store ptr null, ptr %6, align 8, !tbaa !6
%7 = icmp eq ptr %0, null
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !12
%10 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %9, ptr %10, align 8, !tbaa !13
br label %14
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %5, i64 16
%13 = tail call i32 @clear_decl_specs(ptr noundef nonnull %12) #2
br label %14
14: ; preds = %11, %8
%15 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %1, ptr %15, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %2, ptr %16, align 4, !tbaa !15
store i32 0, ptr %5, align 8, !tbaa !16
ret ptr %5
}
declare i64 @alloc_declarator(i32 noundef) local_unnamed_addr #1
declare i32 @clear_decl_specs(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 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !8, i64 0}
| freebsd_contrib_gcc_cp_extr_parser.c_make_parameter_declarator |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_block_dev.c_bdev_destroy_inode.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_block_dev.c_bdev_destroy_inode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bdev_cachep = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bdev_destroy_inode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bdev_destroy_inode(ptr noundef %0) #0 {
%2 = tail call ptr @BDEV_I(ptr noundef %0) #2
%3 = load i32, ptr @bdev_cachep, align 4, !tbaa !5
%4 = tail call i32 @kmem_cache_free(i32 noundef %3, ptr noundef %2) #2
ret void
}
declare ptr @BDEV_I(ptr noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_block_dev.c_bdev_destroy_inode.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_block_dev.c_bdev_destroy_inode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bdev_cachep = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bdev_destroy_inode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bdev_destroy_inode(ptr noundef %0) #0 {
%2 = tail call ptr @BDEV_I(ptr noundef %0) #2
%3 = load i32, ptr @bdev_cachep, align 4, !tbaa !6
%4 = tail call i32 @kmem_cache_free(i32 noundef %3, ptr noundef %2) #2
ret void
}
declare ptr @BDEV_I(ptr noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_extr_block_dev.c_bdev_destroy_inode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_set_led_indication.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_set_led_indication.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M5602_XB_GPIO_DAT = dso_local local_unnamed_addr global i32 0, align 4
@S5K83A_GPIO_LED_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s5k83a_set_led_indication], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5k83a_set_led_indication(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [1 x i32], align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @M5602_XB_GPIO_DAT, align 4, !tbaa !5
%5 = call i32 @m5602_read_bridge(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %3) #3
%6 = icmp slt i32 %5, 0
br i1 %6, label %17, label %7
7: ; preds = %2
%8 = icmp eq i32 %1, 0
%9 = load i32, ptr %3, align 4, !tbaa !5
%10 = load i32, ptr @S5K83A_GPIO_LED_MASK, align 4, !tbaa !5
%11 = xor i32 %10, -1
%12 = and i32 %9, %11
%13 = or i32 %10, %9
%14 = select i1 %8, i32 %12, i32 %13
store i32 %14, ptr %3, align 4, !tbaa !5
%15 = load i32, ptr @M5602_XB_GPIO_DAT, align 4, !tbaa !5
%16 = call i32 @m5602_write_bridge(ptr noundef %0, i32 noundef %15, i32 noundef %14) #3
br label %17
17: ; preds = %2, %7
%18 = phi i32 [ %16, %7 ], [ %5, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @m5602_read_bridge(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @m5602_write_bridge(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/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_set_led_indication.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_set_led_indication.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M5602_XB_GPIO_DAT = common local_unnamed_addr global i32 0, align 4
@S5K83A_GPIO_LED_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s5k83a_set_led_indication], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5k83a_set_led_indication(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [1 x i32], align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @M5602_XB_GPIO_DAT, align 4, !tbaa !6
%5 = call i32 @m5602_read_bridge(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %3) #3
%6 = icmp slt i32 %5, 0
br i1 %6, label %17, label %7
7: ; preds = %2
%8 = icmp eq i32 %1, 0
%9 = load i32, ptr %3, align 4, !tbaa !6
%10 = load i32, ptr @S5K83A_GPIO_LED_MASK, align 4, !tbaa !6
%11 = xor i32 %10, -1
%12 = and i32 %9, %11
%13 = or i32 %10, %9
%14 = select i1 %8, i32 %12, i32 %13
store i32 %14, ptr %3, align 4, !tbaa !6
%15 = load i32, ptr @M5602_XB_GPIO_DAT, align 4, !tbaa !6
%16 = call i32 @m5602_write_bridge(ptr noundef %0, i32 noundef %15, i32 noundef %14) #3
br label %17
17: ; preds = %2, %7
%18 = phi i32 [ %16, %7 ], [ %5, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @m5602_read_bridge(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @m5602_write_bridge(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"}
| fastsocket_kernel_drivers_media_video_gspca_m5602_extr_m5602_s5k83a.c_s5k83a_set_led_indication |
; ModuleID = 'AnghaBench/jemalloc/src/extr_extent.c_extents_dalloc.c'
source_filename = "AnghaBench/jemalloc/src/extr_extent.c_extents_dalloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WITNESS_RANK_CORE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @extents_dalloc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call ptr @extent_base_get(ptr noundef %4) #2
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = tail call i64 @extent_size_get(ptr noundef %4) #2
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
%14 = tail call i32 @extent_dumpable_get(ptr noundef %4) #2
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = tail call i32 @tsdn_witness_tsdp_get(ptr noundef %0) #2
%17 = load i32, ptr @WITNESS_RANK_CORE, align 4, !tbaa !5
%18 = tail call i32 @witness_assert_depth_to_rank(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2
%19 = tail call ptr @extent_base_get(ptr noundef %4) #2
%20 = tail call i32 @extent_addr_set(ptr noundef %4, ptr noundef %19) #2
%21 = tail call i32 @extent_zeroed_set(ptr noundef %4, i32 noundef 0) #2
%22 = tail call i32 @extent_record(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @extent_base_get(ptr noundef) local_unnamed_addr #1
declare i64 @extent_size_get(ptr noundef) local_unnamed_addr #1
declare i32 @extent_dumpable_get(ptr noundef) local_unnamed_addr #1
declare i32 @witness_assert_depth_to_rank(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsdn_witness_tsdp_get(ptr noundef) local_unnamed_addr #1
declare i32 @extent_addr_set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @extent_zeroed_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @extent_record(ptr noundef, ptr noundef, ptr noundef, 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/jemalloc/src/extr_extent.c_extents_dalloc.c'
source_filename = "AnghaBench/jemalloc/src/extr_extent.c_extents_dalloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WITNESS_RANK_CORE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @extents_dalloc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call ptr @extent_base_get(ptr noundef %4) #2
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = tail call i64 @extent_size_get(ptr noundef %4) #2
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
%14 = tail call i32 @extent_dumpable_get(ptr noundef %4) #2
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = tail call i32 @tsdn_witness_tsdp_get(ptr noundef %0) #2
%17 = load i32, ptr @WITNESS_RANK_CORE, align 4, !tbaa !6
%18 = tail call i32 @witness_assert_depth_to_rank(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2
%19 = tail call ptr @extent_base_get(ptr noundef %4) #2
%20 = tail call i32 @extent_addr_set(ptr noundef %4, ptr noundef %19) #2
%21 = tail call i32 @extent_zeroed_set(ptr noundef %4, i32 noundef 0) #2
%22 = tail call i32 @extent_record(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @extent_base_get(ptr noundef) local_unnamed_addr #1
declare i64 @extent_size_get(ptr noundef) local_unnamed_addr #1
declare i32 @extent_dumpable_get(ptr noundef) local_unnamed_addr #1
declare i32 @witness_assert_depth_to_rank(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsdn_witness_tsdp_get(ptr noundef) local_unnamed_addr #1
declare i32 @extent_addr_set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @extent_zeroed_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @extent_record(ptr noundef, ptr noundef, ptr noundef, 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| jemalloc_src_extr_extent.c_extents_dalloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_sch_netem.c_get_reorder.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_sch_netem.c_get_reorder.c"
target datalayout = "e-m:e-p270:32:32-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.tc_netem_reorder = type { i32, i32 }
%struct.netem_sched_data = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_reorder], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @get_reorder(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @qdisc_priv(ptr noundef %0) #2
%4 = tail call ptr @nla_data(ptr noundef %1) #2
%5 = getelementptr inbounds %struct.tc_netem_reorder, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.netem_sched_data, ptr %3, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !10
%8 = load i32, ptr %4, align 4, !tbaa !12
%9 = tail call i32 @init_crandom(ptr noundef %3, i32 noundef %8) #2
ret void
}
declare ptr @qdisc_priv(ptr noundef) local_unnamed_addr #1
declare ptr @nla_data(ptr noundef) local_unnamed_addr #1
declare i32 @init_crandom(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 4}
!6 = !{!"tc_netem_reorder", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"netem_sched_data", !7, i64 0, !7, i64 4}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_sch_netem.c_get_reorder.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_sch_netem.c_get_reorder.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 @get_reorder], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @get_reorder(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @qdisc_priv(ptr noundef %0) #2
%4 = tail call ptr @nla_data(ptr noundef %1) #2
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %6, ptr %7, align 4, !tbaa !11
%8 = load i32, ptr %4, align 4, !tbaa !13
%9 = tail call i32 @init_crandom(ptr noundef %3, i32 noundef %8) #2
ret void
}
declare ptr @qdisc_priv(ptr noundef) local_unnamed_addr #1
declare ptr @nla_data(ptr noundef) local_unnamed_addr #1
declare i32 @init_crandom(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 4}
!7 = !{!"tc_netem_reorder", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 4}
!12 = !{!"netem_sched_data", !8, i64 0, !8, i64 4}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_net_sched_extr_sch_netem.c_get_reorder |
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_nsnames.c_acpi_ns_build_normalized_path.c'
source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_nsnames.c_acpi_ns_build_normalized_path.c"
target datalayout = "e-m:e-p270:32:32-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.acpi_namespace_node = type { ptr, i32 }
@ACPI_NAMESEG_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ns_build_normalized_path = dso_local local_unnamed_addr global i32 0, align 4
@acpi_gbl_root_node = dso_local local_unnamed_addr global ptr null, align 8
@AML_DUAL_NAME_PREFIX = dso_local local_unnamed_addr global i8 0, align 1
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@AML_ROOT_PREFIX = dso_local local_unnamed_addr global i8 0, align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @acpi_ns_build_normalized_path(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @ACPI_NAMESEG_SIZE, align 4, !tbaa !5
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 16
%8 = load i32, ptr @ns_build_normalized_path, align 4, !tbaa !5
%9 = tail call i32 @ACPI_FUNCTION_TRACE_PTR(i32 noundef %8, ptr noundef %0) #2
%10 = icmp eq ptr %1, null
%11 = select i1 %10, i32 0, i32 %2
%12 = icmp eq ptr %0, null
br i1 %12, label %133, label %13
13: ; preds = %4
%14 = load ptr, ptr @acpi_gbl_root_node, align 8
%15 = icmp eq ptr %14, %0
br i1 %15, label %111, label %16
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %7, i64 3
%18 = icmp ne i64 %3, 0
%19 = getelementptr inbounds i8, ptr %7, i64 2
%20 = getelementptr inbounds i8, ptr %7, i64 1
br label %21
21: ; preds = %16, %104
%22 = phi ptr [ %106, %104 ], [ %0, %16 ]
%23 = phi i32 [ %105, %104 ], [ 0, %16 ]
%24 = icmp eq ptr %22, %0
br i1 %24, label %33, label %25
25: ; preds = %21
%26 = icmp slt i32 %23, %11
br i1 %26, label %27, label %31
27: ; preds = %25
%28 = load i8, ptr @AML_DUAL_NAME_PREFIX, align 1, !tbaa !9
%29 = sext i32 %23 to i64
%30 = getelementptr inbounds i8, ptr %1, i64 %29
store i8 %28, ptr %30, align 1, !tbaa !9
br label %31
31: ; preds = %27, %25
%32 = add nsw i32 %23, 1
br label %33
33: ; preds = %31, %21
%34 = phi i32 [ %32, %31 ], [ %23, %21 ]
%35 = getelementptr inbounds %struct.acpi_namespace_node, ptr %22, i64 0, i32 1
%36 = call i32 @ACPI_MOVE_32_TO_32(ptr noundef nonnull %7, ptr noundef nonnull %35) #2
%37 = load i8, ptr %17, align 1, !tbaa !9
%38 = icmp ne i8 %37, 95
%39 = select i1 %18, i1 %38, i1 false
%40 = load i64, ptr @FALSE, align 8
%41 = select i1 %39, i64 %40, i64 %3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %33
%44 = icmp slt i32 %34, %11
br i1 %44, label %45, label %49
45: ; preds = %43
%46 = sext i32 %34 to i64
%47 = getelementptr inbounds i8, ptr %1, i64 %46
store i8 %37, ptr %47, align 1, !tbaa !9
%48 = load i64, ptr @FALSE, align 8
br label %49
49: ; preds = %45, %43
%50 = phi i64 [ %48, %45 ], [ %40, %43 ]
%51 = add nsw i32 %34, 1
br label %52
52: ; preds = %33, %49
%53 = phi i64 [ %40, %33 ], [ %50, %49 ]
%54 = phi i32 [ %34, %33 ], [ %51, %49 ]
%55 = load i8, ptr %19, align 2, !tbaa !9
%56 = icmp ne i64 %41, 0
%57 = icmp ne i8 %55, 95
%58 = select i1 %56, i1 %57, i1 false
%59 = select i1 %58, i64 %53, i64 %41
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %70
61: ; preds = %52
%62 = icmp slt i32 %54, %11
br i1 %62, label %63, label %67
63: ; preds = %61
%64 = sext i32 %54 to i64
%65 = getelementptr inbounds i8, ptr %1, i64 %64
store i8 %55, ptr %65, align 1, !tbaa !9
%66 = load i64, ptr @FALSE, align 8
br label %67
67: ; preds = %63, %61
%68 = phi i64 [ %66, %63 ], [ %53, %61 ]
%69 = add nsw i32 %54, 1
br label %70
70: ; preds = %67, %52
%71 = phi i64 [ %53, %52 ], [ %68, %67 ]
%72 = phi i32 [ %54, %52 ], [ %69, %67 ]
%73 = load i8, ptr %20, align 1, !tbaa !9
%74 = icmp ne i64 %59, 0
%75 = icmp ne i8 %73, 95
%76 = select i1 %74, i1 %75, i1 false
%77 = select i1 %76, i64 %71, i64 %59
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %88
79: ; preds = %70
%80 = icmp slt i32 %72, %11
br i1 %80, label %81, label %85
81: ; preds = %79
%82 = sext i32 %72 to i64
%83 = getelementptr inbounds i8, ptr %1, i64 %82
store i8 %73, ptr %83, align 1, !tbaa !9
%84 = load i64, ptr @FALSE, align 8
br label %85
85: ; preds = %81, %79
%86 = phi i64 [ %84, %81 ], [ %71, %79 ]
%87 = add nsw i32 %72, 1
br label %88
88: ; preds = %85, %70
%89 = phi i64 [ %71, %70 ], [ %86, %85 ]
%90 = phi i32 [ %72, %70 ], [ %87, %85 ]
%91 = load i8, ptr %7, align 16, !tbaa !9
%92 = icmp ne i64 %77, 0
%93 = icmp ne i8 %91, 95
%94 = select i1 %92, i1 %93, i1 false
%95 = select i1 %94, i64 %89, i64 %77
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %104
97: ; preds = %88
%98 = icmp slt i32 %90, %11
br i1 %98, label %99, label %102
99: ; preds = %97
%100 = sext i32 %90 to i64
%101 = getelementptr inbounds i8, ptr %1, i64 %100
store i8 %91, ptr %101, align 1, !tbaa !9
br label %102
102: ; preds = %99, %97
%103 = add nsw i32 %90, 1
br label %104
104: ; preds = %102, %88
%105 = phi i32 [ %90, %88 ], [ %103, %102 ]
%106 = load ptr, ptr %22, align 8, !tbaa !10
%107 = icmp ne ptr %106, null
%108 = load ptr, ptr @acpi_gbl_root_node, align 8
%109 = icmp ne ptr %106, %108
%110 = select i1 %107, i1 %109, i1 false
br i1 %110, label %21, label %111, !llvm.loop !13
111: ; preds = %104, %13
%112 = phi i32 [ 0, %13 ], [ %105, %104 ]
%113 = icmp slt i32 %112, %11
br i1 %113, label %116, label %114
114: ; preds = %111
%115 = add nsw i32 %112, 1
br label %133
116: ; preds = %111
%117 = load i8, ptr @AML_ROOT_PREFIX, align 1, !tbaa !9
%118 = sext i32 %112 to i64
%119 = getelementptr inbounds i8, ptr %1, i64 %118
store i8 %117, ptr %119, align 1, !tbaa !9
%120 = add nsw i32 %112, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %1, i64 %121
%123 = getelementptr inbounds i8, ptr %122, i64 -1
%124 = icmp ugt ptr %123, %1
br i1 %124, label %125, label %133
125: ; preds = %116, %125
%126 = phi ptr [ %131, %125 ], [ %123, %116 ]
%127 = phi ptr [ %130, %125 ], [ %1, %116 ]
%128 = load i8, ptr %127, align 1, !tbaa !9
%129 = load i8, ptr %126, align 1, !tbaa !9
%130 = getelementptr inbounds i8, ptr %127, i64 1
store i8 %129, ptr %127, align 1, !tbaa !9
store i8 %128, ptr %126, align 1, !tbaa !9
%131 = getelementptr inbounds i8, ptr %126, i64 -1
%132 = icmp ult ptr %130, %131
br i1 %132, label %125, label %133, !llvm.loop !15
133: ; preds = %125, %116, %114, %4
%134 = phi i32 [ %115, %114 ], [ 0, %4 ], [ %120, %116 ], [ %120, %125 ]
%135 = icmp slt i32 %134, %11
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = sext i32 %134 to i64
%138 = getelementptr inbounds i8, ptr %1, i64 %137
store i8 0, ptr %138, align 1, !tbaa !9
br label %139
139: ; preds = %136, %133
%140 = add nsw i32 %134, 1
%141 = call i32 @return_UINT32(i32 noundef %140) #2
ret i32 undef
}
declare i32 @ACPI_FUNCTION_TRACE_PTR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_MOVE_32_TO_32(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @return_UINT32(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 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 0}
!11 = !{!"acpi_namespace_node", !12, i64 0, !6, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| ; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_nsnames.c_acpi_ns_build_normalized_path.c'
source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_nsnames.c_acpi_ns_build_normalized_path.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_NAMESEG_SIZE = common local_unnamed_addr global i32 0, align 4
@ns_build_normalized_path = common local_unnamed_addr global i32 0, align 4
@acpi_gbl_root_node = common local_unnamed_addr global ptr null, align 8
@AML_DUAL_NAME_PREFIX = common local_unnamed_addr global i8 0, align 1
@FALSE = common local_unnamed_addr global i64 0, align 8
@AML_ROOT_PREFIX = common local_unnamed_addr global i8 0, align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @acpi_ns_build_normalized_path(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @ACPI_NAMESEG_SIZE, align 4, !tbaa !6
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 1
%8 = load i32, ptr @ns_build_normalized_path, align 4, !tbaa !6
%9 = tail call i32 @ACPI_FUNCTION_TRACE_PTR(i32 noundef %8, ptr noundef %0) #2
%10 = icmp eq ptr %1, null
%11 = select i1 %10, i32 0, i32 %2
%12 = icmp eq ptr %0, null
br i1 %12, label %133, label %13
13: ; preds = %4
%14 = load ptr, ptr @acpi_gbl_root_node, align 8
%15 = icmp eq ptr %14, %0
br i1 %15, label %111, label %16
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %7, i64 3
%18 = icmp ne i64 %3, 0
%19 = getelementptr inbounds i8, ptr %7, i64 2
%20 = getelementptr inbounds i8, ptr %7, i64 1
br label %21
21: ; preds = %16, %104
%22 = phi ptr [ %106, %104 ], [ %0, %16 ]
%23 = phi i32 [ %105, %104 ], [ 0, %16 ]
%24 = icmp eq ptr %22, %0
br i1 %24, label %33, label %25
25: ; preds = %21
%26 = icmp slt i32 %23, %11
br i1 %26, label %27, label %31
27: ; preds = %25
%28 = load i8, ptr @AML_DUAL_NAME_PREFIX, align 1, !tbaa !10
%29 = sext i32 %23 to i64
%30 = getelementptr inbounds i8, ptr %1, i64 %29
store i8 %28, ptr %30, align 1, !tbaa !10
br label %31
31: ; preds = %27, %25
%32 = add nsw i32 %23, 1
br label %33
33: ; preds = %31, %21
%34 = phi i32 [ %32, %31 ], [ %23, %21 ]
%35 = getelementptr inbounds i8, ptr %22, i64 8
%36 = call i32 @ACPI_MOVE_32_TO_32(ptr noundef nonnull %7, ptr noundef nonnull %35) #2
%37 = load i8, ptr %17, align 1, !tbaa !10
%38 = icmp ne i8 %37, 95
%39 = select i1 %18, i1 %38, i1 false
%40 = load i64, ptr @FALSE, align 8
%41 = select i1 %39, i64 %40, i64 %3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %33
%44 = icmp slt i32 %34, %11
br i1 %44, label %45, label %49
45: ; preds = %43
%46 = sext i32 %34 to i64
%47 = getelementptr inbounds i8, ptr %1, i64 %46
store i8 %37, ptr %47, align 1, !tbaa !10
%48 = load i64, ptr @FALSE, align 8
br label %49
49: ; preds = %45, %43
%50 = phi i64 [ %48, %45 ], [ %40, %43 ]
%51 = add nsw i32 %34, 1
br label %52
52: ; preds = %33, %49
%53 = phi i64 [ %40, %33 ], [ %50, %49 ]
%54 = phi i32 [ %34, %33 ], [ %51, %49 ]
%55 = load i8, ptr %19, align 1, !tbaa !10
%56 = icmp ne i64 %41, 0
%57 = icmp ne i8 %55, 95
%58 = select i1 %56, i1 %57, i1 false
%59 = select i1 %58, i64 %53, i64 %41
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %70
61: ; preds = %52
%62 = icmp slt i32 %54, %11
br i1 %62, label %63, label %67
63: ; preds = %61
%64 = sext i32 %54 to i64
%65 = getelementptr inbounds i8, ptr %1, i64 %64
store i8 %55, ptr %65, align 1, !tbaa !10
%66 = load i64, ptr @FALSE, align 8
br label %67
67: ; preds = %63, %61
%68 = phi i64 [ %66, %63 ], [ %53, %61 ]
%69 = add nsw i32 %54, 1
br label %70
70: ; preds = %67, %52
%71 = phi i64 [ %53, %52 ], [ %68, %67 ]
%72 = phi i32 [ %54, %52 ], [ %69, %67 ]
%73 = load i8, ptr %20, align 1, !tbaa !10
%74 = icmp ne i64 %59, 0
%75 = icmp ne i8 %73, 95
%76 = select i1 %74, i1 %75, i1 false
%77 = select i1 %76, i64 %71, i64 %59
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %88
79: ; preds = %70
%80 = icmp slt i32 %72, %11
br i1 %80, label %81, label %85
81: ; preds = %79
%82 = sext i32 %72 to i64
%83 = getelementptr inbounds i8, ptr %1, i64 %82
store i8 %73, ptr %83, align 1, !tbaa !10
%84 = load i64, ptr @FALSE, align 8
br label %85
85: ; preds = %81, %79
%86 = phi i64 [ %84, %81 ], [ %71, %79 ]
%87 = add nsw i32 %72, 1
br label %88
88: ; preds = %85, %70
%89 = phi i64 [ %71, %70 ], [ %86, %85 ]
%90 = phi i32 [ %72, %70 ], [ %87, %85 ]
%91 = load i8, ptr %7, align 1, !tbaa !10
%92 = icmp ne i64 %77, 0
%93 = icmp ne i8 %91, 95
%94 = select i1 %92, i1 %93, i1 false
%95 = select i1 %94, i64 %89, i64 %77
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %104
97: ; preds = %88
%98 = icmp slt i32 %90, %11
br i1 %98, label %99, label %102
99: ; preds = %97
%100 = sext i32 %90 to i64
%101 = getelementptr inbounds i8, ptr %1, i64 %100
store i8 %91, ptr %101, align 1, !tbaa !10
br label %102
102: ; preds = %99, %97
%103 = add nsw i32 %90, 1
br label %104
104: ; preds = %102, %88
%105 = phi i32 [ %90, %88 ], [ %103, %102 ]
%106 = load ptr, ptr %22, align 8, !tbaa !11
%107 = icmp ne ptr %106, null
%108 = load ptr, ptr @acpi_gbl_root_node, align 8
%109 = icmp ne ptr %106, %108
%110 = select i1 %107, i1 %109, i1 false
br i1 %110, label %21, label %111, !llvm.loop !14
111: ; preds = %104, %13
%112 = phi i32 [ 0, %13 ], [ %105, %104 ]
%113 = icmp slt i32 %112, %11
br i1 %113, label %116, label %114
114: ; preds = %111
%115 = add nsw i32 %112, 1
br label %133
116: ; preds = %111
%117 = load i8, ptr @AML_ROOT_PREFIX, align 1, !tbaa !10
%118 = sext i32 %112 to i64
%119 = getelementptr inbounds i8, ptr %1, i64 %118
store i8 %117, ptr %119, align 1, !tbaa !10
%120 = add nsw i32 %112, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %1, i64 %121
%123 = getelementptr inbounds i8, ptr %122, i64 -1
%124 = icmp ugt ptr %123, %1
br i1 %124, label %125, label %133
125: ; preds = %116, %125
%126 = phi ptr [ %131, %125 ], [ %123, %116 ]
%127 = phi ptr [ %130, %125 ], [ %1, %116 ]
%128 = load i8, ptr %127, align 1, !tbaa !10
%129 = load i8, ptr %126, align 1, !tbaa !10
%130 = getelementptr inbounds i8, ptr %127, i64 1
store i8 %129, ptr %127, align 1, !tbaa !10
store i8 %128, ptr %126, align 1, !tbaa !10
%131 = getelementptr inbounds i8, ptr %126, i64 -1
%132 = icmp ult ptr %130, %131
br i1 %132, label %125, label %133, !llvm.loop !16
133: ; preds = %125, %116, %114, %4
%134 = phi i32 [ %115, %114 ], [ 0, %4 ], [ %120, %116 ], [ %120, %125 ]
%135 = icmp slt i32 %134, %11
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = sext i32 %134 to i64
%138 = getelementptr inbounds i8, ptr %1, i64 %137
store i8 0, ptr %138, align 1, !tbaa !10
br label %139
139: ; preds = %136, %133
%140 = add nsw i32 %134, 1
%141 = call i32 @return_UINT32(i32 noundef %140) #2
ret i32 undef
}
declare i32 @ACPI_FUNCTION_TRACE_PTR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_MOVE_32_TO_32(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @return_UINT32(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 = !{!8, !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"acpi_namespace_node", !13, i64 0, !7, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| linux_drivers_acpi_acpica_extr_nsnames.c_acpi_ns_build_normalized_path |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_free.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @mmal_ports_clock_free(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = zext i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %11, %6 ]
%8 = getelementptr inbounds ptr, ptr %0, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = tail call i32 @mmal_port_clock_free(ptr noundef %9) #2
%11 = add nuw nsw i64 %7, 1
%12 = icmp eq i64 %11, %5
br i1 %12, label %13, label %6, !llvm.loop !9
13: ; preds = %6, %2
%14 = tail call i32 @vcos_free(ptr noundef %0) #2
ret void
}
declare i32 @mmal_port_clock_free(ptr noundef) local_unnamed_addr #1
declare i32 @vcos_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_free.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_free.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 @mmal_ports_clock_free(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = zext i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %11, %6 ]
%8 = getelementptr inbounds ptr, ptr %0, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = tail call i32 @mmal_port_clock_free(ptr noundef %9) #2
%11 = add nuw nsw i64 %7, 1
%12 = icmp eq i64 %11, %5
br i1 %12, label %13, label %6, !llvm.loop !10
13: ; preds = %6, %2
%14 = tail call i32 @vcos_free(ptr noundef %0) #2
ret void
}
declare i32 @mmal_port_clock_free(ptr noundef) local_unnamed_addr #1
declare i32 @vcos_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| RetroArch_gfx_include_userland_interface_mmal_core_extr_mmal_port_clock.c_mmal_ports_clock_free |
; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_get_secs.c'
source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_get_secs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PBLK_EXPOSED_PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pblk_get_secs], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @pblk_get_secs(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @PBLK_EXPOSED_PAGE_SIZE, align 4, !tbaa !11
%4 = udiv i32 %2, %3
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"bio", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_get_secs.c'
source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_get_secs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PBLK_EXPOSED_PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pblk_get_secs], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @pblk_get_secs(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @PBLK_EXPOSED_PAGE_SIZE, align 4, !tbaa !12
%4 = udiv i32 %2, %3
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"bio", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| linux_drivers_lightnvm_extr_pblk.h_pblk_get_secs |
; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_variable.c_csym_i.c'
source_filename = "AnghaBench/h2o/deps/mruby/src/extr_variable.c_csym_i.c"
target datalayout = "e-m:e-p270:32:32-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.csym_arg = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @csym_i], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @csym_i(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds %struct.csym_arg, ptr %3, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i64 @mrb_type(i32 noundef %2) #2
%8 = load i64, ptr %6, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %4
%11 = tail call ptr @mrb_class_ptr(i32 noundef %2) #2
%12 = icmp eq ptr %11, %6
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 %1, ptr %3, align 8, !tbaa !14
br label %14
14: ; preds = %4, %10, %13
%15 = phi i32 [ 1, %13 ], [ 0, %10 ], [ 0, %4 ]
ret i32 %15
}
declare i64 @mrb_type(i32 noundef) local_unnamed_addr #1
declare ptr @mrb_class_ptr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"csym_arg", !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 0}
!12 = !{!"RClass", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_variable.c_csym_i.c'
source_filename = "AnghaBench/h2o/deps/mruby/src/extr_variable.c_csym_i.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 @csym_i], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @csym_i(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i64 @mrb_type(i32 noundef %2) #2
%8 = load i64, ptr %6, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %4
%11 = tail call ptr @mrb_class_ptr(i32 noundef %2) #2
%12 = icmp eq ptr %11, %6
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 %1, ptr %3, align 8, !tbaa !15
br label %14
14: ; preds = %4, %10, %13
%15 = phi i32 [ 1, %13 ], [ 0, %10 ], [ 0, %4 ]
ret i32 %15
}
declare i64 @mrb_type(i32 noundef) local_unnamed_addr #1
declare ptr @mrb_class_ptr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"csym_arg", !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 0}
!13 = !{!"RClass", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
| h2o_deps_mruby_src_extr_variable.c_csym_i |
; ModuleID = 'AnghaBench/freebsd/sbin/restore/extr_symtab.c_freename.c'
source_filename = "AnghaBench/freebsd/sbin/restore/extr_symtab.c_freename.c"
target datalayout = "e-m:e-p270:32:32-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.strhdr = type { ptr }
@strtblhdr = dso_local local_unnamed_addr global ptr null, align 8
@STRTBLINCR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @freename(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @strtblhdr, align 8, !tbaa !5
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%4 = load i64, ptr @STRTBLINCR, align 8, !tbaa !9
%5 = udiv i64 %3, %4
%6 = getelementptr inbounds %struct.strhdr, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !11
store ptr %7, ptr %0, align 8, !tbaa !11
store ptr %0, ptr %6, align 8, !tbaa !11
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"strhdr", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sbin/restore/extr_symtab.c_freename.c'
source_filename = "AnghaBench/freebsd/sbin/restore/extr_symtab.c_freename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strhdr = type { ptr }
@strtblhdr = common local_unnamed_addr global ptr null, align 8
@STRTBLINCR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @freename(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @strtblhdr, align 8, !tbaa !6
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%4 = load i64, ptr @STRTBLINCR, align 8, !tbaa !10
%5 = udiv i64 %3, %4
%6 = getelementptr inbounds %struct.strhdr, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !12
store ptr %7, ptr %0, align 8, !tbaa !12
store ptr %0, ptr %6, align 8, !tbaa !12
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"strhdr", !7, i64 0}
| freebsd_sbin_restore_extr_symtab.c_freename |
; ModuleID = 'AnghaBench/linux/drivers/w1/slaves/extr_w1_ds2408.c_optional_read_back_valid.c'
source_filename = "AnghaBench/linux/drivers/w1/slaves/extr_w1_ds2408.c_optional_read_back_valid.c"
target datalayout = "e-m:e-p270:32:32-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 @optional_read_back_valid], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @optional_read_back_valid(ptr nocapture readnone %0, i32 %1) #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/w1/slaves/extr_w1_ds2408.c_optional_read_back_valid.c'
source_filename = "AnghaBench/linux/drivers/w1/slaves/extr_w1_ds2408.c_optional_read_back_valid.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 @optional_read_back_valid], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @optional_read_back_valid(ptr nocapture readnone %0, i32 %1) #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_w1_slaves_extr_w1_ds2408.c_optional_read_back_valid |
; ModuleID = 'AnghaBench/linux/net/core/extr_flow_dissector.c___skb_flow_bpf_to_target.c'
source_filename = "AnghaBench/linux/net/core/extr_flow_dissector.c___skb_flow_bpf_to_target.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bpf_flow_keys = type { i64, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i32 }
%struct.flow_dissector_key_control = type { ptr, i32, i32 }
%struct.flow_dissector_key_addrs = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@FLOW_DISSECTOR_KEY_CONTROL = dso_local local_unnamed_addr global ptr null, align 8
@FLOW_DIS_IS_FRAGMENT = dso_local local_unnamed_addr global i32 0, align 4
@FLOW_DIS_FIRST_FRAG = dso_local local_unnamed_addr global i32 0, align 4
@FLOW_DIS_ENCAPSULATION = dso_local local_unnamed_addr global i32 0, align 4
@FLOW_DISSECTOR_KEY_BASIC = dso_local local_unnamed_addr global ptr null, align 8
@ETH_P_IP = dso_local local_unnamed_addr global i64 0, align 8
@FLOW_DISSECTOR_KEY_IPV4_ADDRS = dso_local local_unnamed_addr global ptr null, align 8
@ETH_P_IPV6 = dso_local local_unnamed_addr global i64 0, align 8
@FLOW_DISSECTOR_KEY_IPV6_ADDRS = dso_local local_unnamed_addr global ptr null, align 8
@FLOW_DISSECTOR_KEY_PORTS = dso_local local_unnamed_addr global ptr null, align 8
@FLOW_DISSECTOR_KEY_FLOW_LABEL = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @__skb_flow_bpf_to_target], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__skb_flow_bpf_to_target(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @FLOW_DISSECTOR_KEY_CONTROL, align 8, !tbaa !5
%5 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %4, ptr noundef %2) #3
%6 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 12
%7 = load i32, ptr %6, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.flow_dissector_key_control, ptr %5, i64 0, i32 2
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 11
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = icmp eq i64 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %3
%13 = load i32, ptr @FLOW_DIS_IS_FRAGMENT, align 4, !tbaa !16
%14 = getelementptr inbounds %struct.flow_dissector_key_control, ptr %5, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 8, !tbaa !17
br label %17
17: ; preds = %12, %3
%18 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 10
%19 = load i64, ptr %18, align 8, !tbaa !18
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load i32, ptr @FLOW_DIS_FIRST_FRAG, align 4, !tbaa !16
%23 = getelementptr inbounds %struct.flow_dissector_key_control, ptr %5, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = or i32 %24, %22
store i32 %25, ptr %23, align 8, !tbaa !17
br label %26
26: ; preds = %21, %17
%27 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 9
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = icmp eq i64 %28, 0
br i1 %29, label %35, label %30
30: ; preds = %26
%31 = load i32, ptr @FLOW_DIS_ENCAPSULATION, align 4, !tbaa !16
%32 = getelementptr inbounds %struct.flow_dissector_key_control, ptr %5, i64 0, i32 1
%33 = load i32, ptr %32, align 8, !tbaa !17
%34 = or i32 %33, %31
store i32 %34, ptr %32, align 8, !tbaa !17
br label %35
35: ; preds = %30, %26
%36 = load ptr, ptr @FLOW_DISSECTOR_KEY_BASIC, align 8, !tbaa !5
%37 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %36, ptr noundef %2) #3
%38 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 7
%39 = load <2 x i32>, ptr %38, align 8, !tbaa !16
store <2 x i32> %39, ptr %37, align 4, !tbaa !16
%40 = load i64, ptr %0, align 8, !tbaa !20
%41 = load i64, ptr @ETH_P_IP, align 8, !tbaa !21
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %35
%44 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV4_ADDRS, align 8, !tbaa !5
%45 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %44) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i64, ptr %0, align 8, !tbaa !20
br label %55
49: ; preds = %43
%50 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV4_ADDRS, align 8, !tbaa !5
%51 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %50, ptr noundef %2) #3
%52 = getelementptr inbounds %struct.flow_dissector_key_addrs, ptr %51, i64 0, i32 1
%53 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 5
%54 = load <2 x i32>, ptr %53, align 8, !tbaa !16
store <2 x i32> %54, ptr %52, align 4, !tbaa !16
br label %68
55: ; preds = %47, %35
%56 = phi i64 [ %48, %47 ], [ %40, %35 ]
%57 = load i64, ptr @ETH_P_IPV6, align 8, !tbaa !21
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %71
59: ; preds = %55
%60 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV6_ADDRS, align 8, !tbaa !5
%61 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %60) #3
%62 = icmp eq i64 %61, 0
br i1 %62, label %71, label %63
63: ; preds = %59
%64 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV6_ADDRS, align 8, !tbaa !5
%65 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %64, ptr noundef %2) #3
%66 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 4
%67 = tail call i32 @memcpy(ptr noundef %65, ptr noundef nonnull %66, i32 noundef 4) #3
br label %68
68: ; preds = %49, %63
%69 = phi ptr [ @FLOW_DISSECTOR_KEY_IPV6_ADDRS, %63 ], [ @FLOW_DISSECTOR_KEY_IPV4_ADDRS, %49 ]
%70 = load ptr, ptr %69, align 8, !tbaa !5
store ptr %70, ptr %5, align 8, !tbaa !22
br label %71
71: ; preds = %68, %55, %59
%72 = load ptr, ptr @FLOW_DISSECTOR_KEY_PORTS, align 8, !tbaa !5
%73 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %72) #3
%74 = icmp eq i64 %73, 0
br i1 %74, label %80, label %75
75: ; preds = %71
%76 = load ptr, ptr @FLOW_DISSECTOR_KEY_PORTS, align 8, !tbaa !5
%77 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %76, ptr noundef %2) #3
%78 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 2
%79 = load <2 x i32>, ptr %78, align 4, !tbaa !16
store <2 x i32> %79, ptr %77, align 4, !tbaa !16
br label %80
80: ; preds = %75, %71
%81 = load ptr, ptr @FLOW_DISSECTOR_KEY_FLOW_LABEL, align 8, !tbaa !5
%82 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %81) #3
%83 = icmp eq i64 %82, 0
br i1 %83, label %90, label %84
84: ; preds = %80
%85 = load ptr, ptr @FLOW_DISSECTOR_KEY_FLOW_LABEL, align 8, !tbaa !5
%86 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %85, ptr noundef %2) #3
%87 = getelementptr inbounds %struct.bpf_flow_keys, ptr %0, i64 0, i32 1
%88 = load i32, ptr %87, align 8, !tbaa !23
%89 = tail call i32 @ntohl(i32 noundef %88)
store i32 %89, ptr %86, align 4, !tbaa !24
br label %90
90: ; preds = %84, %80
ret void
}
declare ptr @skb_flow_dissector_target(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @dissector_uses_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(i32 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 = { "no-trapping-math"="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 nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !12, i64 64}
!10 = !{!"bpf_flow_keys", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 12}
!14 = !{!"flow_dissector_key_control", !6, i64 0, !12, i64 8, !12, i64 12}
!15 = !{!10, !11, i64 56}
!16 = !{!12, !12, i64 0}
!17 = !{!14, !12, i64 8}
!18 = !{!10, !11, i64 48}
!19 = !{!10, !11, i64 40}
!20 = !{!10, !11, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!14, !6, i64 0}
!23 = !{!10, !12, i64 8}
!24 = !{!25, !12, i64 0}
!25 = !{!"flow_dissector_key_tags", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_flow_dissector.c___skb_flow_bpf_to_target.c'
source_filename = "AnghaBench/linux/net/core/extr_flow_dissector.c___skb_flow_bpf_to_target.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLOW_DISSECTOR_KEY_CONTROL = common local_unnamed_addr global ptr null, align 8
@FLOW_DIS_IS_FRAGMENT = common local_unnamed_addr global i32 0, align 4
@FLOW_DIS_FIRST_FRAG = common local_unnamed_addr global i32 0, align 4
@FLOW_DIS_ENCAPSULATION = common local_unnamed_addr global i32 0, align 4
@FLOW_DISSECTOR_KEY_BASIC = common local_unnamed_addr global ptr null, align 8
@ETH_P_IP = common local_unnamed_addr global i64 0, align 8
@FLOW_DISSECTOR_KEY_IPV4_ADDRS = common local_unnamed_addr global ptr null, align 8
@ETH_P_IPV6 = common local_unnamed_addr global i64 0, align 8
@FLOW_DISSECTOR_KEY_IPV6_ADDRS = common local_unnamed_addr global ptr null, align 8
@FLOW_DISSECTOR_KEY_PORTS = common local_unnamed_addr global ptr null, align 8
@FLOW_DISSECTOR_KEY_FLOW_LABEL = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @__skb_flow_bpf_to_target], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__skb_flow_bpf_to_target(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @FLOW_DISSECTOR_KEY_CONTROL, align 8, !tbaa !6
%5 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %4, ptr noundef %2) #3
%6 = getelementptr inbounds i8, ptr %0, i64 64
%7 = load i32, ptr %6, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %5, i64 12
store i32 %7, ptr %8, align 4, !tbaa !14
%9 = getelementptr inbounds i8, ptr %0, i64 56
%10 = load i64, ptr %9, align 8, !tbaa !16
%11 = icmp eq i64 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %3
%13 = load i32, ptr @FLOW_DIS_IS_FRAGMENT, align 4, !tbaa !17
%14 = getelementptr inbounds i8, ptr %5, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !18
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 8, !tbaa !18
br label %17
17: ; preds = %12, %3
%18 = getelementptr inbounds i8, ptr %0, i64 48
%19 = load i64, ptr %18, align 8, !tbaa !19
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load i32, ptr @FLOW_DIS_FIRST_FRAG, align 4, !tbaa !17
%23 = getelementptr inbounds i8, ptr %5, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = or i32 %24, %22
store i32 %25, ptr %23, align 8, !tbaa !18
br label %26
26: ; preds = %21, %17
%27 = getelementptr inbounds i8, ptr %0, i64 40
%28 = load i64, ptr %27, align 8, !tbaa !20
%29 = icmp eq i64 %28, 0
br i1 %29, label %35, label %30
30: ; preds = %26
%31 = load i32, ptr @FLOW_DIS_ENCAPSULATION, align 4, !tbaa !17
%32 = getelementptr inbounds i8, ptr %5, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !18
%34 = or i32 %33, %31
store i32 %34, ptr %32, align 8, !tbaa !18
br label %35
35: ; preds = %30, %26
%36 = load ptr, ptr @FLOW_DISSECTOR_KEY_BASIC, align 8, !tbaa !6
%37 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %36, ptr noundef %2) #3
%38 = getelementptr inbounds i8, ptr %0, i64 32
%39 = load <2 x i32>, ptr %38, align 8, !tbaa !17
store <2 x i32> %39, ptr %37, align 4, !tbaa !17
%40 = load i64, ptr %0, align 8, !tbaa !21
%41 = load i64, ptr @ETH_P_IP, align 8, !tbaa !22
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %35
%44 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV4_ADDRS, align 8, !tbaa !6
%45 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %44) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i64, ptr %0, align 8, !tbaa !21
br label %55
49: ; preds = %43
%50 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV4_ADDRS, align 8, !tbaa !6
%51 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %50, ptr noundef %2) #3
%52 = getelementptr inbounds i8, ptr %51, i64 4
%53 = getelementptr inbounds i8, ptr %0, i64 24
%54 = load <2 x i32>, ptr %53, align 8, !tbaa !17
store <2 x i32> %54, ptr %52, align 4, !tbaa !17
br label %68
55: ; preds = %47, %35
%56 = phi i64 [ %48, %47 ], [ %40, %35 ]
%57 = load i64, ptr @ETH_P_IPV6, align 8, !tbaa !22
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %71
59: ; preds = %55
%60 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV6_ADDRS, align 8, !tbaa !6
%61 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %60) #3
%62 = icmp eq i64 %61, 0
br i1 %62, label %71, label %63
63: ; preds = %59
%64 = load ptr, ptr @FLOW_DISSECTOR_KEY_IPV6_ADDRS, align 8, !tbaa !6
%65 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %64, ptr noundef %2) #3
%66 = getelementptr inbounds i8, ptr %0, i64 20
%67 = tail call i32 @memcpy(ptr noundef %65, ptr noundef nonnull %66, i32 noundef 4) #3
br label %68
68: ; preds = %49, %63
%69 = phi ptr [ @FLOW_DISSECTOR_KEY_IPV6_ADDRS, %63 ], [ @FLOW_DISSECTOR_KEY_IPV4_ADDRS, %49 ]
%70 = load ptr, ptr %69, align 8, !tbaa !6
store ptr %70, ptr %5, align 8, !tbaa !23
br label %71
71: ; preds = %68, %55, %59
%72 = load ptr, ptr @FLOW_DISSECTOR_KEY_PORTS, align 8, !tbaa !6
%73 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %72) #3
%74 = icmp eq i64 %73, 0
br i1 %74, label %80, label %75
75: ; preds = %71
%76 = load ptr, ptr @FLOW_DISSECTOR_KEY_PORTS, align 8, !tbaa !6
%77 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %76, ptr noundef %2) #3
%78 = getelementptr inbounds i8, ptr %0, i64 12
%79 = load <2 x i32>, ptr %78, align 4, !tbaa !17
store <2 x i32> %79, ptr %77, align 4, !tbaa !17
br label %80
80: ; preds = %75, %71
%81 = load ptr, ptr @FLOW_DISSECTOR_KEY_FLOW_LABEL, align 8, !tbaa !6
%82 = tail call i64 @dissector_uses_key(ptr noundef %1, ptr noundef %81) #3
%83 = icmp eq i64 %82, 0
br i1 %83, label %90, label %84
84: ; preds = %80
%85 = load ptr, ptr @FLOW_DISSECTOR_KEY_FLOW_LABEL, align 8, !tbaa !6
%86 = tail call ptr @skb_flow_dissector_target(ptr noundef %1, ptr noundef %85, ptr noundef %2) #3
%87 = getelementptr inbounds i8, ptr %0, i64 8
%88 = load i32, ptr %87, align 8, !tbaa !24
%89 = tail call i32 @ntohl(i32 noundef %88)
store i32 %89, ptr %86, align 4, !tbaa !25
br label %90
90: ; preds = %84, %80
ret void
}
declare ptr @skb_flow_dissector_target(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @dissector_uses_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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, !13, i64 64}
!11 = !{!"bpf_flow_keys", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !13, i64 64}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 12}
!15 = !{!"flow_dissector_key_control", !7, i64 0, !13, i64 8, !13, i64 12}
!16 = !{!11, !12, i64 56}
!17 = !{!13, !13, i64 0}
!18 = !{!15, !13, i64 8}
!19 = !{!11, !12, i64 48}
!20 = !{!11, !12, i64 40}
!21 = !{!11, !12, i64 0}
!22 = !{!12, !12, i64 0}
!23 = !{!15, !7, i64 0}
!24 = !{!11, !13, i64 8}
!25 = !{!26, !13, i64 0}
!26 = !{!"flow_dissector_key_tags", !13, i64 0}
| linux_net_core_extr_flow_dissector.c___skb_flow_bpf_to_target |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_proxy_dummy.c_eap_proxy_get_emsk.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_proxy_dummy.c_eap_proxy_get_emsk.c"
target datalayout = "e-m:e-p270:32:32-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 noalias noundef ptr @eap_proxy_get_emsk(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
ret ptr null
}
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/wpa/src/eap_peer/extr_eap_proxy_dummy.c_eap_proxy_get_emsk.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_proxy_dummy.c_eap_proxy_get_emsk.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 noalias noundef ptr @eap_proxy_get_emsk(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
ret ptr null
}
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_wpa_src_eap_peer_extr_eap_proxy_dummy.c_eap_proxy_get_emsk |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_read_dx_root.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_read_dx_root.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ocfs2_validate_dx_root = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_read_dx_root], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ocfs2_read_dx_root(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = tail call i32 @le64_to_cpu(i32 noundef %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = load ptr, ptr %2, align 8, !tbaa !10
store ptr %7, ptr %4, align 8, !tbaa !10
%8 = tail call i32 @INODE_CACHE(ptr noundef %0) #3
%9 = load i32, ptr @ocfs2_validate_dx_root, align 4, !tbaa !12
%10 = call i32 @ocfs2_read_block(i32 noundef %8, i32 noundef %6, ptr noundef nonnull %4, i32 noundef %9) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %3
%13 = load ptr, ptr %2, align 8, !tbaa !10
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = load ptr, ptr %4, align 8, !tbaa !10
store ptr %16, ptr %2, align 8, !tbaa !10
br label %17
17: ; preds = %15, %12, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_read_block(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ocfs2_dinode", !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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_read_dx_root.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_read_dx_root.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ocfs2_validate_dx_root = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ocfs2_read_dx_root], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ocfs2_read_dx_root(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = tail call i32 @le64_to_cpu(i32 noundef %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = load ptr, ptr %2, align 8, !tbaa !11
store ptr %7, ptr %4, align 8, !tbaa !11
%8 = tail call i32 @INODE_CACHE(ptr noundef %0) #3
%9 = load i32, ptr @ocfs2_validate_dx_root, align 4, !tbaa !13
%10 = call i32 @ocfs2_read_block(i32 noundef %8, i32 noundef %6, ptr noundef nonnull %4, i32 noundef %9) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %3
%13 = load ptr, ptr %2, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = load ptr, ptr %4, align 8, !tbaa !11
store ptr %16, ptr %2, align 8, !tbaa !11
br label %17
17: ; preds = %15, %12, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_read_block(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ocfs2_dinode", !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 = !{!8, !8, i64 0}
| linux_fs_ocfs2_extr_dir.c_ocfs2_read_dx_root |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_minstrel_ht.c_minstrel_ht_rate_update.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_minstrel_ht.c_minstrel_ht_rate_update.c"
target datalayout = "e-m:e-p270:32:32-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 @minstrel_ht_rate_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @minstrel_ht_rate_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 %4) #0 {
%6 = tail call i32 @minstrel_ht_update_caps(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @minstrel_ht_update_caps(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)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_minstrel_ht.c_minstrel_ht_rate_update.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_minstrel_ht.c_minstrel_ht_rate_update.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 @minstrel_ht_rate_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @minstrel_ht_rate_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 %4) #0 {
%6 = tail call i32 @minstrel_ht_update_caps(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @minstrel_ht_update_caps(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)"}
| fastsocket_kernel_net_mac80211_extr_rc80211_minstrel_ht.c_minstrel_ht_rate_update |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_amrnbdec.c_weighted_vector_sumd.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_amrnbdec.c_weighted_vector_sumd.c"
target datalayout = "e-m:e-p270:32:32-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 @weighted_vector_sumd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal void @weighted_vector_sumd(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, double noundef %3, double noundef %4, i32 noundef %5) #0 {
%7 = ptrtoint ptr %2 to i64
%8 = ptrtoint ptr %1 to i64
%9 = ptrtoint ptr %0 to i64
%10 = icmp sgt i32 %5, 0
br i1 %10, label %11, label %82
11: ; preds = %6
%12 = zext nneg i32 %5 to i64
%13 = icmp ult i32 %5, 6
br i1 %13, label %46, label %14
14: ; preds = %11
%15 = sub i64 %9, %8
%16 = icmp ult i64 %15, 32
%17 = sub i64 %9, %7
%18 = icmp ult i64 %17, 32
%19 = or i1 %16, %18
br i1 %19, label %46, label %20
20: ; preds = %14
%21 = and i64 %12, 2147483644
%22 = insertelement <2 x double> poison, double %4, i64 0
%23 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> zeroinitializer
%24 = insertelement <2 x double> poison, double %3, i64 0
%25 = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> zeroinitializer
br label %26
26: ; preds = %26, %20
%27 = phi i64 [ 0, %20 ], [ %42, %26 ]
%28 = getelementptr inbounds double, ptr %1, i64 %27
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load <2 x double>, ptr %28, align 8, !tbaa !5
%31 = load <2 x double>, ptr %29, align 8, !tbaa !5
%32 = getelementptr inbounds double, ptr %2, i64 %27
%33 = getelementptr inbounds double, ptr %32, i64 2
%34 = load <2 x double>, ptr %32, align 8, !tbaa !5
%35 = load <2 x double>, ptr %33, align 8, !tbaa !5
%36 = fmul <2 x double> %34, %23
%37 = fmul <2 x double> %35, %23
%38 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %30, <2 x double> %36)
%39 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %31, <2 x double> %37)
%40 = getelementptr inbounds double, ptr %0, i64 %27
%41 = getelementptr inbounds double, ptr %40, i64 2
store <2 x double> %38, ptr %40, align 8, !tbaa !5
store <2 x double> %39, ptr %41, align 8, !tbaa !5
%42 = add nuw i64 %27, 4
%43 = icmp eq i64 %42, %21
br i1 %43, label %44, label %26, !llvm.loop !9
44: ; preds = %26
%45 = icmp eq i64 %21, %12
br i1 %45, label %82, label %46
46: ; preds = %14, %11, %44
%47 = phi i64 [ 0, %14 ], [ 0, %11 ], [ %21, %44 ]
%48 = and i64 %12, 1
%49 = icmp eq i64 %48, 0
br i1 %49, label %59, label %50
50: ; preds = %46
%51 = getelementptr inbounds double, ptr %1, i64 %47
%52 = load double, ptr %51, align 8, !tbaa !5
%53 = getelementptr inbounds double, ptr %2, i64 %47
%54 = load double, ptr %53, align 8, !tbaa !5
%55 = fmul double %54, %4
%56 = tail call double @llvm.fmuladd.f64(double %3, double %52, double %55)
%57 = getelementptr inbounds double, ptr %0, i64 %47
store double %56, ptr %57, align 8, !tbaa !5
%58 = or disjoint i64 %47, 1
br label %59
59: ; preds = %50, %46
%60 = phi i64 [ %47, %46 ], [ %58, %50 ]
%61 = add nsw i64 %12, -1
%62 = icmp eq i64 %47, %61
br i1 %62, label %82, label %63
63: ; preds = %59, %63
%64 = phi i64 [ %80, %63 ], [ %60, %59 ]
%65 = getelementptr inbounds double, ptr %1, i64 %64
%66 = load double, ptr %65, align 8, !tbaa !5
%67 = getelementptr inbounds double, ptr %2, i64 %64
%68 = load double, ptr %67, align 8, !tbaa !5
%69 = fmul double %68, %4
%70 = tail call double @llvm.fmuladd.f64(double %3, double %66, double %69)
%71 = getelementptr inbounds double, ptr %0, i64 %64
store double %70, ptr %71, align 8, !tbaa !5
%72 = add nuw nsw i64 %64, 1
%73 = getelementptr inbounds double, ptr %1, i64 %72
%74 = load double, ptr %73, align 8, !tbaa !5
%75 = getelementptr inbounds double, ptr %2, i64 %72
%76 = load double, ptr %75, align 8, !tbaa !5
%77 = fmul double %76, %4
%78 = tail call double @llvm.fmuladd.f64(double %3, double %74, double %77)
%79 = getelementptr inbounds double, ptr %0, i64 %72
store double %78, ptr %79, align 8, !tbaa !5
%80 = add nuw nsw i64 %64, 2
%81 = icmp eq i64 %80, %12
br i1 %81, label %82, label %63, !llvm.loop !13
82: ; preds = %59, %63, %44, %6
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !11}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_amrnbdec.c_weighted_vector_sumd.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_amrnbdec.c_weighted_vector_sumd.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 @weighted_vector_sumd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal void @weighted_vector_sumd(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, double noundef %3, double noundef %4, i32 noundef %5) #0 {
%7 = ptrtoint ptr %2 to i64
%8 = ptrtoint ptr %1 to i64
%9 = ptrtoint ptr %0 to i64
%10 = icmp sgt i32 %5, 0
br i1 %10, label %11, label %73
11: ; preds = %6
%12 = zext nneg i32 %5 to i64
%13 = icmp ult i32 %5, 8
br i1 %13, label %60, label %14
14: ; preds = %11
%15 = sub i64 %9, %8
%16 = icmp ult i64 %15, 64
%17 = sub i64 %9, %7
%18 = icmp ult i64 %17, 64
%19 = or i1 %16, %18
br i1 %19, label %60, label %20
20: ; preds = %14
%21 = and i64 %12, 2147483640
%22 = insertelement <2 x double> poison, double %4, i64 0
%23 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> zeroinitializer
%24 = insertelement <2 x double> poison, double %3, i64 0
%25 = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> zeroinitializer
br label %26
26: ; preds = %26, %20
%27 = phi i64 [ 0, %20 ], [ %56, %26 ]
%28 = getelementptr inbounds double, ptr %1, i64 %27
%29 = getelementptr inbounds i8, ptr %28, i64 16
%30 = getelementptr inbounds i8, ptr %28, i64 32
%31 = getelementptr inbounds i8, ptr %28, i64 48
%32 = load <2 x double>, ptr %28, align 8, !tbaa !6
%33 = load <2 x double>, ptr %29, align 8, !tbaa !6
%34 = load <2 x double>, ptr %30, align 8, !tbaa !6
%35 = load <2 x double>, ptr %31, align 8, !tbaa !6
%36 = getelementptr inbounds double, ptr %2, i64 %27
%37 = getelementptr inbounds i8, ptr %36, i64 16
%38 = getelementptr inbounds i8, ptr %36, i64 32
%39 = getelementptr inbounds i8, ptr %36, i64 48
%40 = load <2 x double>, ptr %36, align 8, !tbaa !6
%41 = load <2 x double>, ptr %37, align 8, !tbaa !6
%42 = load <2 x double>, ptr %38, align 8, !tbaa !6
%43 = load <2 x double>, ptr %39, align 8, !tbaa !6
%44 = fmul <2 x double> %40, %23
%45 = fmul <2 x double> %41, %23
%46 = fmul <2 x double> %42, %23
%47 = fmul <2 x double> %43, %23
%48 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %32, <2 x double> %44)
%49 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %33, <2 x double> %45)
%50 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %34, <2 x double> %46)
%51 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %35, <2 x double> %47)
%52 = getelementptr inbounds double, ptr %0, i64 %27
%53 = getelementptr inbounds i8, ptr %52, i64 16
%54 = getelementptr inbounds i8, ptr %52, i64 32
%55 = getelementptr inbounds i8, ptr %52, i64 48
store <2 x double> %48, ptr %52, align 8, !tbaa !6
store <2 x double> %49, ptr %53, align 8, !tbaa !6
store <2 x double> %50, ptr %54, align 8, !tbaa !6
store <2 x double> %51, ptr %55, align 8, !tbaa !6
%56 = add nuw i64 %27, 8
%57 = icmp eq i64 %56, %21
br i1 %57, label %58, label %26, !llvm.loop !10
58: ; preds = %26
%59 = icmp eq i64 %21, %12
br i1 %59, label %73, label %60
60: ; preds = %58, %14, %11
%61 = phi i64 [ 0, %14 ], [ 0, %11 ], [ %21, %58 ]
br label %62
62: ; preds = %60, %62
%63 = phi i64 [ %71, %62 ], [ %61, %60 ]
%64 = getelementptr inbounds double, ptr %1, i64 %63
%65 = load double, ptr %64, align 8, !tbaa !6
%66 = getelementptr inbounds double, ptr %2, i64 %63
%67 = load double, ptr %66, align 8, !tbaa !6
%68 = fmul double %67, %4
%69 = tail call double @llvm.fmuladd.f64(double %3, double %65, double %68)
%70 = getelementptr inbounds double, ptr %0, i64 %63
store double %69, ptr %70, align 8, !tbaa !6
%71 = add nuw nsw i64 %63, 1
%72 = icmp eq i64 %71, %12
br i1 %72, label %73, label %62, !llvm.loop !14
73: ; preds = %62, %58, %6
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2
attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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"}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !12}
| FFmpeg_libavcodec_extr_amrnbdec.c_weighted_vector_sumd |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/extr_c_locale_win32.c__Locale_ctype_name.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/extr_c_locale_win32.c__Locale_ctype_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i32 }
@MAX_CP_LEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @_Locale_ctype_name(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_CP_LEN, align 4, !tbaa !5
%4 = add nsw i32 %3, 1
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = call i32 @my_ltoa(i32 noundef %8, ptr noundef nonnull %6) #2
%10 = load i32, ptr %0, align 4, !tbaa !12
%11 = call ptr @__GetLocaleName(i32 noundef %10, ptr noundef nonnull %6, ptr noundef %1) #2
ret ptr %11
}
declare i32 @my_ltoa(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @__GetLocaleName(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_5__", !11, i64 0, !6, i64 4}
!11 = !{!"TYPE_4__", !6, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/extr_c_locale_win32.c__Locale_ctype_name.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/extr_c_locale_win32.c__Locale_ctype_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_CP_LEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @_Locale_ctype_name(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_CP_LEN, align 4, !tbaa !6
%4 = add nsw i32 %3, 1
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = call i32 @my_ltoa(i32 noundef %8, ptr noundef nonnull %6) #2
%10 = load i32, ptr %0, align 4, !tbaa !13
%11 = call ptr @__GetLocaleName(i32 noundef %10, ptr noundef nonnull %6, ptr noundef %1) #2
ret ptr %11
}
declare i32 @my_ltoa(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @__GetLocaleName(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_5__", !12, i64 0, !7, i64 4}
!12 = !{!"TYPE_4__", !7, i64 0}
!13 = !{!11, !7, i64 0}
| reactos_sdk_lib_3rdparty_stlport_src_c_locale_win32_extr_c_locale_win32.c__Locale_ctype_name |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_hashtable.c_get_hashfunc_07.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_hashtable.c_get_hashfunc_07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @get_hashfunc_07(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %1, -1
%4 = select i1 %3, i32 140, i32 52
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_hashtable.c_get_hashfunc_07.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_hashtable.c_get_hashfunc_07.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @get_hashfunc_07(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %1, -1
%4 = select i1 %3, i32 140, i32 52
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| radare2_libr_asm_arch_tms320_c55x_plus_extr_hashtable.c_get_hashfunc_07 |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtl8xxxu/extr_rtl8xxxu_core.c_rtl8xxxu_gen2_usb_quirks.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl8xxxu/extr_rtl8xxxu_core.c_rtl8xxxu_gen2_usb_quirks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REG_TXDMA_OFFSET_CHK = dso_local local_unnamed_addr global i32 0, align 4
@TXDMA_OFFSET_DROP_DATA_EN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @rtl8xxxu_gen2_usb_quirks(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @REG_TXDMA_OFFSET_CHK, align 4, !tbaa !5
%3 = tail call i32 @rtl8xxxu_read32(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @TXDMA_OFFSET_DROP_DATA_EN, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr @REG_TXDMA_OFFSET_CHK, align 4, !tbaa !5
%7 = tail call i32 @rtl8xxxu_write32(ptr noundef %0, i32 noundef %6, i32 noundef %5) #2
ret void
}
declare i32 @rtl8xxxu_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtl8xxxu_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtl8xxxu/extr_rtl8xxxu_core.c_rtl8xxxu_gen2_usb_quirks.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl8xxxu/extr_rtl8xxxu_core.c_rtl8xxxu_gen2_usb_quirks.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_TXDMA_OFFSET_CHK = common local_unnamed_addr global i32 0, align 4
@TXDMA_OFFSET_DROP_DATA_EN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @rtl8xxxu_gen2_usb_quirks(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @REG_TXDMA_OFFSET_CHK, align 4, !tbaa !6
%3 = tail call i32 @rtl8xxxu_read32(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @TXDMA_OFFSET_DROP_DATA_EN, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr @REG_TXDMA_OFFSET_CHK, align 4, !tbaa !6
%7 = tail call i32 @rtl8xxxu_write32(ptr noundef %0, i32 noundef %6, i32 noundef %5) #2
ret void
}
declare i32 @rtl8xxxu_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtl8xxxu_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_realtek_rtl8xxxu_extr_rtl8xxxu_core.c_rtl8xxxu_gen2_usb_quirks |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.