IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_brenderpix.c_pix_decode_header.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_brenderpix.c_pix_decode_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"
%struct.TYPE_3__ = type { ptr, ptr, i32 }
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pix_decode_header], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pix_decode_header(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @bytestream2_get_be32(ptr noundef %1) #2
%4 = tail call i32 @bytestream2_get_byte(ptr noundef %1) #2
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store i32 %4, ptr %5, align 8, !tbaa !5
%6 = tail call i32 @bytestream2_skip(ptr noundef %1, i32 noundef 2) #2
%7 = tail call ptr @bytestream2_get_be16(ptr noundef %1) #2
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store ptr %7, ptr %8, align 8, !tbaa !11
%9 = tail call ptr @bytestream2_get_be16(ptr noundef %1) #2
store ptr %9, ptr %0, align 8, !tbaa !12
%10 = icmp ult i32 %3, 11
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13
br label %16
13: ; preds = %2
%14 = add i32 %3, -7
%15 = tail call i32 @bytestream2_skip(ptr noundef %1, i32 noundef %14) #2
br label %16
16: ; preds = %13, %11
%17 = phi i32 [ %12, %11 ], [ 0, %13 ]
ret i32 %17
}
declare i32 @bytestream2_get_be32(ptr noundef) local_unnamed_addr #1
declare i32 @bytestream2_get_byte(ptr noundef) local_unnamed_addr #1
declare i32 @bytestream2_skip(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @bytestream2_get_be16(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 0}
!13 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_brenderpix.c_pix_decode_header.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_brenderpix.c_pix_decode_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pix_decode_header], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pix_decode_header(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @bytestream2_get_be32(ptr noundef %1) #2
%4 = tail call i32 @bytestream2_get_byte(ptr noundef %1) #2
%5 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %4, ptr %5, align 8, !tbaa !6
%6 = tail call i32 @bytestream2_skip(ptr noundef %1, i32 noundef 2) #2
%7 = tail call ptr @bytestream2_get_be16(ptr noundef %1) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %7, ptr %8, align 8, !tbaa !12
%9 = tail call ptr @bytestream2_get_be16(ptr noundef %1) #2
store ptr %9, ptr %0, align 8, !tbaa !13
%10 = icmp ult i32 %3, 11
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !14
br label %16
13: ; preds = %2
%14 = add i32 %3, -7
%15 = tail call i32 @bytestream2_skip(ptr noundef %1, i32 noundef %14) #2
br label %16
16: ; preds = %13, %11
%17 = phi i32 [ %12, %11 ], [ 0, %13 ]
ret i32 %17
}
declare i32 @bytestream2_get_be32(ptr noundef) local_unnamed_addr #1
declare i32 @bytestream2_get_byte(ptr noundef) local_unnamed_addr #1
declare i32 @bytestream2_skip(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @bytestream2_get_be16(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 0}
!14 = !{!11, !11, i64 0}
| FFmpeg_libavcodec_extr_brenderpix.c_pix_decode_header |
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_unit_unlink_state_files.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_unlink_state_files.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"/run/systemd/units/invocation:\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"/run/systemd/units/log-level-max:\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"/run/systemd/units/extra-fields:\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"/run/systemd/units/log-rate-limit-interval:\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"/run/systemd/units/log-rate-limit-burst:\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @unit_unlink_state_files(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %50, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i32 @MANAGER_IS_SYSTEM(i32 noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %50, label %11
11: ; preds = %6
%12 = load i32, ptr %0, align 4, !tbaa !11
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4, !tbaa !5
%16 = tail call ptr @strjoina(ptr noundef nonnull @.str, i32 noundef %15) #3
%17 = tail call i32 @unlink(ptr noundef %16)
store i32 0, ptr %0, align 4, !tbaa !11
br label %18
18: ; preds = %14, %11
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !12
%21 = icmp eq i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i32, ptr %3, align 4, !tbaa !5
%24 = tail call ptr @strjoina(ptr noundef nonnull @.str.1, i32 noundef %23) #3
%25 = tail call i32 @unlink(ptr noundef %24)
store i32 0, ptr %19, align 4, !tbaa !12
br label %26
26: ; preds = %22, %18
%27 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !13
%29 = icmp eq i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i32, ptr %3, align 4, !tbaa !5
%32 = tail call ptr @strjoina(ptr noundef nonnull @.str.2, i32 noundef %31) #3
%33 = tail call i32 @unlink(ptr noundef %32)
store i32 0, ptr %27, align 4, !tbaa !13
br label %34
34: ; preds = %30, %26
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%36 = load i32, ptr %35, align 4, !tbaa !14
%37 = icmp eq i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i32, ptr %3, align 4, !tbaa !5
%40 = tail call ptr @strjoina(ptr noundef nonnull @.str.3, i32 noundef %39) #3
%41 = tail call i32 @unlink(ptr noundef %40)
store i32 0, ptr %35, align 4, !tbaa !14
br label %42
42: ; preds = %38, %34
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%44 = load i32, ptr %43, align 4, !tbaa !15
%45 = icmp eq i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load i32, ptr %3, align 4, !tbaa !5
%48 = tail call ptr @strjoina(ptr noundef nonnull @.str.4, i32 noundef %47) #3
%49 = tail call i32 @unlink(ptr noundef %48)
store i32 0, ptr %43, align 4, !tbaa !15
br label %50
50: ; preds = %42, %46, %6, %1
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @MANAGER_IS_SYSTEM(i32 noundef) local_unnamed_addr #1
declare ptr @strjoina(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 20}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 24}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 12}
!15 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_unit_unlink_state_files.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_unlink_state_files.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 [31 x i8] c"/run/systemd/units/invocation:\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"/run/systemd/units/log-level-max:\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"/run/systemd/units/extra-fields:\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"/run/systemd/units/log-rate-limit-interval:\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"/run/systemd/units/log-rate-limit-burst:\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @unit_unlink_state_files(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %0, i64 20
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %50, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i32 @MANAGER_IS_SYSTEM(i32 noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %50, label %11
11: ; preds = %6
%12 = load i32, ptr %0, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4, !tbaa !6
%16 = tail call ptr @strjoina(ptr noundef nonnull @.str, i32 noundef %15) #3
%17 = tail call i32 @unlink(ptr noundef %16)
store i32 0, ptr %0, align 4, !tbaa !12
br label %18
18: ; preds = %14, %11
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = icmp eq i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i32, ptr %3, align 4, !tbaa !6
%24 = tail call ptr @strjoina(ptr noundef nonnull @.str.1, i32 noundef %23) #3
%25 = tail call i32 @unlink(ptr noundef %24)
store i32 0, ptr %19, align 4, !tbaa !13
br label %26
26: ; preds = %22, %18
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i32, ptr %27, align 4, !tbaa !14
%29 = icmp eq i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i32, ptr %3, align 4, !tbaa !6
%32 = tail call ptr @strjoina(ptr noundef nonnull @.str.2, i32 noundef %31) #3
%33 = tail call i32 @unlink(ptr noundef %32)
store i32 0, ptr %27, align 4, !tbaa !14
br label %34
34: ; preds = %30, %26
%35 = getelementptr inbounds i8, ptr %0, i64 12
%36 = load i32, ptr %35, align 4, !tbaa !15
%37 = icmp eq i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i32, ptr %3, align 4, !tbaa !6
%40 = tail call ptr @strjoina(ptr noundef nonnull @.str.3, i32 noundef %39) #3
%41 = tail call i32 @unlink(ptr noundef %40)
store i32 0, ptr %35, align 4, !tbaa !15
br label %42
42: ; preds = %38, %34
%43 = getelementptr inbounds i8, ptr %0, i64 16
%44 = load i32, ptr %43, align 4, !tbaa !16
%45 = icmp eq i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load i32, ptr %3, align 4, !tbaa !6
%48 = tail call ptr @strjoina(ptr noundef nonnull @.str.4, i32 noundef %47) #3
%49 = tail call i32 @unlink(ptr noundef %48)
store i32 0, ptr %43, align 4, !tbaa !16
br label %50
50: ; preds = %42, %46, %6, %1
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @MANAGER_IS_SYSTEM(i32 noundef) local_unnamed_addr #1
declare ptr @strjoina(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 20}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 24}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !8, i64 12}
!16 = !{!7, !8, i64 16}
| systemd_src_core_extr_unit.c_unit_unlink_state_files |
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_AddFontMemResourceEx.c_is_font_available.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_AddFontMemResourceEx.c_is_font_available.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FW_DONTCARE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@DEFAULT_CHARSET = dso_local local_unnamed_addr global i32 0, align 4
@OUT_DEFAULT_PRECIS = dso_local local_unnamed_addr global i32 0, align 4
@CLIP_DEFAULT_PRECIS = dso_local local_unnamed_addr global i32 0, align 4
@DEFAULT_QUALITY = dso_local local_unnamed_addr global i32 0, align 4
@DEFAULT_PITCH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"GetTextFaceA error %lu for %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_font_available], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_font_available(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3
%4 = load i32, ptr @FW_DONTCARE, align 4, !tbaa !5
%5 = load i32, ptr @FALSE, align 4, !tbaa !5
%6 = load i32, ptr @DEFAULT_CHARSET, align 4, !tbaa !5
%7 = load i32, ptr @OUT_DEFAULT_PRECIS, align 4, !tbaa !5
%8 = load i32, ptr @CLIP_DEFAULT_PRECIS, align 4, !tbaa !5
%9 = load i32, ptr @DEFAULT_QUALITY, align 4, !tbaa !5
%10 = load i32, ptr @DEFAULT_PITCH, align 4, !tbaa !5
%11 = tail call i32 @CreateFontA(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %1) #3
%12 = tail call i32 @SelectObject(i32 noundef %0, i32 noundef %11) #3
%13 = tail call i32 @SetLastError(i32 noundef -559038737) #3
%14 = call i32 @GetTextFaceA(i32 noundef %0, i32 noundef 64, ptr noundef nonnull %3) #3
%15 = call i32 (...) @GetLastError() #3
%16 = call i32 @ok(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %1) #3
%17 = call i32 @SelectObject(i32 noundef %0, i32 noundef %12) #3
%18 = call i32 @DeleteObject(i32 noundef %11) #3
%19 = icmp eq i32 %14, 0
br i1 %19, label %24, label %20
20: ; preds = %2
%21 = call i32 @_strcmpi(ptr noundef nonnull %3, ptr noundef %1) #3
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
br label %26
24: ; preds = %2
%25 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %26
26: ; preds = %24, %20
%27 = phi i32 [ %23, %20 ], [ %25, %24 ]
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #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 @CreateFontA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SelectObject(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @GetTextFaceA(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @DeleteObject(i32 noundef) local_unnamed_addr #2
declare i32 @_strcmpi(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_AddFontMemResourceEx.c_is_font_available.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_AddFontMemResourceEx.c_is_font_available.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FW_DONTCARE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@DEFAULT_CHARSET = common local_unnamed_addr global i32 0, align 4
@OUT_DEFAULT_PRECIS = common local_unnamed_addr global i32 0, align 4
@CLIP_DEFAULT_PRECIS = common local_unnamed_addr global i32 0, align 4
@DEFAULT_QUALITY = common local_unnamed_addr global i32 0, align 4
@DEFAULT_PITCH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"GetTextFaceA error %lu for %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @is_font_available], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @is_font_available(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3
%4 = load i32, ptr @FW_DONTCARE, align 4, !tbaa !6
%5 = load i32, ptr @FALSE, align 4, !tbaa !6
%6 = load i32, ptr @DEFAULT_CHARSET, align 4, !tbaa !6
%7 = load i32, ptr @OUT_DEFAULT_PRECIS, align 4, !tbaa !6
%8 = load i32, ptr @CLIP_DEFAULT_PRECIS, align 4, !tbaa !6
%9 = load i32, ptr @DEFAULT_QUALITY, align 4, !tbaa !6
%10 = load i32, ptr @DEFAULT_PITCH, align 4, !tbaa !6
%11 = tail call i32 @CreateFontA(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %1) #3
%12 = tail call i32 @SelectObject(i32 noundef %0, i32 noundef %11) #3
%13 = tail call i32 @SetLastError(i32 noundef -559038737) #3
%14 = call i32 @GetTextFaceA(i32 noundef %0, i32 noundef 64, ptr noundef nonnull %3) #3
%15 = call i32 @GetLastError() #3
%16 = call i32 @ok(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %1) #3
%17 = call i32 @SelectObject(i32 noundef %0, i32 noundef %12) #3
%18 = call i32 @DeleteObject(i32 noundef %11) #3
%19 = icmp eq i32 %14, 0
br i1 %19, label %24, label %20
20: ; preds = %2
%21 = call i32 @_strcmpi(ptr noundef nonnull %3, ptr noundef %1) #3
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
br label %26
24: ; preds = %2
%25 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %26
26: ; preds = %24, %20
%27 = phi i32 [ %23, %20 ], [ %25, %24 ]
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #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 @CreateFontA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SelectObject(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @GetTextFaceA(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @DeleteObject(i32 noundef) local_unnamed_addr #2
declare i32 @_strcmpi(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_modules_rostests_apitests_gdi32_extr_AddFontMemResourceEx.c_is_font_available |
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_extramath.c_BoundingSphereOfSpheres.c'
source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_extramath.c_BoundingSphereOfSpheres.c"
target datalayout = "e-m:e-p270:32:32-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 @BoundingSphereOfSpheres(i32 noundef %0, float noundef %1, i32 noundef %2, float noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = tail call i32 @VectorScale(i32 noundef %0, float noundef 5.000000e-01, i32 noundef %4) #3
%8 = tail call i32 @VectorMA(i32 noundef %4, float noundef 5.000000e-01, i32 noundef %2, i32 noundef %4) #3
%9 = tail call i32 @VectorSubtract(i32 noundef %0, i32 noundef %2, i32 noundef undef) #3
%10 = tail call float @VectorLength(i32 noundef undef) #3
%11 = tail call float @MAX(float noundef %1, float noundef %3) #3
%12 = tail call float @llvm.fmuladd.f32(float %10, float 5.000000e-01, float %11)
store float %12, ptr %5, align 4, !tbaa !5
ret void
}
declare i32 @VectorScale(i32 noundef, float noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorMA(i32 noundef, float noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorSubtract(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare float @VectorLength(i32 noundef) local_unnamed_addr #1
declare float @MAX(float noundef, float noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_extramath.c_BoundingSphereOfSpheres.c'
source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_extramath.c_BoundingSphereOfSpheres.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 @BoundingSphereOfSpheres(i32 noundef %0, float noundef %1, i32 noundef %2, float noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = tail call i32 @VectorScale(i32 noundef %0, float noundef 5.000000e-01, i32 noundef %4) #3
%8 = tail call i32 @VectorMA(i32 noundef %4, float noundef 5.000000e-01, i32 noundef %2, i32 noundef %4) #3
%9 = tail call i32 @VectorSubtract(i32 noundef %0, i32 noundef %2, i32 noundef undef) #3
%10 = tail call float @VectorLength(i32 noundef undef) #3
%11 = tail call float @MAX(float noundef %1, float noundef %3) #3
%12 = tail call float @llvm.fmuladd.f32(float %10, float 5.000000e-01, float %11)
store float %12, ptr %5, align 4, !tbaa !6
ret void
}
declare i32 @VectorScale(i32 noundef, float noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorMA(i32 noundef, float noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorSubtract(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare float @VectorLength(i32 noundef) local_unnamed_addr #1
declare float @MAX(float noundef, float noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind 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 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| lab_engine_code_renderergl2_extr_tr_extramath.c_BoundingSphereOfSpheres |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_rb.c___archive_rb_tree_init.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_rb.c___archive_rb_tree_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.archive_rb_tree = type { i32, ptr }
@RB_SENTINEL_NODE = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @__archive_rb_tree_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.archive_rb_tree, ptr %0, i64 0, i32 1
store ptr %1, ptr %3, align 8, !tbaa !5
%4 = load ptr, ptr @RB_SENTINEL_NODE, align 8, !tbaa !11
store ptr %4, ptr %0, align 8, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"archive_rb_tree", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_rb.c___archive_rb_tree_init.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_rb.c___archive_rb_tree_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RB_SENTINEL_NODE = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @__archive_rb_tree_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %3, align 8, !tbaa !6
%4 = load ptr, ptr @RB_SENTINEL_NODE, align 8, !tbaa !12
store ptr %4, ptr %0, align 8, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"archive_rb_tree", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_rb.c___archive_rb_tree_init |
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_nstime.c_nstime_idivide.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_nstime.c_nstime_idivide.c"
target datalayout = "e-m:e-p270:32:32-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 @nstime_idivide(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp ne i32 %1, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = sdiv i32 %6, %1
store i32 %7, ptr %0, align 4, !tbaa !5
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_nstime.c_nstime_idivide.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_nstime.c_nstime_idivide.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 @nstime_idivide(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp ne i32 %1, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = sdiv i32 %6, %1
store i32 %7, ptr %0, align 4, !tbaa !6
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_jemalloc_src_extr_nstime.c_nstime_idivide |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_combios.c_radeon_get_legacy_connector_info_from_bios.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_combios.c_radeon_get_legacy_connector_info_from_bios.c"
target datalayout = "e-m:e-p270:32:32-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.radeon_i2c_bus_rec = type { i32 }
%struct.radeon_hpd = type { ptr }
%struct.drm_device = type { ptr, ptr }
%struct.TYPE_2__ = type { i32, i32, i32 }
%struct.radeon_device = type { i32, i64 }
@COMBIOS_CONNECTOR_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@RADEON_HPD_2 = dso_local local_unnamed_addr global ptr null, align 8
@RADEON_HPD_1 = dso_local local_unnamed_addr global ptr null, align 8
@RADEON_HPD_NONE = dso_local local_unnamed_addr global ptr null, align 8
@ATOM_DEVICE_DFP2_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_DFP1_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@legacy_connector_convert = dso_local local_unnamed_addr global ptr null, align 8
@CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_CRT2_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_CRT1_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_VGA = dso_local local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_TV1_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_SVIDEO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unknown connector type: %d\0A\00", align 1
@COMBIOS_DFP_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Found DFP table, assuming DVI connector\0A\00", align 1
@DDC_DVI = dso_local local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_DVII = dso_local local_unnamed_addr global i32 0, align 4
@COMBIOS_CRT_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Found CRT table, assuming VGA connector\0A\00", align 1
@DDC_VGA = dso_local local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_VGA = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"No connector info found\0A\00", align 1
@RADEON_IS_MOBILITY = dso_local local_unnamed_addr global i32 0, align 4
@RADEON_IS_IGP = dso_local local_unnamed_addr global i32 0, align 4
@COMBIOS_LCD_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@COMBIOS_LCD_DDC_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_LCD1_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"LCD DDC Info Table found!\0A\00", align 1
@DRM_MODE_CONNECTOR_LVDS = dso_local local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_LVDS = dso_local local_unnamed_addr global i32 0, align 4
@CHIP_R100 = dso_local local_unnamed_addr global i64 0, align 8
@CHIP_R200 = dso_local local_unnamed_addr global i64 0, align 8
@COMBIOS_TV_INFO_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_SVIDEO = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @radeon_get_legacy_connector_info_from_bios(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.radeon_i2c_bus_rec, align 4
%4 = alloca %struct.radeon_hpd, align 8
%5 = getelementptr inbounds %struct.drm_device, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = load i32, ptr @COMBIOS_CONNECTOR_INFO_TABLE, align 4, !tbaa !10
%8 = tail call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %176, label %10
10: ; preds = %1
%11 = add nsw i32 %8, 2
br label %12
12: ; preds = %10, %173
%13 = phi i32 [ 0, %10 ], [ %174, %173 ]
%14 = shl nuw nsw i32 %13, 1
%15 = add nsw i32 %11, %14
%16 = call i32 @RBIOS16(i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %219, label %18
18: ; preds = %12
%19 = call i32 @RBIOS16(i32 noundef %15) #3
%20 = lshr i32 %19, 12
%21 = and i32 %20, 15
store i32 %21, ptr %2, align 4, !tbaa !10
%22 = lshr i32 %19, 8
%23 = and i32 %22, 15
%24 = icmp eq i32 %23, 5
br i1 %24, label %25, label %27
25: ; preds = %18
%26 = call i32 @radeon_combios_get_i2c_info_from_table(ptr noundef %6) #3
br label %29
27: ; preds = %18
%28 = call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %23, i32 noundef 0, i32 noundef 0) #3
br label %29
29: ; preds = %27, %25
%30 = phi i32 [ %28, %27 ], [ %26, %25 ]
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %2, align 4, !tbaa !10
%32 = add i32 %31, -131
%33 = icmp ult i32 %32, 3
br i1 %33, label %34, label %41
34: ; preds = %29
%35 = and i32 %19, 16
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %34
%38 = load ptr, ptr @RADEON_HPD_2, align 8, !tbaa !12
store ptr %38, ptr %4, align 8, !tbaa !13
br label %43
39: ; preds = %34
%40 = load ptr, ptr @RADEON_HPD_1, align 8, !tbaa !12
store ptr %40, ptr %4, align 8, !tbaa !13
br label %43
41: ; preds = %29
%42 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !12
store ptr %42, ptr %4, align 8, !tbaa !13
br label %43
43: ; preds = %37, %39, %41
%44 = call i32 @radeon_apply_legacy_quirks(ptr noundef %0, i32 noundef %13, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %173, label %46
46: ; preds = %43
%47 = load i32, ptr %2, align 4, !tbaa !10
switch i32 %47, label %171 [
i32 131, label %48
i32 135, label %63
i32 132, label %85
i32 133, label %138
i32 134, label %158
i32 130, label %158
]
48: ; preds = %46
%49 = and i32 %19, 16
%50 = icmp eq i32 %49, 0
%51 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4
%52 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4
%53 = select i1 %50, i32 %51, i32 %52
%54 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %53, i32 noundef 0) #3
%55 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %54, i32 noundef %53) #3
%56 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !12
%57 = load i32, ptr %2, align 4, !tbaa !10
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !10
%61 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D, align 4, !tbaa !10
%62 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %53, i32 noundef %60, ptr noundef nonnull %3, i32 noundef %61, ptr noundef nonnull %4) #3
br label %173
63: ; preds = %46
%64 = and i32 %19, 1
%65 = icmp eq i32 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i32, ptr @ATOM_DEVICE_CRT2_SUPPORT, align 4, !tbaa !10
%68 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %67, i32 noundef 2) #3
br label %72
69: ; preds = %63
%70 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%71 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %70, i32 noundef 1) #3
br label %72
72: ; preds = %69, %66
%73 = phi ptr [ @ATOM_DEVICE_CRT1_SUPPORT, %69 ], [ @ATOM_DEVICE_CRT2_SUPPORT, %66 ]
%74 = phi i32 [ %71, %69 ], [ %68, %66 ]
%75 = phi i32 [ %70, %69 ], [ %67, %66 ]
%76 = load i32, ptr %73, align 4, !tbaa !10
%77 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %74, i32 noundef %76) #3
%78 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !12
%79 = load i32, ptr %2, align 4, !tbaa !10
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
%82 = load i32, ptr %81, align 4, !tbaa !10
%83 = load i32, ptr @CONNECTOR_OBJECT_ID_VGA, align 4, !tbaa !10
%84 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %75, i32 noundef %82, ptr noundef nonnull %3, i32 noundef %83, ptr noundef nonnull %4) #3
br label %173
85: ; preds = %46
%86 = and i32 %19, 1
%87 = icmp eq i32 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %85
%89 = load i32, ptr @ATOM_DEVICE_CRT2_SUPPORT, align 4, !tbaa !10
%90 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %89, i32 noundef 2) #3
br label %94
91: ; preds = %85
%92 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%93 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %92, i32 noundef 1) #3
br label %94
94: ; preds = %91, %88
%95 = phi ptr [ @ATOM_DEVICE_CRT1_SUPPORT, %91 ], [ @ATOM_DEVICE_CRT2_SUPPORT, %88 ]
%96 = phi i32 [ %93, %91 ], [ %90, %88 ]
%97 = phi i32 [ %92, %91 ], [ %89, %88 ]
%98 = load i32, ptr %95, align 4, !tbaa !10
%99 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %96, i32 noundef %98) #3
%100 = load ptr, ptr %0, align 8, !tbaa !15
%101 = load i32, ptr %100, align 4, !tbaa !16
%102 = icmp eq i32 %101, 20825
br i1 %102, label %103, label %112
103: ; preds = %94
%104 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i64 0, i32 1
%105 = load i32, ptr %104, align 4, !tbaa !18
%106 = icmp eq i32 %105, 4116
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i64 0, i32 2
%109 = load i32, ptr %108, align 4, !tbaa !19
%110 = icmp eq i32 %109, 666
%111 = select i1 %110, i32 0, i32 %19
br label %112
112: ; preds = %107, %103, %94
%113 = phi i32 [ %19, %103 ], [ %19, %94 ], [ %111, %107 ]
%114 = and i32 %113, 16
%115 = icmp eq i32 %114, 0
br i1 %115, label %122, label %116
116: ; preds = %112
%117 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !10
%118 = call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %117, i32 noundef 0) #3
%119 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !10
%120 = call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %118, i32 noundef %119) #3
%121 = call i32 @combios_check_dl_dvi(ptr noundef nonnull %0, i32 noundef 0) #3
br label %128
122: ; preds = %112
%123 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%124 = call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %123, i32 noundef 0) #3
%125 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%126 = call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %124, i32 noundef %125) #3
%127 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, align 4, !tbaa !10
br label %128
128: ; preds = %122, %116
%129 = phi i32 [ %121, %116 ], [ %127, %122 ]
%130 = phi i32 [ %117, %116 ], [ %123, %122 ]
%131 = or i32 %130, %97
%132 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !12
%133 = load i32, ptr %2, align 4, !tbaa !10
%134 = zext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %132, i64 %134
%136 = load i32, ptr %135, align 4, !tbaa !10
%137 = call i32 @radeon_add_legacy_connector(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %131, i32 noundef %136, ptr noundef nonnull %3, i32 noundef %129, ptr noundef nonnull %4) #3
br label %173
138: ; preds = %46
%139 = and i32 %19, 16
%140 = icmp eq i32 %139, 0
br i1 %140, label %144, label %141
141: ; preds = %138
%142 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !10
%143 = call i32 @combios_check_dl_dvi(ptr noundef %0, i32 noundef 1) #3
br label %147
144: ; preds = %138
%145 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%146 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, align 4, !tbaa !10
br label %147
147: ; preds = %144, %141
%148 = phi i32 [ %143, %141 ], [ %146, %144 ]
%149 = phi i32 [ %142, %141 ], [ %145, %144 ]
%150 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %149, i32 noundef 0) #3
%151 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %150, i32 noundef %149) #3
%152 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !12
%153 = load i32, ptr %2, align 4, !tbaa !10
%154 = zext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4, !tbaa !10
%157 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %149, i32 noundef %156, ptr noundef nonnull %3, i32 noundef %148, ptr noundef nonnull %4) #3
br label %173
158: ; preds = %46, %46
%159 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%160 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %159, i32 noundef 2) #3
%161 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%162 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %160, i32 noundef %161) #3
%163 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%164 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !12
%165 = load i32, ptr %2, align 4, !tbaa !10
%166 = zext i32 %165 to i64
%167 = getelementptr inbounds i32, ptr %164, i64 %166
%168 = load i32, ptr %167, align 4, !tbaa !10
%169 = load i32, ptr @CONNECTOR_OBJECT_ID_SVIDEO, align 4, !tbaa !10
%170 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %163, i32 noundef %168, ptr noundef nonnull %3, i32 noundef %169, ptr noundef nonnull %4) #3
br label %173
171: ; preds = %46
%172 = call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %47) #3
br label %173
173: ; preds = %48, %72, %128, %147, %158, %43, %171
%174 = add nuw nsw i32 %13, 1
%175 = icmp eq i32 %174, 4
br i1 %175, label %219, label %12, !llvm.loop !20
176: ; preds = %1
%177 = load i32, ptr @COMBIOS_DFP_INFO_TABLE, align 4, !tbaa !10
%178 = tail call i32 @combios_get_table_offset(ptr noundef nonnull %0, i32 noundef %177) #3
%179 = icmp eq i32 %178, 0
br i1 %179, label %196, label %180
180: ; preds = %176
%181 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.1) #3
%182 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%183 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %182, i32 noundef 1) #3
%184 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%185 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %183, i32 noundef %184) #3
%186 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%187 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %186, i32 noundef 0) #3
%188 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%189 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %187, i32 noundef %188) #3
%190 = load i32, ptr @DDC_DVI, align 4, !tbaa !10
%191 = tail call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %190, i32 noundef 0, i32 noundef 0) #3
store i32 %191, ptr %3, align 4, !tbaa.struct !22
%192 = load ptr, ptr @RADEON_HPD_1, align 8, !tbaa !12
store ptr %192, ptr %4, align 8, !tbaa !13
%193 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%194 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !10
%195 = or i32 %194, %193
br label %212
196: ; preds = %176
%197 = load i32, ptr @COMBIOS_CRT_INFO_TABLE, align 4, !tbaa !10
%198 = tail call i32 @combios_get_table_offset(ptr noundef nonnull %0, i32 noundef %197) #3
%199 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.2) #3
%200 = icmp eq i32 %198, 0
br i1 %200, label %201, label %203
201: ; preds = %196
%202 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.3) #3
br label %284
203: ; preds = %196
%204 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%205 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %204, i32 noundef 1) #3
%206 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
%207 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %205, i32 noundef %206) #3
%208 = load i32, ptr @DDC_VGA, align 4, !tbaa !10
%209 = tail call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %208, i32 noundef 0, i32 noundef 0) #3
store i32 %209, ptr %3, align 4, !tbaa.struct !22
%210 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !12
store ptr %210, ptr %4, align 8, !tbaa !13
%211 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !10
br label %212
212: ; preds = %180, %203
%213 = phi ptr [ @DRM_MODE_CONNECTOR_VGA, %203 ], [ @DRM_MODE_CONNECTOR_DVII, %180 ]
%214 = phi ptr [ @CONNECTOR_OBJECT_ID_VGA, %203 ], [ @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, %180 ]
%215 = phi i32 [ %211, %203 ], [ %195, %180 ]
%216 = load i32, ptr %213, align 4, !tbaa !10
%217 = load i32, ptr %214, align 4, !tbaa !10
%218 = call i32 @radeon_add_legacy_connector(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %215, i32 noundef %216, ptr noundef nonnull %3, i32 noundef %217, ptr noundef nonnull %4) #3
br label %219
219: ; preds = %173, %12, %212
%220 = load i32, ptr %6, align 8, !tbaa !23
%221 = load i32, ptr @RADEON_IS_MOBILITY, align 4, !tbaa !10
%222 = and i32 %221, %220
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %228
224: ; preds = %219
%225 = load i32, ptr @RADEON_IS_IGP, align 4, !tbaa !10
%226 = and i32 %225, %220
%227 = icmp eq i32 %226, 0
br i1 %227, label %253, label %228
228: ; preds = %224, %219
%229 = load i32, ptr @COMBIOS_LCD_INFO_TABLE, align 4, !tbaa !10
%230 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %229) #3
%231 = icmp eq i32 %230, 0
br i1 %231, label %253, label %232
232: ; preds = %228
%233 = load i32, ptr @COMBIOS_LCD_DDC_INFO_TABLE, align 4, !tbaa !10
%234 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %233) #3
%235 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !10
%236 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %235, i32 noundef 0) #3
%237 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !10
%238 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %236, i32 noundef %237) #3
%239 = icmp eq i32 %234, 0
br i1 %239, label %246, label %240
240: ; preds = %232
%241 = add nsw i32 %234, 2
%242 = call signext i8 @RBIOS8(i32 noundef %241) #3
%243 = sext i8 %242 to i32
%244 = call i32 @combios_setup_i2c_bus(ptr noundef nonnull %6, i32 noundef %243, i32 noundef 0, i32 noundef 0) #3
store i32 %244, ptr %3, align 4, !tbaa.struct !22
%245 = call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.5) #3
br label %247
246: ; preds = %232
store i32 0, ptr %3, align 4, !tbaa !26
br label %247
247: ; preds = %246, %240
%248 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !12
store ptr %248, ptr %4, align 8, !tbaa !13
%249 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !10
%250 = load i32, ptr @DRM_MODE_CONNECTOR_LVDS, align 4, !tbaa !10
%251 = load i32, ptr @CONNECTOR_OBJECT_ID_LVDS, align 4, !tbaa !10
%252 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef 5, i32 noundef %249, i32 noundef %250, ptr noundef nonnull %3, i32 noundef %251, ptr noundef nonnull %4) #3
br label %253
253: ; preds = %228, %247, %224
%254 = getelementptr inbounds %struct.radeon_device, ptr %6, i64 0, i32 1
%255 = load i64, ptr %254, align 8, !tbaa !28
%256 = load i64, ptr @CHIP_R100, align 8, !tbaa !29
%257 = icmp eq i64 %255, %256
%258 = load i64, ptr @CHIP_R200, align 8
%259 = icmp eq i64 %255, %258
%260 = select i1 %257, i1 true, i1 %259
br i1 %260, label %282, label %261
261: ; preds = %253
%262 = load i32, ptr @COMBIOS_TV_INFO_TABLE, align 4, !tbaa !10
%263 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %262) #3
%264 = icmp eq i32 %263, 0
br i1 %264, label %282, label %265
265: ; preds = %261
%266 = add nsw i32 %263, 6
%267 = call signext i8 @RBIOS8(i32 noundef %266) #3
%268 = icmp eq i8 %267, 84
br i1 %268, label %269, label %282
269: ; preds = %265
%270 = call i64 @radeon_apply_legacy_tv_quirks(ptr noundef %0) #3
%271 = icmp eq i64 %270, 0
br i1 %271, label %282, label %272
272: ; preds = %269
%273 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !12
store ptr %273, ptr %4, align 8, !tbaa !13
store i32 0, ptr %3, align 4, !tbaa !26
%274 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%275 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %274, i32 noundef 2) #3
%276 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%277 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %275, i32 noundef %276) #3
%278 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !10
%279 = load i32, ptr @DRM_MODE_CONNECTOR_SVIDEO, align 4, !tbaa !10
%280 = load i32, ptr @CONNECTOR_OBJECT_ID_SVIDEO, align 4, !tbaa !10
%281 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef 6, i32 noundef %278, i32 noundef %279, ptr noundef nonnull %3, i32 noundef %280, ptr noundef nonnull %4) #3
br label %282
282: ; preds = %261, %269, %272, %265, %253
%283 = call i32 @radeon_link_encoder_connector(ptr noundef %0) #3
br label %284
284: ; preds = %201, %282
%285 = phi i32 [ 1, %282 ], [ 0, %201 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %285
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @combios_get_table_offset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RBIOS16(i32 noundef) local_unnamed_addr #2
declare i32 @radeon_combios_get_i2c_info_from_table(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 @combios_setup_i2c_bus(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_apply_legacy_quirks(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_add_legacy_encoder(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_get_encoder_enum(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_add_legacy_connector(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @combios_check_dl_dvi(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DRM_DEBUG_KMS(ptr noundef) local_unnamed_addr #2
declare signext i8 @RBIOS8(i32 noundef) local_unnamed_addr #2
declare i64 @radeon_apply_legacy_tv_quirks(ptr noundef) local_unnamed_addr #2
declare i32 @radeon_link_encoder_connector(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, !7, i64 8}
!6 = !{!"drm_device", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"radeon_hpd", !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8}
!18 = !{!17, !11, i64 4}
!19 = !{!17, !11, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{i64 0, i64 4, !10}
!23 = !{!24, !11, i64 0}
!24 = !{!"radeon_device", !11, i64 0, !25, i64 8}
!25 = !{!"long", !8, i64 0}
!26 = !{!27, !11, i64 0}
!27 = !{!"radeon_i2c_bus_rec", !11, i64 0}
!28 = !{!24, !25, i64 8}
!29 = !{!25, !25, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_combios.c_radeon_get_legacy_connector_info_from_bios.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_combios.c_radeon_get_legacy_connector_info_from_bios.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.radeon_i2c_bus_rec = type { i32 }
%struct.radeon_hpd = type { ptr }
@COMBIOS_CONNECTOR_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@RADEON_HPD_2 = common local_unnamed_addr global ptr null, align 8
@RADEON_HPD_1 = common local_unnamed_addr global ptr null, align 8
@RADEON_HPD_NONE = common local_unnamed_addr global ptr null, align 8
@ATOM_DEVICE_DFP2_SUPPORT = common local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_DFP1_SUPPORT = common local_unnamed_addr global i32 0, align 4
@legacy_connector_convert = common local_unnamed_addr global ptr null, align 8
@CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D = common local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_CRT2_SUPPORT = common local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_CRT1_SUPPORT = common local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_VGA = common local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I = common local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_TV1_SUPPORT = common local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_SVIDEO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unknown connector type: %d\0A\00", align 1
@COMBIOS_DFP_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Found DFP table, assuming DVI connector\0A\00", align 1
@DDC_DVI = common local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_DVII = common local_unnamed_addr global i32 0, align 4
@COMBIOS_CRT_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Found CRT table, assuming VGA connector\0A\00", align 1
@DDC_VGA = common local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_VGA = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"No connector info found\0A\00", align 1
@RADEON_IS_MOBILITY = common local_unnamed_addr global i32 0, align 4
@RADEON_IS_IGP = common local_unnamed_addr global i32 0, align 4
@COMBIOS_LCD_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@COMBIOS_LCD_DDC_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@ATOM_DEVICE_LCD1_SUPPORT = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"LCD DDC Info Table found!\0A\00", align 1
@DRM_MODE_CONNECTOR_LVDS = common local_unnamed_addr global i32 0, align 4
@CONNECTOR_OBJECT_ID_LVDS = common local_unnamed_addr global i32 0, align 4
@CHIP_R100 = common local_unnamed_addr global i64 0, align 8
@CHIP_R200 = common local_unnamed_addr global i64 0, align 8
@COMBIOS_TV_INFO_TABLE = common local_unnamed_addr global i32 0, align 4
@DRM_MODE_CONNECTOR_SVIDEO = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @radeon_get_legacy_connector_info_from_bios(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.radeon_i2c_bus_rec, align 4
%4 = alloca %struct.radeon_hpd, align 8
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = load i32, ptr @COMBIOS_CONNECTOR_INFO_TABLE, align 4, !tbaa !11
%8 = tail call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %164, label %10
10: ; preds = %1
%11 = add nsw i32 %8, 2
br label %12
12: ; preds = %10, %161
%13 = phi i32 [ 0, %10 ], [ %162, %161 ]
%14 = shl nuw nsw i32 %13, 1
%15 = add nsw i32 %11, %14
%16 = call i32 @RBIOS16(i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %207, label %18
18: ; preds = %12
%19 = call i32 @RBIOS16(i32 noundef %15) #3
%20 = lshr i32 %19, 12
%21 = and i32 %20, 15
store i32 %21, ptr %2, align 4, !tbaa !11
%22 = lshr i32 %19, 8
%23 = and i32 %22, 15
%24 = icmp eq i32 %23, 5
br i1 %24, label %25, label %27
25: ; preds = %18
%26 = call i32 @radeon_combios_get_i2c_info_from_table(ptr noundef %6) #3
br label %29
27: ; preds = %18
%28 = call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %23, i32 noundef 0, i32 noundef 0) #3
br label %29
29: ; preds = %27, %25
%30 = phi i32 [ %28, %27 ], [ %26, %25 ]
store i32 %30, ptr %3, align 4, !tbaa !11
%31 = load i32, ptr %2, align 4, !tbaa !11
%32 = add i32 %31, -131
%33 = icmp ult i32 %32, 3
br i1 %33, label %34, label %41
34: ; preds = %29
%35 = and i32 %19, 16
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %34
%38 = load ptr, ptr @RADEON_HPD_2, align 8, !tbaa !13
store ptr %38, ptr %4, align 8, !tbaa !14
br label %43
39: ; preds = %34
%40 = load ptr, ptr @RADEON_HPD_1, align 8, !tbaa !13
store ptr %40, ptr %4, align 8, !tbaa !14
br label %43
41: ; preds = %29
%42 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !13
store ptr %42, ptr %4, align 8, !tbaa !14
br label %43
43: ; preds = %37, %39, %41
%44 = call i32 @radeon_apply_legacy_quirks(ptr noundef %0, i32 noundef %13, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %161, label %46
46: ; preds = %43
%47 = load i32, ptr %2, align 4, !tbaa !11
switch i32 %47, label %159 [
i32 131, label %48
i32 135, label %63
i32 132, label %79
i32 133, label %126
i32 134, label %146
i32 130, label %146
]
48: ; preds = %46
%49 = and i32 %19, 16
%50 = icmp eq i32 %49, 0
%51 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4
%52 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4
%53 = select i1 %50, i32 %51, i32 %52
%54 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %53, i32 noundef 0) #3
%55 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %54, i32 noundef %53) #3
%56 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !13
%57 = load i32, ptr %2, align 4, !tbaa !11
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !11
%61 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D, align 4, !tbaa !11
%62 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %53, i32 noundef %60, ptr noundef nonnull %3, i32 noundef %61, ptr noundef nonnull %4) #3
br label %161
63: ; preds = %46
%64 = and i32 %19, 1
%65 = icmp eq i32 %64, 0
%66 = select i1 %65, ptr @ATOM_DEVICE_CRT1_SUPPORT, ptr @ATOM_DEVICE_CRT2_SUPPORT
%67 = select i1 %65, i32 1, i32 2
%68 = load i32, ptr %66, align 4, !tbaa !11
%69 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %68, i32 noundef %67) #3
%70 = load i32, ptr %66, align 4, !tbaa !11
%71 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %69, i32 noundef %70) #3
%72 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !13
%73 = load i32, ptr %2, align 4, !tbaa !11
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4, !tbaa !11
%77 = load i32, ptr @CONNECTOR_OBJECT_ID_VGA, align 4, !tbaa !11
%78 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %68, i32 noundef %76, ptr noundef nonnull %3, i32 noundef %77, ptr noundef nonnull %4) #3
br label %161
79: ; preds = %46
%80 = and i32 %19, 1
%81 = icmp eq i32 %80, 0
%82 = select i1 %81, ptr @ATOM_DEVICE_CRT1_SUPPORT, ptr @ATOM_DEVICE_CRT2_SUPPORT
%83 = select i1 %81, i32 1, i32 2
%84 = load i32, ptr %82, align 4, !tbaa !11
%85 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %84, i32 noundef %83) #3
%86 = load i32, ptr %82, align 4, !tbaa !11
%87 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %85, i32 noundef %86) #3
%88 = load ptr, ptr %0, align 8, !tbaa !16
%89 = load i32, ptr %88, align 4, !tbaa !17
%90 = icmp eq i32 %89, 20825
br i1 %90, label %91, label %100
91: ; preds = %79
%92 = getelementptr inbounds i8, ptr %88, i64 4
%93 = load i32, ptr %92, align 4, !tbaa !19
%94 = icmp eq i32 %93, 4116
br i1 %94, label %95, label %100
95: ; preds = %91
%96 = getelementptr inbounds i8, ptr %88, i64 8
%97 = load i32, ptr %96, align 4, !tbaa !20
%98 = icmp eq i32 %97, 666
%99 = select i1 %98, i32 0, i32 %19
br label %100
100: ; preds = %95, %91, %79
%101 = phi i32 [ %19, %91 ], [ %19, %79 ], [ %99, %95 ]
%102 = and i32 %101, 16
%103 = icmp eq i32 %102, 0
br i1 %103, label %110, label %104
104: ; preds = %100
%105 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !11
%106 = call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %105, i32 noundef 0) #3
%107 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !11
%108 = call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %106, i32 noundef %107) #3
%109 = call i32 @combios_check_dl_dvi(ptr noundef nonnull %0, i32 noundef 0) #3
br label %116
110: ; preds = %100
%111 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%112 = call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %111, i32 noundef 0) #3
%113 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%114 = call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %112, i32 noundef %113) #3
%115 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, align 4, !tbaa !11
br label %116
116: ; preds = %110, %104
%117 = phi i32 [ %109, %104 ], [ %115, %110 ]
%118 = phi i32 [ %105, %104 ], [ %111, %110 ]
%119 = or i32 %118, %84
%120 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !13
%121 = load i32, ptr %2, align 4, !tbaa !11
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4, !tbaa !11
%125 = call i32 @radeon_add_legacy_connector(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %119, i32 noundef %124, ptr noundef nonnull %3, i32 noundef %117, ptr noundef nonnull %4) #3
br label %161
126: ; preds = %46
%127 = and i32 %19, 16
%128 = icmp eq i32 %127, 0
br i1 %128, label %132, label %129
129: ; preds = %126
%130 = load i32, ptr @ATOM_DEVICE_DFP2_SUPPORT, align 4, !tbaa !11
%131 = call i32 @combios_check_dl_dvi(ptr noundef %0, i32 noundef 1) #3
br label %135
132: ; preds = %126
%133 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%134 = load i32, ptr @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, align 4, !tbaa !11
br label %135
135: ; preds = %132, %129
%136 = phi i32 [ %131, %129 ], [ %134, %132 ]
%137 = phi i32 [ %130, %129 ], [ %133, %132 ]
%138 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %137, i32 noundef 0) #3
%139 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %138, i32 noundef %137) #3
%140 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !13
%141 = load i32, ptr %2, align 4, !tbaa !11
%142 = zext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4, !tbaa !11
%145 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %137, i32 noundef %144, ptr noundef nonnull %3, i32 noundef %136, ptr noundef nonnull %4) #3
br label %161
146: ; preds = %46, %46
%147 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%148 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %147, i32 noundef 2) #3
%149 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%150 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %148, i32 noundef %149) #3
%151 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%152 = load ptr, ptr @legacy_connector_convert, align 8, !tbaa !13
%153 = load i32, ptr %2, align 4, !tbaa !11
%154 = zext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4, !tbaa !11
%157 = load i32, ptr @CONNECTOR_OBJECT_ID_SVIDEO, align 4, !tbaa !11
%158 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef %13, i32 noundef %151, i32 noundef %156, ptr noundef nonnull %3, i32 noundef %157, ptr noundef nonnull %4) #3
br label %161
159: ; preds = %46
%160 = call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %47) #3
br label %161
161: ; preds = %48, %63, %116, %135, %146, %43, %159
%162 = add nuw nsw i32 %13, 1
%163 = icmp eq i32 %162, 4
br i1 %163, label %207, label %12, !llvm.loop !21
164: ; preds = %1
%165 = load i32, ptr @COMBIOS_DFP_INFO_TABLE, align 4, !tbaa !11
%166 = tail call i32 @combios_get_table_offset(ptr noundef nonnull %0, i32 noundef %165) #3
%167 = icmp eq i32 %166, 0
br i1 %167, label %184, label %168
168: ; preds = %164
%169 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.1) #3
%170 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
%171 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %170, i32 noundef 1) #3
%172 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
%173 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %171, i32 noundef %172) #3
%174 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%175 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %174, i32 noundef 0) #3
%176 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%177 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %175, i32 noundef %176) #3
%178 = load i32, ptr @DDC_DVI, align 4, !tbaa !11
%179 = tail call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %178, i32 noundef 0, i32 noundef 0) #3
store i32 %179, ptr %3, align 4, !tbaa !11
%180 = load ptr, ptr @RADEON_HPD_1, align 8, !tbaa !13
store ptr %180, ptr %4, align 8, !tbaa !14
%181 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
%182 = load i32, ptr @ATOM_DEVICE_DFP1_SUPPORT, align 4, !tbaa !11
%183 = or i32 %182, %181
br label %200
184: ; preds = %164
%185 = load i32, ptr @COMBIOS_CRT_INFO_TABLE, align 4, !tbaa !11
%186 = tail call i32 @combios_get_table_offset(ptr noundef nonnull %0, i32 noundef %185) #3
%187 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.2) #3
%188 = icmp eq i32 %186, 0
br i1 %188, label %189, label %191
189: ; preds = %184
%190 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.3) #3
br label %272
191: ; preds = %184
%192 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
%193 = tail call i32 @radeon_get_encoder_enum(ptr noundef nonnull %0, i32 noundef %192, i32 noundef 1) #3
%194 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
%195 = tail call i32 @radeon_add_legacy_encoder(ptr noundef nonnull %0, i32 noundef %193, i32 noundef %194) #3
%196 = load i32, ptr @DDC_VGA, align 4, !tbaa !11
%197 = tail call i32 @combios_setup_i2c_bus(ptr noundef %6, i32 noundef %196, i32 noundef 0, i32 noundef 0) #3
store i32 %197, ptr %3, align 4, !tbaa !11
%198 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !13
store ptr %198, ptr %4, align 8, !tbaa !14
%199 = load i32, ptr @ATOM_DEVICE_CRT1_SUPPORT, align 4, !tbaa !11
br label %200
200: ; preds = %168, %191
%201 = phi ptr [ @DRM_MODE_CONNECTOR_VGA, %191 ], [ @DRM_MODE_CONNECTOR_DVII, %168 ]
%202 = phi ptr [ @CONNECTOR_OBJECT_ID_VGA, %191 ], [ @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, %168 ]
%203 = phi i32 [ %199, %191 ], [ %183, %168 ]
%204 = load i32, ptr %201, align 4, !tbaa !11
%205 = load i32, ptr %202, align 4, !tbaa !11
%206 = call i32 @radeon_add_legacy_connector(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %203, i32 noundef %204, ptr noundef nonnull %3, i32 noundef %205, ptr noundef nonnull %4) #3
br label %207
207: ; preds = %161, %12, %200
%208 = load i32, ptr %6, align 8, !tbaa !23
%209 = load i32, ptr @RADEON_IS_MOBILITY, align 4, !tbaa !11
%210 = and i32 %209, %208
%211 = icmp eq i32 %210, 0
br i1 %211, label %212, label %216
212: ; preds = %207
%213 = load i32, ptr @RADEON_IS_IGP, align 4, !tbaa !11
%214 = and i32 %213, %208
%215 = icmp eq i32 %214, 0
br i1 %215, label %241, label %216
216: ; preds = %212, %207
%217 = load i32, ptr @COMBIOS_LCD_INFO_TABLE, align 4, !tbaa !11
%218 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %217) #3
%219 = icmp eq i32 %218, 0
br i1 %219, label %241, label %220
220: ; preds = %216
%221 = load i32, ptr @COMBIOS_LCD_DDC_INFO_TABLE, align 4, !tbaa !11
%222 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %221) #3
%223 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !11
%224 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %223, i32 noundef 0) #3
%225 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !11
%226 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %224, i32 noundef %225) #3
%227 = icmp eq i32 %222, 0
br i1 %227, label %234, label %228
228: ; preds = %220
%229 = add nsw i32 %222, 2
%230 = call signext i8 @RBIOS8(i32 noundef %229) #3
%231 = sext i8 %230 to i32
%232 = call i32 @combios_setup_i2c_bus(ptr noundef nonnull %6, i32 noundef %231, i32 noundef 0, i32 noundef 0) #3
store i32 %232, ptr %3, align 4, !tbaa !11
%233 = call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.5) #3
br label %235
234: ; preds = %220
store i32 0, ptr %3, align 4, !tbaa !26
br label %235
235: ; preds = %234, %228
%236 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !13
store ptr %236, ptr %4, align 8, !tbaa !14
%237 = load i32, ptr @ATOM_DEVICE_LCD1_SUPPORT, align 4, !tbaa !11
%238 = load i32, ptr @DRM_MODE_CONNECTOR_LVDS, align 4, !tbaa !11
%239 = load i32, ptr @CONNECTOR_OBJECT_ID_LVDS, align 4, !tbaa !11
%240 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef 5, i32 noundef %237, i32 noundef %238, ptr noundef nonnull %3, i32 noundef %239, ptr noundef nonnull %4) #3
br label %241
241: ; preds = %216, %235, %212
%242 = getelementptr inbounds i8, ptr %6, i64 8
%243 = load i64, ptr %242, align 8, !tbaa !28
%244 = load i64, ptr @CHIP_R100, align 8, !tbaa !29
%245 = icmp eq i64 %243, %244
%246 = load i64, ptr @CHIP_R200, align 8
%247 = icmp eq i64 %243, %246
%248 = select i1 %245, i1 true, i1 %247
br i1 %248, label %270, label %249
249: ; preds = %241
%250 = load i32, ptr @COMBIOS_TV_INFO_TABLE, align 4, !tbaa !11
%251 = call i32 @combios_get_table_offset(ptr noundef %0, i32 noundef %250) #3
%252 = icmp eq i32 %251, 0
br i1 %252, label %270, label %253
253: ; preds = %249
%254 = add nsw i32 %251, 6
%255 = call signext i8 @RBIOS8(i32 noundef %254) #3
%256 = icmp eq i8 %255, 84
br i1 %256, label %257, label %270
257: ; preds = %253
%258 = call i64 @radeon_apply_legacy_tv_quirks(ptr noundef %0) #3
%259 = icmp eq i64 %258, 0
br i1 %259, label %270, label %260
260: ; preds = %257
%261 = load ptr, ptr @RADEON_HPD_NONE, align 8, !tbaa !13
store ptr %261, ptr %4, align 8, !tbaa !14
store i32 0, ptr %3, align 4, !tbaa !26
%262 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%263 = call i32 @radeon_get_encoder_enum(ptr noundef %0, i32 noundef %262, i32 noundef 2) #3
%264 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%265 = call i32 @radeon_add_legacy_encoder(ptr noundef %0, i32 noundef %263, i32 noundef %264) #3
%266 = load i32, ptr @ATOM_DEVICE_TV1_SUPPORT, align 4, !tbaa !11
%267 = load i32, ptr @DRM_MODE_CONNECTOR_SVIDEO, align 4, !tbaa !11
%268 = load i32, ptr @CONNECTOR_OBJECT_ID_SVIDEO, align 4, !tbaa !11
%269 = call i32 @radeon_add_legacy_connector(ptr noundef %0, i32 noundef 6, i32 noundef %266, i32 noundef %267, ptr noundef nonnull %3, i32 noundef %268, ptr noundef nonnull %4) #3
br label %270
270: ; preds = %249, %257, %260, %253, %241
%271 = call i32 @radeon_link_encoder_connector(ptr noundef %0) #3
br label %272
272: ; preds = %189, %270
%273 = phi i32 [ 1, %270 ], [ 0, %189 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %273
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @combios_get_table_offset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RBIOS16(i32 noundef) local_unnamed_addr #2
declare i32 @radeon_combios_get_i2c_info_from_table(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 @combios_setup_i2c_bus(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_apply_legacy_quirks(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_add_legacy_encoder(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_get_encoder_enum(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_add_legacy_connector(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @combios_check_dl_dvi(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DRM_DEBUG_KMS(ptr noundef) local_unnamed_addr #2
declare signext i8 @RBIOS8(i32 noundef) local_unnamed_addr #2
declare i64 @radeon_apply_legacy_tv_quirks(ptr noundef) local_unnamed_addr #2
declare i32 @radeon_link_encoder_connector(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, !8, i64 8}
!7 = !{!"drm_device", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"radeon_hpd", !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8}
!19 = !{!18, !12, i64 4}
!20 = !{!18, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !12, i64 0}
!24 = !{!"radeon_device", !12, i64 0, !25, i64 8}
!25 = !{!"long", !9, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"radeon_i2c_bus_rec", !12, i64 0}
!28 = !{!24, !25, i64 8}
!29 = !{!25, !25, i64 0}
| linux_drivers_gpu_drm_radeon_extr_radeon_combios.c_radeon_get_legacy_connector_info_from_bios |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_NnGetOldestNatEntryOfIp.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_NnGetOldestNatEntryOfIp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i64, i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local ptr @NnGetOldestNatEntryOfIp(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %37, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i64 @LIST_NUM(i32 noundef %7) #3
%9 = icmp sgt i64 %8, 0
br i1 %9, label %10, label %37
10: ; preds = %5, %29
%11 = phi i64 [ %31, %29 ], [ -1, %5 ]
%12 = phi ptr [ %30, %29 ], [ null, %5 ]
%13 = phi i64 [ %32, %29 ], [ 0, %5 ]
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = tail call ptr @LIST_DATA(i32 noundef %15, i64 noundef %13) #3
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = icmp eq i64 %17, %1
br i1 %18, label %19, label %29
19: ; preds = %10
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 0, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = icmp eq i64 %21, %2
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 0, i32 2
%25 = load i64, ptr %24, align 8, !tbaa !17
%26 = icmp sgt i64 %25, %11
%27 = select i1 %26, ptr %12, ptr %16
%28 = tail call i64 @llvm.smin.i64(i64 %25, i64 %11)
br label %29
29: ; preds = %23, %19, %10
%30 = phi ptr [ %12, %19 ], [ %12, %10 ], [ %27, %23 ]
%31 = phi i64 [ %11, %19 ], [ %11, %10 ], [ %28, %23 ]
%32 = add nuw nsw i64 %13, 1
%33 = load ptr, ptr %0, align 8, !tbaa !5
%34 = load i32, ptr %33, align 4, !tbaa !10
%35 = tail call i64 @LIST_NUM(i32 noundef %34) #3
%36 = icmp slt i64 %32, %35
br i1 %36, label %10, label %37, !llvm.loop !18
37: ; preds = %29, %5, %3
%38 = phi ptr [ null, %3 ], [ null, %5 ], [ %30, %29 ]
ret ptr %38
}
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1
declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !15, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_NnGetOldestNatEntryOfIp.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_NnGetOldestNatEntryOfIp.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 @NnGetOldestNatEntryOfIp(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %37, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i64 @LIST_NUM(i32 noundef %7) #3
%9 = icmp sgt i64 %8, 0
br i1 %9, label %10, label %37
10: ; preds = %5, %29
%11 = phi i64 [ %31, %29 ], [ -1, %5 ]
%12 = phi ptr [ %30, %29 ], [ null, %5 ]
%13 = phi i64 [ %32, %29 ], [ 0, %5 ]
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call ptr @LIST_DATA(i32 noundef %15, i64 noundef %13) #3
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = icmp eq i64 %17, %1
br i1 %18, label %19, label %29
19: ; preds = %10
%20 = getelementptr inbounds i8, ptr %16, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp eq i64 %21, %2
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %16, i64 16
%25 = load i64, ptr %24, align 8, !tbaa !18
%26 = icmp sgt i64 %25, %11
%27 = select i1 %26, ptr %12, ptr %16
%28 = tail call i64 @llvm.smin.i64(i64 %25, i64 %11)
br label %29
29: ; preds = %23, %19, %10
%30 = phi ptr [ %12, %19 ], [ %12, %10 ], [ %27, %23 ]
%31 = phi i64 [ %11, %19 ], [ %11, %10 ], [ %28, %23 ]
%32 = add nuw nsw i64 %13, 1
%33 = load ptr, ptr %0, align 8, !tbaa !6
%34 = load i32, ptr %33, align 4, !tbaa !11
%35 = tail call i64 @LIST_NUM(i32 noundef %34) #3
%36 = icmp slt i64 %32, %35
br i1 %36, label %10, label %37, !llvm.loop !19
37: ; preds = %29, %5, %3
%38 = phi ptr [ null, %3 ], [ null, %5 ], [ %30, %29 ]
ret ptr %38
}
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1
declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !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_7__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_8__", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !16, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| SoftEtherVPN_src_Cedar_extr_Virtual.c_NnGetOldestNatEntryOfIp |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/ss/extr_services.c_security_sid_to_context.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/ss/extr_services.c_security_sid_to_context.c"
target datalayout = "e-m:e-p270:32:32-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 @security_sid_to_context(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @security_sid_to_context_core(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @security_sid_to_context_core(i32 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)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/ss/extr_services.c_security_sid_to_context.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/ss/extr_services.c_security_sid_to_context.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 @security_sid_to_context(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @security_sid_to_context_core(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @security_sid_to_context_core(i32 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)"}
| fastsocket_kernel_security_selinux_ss_extr_services.c_security_sid_to_context |
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_sha2.c_ldns_sha384_update.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_sha2.c_ldns_sha384_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"
; Function Attrs: nounwind uwtable
define dso_local void @ldns_sha384_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ldns_sha512_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @ldns_sha512_update(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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_sha2.c_ldns_sha384_update.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_sha2.c_ldns_sha384_update.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 @ldns_sha384_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ldns_sha512_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @ldns_sha512_update(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)"}
| freebsd_contrib_ldns_extr_sha2.c_ldns_sha384_update |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_SAMP_0_XY_MIN.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_SAMP_0_XY_MIN.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A3XX_TEX_SAMP_0_XY_MIN__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A3XX_TEX_SAMP_0_XY_MIN__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_TEX_SAMP_0_XY_MIN], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A3XX_TEX_SAMP_0_XY_MIN(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TEX_SAMP_0_XY_MIN__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TEX_SAMP_0_XY_MIN__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_SAMP_0_XY_MIN.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_SAMP_0_XY_MIN.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A3XX_TEX_SAMP_0_XY_MIN__SHIFT = common local_unnamed_addr global i32 0, align 4
@A3XX_TEX_SAMP_0_XY_MIN__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A3XX_TEX_SAMP_0_XY_MIN], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A3XX_TEX_SAMP_0_XY_MIN(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TEX_SAMP_0_XY_MIN__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TEX_SAMP_0_XY_MIN__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_TEX_SAMP_0_XY_MIN |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/txx9/generic/extr_smsc_fdc37m81x.c_smsc_fdc37m81x_config_set.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/txx9/generic/extr_smsc_fdc37m81x.c_smsc_fdc37m81x_config_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_smsc_fdc37m81x_base = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @smsc_fdc37m81x_config_set(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @g_smsc_fdc37m81x_base, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @smsc_dc37m81x_wr(i32 noundef %0, i32 noundef %1) #2
br label %7
7: ; preds = %5, %2
ret void
}
declare i32 @smsc_dc37m81x_wr(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/txx9/generic/extr_smsc_fdc37m81x.c_smsc_fdc37m81x_config_set.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/txx9/generic/extr_smsc_fdc37m81x.c_smsc_fdc37m81x_config_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_smsc_fdc37m81x_base = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @smsc_fdc37m81x_config_set(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @g_smsc_fdc37m81x_base, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @smsc_dc37m81x_wr(i32 noundef %0, i32 noundef %1) #2
br label %7
7: ; preds = %5, %2
ret void
}
declare i32 @smsc_dc37m81x_wr(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_mips_txx9_generic_extr_smsc_fdc37m81x.c_smsc_fdc37m81x_config_set |
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_core.c_bpf_prog_kallsyms_del_subprogs.c'
source_filename = "AnghaBench/linux/kernel/bpf/extr_core.c_bpf_prog_kallsyms_del_subprogs.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_prog_kallsyms_del_subprogs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bpf_prog_kallsyms_del_subprogs(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 8, !tbaa !10
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %18
5: ; preds = %1, %5
%6 = phi i64 [ %13, %5 ], [ 0, %1 ]
%7 = phi ptr [ %14, %5 ], [ %2, %1 ]
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = getelementptr inbounds i32, ptr %9, i64 %6
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = tail call i32 @bpf_prog_kallsyms_del(i32 noundef %11) #2
%13 = add nuw nsw i64 %6, 1
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = load i32, ptr %14, align 8, !tbaa !10
%16 = sext i32 %15 to i64
%17 = icmp slt i64 %13, %16
br i1 %17, label %5, label %18, !llvm.loop !15
18: ; preds = %5, %1
ret void
}
declare i32 @bpf_prog_kallsyms_del(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 = !{!"bpf_prog", !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, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!12, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_core.c_bpf_prog_kallsyms_del_subprogs.c'
source_filename = "AnghaBench/linux/kernel/bpf/extr_core.c_bpf_prog_kallsyms_del_subprogs.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 @bpf_prog_kallsyms_del_subprogs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bpf_prog_kallsyms_del_subprogs(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 8, !tbaa !11
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %18
5: ; preds = %1, %5
%6 = phi i64 [ %13, %5 ], [ 0, %1 ]
%7 = phi ptr [ %14, %5 ], [ %2, %1 ]
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = getelementptr inbounds i32, ptr %9, i64 %6
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = tail call i32 @bpf_prog_kallsyms_del(i32 noundef %11) #2
%13 = add nuw nsw i64 %6, 1
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = load i32, ptr %14, align 8, !tbaa !11
%16 = sext i32 %15 to i64
%17 = icmp slt i64 %13, %16
br i1 %17, label %5, label %18, !llvm.loop !16
18: ; preds = %5, %1
ret void
}
declare i32 @bpf_prog_kallsyms_del(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 = !{!"bpf_prog", !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, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 8}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_kernel_bpf_extr_core.c_bpf_prog_kallsyms_del_subprogs |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_printf.c_pfprint_mod.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_printf.c_pfprint_mod.c"
target datalayout = "e-m:e-p270:32:32-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 @pfprint_mod], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pfprint_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr noundef %4, i64 %5, i32 %6) #0 {
%8 = ptrtoint ptr %4 to i64
%9 = trunc i64 %8 to i32
%10 = tail call i32 @dt_print_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %9) #2
ret i32 %10
}
declare i32 @dt_print_mod(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)"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_printf.c_pfprint_mod.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_printf.c_pfprint_mod.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 @pfprint_mod], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pfprint_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr noundef %4, i64 %5, i32 %6) #0 {
%8 = ptrtoint ptr %4 to i64
%9 = trunc i64 %8 to i32
%10 = tail call i32 @dt_print_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %9) #2
ret i32 %10
}
declare i32 @dt_print_mod(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)"}
| freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_printf.c_pfprint_mod |
; ModuleID = 'AnghaBench/kphp-kdb/util/extr_backup-engine.c_check_backup_filename.c'
source_filename = "AnghaBench/kphp-kdb/util/extr_backup-engine.c_check_backup_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_backup_filename], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_backup_filename(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = add nsw i32 %3, 10
%6 = icmp slt i32 %5, %1
br i1 %6, label %7, label %76
7: ; preds = %4
%8 = sext i32 %1 to i64
%9 = getelementptr inbounds i8, ptr %0, i64 %8
%10 = sub nsw i32 -10, %3
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = tail call i64 @memcmp(ptr noundef %12, ptr noundef %2, i32 noundef %3) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %76
15: ; preds = %7
%16 = getelementptr i8, ptr %0, i64 %8
%17 = getelementptr i8, ptr %16, i64 -1
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = add i8 %18, -58
%20 = icmp ult i8 %19, -10
br i1 %20, label %76, label %21
21: ; preds = %15
%22 = getelementptr i8, ptr %0, i64 %8
%23 = getelementptr i8, ptr %22, i64 -2
%24 = load i8, ptr %23, align 1, !tbaa !5
%25 = add i8 %24, -58
%26 = icmp ult i8 %25, -10
br i1 %26, label %76, label %27
27: ; preds = %21
%28 = getelementptr i8, ptr %0, i64 %8
%29 = getelementptr i8, ptr %28, i64 -3
%30 = load i8, ptr %29, align 1, !tbaa !5
%31 = add i8 %30, -58
%32 = icmp ult i8 %31, -10
br i1 %32, label %76, label %33
33: ; preds = %27
%34 = getelementptr i8, ptr %0, i64 %8
%35 = getelementptr i8, ptr %34, i64 -4
%36 = load i8, ptr %35, align 1, !tbaa !5
%37 = add i8 %36, -58
%38 = icmp ult i8 %37, -10
br i1 %38, label %76, label %39
39: ; preds = %33
%40 = getelementptr i8, ptr %0, i64 %8
%41 = getelementptr i8, ptr %40, i64 -5
%42 = load i8, ptr %41, align 1, !tbaa !5
%43 = add i8 %42, -58
%44 = icmp ult i8 %43, -10
br i1 %44, label %76, label %45
45: ; preds = %39
%46 = getelementptr i8, ptr %0, i64 %8
%47 = getelementptr i8, ptr %46, i64 -6
%48 = load i8, ptr %47, align 1, !tbaa !5
%49 = add i8 %48, -58
%50 = icmp ult i8 %49, -10
br i1 %50, label %76, label %51
51: ; preds = %45
%52 = getelementptr i8, ptr %0, i64 %8
%53 = getelementptr i8, ptr %52, i64 -7
%54 = load i8, ptr %53, align 1, !tbaa !5
%55 = add i8 %54, -58
%56 = icmp ult i8 %55, -10
br i1 %56, label %76, label %57
57: ; preds = %51
%58 = getelementptr i8, ptr %0, i64 %8
%59 = getelementptr i8, ptr %58, i64 -8
%60 = load i8, ptr %59, align 1, !tbaa !5
%61 = add i8 %60, -58
%62 = icmp ult i8 %61, -10
br i1 %62, label %76, label %63
63: ; preds = %57
%64 = getelementptr i8, ptr %0, i64 %8
%65 = getelementptr i8, ptr %64, i64 -9
%66 = load i8, ptr %65, align 1, !tbaa !5
%67 = add i8 %66, -58
%68 = icmp ult i8 %67, -10
br i1 %68, label %76, label %69
69: ; preds = %63
%70 = getelementptr i8, ptr %0, i64 %8
%71 = getelementptr i8, ptr %70, i64 -10
%72 = load i8, ptr %71, align 1, !tbaa !5
%73 = add i8 %72, -58
%74 = icmp ult i8 %73, -10
%75 = sext i1 %74 to i32
br label %76
76: ; preds = %69, %15, %21, %27, %33, %39, %45, %51, %57, %63, %4, %7
%77 = phi i32 [ -1, %7 ], [ -1, %4 ], [ -1, %15 ], [ -1, %21 ], [ -1, %27 ], [ -1, %33 ], [ -1, %39 ], [ -1, %45 ], [ -1, %51 ], [ -1, %57 ], [ -1, %63 ], [ %75, %69 ]
ret i32 %77
}
declare i64 @memcmp(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/kphp-kdb/util/extr_backup-engine.c_check_backup_filename.c'
source_filename = "AnghaBench/kphp-kdb/util/extr_backup-engine.c_check_backup_filename.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 @check_backup_filename], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @check_backup_filename(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = add nsw i32 %3, 10
%6 = icmp slt i32 %5, %1
br i1 %6, label %7, label %66
7: ; preds = %4
%8 = sext i32 %1 to i64
%9 = getelementptr inbounds i8, ptr %0, i64 %8
%10 = sub nsw i32 -10, %3
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = tail call i64 @memcmp(ptr noundef %12, ptr noundef %2, i32 noundef %3) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %66
15: ; preds = %7
%16 = getelementptr i8, ptr %9, i64 -1
%17 = load i8, ptr %16, align 1, !tbaa !6
%18 = add i8 %17, -58
%19 = icmp ult i8 %18, -10
br i1 %19, label %66, label %20
20: ; preds = %15
%21 = getelementptr i8, ptr %9, i64 -2
%22 = load i8, ptr %21, align 1, !tbaa !6
%23 = add i8 %22, -58
%24 = icmp ult i8 %23, -10
br i1 %24, label %66, label %25
25: ; preds = %20
%26 = getelementptr i8, ptr %9, i64 -3
%27 = load i8, ptr %26, align 1, !tbaa !6
%28 = add i8 %27, -58
%29 = icmp ult i8 %28, -10
br i1 %29, label %66, label %30
30: ; preds = %25
%31 = getelementptr i8, ptr %9, i64 -4
%32 = load i8, ptr %31, align 1, !tbaa !6
%33 = add i8 %32, -58
%34 = icmp ult i8 %33, -10
br i1 %34, label %66, label %35
35: ; preds = %30
%36 = getelementptr i8, ptr %9, i64 -5
%37 = load i8, ptr %36, align 1, !tbaa !6
%38 = add i8 %37, -58
%39 = icmp ult i8 %38, -10
br i1 %39, label %66, label %40
40: ; preds = %35
%41 = getelementptr i8, ptr %9, i64 -6
%42 = load i8, ptr %41, align 1, !tbaa !6
%43 = add i8 %42, -58
%44 = icmp ult i8 %43, -10
br i1 %44, label %66, label %45
45: ; preds = %40
%46 = getelementptr i8, ptr %9, i64 -7
%47 = load i8, ptr %46, align 1, !tbaa !6
%48 = add i8 %47, -58
%49 = icmp ult i8 %48, -10
br i1 %49, label %66, label %50
50: ; preds = %45
%51 = getelementptr i8, ptr %9, i64 -8
%52 = load i8, ptr %51, align 1, !tbaa !6
%53 = add i8 %52, -58
%54 = icmp ult i8 %53, -10
br i1 %54, label %66, label %55
55: ; preds = %50
%56 = getelementptr i8, ptr %9, i64 -9
%57 = load i8, ptr %56, align 1, !tbaa !6
%58 = add i8 %57, -58
%59 = icmp ult i8 %58, -10
br i1 %59, label %66, label %60
60: ; preds = %55
%61 = getelementptr i8, ptr %9, i64 -10
%62 = load i8, ptr %61, align 1, !tbaa !6
%63 = add i8 %62, -58
%64 = icmp ult i8 %63, -10
%65 = sext i1 %64 to i32
br label %66
66: ; preds = %60, %15, %20, %25, %30, %35, %40, %45, %50, %55, %4, %7
%67 = phi i32 [ -1, %7 ], [ -1, %4 ], [ -1, %15 ], [ -1, %20 ], [ -1, %25 ], [ -1, %30 ], [ -1, %35 ], [ -1, %40 ], [ -1, %45 ], [ -1, %50 ], [ -1, %55 ], [ %65, %60 ]
ret i32 %67
}
declare i64 @memcmp(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| kphp-kdb_util_extr_backup-engine.c_check_backup_filename |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_add_s.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_add_s.c"
target datalayout = "e-m:e-p270:32:32-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 @add_s], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @add_s(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = call ptr @lua_tolstring(i32 noundef %6, i32 noundef 3, ptr noundef nonnull %5) #3
%8 = load i64, ptr %5, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %45, label %10
10: ; preds = %4
%11 = ptrtoint ptr %3 to i64
%12 = ptrtoint ptr %2 to i64
%13 = sub i64 %11, %12
%14 = trunc i64 %13 to i32
br label %15
15: ; preds = %10, %40
%16 = phi i64 [ 0, %10 ], [ %42, %40 ]
%17 = getelementptr inbounds i8, ptr %7, i64 %16
%18 = load i8, ptr %17, align 1, !tbaa !12
%19 = icmp eq i8 %18, 37
br i1 %19, label %22, label %20
20: ; preds = %15
%21 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %18) #3
br label %40
22: ; preds = %15
%23 = add nuw i64 %16, 1
%24 = getelementptr inbounds i8, ptr %7, i64 %23
%25 = load i8, ptr %24, align 1, !tbaa !12
%26 = call i32 @uchar(i8 noundef signext %25) #3
%27 = add i32 %26, -48
%28 = icmp ult i32 %27, 10
%29 = load i8, ptr %24, align 1, !tbaa !12
br i1 %28, label %32, label %30
30: ; preds = %22
%31 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %29) #3
br label %40
32: ; preds = %22
%33 = icmp eq i8 %29, 48
br i1 %33, label %34, label %36
34: ; preds = %32
%35 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef %2, i32 noundef %14) #3
br label %40
36: ; preds = %32
%37 = add i8 %29, -49
%38 = call i32 @push_onecapture(ptr noundef nonnull %0, i8 noundef signext %37, ptr noundef %2, ptr noundef %3) #3
%39 = call i32 @luaL_addvalue(ptr noundef %1) #3
br label %40
40: ; preds = %20, %34, %36, %30
%41 = phi i64 [ %16, %20 ], [ %23, %34 ], [ %23, %36 ], [ %23, %30 ]
%42 = add i64 %41, 1
%43 = load i64, ptr %5, align 8, !tbaa !10
%44 = icmp ult i64 %42, %43
br i1 %44, label %15, label %45, !llvm.loop !13
45: ; preds = %40, %4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lua_tolstring(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @luaL_addchar(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @uchar(i8 noundef signext) local_unnamed_addr #2
declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @push_onecapture(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @luaL_addvalue(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 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_add_s.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_add_s.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 @add_s], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @add_s(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = call ptr @lua_tolstring(i32 noundef %6, i32 noundef 3, ptr noundef nonnull %5) #3
%8 = load i64, ptr %5, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %45, label %10
10: ; preds = %4
%11 = ptrtoint ptr %3 to i64
%12 = ptrtoint ptr %2 to i64
%13 = sub i64 %11, %12
%14 = trunc i64 %13 to i32
br label %15
15: ; preds = %10, %40
%16 = phi i64 [ 0, %10 ], [ %42, %40 ]
%17 = getelementptr inbounds i8, ptr %7, i64 %16
%18 = load i8, ptr %17, align 1, !tbaa !13
%19 = icmp eq i8 %18, 37
br i1 %19, label %22, label %20
20: ; preds = %15
%21 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %18) #3
br label %40
22: ; preds = %15
%23 = add nuw i64 %16, 1
%24 = getelementptr inbounds i8, ptr %7, i64 %23
%25 = load i8, ptr %24, align 1, !tbaa !13
%26 = call i32 @uchar(i8 noundef signext %25) #3
%27 = add i32 %26, -48
%28 = icmp ult i32 %27, 10
%29 = load i8, ptr %24, align 1, !tbaa !13
br i1 %28, label %32, label %30
30: ; preds = %22
%31 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %29) #3
br label %40
32: ; preds = %22
%33 = icmp eq i8 %29, 48
br i1 %33, label %34, label %36
34: ; preds = %32
%35 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef %2, i32 noundef %14) #3
br label %40
36: ; preds = %32
%37 = add i8 %29, -49
%38 = call i32 @push_onecapture(ptr noundef nonnull %0, i8 noundef signext %37, ptr noundef %2, ptr noundef %3) #3
%39 = call i32 @luaL_addvalue(ptr noundef %1) #3
br label %40
40: ; preds = %20, %34, %36, %30
%41 = phi i64 [ %16, %20 ], [ %23, %34 ], [ %23, %36 ], [ %23, %30 ]
%42 = add i64 %41, 1
%43 = load i64, ptr %5, align 8, !tbaa !11
%44 = icmp ult i64 %42, %43
br i1 %44, label %15, label %45, !llvm.loop !14
45: ; preds = %40, %4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lua_tolstring(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @luaL_addchar(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @uchar(i8 noundef signext) local_unnamed_addr #2
declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @push_onecapture(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @luaL_addvalue(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 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_add_s |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_htc_drv_debug.c_ath9k_htc_get_et_sset_count.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_htc_drv_debug.c_ath9k_htc_get_et_sset_count.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ETH_SS_STATS = dso_local local_unnamed_addr global i32 0, align 4
@ATH9K_HTC_SSTATS_LEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @ath9k_htc_get_et_sset_count(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !5
%5 = icmp eq i32 %4, %2
%6 = load i32, ptr @ATH9K_HTC_SSTATS_LEN, align 4
%7 = select i1 %5, i32 %6, i32 0
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_htc_drv_debug.c_ath9k_htc_get_et_sset_count.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_htc_drv_debug.c_ath9k_htc_get_et_sset_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_SS_STATS = common local_unnamed_addr global i32 0, align 4
@ATH9K_HTC_SSTATS_LEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @ath9k_htc_get_et_sset_count(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !6
%5 = icmp eq i32 %4, %2
%6 = load i32, ptr @ATH9K_HTC_SSTATS_LEN, align 4
%7 = select i1 %5, i32 %6, i32 0
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_ath_ath9k_extr_htc_drv_debug.c_ath9k_htc_get_et_sset_count |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-ia64.c_ia64_after_parse_args.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-ia64.c_ia64_after_parse_args.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@debug_type = dso_local local_unnamed_addr global i64 0, align 8
@DEBUG_STABS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [35 x i8] c"--gstabs is not supported for ia64\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ia64_after_parse_args() local_unnamed_addr #0 {
%1 = load i64, ptr @debug_type, align 8, !tbaa !5
%2 = load i64, ptr @DEBUG_STABS, align 8, !tbaa !5
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = tail call i32 @_(ptr noundef nonnull @.str) #2
%6 = tail call i32 @as_fatal(i32 noundef %5) #2
br label %7
7: ; preds = %4, %0
ret void
}
declare i32 @as_fatal(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-ia64.c_ia64_after_parse_args.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-ia64.c_ia64_after_parse_args.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@debug_type = common local_unnamed_addr global i64 0, align 8
@DEBUG_STABS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [35 x i8] c"--gstabs is not supported for ia64\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ia64_after_parse_args() local_unnamed_addr #0 {
%1 = load i64, ptr @debug_type, align 8, !tbaa !6
%2 = load i64, ptr @DEBUG_STABS, align 8, !tbaa !6
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = tail call i32 @_(ptr noundef nonnull @.str) #2
%6 = tail call i32 @as_fatal(i32 noundef %5) #2
br label %7
7: ; preds = %4, %0
ret void
}
declare i32 @as_fatal(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_binutils_gas_config_extr_tc-ia64.c_ia64_after_parse_args |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_early.c_serial8250_early_in.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_early.c_serial8250_early_in.c"
target datalayout = "e-m:e-p270:32:32-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.uart_port = type { i32, i32, ptr, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @serial8250_early_in], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @serial8250_early_in(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = shl i32 %1, %3
%5 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
switch i32 %6, label %36 [
i32 132, label %7
i32 131, label %12
i32 130, label %17
i32 129, label %22
i32 128, label %27
i32 133, label %32
]
7: ; preds = %2
%8 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = add nsw i32 %9, %4
%11 = tail call i32 @readb(i32 noundef %10) #2
br label %36
12: ; preds = %2
%13 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = add nsw i32 %14, %4
%16 = tail call i32 @readw(i32 noundef %15) #2
br label %36
17: ; preds = %2
%18 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 4
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = add nsw i32 %19, %4
%21 = tail call i32 @readl(i32 noundef %20) #2
br label %36
22: ; preds = %2
%23 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 4
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = add nsw i32 %24, %4
%26 = tail call i32 @ioread32be(i32 noundef %25) #2
br label %36
27: ; preds = %2
%28 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 3
%29 = load i32, ptr %28, align 8, !tbaa !13
%30 = add nsw i32 %29, %4
%31 = tail call i32 @inb(i32 noundef %30) #2
br label %36
32: ; preds = %2
%33 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 2
%34 = load ptr, ptr %33, align 8, !tbaa !14
%35 = tail call i32 %34(ptr noundef nonnull %0, i32 noundef %1) #2
br label %36
36: ; preds = %2, %32, %27, %22, %17, %12, %7
%37 = phi i32 [ %35, %32 ], [ %31, %27 ], [ %26, %22 ], [ %21, %17 ], [ %16, %12 ], [ %11, %7 ], [ 0, %2 ]
ret i32 %37
}
declare i32 @readb(i32 noundef) local_unnamed_addr #1
declare i32 @readw(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
declare i32 @ioread32be(i32 noundef) local_unnamed_addr #1
declare i32 @inb(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"uart_port", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 20}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_early.c_serial8250_early_in.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_early.c_serial8250_early_in.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 @serial8250_early_in], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @serial8250_early_in(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = shl i32 %1, %3
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
switch i32 %6, label %36 [
i32 132, label %7
i32 131, label %12
i32 130, label %17
i32 129, label %22
i32 128, label %27
i32 133, label %32
]
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 20
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = add nsw i32 %9, %4
%11 = tail call i32 @readb(i32 noundef %10) #2
br label %36
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %0, i64 20
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = add nsw i32 %14, %4
%16 = tail call i32 @readw(i32 noundef %15) #2
br label %36
17: ; preds = %2
%18 = getelementptr inbounds i8, ptr %0, i64 20
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = add nsw i32 %19, %4
%21 = tail call i32 @readl(i32 noundef %20) #2
br label %36
22: ; preds = %2
%23 = getelementptr inbounds i8, ptr %0, i64 20
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = add nsw i32 %24, %4
%26 = tail call i32 @ioread32be(i32 noundef %25) #2
br label %36
27: ; preds = %2
%28 = getelementptr inbounds i8, ptr %0, i64 16
%29 = load i32, ptr %28, align 8, !tbaa !14
%30 = add nsw i32 %29, %4
%31 = tail call i32 @inb(i32 noundef %30) #2
br label %36
32: ; preds = %2
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = tail call i32 %34(ptr noundef nonnull %0, i32 noundef %1) #2
br label %36
36: ; preds = %2, %32, %27, %22, %17, %12, %7
%37 = phi i32 [ %35, %32 ], [ %31, %27 ], [ %26, %22 ], [ %21, %17 ], [ %16, %12 ], [ %11, %7 ], [ 0, %2 ]
ret i32 %37
}
declare i32 @readb(i32 noundef) local_unnamed_addr #1
declare i32 @readw(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
declare i32 @ioread32be(i32 noundef) local_unnamed_addr #1
declare i32 @inb(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"uart_port", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 20}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !11, i64 8}
| linux_drivers_tty_serial_8250_extr_8250_early.c_serial8250_early_in |
; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr__modulong.c__modulong.c'
source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr__modulong.c__modulong.c"
target datalayout = "e-m:e-p270:32:32-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 i64 @_modulong(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @MSB_SET(i64 noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %16
5: ; preds = %2, %12
%6 = phi i8 [ %13, %12 ], [ 0, %2 ]
%7 = phi i64 [ %8, %12 ], [ %1, %2 ]
%8 = shl i64 %7, 1
%9 = icmp ugt i64 %8, %0
br i1 %9, label %10, label %12
10: ; preds = %5
%11 = and i64 %7, 9223372036854775807
br label %16
12: ; preds = %5
%13 = add i8 %6, 1
%14 = tail call i32 @MSB_SET(i64 noundef %8) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %5, label %16, !llvm.loop !5
16: ; preds = %12, %2, %10
%17 = phi i64 [ %11, %10 ], [ %1, %2 ], [ %8, %12 ]
%18 = phi i8 [ %6, %10 ], [ 0, %2 ], [ %13, %12 ]
%19 = add i8 %18, 1
%20 = and i8 %19, 3
%21 = icmp eq i8 %20, 0
br i1 %21, label %34, label %22
22: ; preds = %16, %22
%23 = phi i64 [ %29, %22 ], [ %0, %16 ]
%24 = phi i64 [ %30, %22 ], [ %17, %16 ]
%25 = phi i8 [ %31, %22 ], [ %18, %16 ]
%26 = phi i8 [ %32, %22 ], [ 0, %16 ]
%27 = icmp ult i64 %23, %24
%28 = select i1 %27, i64 0, i64 %24
%29 = sub i64 %23, %28
%30 = lshr i64 %24, 1
%31 = add i8 %25, -1
%32 = add i8 %26, 1
%33 = icmp eq i8 %32, %20
br i1 %33, label %34, label %22, !llvm.loop !7
34: ; preds = %22, %16
%35 = phi i64 [ undef, %16 ], [ %29, %22 ]
%36 = phi i64 [ %0, %16 ], [ %29, %22 ]
%37 = phi i64 [ %17, %16 ], [ %30, %22 ]
%38 = phi i8 [ %18, %16 ], [ %31, %22 ]
%39 = icmp ult i8 %18, 3
br i1 %39, label %62, label %40
40: ; preds = %34, %40
%41 = phi i64 [ %58, %40 ], [ %36, %34 ]
%42 = phi i64 [ %59, %40 ], [ %37, %34 ]
%43 = phi i8 [ %60, %40 ], [ %38, %34 ]
%44 = icmp ult i64 %41, %42
%45 = select i1 %44, i64 0, i64 %42
%46 = sub i64 %41, %45
%47 = lshr i64 %42, 1
%48 = icmp ult i64 %46, %47
%49 = select i1 %48, i64 0, i64 %47
%50 = sub i64 %46, %49
%51 = lshr i64 %42, 2
%52 = icmp ult i64 %50, %51
%53 = select i1 %52, i64 0, i64 %51
%54 = sub i64 %50, %53
%55 = lshr i64 %42, 3
%56 = icmp ult i64 %54, %55
%57 = select i1 %56, i64 0, i64 %55
%58 = sub i64 %54, %57
%59 = lshr i64 %42, 4
%60 = add i8 %43, -4
%61 = icmp eq i8 %43, 3
br i1 %61, label %62, label %40, !llvm.loop !9
62: ; preds = %40, %34
%63 = phi i64 [ %35, %34 ], [ %58, %40 ]
ret i64 %63
}
declare i32 @MSB_SET(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !8}
!8 = !{!"llvm.loop.unroll.disable"}
!9 = distinct !{!9, !6}
| ; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr__modulong.c__modulong.c'
source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr__modulong.c__modulong.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 i64 @_modulong(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @MSB_SET(i64 noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %16
5: ; preds = %2, %12
%6 = phi i8 [ %13, %12 ], [ 0, %2 ]
%7 = phi i64 [ %8, %12 ], [ %1, %2 ]
%8 = shl i64 %7, 1
%9 = icmp ugt i64 %8, %0
br i1 %9, label %10, label %12
10: ; preds = %5
%11 = and i64 %7, 9223372036854775807
br label %16
12: ; preds = %5
%13 = add i8 %6, 1
%14 = tail call i32 @MSB_SET(i64 noundef %8) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %5, label %16, !llvm.loop !6
16: ; preds = %12, %2, %10
%17 = phi i64 [ %11, %10 ], [ %1, %2 ], [ %8, %12 ]
%18 = phi i8 [ %6, %10 ], [ 0, %2 ], [ %13, %12 ]
br label %19
19: ; preds = %16, %19
%20 = phi i64 [ %25, %19 ], [ %0, %16 ]
%21 = phi i64 [ %26, %19 ], [ %17, %16 ]
%22 = phi i8 [ %27, %19 ], [ %18, %16 ]
%23 = icmp ult i64 %20, %21
%24 = select i1 %23, i64 0, i64 %21
%25 = sub i64 %20, %24
%26 = lshr i64 %21, 1
%27 = add i8 %22, -1
%28 = icmp eq i8 %22, 0
br i1 %28, label %29, label %19, !llvm.loop !8
29: ; preds = %19
ret i64 %25
}
declare i32 @MSB_SET(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| gb-studio_buildTools_darwin-x64_gbdk_libc_extr__modulong.c__modulong |
; ModuleID = 'AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__proxy_credentials_in_environment.c'
source_filename = "AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__proxy_credentials_in_environment.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_12__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32 }
@GIT_BUF_INIT = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
@_remote_proxy_host = dso_local local_unnamed_addr global i32 0, align 4
@_remote_proxy_user = dso_local local_unnamed_addr global i32 0, align 4
@_remote_proxy_pass = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"HTTP_PROXY\00", align 1
@_orig_http_proxy = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"HTTPS_PROXY\00", align 1
@_orig_https_proxy = dso_local local_unnamed_addr global ptr null, align 8
@_orig_proxies_need_reset = dso_local local_unnamed_addr global i32 0, align 4
@GIT_PROXY_AUTO = dso_local local_unnamed_addr global i32 0, align 4
@g_options = dso_local global %struct.TYPE_12__ zeroinitializer, align 4
@proxy_cert_cb = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"%s://%s:%s@%s/\00", align 1
@_remote_proxy_scheme = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@g_repo = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [44 x i8] c"http://github.com/libgit2/TestGitRepository\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_online_clone__proxy_credentials_in_environment() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_11__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !5
store i32 %2, ptr %1, align 4, !tbaa !5
%3 = load i32, ptr @_remote_proxy_host, align 4, !tbaa !5
%4 = icmp ne i32 %3, 0
%5 = load i32, ptr @_remote_proxy_user, align 4
%6 = icmp ne i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
%8 = load i32, ptr @_remote_proxy_pass, align 4
%9 = icmp ne i32 %8, 0
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = tail call i32 (...) @cl_skip() #3
br label %13
13: ; preds = %0, %11
%14 = tail call ptr @cl_getenv(ptr noundef nonnull @.str) #3
store ptr %14, ptr @_orig_http_proxy, align 8, !tbaa !9
%15 = tail call ptr @cl_getenv(ptr noundef nonnull @.str.1) #3
store ptr %15, ptr @_orig_https_proxy, align 8, !tbaa !9
store i32 1, ptr @_orig_proxies_need_reset, align 4, !tbaa !5
%16 = load i32, ptr @GIT_PROXY_AUTO, align 4, !tbaa !5
store i32 %16, ptr getelementptr inbounds (%struct.TYPE_12__, ptr @g_options, i64 0, i32 0, i32 0, i32 1), align 4, !tbaa !11
%17 = load i32, ptr @proxy_cert_cb, align 4, !tbaa !5
store i32 %17, ptr @g_options, align 4, !tbaa !15
%18 = load ptr, ptr @_remote_proxy_scheme, align 8
%19 = icmp eq ptr %18, null
%20 = select i1 %19, ptr @.str.3, ptr %18
%21 = load i32, ptr @_remote_proxy_user, align 4, !tbaa !5
%22 = load i32, ptr @_remote_proxy_pass, align 4, !tbaa !5
%23 = load i32, ptr @_remote_proxy_host, align 4, !tbaa !5
%24 = call i32 @git_buf_printf(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %20, i32 noundef %21, i32 noundef %22, i32 noundef %23) #3
%25 = call i32 @cl_git_pass(i32 noundef %24) #3
%26 = load i32, ptr %1, align 4, !tbaa !16
%27 = call i32 @cl_setenv(ptr noundef nonnull @.str, i32 noundef %26) #3
%28 = load i32, ptr %1, align 4, !tbaa !16
%29 = call i32 @cl_setenv(ptr noundef nonnull @.str.1, i32 noundef %28) #3
%30 = call i32 @git_clone(ptr noundef nonnull @g_repo, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull @g_options) #3
%31 = call i32 @cl_git_pass(i32 noundef %30) #3
%32 = call i32 @git_buf_dispose(ptr noundef nonnull %1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_skip(...) local_unnamed_addr #2
declare ptr @cl_getenv(ptr noundef) local_unnamed_addr #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_buf_printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_setenv(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_clone(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_buf_dispose(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, !6, i64 4}
!12 = !{!"TYPE_12__", !13, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"TYPE_9__", !6, i64 0, !6, i64 4}
!15 = !{!12, !6, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_11__", !6, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__proxy_credentials_in_environment.c'
source_filename = "AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__proxy_credentials_in_environment.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_12__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32 }
@GIT_BUF_INIT = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
@_remote_proxy_host = common local_unnamed_addr global i32 0, align 4
@_remote_proxy_user = common local_unnamed_addr global i32 0, align 4
@_remote_proxy_pass = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"HTTP_PROXY\00", align 1
@_orig_http_proxy = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"HTTPS_PROXY\00", align 1
@_orig_https_proxy = common local_unnamed_addr global ptr null, align 8
@_orig_proxies_need_reset = common local_unnamed_addr global i32 0, align 4
@GIT_PROXY_AUTO = common local_unnamed_addr global i32 0, align 4
@g_options = common global %struct.TYPE_12__ zeroinitializer, align 4
@proxy_cert_cb = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"%s://%s:%s@%s/\00", align 1
@_remote_proxy_scheme = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@g_repo = common global i32 0, align 4
@.str.4 = private unnamed_addr constant [44 x i8] c"http://github.com/libgit2/TestGitRepository\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_online_clone__proxy_credentials_in_environment() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_11__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !6
store i32 %2, ptr %1, align 4, !tbaa !6
%3 = load i32, ptr @_remote_proxy_host, align 4, !tbaa !6
%4 = icmp ne i32 %3, 0
%5 = load i32, ptr @_remote_proxy_user, align 4
%6 = icmp ne i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
%8 = load i32, ptr @_remote_proxy_pass, align 4
%9 = icmp ne i32 %8, 0
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = tail call i32 @cl_skip() #3
br label %13
13: ; preds = %0, %11
%14 = tail call ptr @cl_getenv(ptr noundef nonnull @.str) #3
store ptr %14, ptr @_orig_http_proxy, align 8, !tbaa !10
%15 = tail call ptr @cl_getenv(ptr noundef nonnull @.str.1) #3
store ptr %15, ptr @_orig_https_proxy, align 8, !tbaa !10
store i32 1, ptr @_orig_proxies_need_reset, align 4, !tbaa !6
%16 = load i32, ptr @GIT_PROXY_AUTO, align 4, !tbaa !6
store i32 %16, ptr getelementptr inbounds (i8, ptr @g_options, i64 4), align 4, !tbaa !12
%17 = load i32, ptr @proxy_cert_cb, align 4, !tbaa !6
store i32 %17, ptr @g_options, align 4, !tbaa !16
%18 = load ptr, ptr @_remote_proxy_scheme, align 8
%19 = icmp eq ptr %18, null
%20 = select i1 %19, ptr @.str.3, ptr %18
%21 = load i32, ptr @_remote_proxy_user, align 4, !tbaa !6
%22 = load i32, ptr @_remote_proxy_pass, align 4, !tbaa !6
%23 = load i32, ptr @_remote_proxy_host, align 4, !tbaa !6
%24 = call i32 @git_buf_printf(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %20, i32 noundef %21, i32 noundef %22, i32 noundef %23) #3
%25 = call i32 @cl_git_pass(i32 noundef %24) #3
%26 = load i32, ptr %1, align 4, !tbaa !17
%27 = call i32 @cl_setenv(ptr noundef nonnull @.str, i32 noundef %26) #3
%28 = load i32, ptr %1, align 4, !tbaa !17
%29 = call i32 @cl_setenv(ptr noundef nonnull @.str.1, i32 noundef %28) #3
%30 = call i32 @git_clone(ptr noundef nonnull @g_repo, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull @g_options) #3
%31 = call i32 @cl_git_pass(i32 noundef %30) #3
%32 = call i32 @git_buf_dispose(ptr noundef nonnull %1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_skip(...) local_unnamed_addr #2
declare ptr @cl_getenv(ptr noundef) local_unnamed_addr #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_buf_printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_setenv(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_clone(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_buf_dispose(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, !7, i64 4}
!13 = !{!"TYPE_12__", !14, i64 0}
!14 = !{!"TYPE_10__", !15, i64 0}
!15 = !{!"TYPE_9__", !7, i64 0, !7, i64 4}
!16 = !{!13, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_11__", !7, i64 0}
| libgit2_tests_online_extr_clone.c_test_online_clone__proxy_credentials_in_environment |
; ModuleID = 'AnghaBench/freebsd/contrib/bzip2/extr_bzip2.c_compress.c'
source_filename = "AnghaBench/freebsd/contrib/bzip2/extr_bzip2.c_compress.c"
target datalayout = "e-m:e-p270:32:32-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.MY_STAT = type { i32 }
@False = dso_local local_unnamed_addr global i32 0, align 4
@deleteOutputOnInterrupt = dso_local local_unnamed_addr global i32 0, align 4
@srcMode = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"compress: bad modes\0A\00", align 1
@inName = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"(stdin)\00", align 1
@outName = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"(stdout)\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".bz2\00", align 1
@noisy = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"%s: There are no files matching `%s'.\0A\00", align 1
@progName = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [35 x i8] c"%s: Can't open input file %s: %s.\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@BZ_N_SUFFIX_PAIRS = dso_local local_unnamed_addr global i64 0, align 8
@zSuffix = dso_local local_unnamed_addr global ptr null, align 8
@.str.6 = private unnamed_addr constant [42 x i8] c"%s: Input file %s already has %s suffix.\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"%s: Input file %s is a directory.\0A\00", align 1
@forceOverwrite = dso_local local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [41 x i8] c"%s: Input file %s is not a normal file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"%s: Output file %s already exists.\0A\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"%s: Input file %s has %d other link%s.\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.12 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@stdin = dso_local local_unnamed_addr global ptr null, align 8
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [50 x i8] c"%s: I won't write compressed data to a terminal.\0A\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"%s: For help, type: `%s --help'.\0A\00", align 1
@.str.15 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.16 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.17 = private unnamed_addr constant [38 x i8] c"%s: Can't create output file %s: %s.\0A\00", align 1
@.str.18 = private unnamed_addr constant [22 x i8] c"compress: bad srcMode\00", align 1
@verbosity = dso_local local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [7 x i8] c" %s: \00", align 1
@outputHandleJustInCase = dso_local local_unnamed_addr global ptr null, align 8
@True = dso_local local_unnamed_addr global i32 0, align 4
@keepInputFiles = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @compress], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @compress(ptr noundef %0) #0 {
%2 = alloca %struct.MY_STAT, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = load i32, ptr @False, align 4, !tbaa !5
store i32 %3, ptr @deleteOutputOnInterrupt, align 4, !tbaa !5
%4 = icmp eq ptr %0, null
%5 = load i32, ptr @srcMode, align 4
%6 = icmp ne i32 %5, 128
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = tail call i32 @panic(ptr noundef nonnull @.str) #4
%10 = load i32, ptr @srcMode, align 4, !tbaa !5
br label %11
11: ; preds = %8, %1
%12 = phi i32 [ %10, %8 ], [ %5, %1 ]
switch i32 %12, label %30 [
i32 128, label %13
i32 130, label %18
i32 129, label %25
]
13: ; preds = %11
%14 = load ptr, ptr @inName, align 8, !tbaa !9
%15 = tail call i32 @copyFileName(ptr noundef %14, ptr noundef nonnull @.str.1) #4
%16 = load ptr, ptr @outName, align 8, !tbaa !9
%17 = tail call i32 @copyFileName(ptr noundef %16, ptr noundef nonnull @.str.2) #4
br label %30
18: ; preds = %11
%19 = load ptr, ptr @inName, align 8, !tbaa !9
%20 = tail call i32 @copyFileName(ptr noundef %19, ptr noundef %0) #4
%21 = load ptr, ptr @outName, align 8, !tbaa !9
%22 = tail call i32 @copyFileName(ptr noundef %21, ptr noundef %0) #4
%23 = load ptr, ptr @outName, align 8, !tbaa !9
%24 = tail call i32 @strcat(ptr noundef %23, ptr noundef nonnull @.str.3) #4
br label %30
25: ; preds = %11
%26 = load ptr, ptr @inName, align 8, !tbaa !9
%27 = tail call i32 @copyFileName(ptr noundef %26, ptr noundef %0) #4
%28 = load ptr, ptr @outName, align 8, !tbaa !9
%29 = tail call i32 @copyFileName(ptr noundef %28, ptr noundef nonnull @.str.2) #4
br label %30
30: ; preds = %11, %25, %18, %13
%31 = load i32, ptr @srcMode, align 4, !tbaa !5
%32 = icmp eq i32 %31, 128
br i1 %32, label %62, label %33
33: ; preds = %30
%34 = load ptr, ptr @inName, align 8, !tbaa !9
%35 = tail call i64 @containsDubiousChars(ptr noundef %34) #4
%36 = icmp eq i64 %35, 0
br i1 %36, label %47, label %37
37: ; preds = %33
%38 = load i64, ptr @noisy, align 8, !tbaa !11
%39 = icmp eq i64 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i32, ptr @stderr, align 4, !tbaa !5
%42 = load ptr, ptr @progName, align 8, !tbaa !9
%43 = load ptr, ptr @inName, align 8, !tbaa !9
%44 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %41, ptr noundef nonnull @.str.4, ptr noundef %42, ptr noundef %43) #4
br label %45
45: ; preds = %40, %37
%46 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
47: ; preds = %33
%48 = load i32, ptr @srcMode, align 4, !tbaa !5
%49 = icmp eq i32 %48, 128
br i1 %49, label %62, label %50
50: ; preds = %47
%51 = load ptr, ptr @inName, align 8, !tbaa !9
%52 = tail call i64 @fileExists(ptr noundef %51) #4
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %50
%55 = load i32, ptr @stderr, align 4, !tbaa !5
%56 = load ptr, ptr @progName, align 8, !tbaa !9
%57 = load ptr, ptr @inName, align 8, !tbaa !9
%58 = load i32, ptr @errno, align 4, !tbaa !5
%59 = tail call ptr @strerror(i32 noundef %58) #4
%60 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef nonnull @.str.5, ptr noundef %56, ptr noundef %57, ptr noundef %59) #4
%61 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
62: ; preds = %30, %50, %47
%63 = load i64, ptr @BZ_N_SUFFIX_PAIRS, align 8, !tbaa !11
%64 = icmp eq i64 %63, 0
br i1 %64, label %90, label %65
65: ; preds = %62, %86
%66 = phi i64 [ %87, %86 ], [ 0, %62 ]
%67 = load ptr, ptr @inName, align 8, !tbaa !9
%68 = load ptr, ptr @zSuffix, align 8, !tbaa !9
%69 = getelementptr inbounds ptr, ptr %68, i64 %66
%70 = load ptr, ptr %69, align 8, !tbaa !9
%71 = tail call i64 @hasSuffix(ptr noundef %67, ptr noundef %70) #4
%72 = icmp eq i64 %71, 0
br i1 %72, label %86, label %73
73: ; preds = %65
%74 = load i64, ptr @noisy, align 8, !tbaa !11
%75 = icmp eq i64 %74, 0
br i1 %75, label %84, label %76
76: ; preds = %73
%77 = load i32, ptr @stderr, align 4, !tbaa !5
%78 = load ptr, ptr @progName, align 8, !tbaa !9
%79 = load ptr, ptr @inName, align 8, !tbaa !9
%80 = load ptr, ptr @zSuffix, align 8, !tbaa !9
%81 = getelementptr inbounds ptr, ptr %80, i64 %66
%82 = load ptr, ptr %81, align 8, !tbaa !9
%83 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %77, ptr noundef nonnull @.str.6, ptr noundef %78, ptr noundef %79, ptr noundef %82) #4
br label %84
84: ; preds = %76, %73
%85 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
86: ; preds = %65
%87 = add nuw i64 %66, 1
%88 = load i64, ptr @BZ_N_SUFFIX_PAIRS, align 8, !tbaa !11
%89 = icmp ult i64 %87, %88
br i1 %89, label %65, label %90, !llvm.loop !13
90: ; preds = %86, %62
%91 = load i32, ptr @srcMode, align 4
%92 = add i32 %91, -129
%93 = icmp ult i32 %92, 2
br i1 %93, label %94, label %147
94: ; preds = %90
%95 = load ptr, ptr @inName, align 8, !tbaa !9
%96 = call i32 @MY_STAT(ptr noundef %95, ptr noundef nonnull %2) #4
%97 = load i32, ptr %2, align 4, !tbaa !15
%98 = call i64 @MY_S_ISDIR(i32 noundef %97) #4
%99 = icmp eq i64 %98, 0
br i1 %99, label %106, label %100
100: ; preds = %94
%101 = load i32, ptr @stderr, align 4, !tbaa !5
%102 = load ptr, ptr @progName, align 8, !tbaa !9
%103 = load ptr, ptr @inName, align 8, !tbaa !9
%104 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %101, ptr noundef nonnull @.str.7, ptr noundef %102, ptr noundef %103) #4
%105 = call i32 @setExit(i32 noundef 1) #4
br label %280
106: ; preds = %94
%107 = load i32, ptr @srcMode, align 4, !tbaa !5
%108 = icmp ne i32 %107, 130
%109 = load i64, ptr @forceOverwrite, align 8
%110 = icmp ne i64 %109, 0
%111 = select i1 %108, i1 true, i1 %110
br i1 %111, label %128, label %112
112: ; preds = %106
%113 = load ptr, ptr @inName, align 8, !tbaa !9
%114 = call i64 @notAStandardFile(ptr noundef %113) #4
%115 = icmp eq i64 %114, 0
br i1 %115, label %126, label %116
116: ; preds = %112
%117 = load i64, ptr @noisy, align 8, !tbaa !11
%118 = icmp eq i64 %117, 0
br i1 %118, label %124, label %119
119: ; preds = %116
%120 = load i32, ptr @stderr, align 4, !tbaa !5
%121 = load ptr, ptr @progName, align 8, !tbaa !9
%122 = load ptr, ptr @inName, align 8, !tbaa !9
%123 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %120, ptr noundef nonnull @.str.8, ptr noundef %121, ptr noundef %122) #4
br label %124
124: ; preds = %119, %116
%125 = call i32 @setExit(i32 noundef 1) #4
br label %280
126: ; preds = %112
%127 = load i32, ptr @srcMode, align 4, !tbaa !5
br label %128
128: ; preds = %126, %106
%129 = phi i32 [ %127, %126 ], [ %107, %106 ]
%130 = icmp eq i32 %129, 130
br i1 %130, label %131, label %147
131: ; preds = %128
%132 = load ptr, ptr @outName, align 8, !tbaa !9
%133 = call i64 @fileExists(ptr noundef %132) #4
%134 = icmp eq i64 %133, 0
br i1 %134, label %147, label %135
135: ; preds = %131
%136 = load i64, ptr @forceOverwrite, align 8, !tbaa !11
%137 = icmp eq i64 %136, 0
br i1 %137, label %141, label %138
138: ; preds = %135
%139 = load ptr, ptr @outName, align 8, !tbaa !9
%140 = call i32 @remove(ptr noundef %139)
br label %147
141: ; preds = %135
%142 = load i32, ptr @stderr, align 4, !tbaa !5
%143 = load ptr, ptr @progName, align 8, !tbaa !9
%144 = load ptr, ptr @outName, align 8, !tbaa !9
%145 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %142, ptr noundef nonnull @.str.9, ptr noundef %143, ptr noundef %144) #4
%146 = call i32 @setExit(i32 noundef 1) #4
br label %280
147: ; preds = %90, %138, %131, %128
%148 = load i32, ptr @srcMode, align 4, !tbaa !5
%149 = icmp ne i32 %148, 130
%150 = load i64, ptr @forceOverwrite, align 8
%151 = icmp ne i64 %150, 0
%152 = select i1 %149, i1 true, i1 %151
br i1 %152, label %167, label %153
153: ; preds = %147
%154 = load ptr, ptr @inName, align 8, !tbaa !9
%155 = call i64 @countHardLinks(ptr noundef %154) #4
%156 = icmp eq i64 %155, 0
br i1 %156, label %165, label %157
157: ; preds = %153
%158 = load i32, ptr @stderr, align 4, !tbaa !5
%159 = load ptr, ptr @progName, align 8, !tbaa !9
%160 = load ptr, ptr @inName, align 8, !tbaa !9
%161 = icmp eq i64 %155, 1
%162 = select i1 %161, ptr @.str.12, ptr @.str.11
%163 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %158, ptr noundef nonnull @.str.10, ptr noundef %159, ptr noundef %160, i64 noundef %155, ptr noundef nonnull %162) #4
%164 = call i32 @setExit(i32 noundef 1) #4
br label %280
165: ; preds = %153
%166 = load i32, ptr @srcMode, align 4, !tbaa !5
br label %167
167: ; preds = %165, %147
%168 = phi i32 [ %166, %165 ], [ %148, %147 ]
%169 = icmp eq i32 %168, 130
br i1 %169, label %170, label %174
170: ; preds = %167
%171 = load ptr, ptr @inName, align 8, !tbaa !9
%172 = call i32 @saveInputFileMetaInfo(ptr noundef %171) #4
%173 = load i32, ptr @srcMode, align 4, !tbaa !5
br label %174
174: ; preds = %170, %167
%175 = phi i32 [ %173, %170 ], [ %168, %167 ]
switch i32 %175, label %248 [
i32 128, label %176
i32 129, label %190
i32 130, label %219
]
176: ; preds = %174
%177 = load ptr, ptr @stdin, align 8, !tbaa !9
%178 = load ptr, ptr @stdout, align 8, !tbaa !9
%179 = call i32 @fileno(ptr noundef %178)
%180 = call i32 @isatty(i32 noundef %179) #4
%181 = icmp eq i32 %180, 0
br i1 %181, label %250, label %182
182: ; preds = %176
%183 = load i32, ptr @stderr, align 4, !tbaa !5
%184 = load ptr, ptr @progName, align 8, !tbaa !9
%185 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %183, ptr noundef nonnull @.str.13, ptr noundef %184) #4
%186 = load i32, ptr @stderr, align 4, !tbaa !5
%187 = load ptr, ptr @progName, align 8, !tbaa !9
%188 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %186, ptr noundef nonnull @.str.14, ptr noundef %187, ptr noundef %187) #4
%189 = call i32 @setExit(i32 noundef 1) #4
br label %280
190: ; preds = %174
%191 = load ptr, ptr @inName, align 8, !tbaa !9
%192 = call ptr @fopen(ptr noundef %191, ptr noundef nonnull @.str.15)
%193 = load ptr, ptr @stdout, align 8, !tbaa !9
%194 = call i32 @fileno(ptr noundef %193)
%195 = call i32 @isatty(i32 noundef %194) #4
%196 = icmp eq i32 %195, 0
br i1 %196, label %209, label %197
197: ; preds = %190
%198 = load i32, ptr @stderr, align 4, !tbaa !5
%199 = load ptr, ptr @progName, align 8, !tbaa !9
%200 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %198, ptr noundef nonnull @.str.13, ptr noundef %199) #4
%201 = load i32, ptr @stderr, align 4, !tbaa !5
%202 = load ptr, ptr @progName, align 8, !tbaa !9
%203 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %201, ptr noundef nonnull @.str.14, ptr noundef %202, ptr noundef %202) #4
%204 = icmp eq ptr %192, null
br i1 %204, label %207, label %205
205: ; preds = %197
%206 = call i32 @fclose(ptr noundef nonnull %192)
br label %207
207: ; preds = %205, %197
%208 = call i32 @setExit(i32 noundef 1) #4
br label %280
209: ; preds = %190
%210 = icmp eq ptr %192, null
br i1 %210, label %211, label %250
211: ; preds = %209
%212 = load i32, ptr @stderr, align 4, !tbaa !5
%213 = load ptr, ptr @progName, align 8, !tbaa !9
%214 = load ptr, ptr @inName, align 8, !tbaa !9
%215 = load i32, ptr @errno, align 4, !tbaa !5
%216 = call ptr @strerror(i32 noundef %215) #4
%217 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %212, ptr noundef nonnull @.str.5, ptr noundef %213, ptr noundef %214, ptr noundef %216) #4
%218 = call i32 @setExit(i32 noundef 1) #4
br label %280
219: ; preds = %174
%220 = load ptr, ptr @inName, align 8, !tbaa !9
%221 = call ptr @fopen(ptr noundef %220, ptr noundef nonnull @.str.15)
%222 = load ptr, ptr @outName, align 8, !tbaa !9
%223 = call ptr @fopen_output_safely(ptr noundef %222, ptr noundef nonnull @.str.16) #4
%224 = icmp eq ptr %223, null
br i1 %224, label %225, label %237
225: ; preds = %219
%226 = load i32, ptr @stderr, align 4, !tbaa !5
%227 = load ptr, ptr @progName, align 8, !tbaa !9
%228 = load ptr, ptr @outName, align 8, !tbaa !9
%229 = load i32, ptr @errno, align 4, !tbaa !5
%230 = call ptr @strerror(i32 noundef %229) #4
%231 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %226, ptr noundef nonnull @.str.17, ptr noundef %227, ptr noundef %228, ptr noundef %230) #4
%232 = icmp eq ptr %221, null
br i1 %232, label %235, label %233
233: ; preds = %225
%234 = call i32 @fclose(ptr noundef nonnull %221)
br label %235
235: ; preds = %233, %225
%236 = call i32 @setExit(i32 noundef 1) #4
br label %280
237: ; preds = %219
%238 = icmp eq ptr %221, null
br i1 %238, label %239, label %250
239: ; preds = %237
%240 = load i32, ptr @stderr, align 4, !tbaa !5
%241 = load ptr, ptr @progName, align 8, !tbaa !9
%242 = load ptr, ptr @inName, align 8, !tbaa !9
%243 = load i32, ptr @errno, align 4, !tbaa !5
%244 = call ptr @strerror(i32 noundef %243) #4
%245 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %240, ptr noundef nonnull @.str.5, ptr noundef %241, ptr noundef %242, ptr noundef %244) #4
%246 = call i32 @fclose(ptr noundef nonnull %223)
%247 = call i32 @setExit(i32 noundef 1) #4
br label %280
248: ; preds = %174
%249 = call i32 @panic(ptr noundef nonnull @.str.18) #4
br label %250
250: ; preds = %237, %209, %176, %248
%251 = phi ptr [ undef, %248 ], [ %223, %237 ], [ %193, %209 ], [ %178, %176 ]
%252 = phi ptr [ undef, %248 ], [ %221, %237 ], [ %192, %209 ], [ %177, %176 ]
%253 = load i32, ptr @verbosity, align 4, !tbaa !5
%254 = icmp sgt i32 %253, 0
br i1 %254, label %255, label %263
255: ; preds = %250
%256 = load i32, ptr @stderr, align 4, !tbaa !5
%257 = load ptr, ptr @inName, align 8, !tbaa !9
%258 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %256, ptr noundef nonnull @.str.19, ptr noundef %257) #4
%259 = load ptr, ptr @inName, align 8, !tbaa !9
%260 = call i32 @pad(ptr noundef %259) #4
%261 = load i32, ptr @stderr, align 4, !tbaa !5
%262 = call i32 @fflush(i32 noundef %261) #4
br label %263
263: ; preds = %255, %250
store ptr %251, ptr @outputHandleJustInCase, align 8, !tbaa !9
%264 = load i32, ptr @True, align 4, !tbaa !5
store i32 %264, ptr @deleteOutputOnInterrupt, align 4, !tbaa !5
%265 = call i32 @compressStream(ptr noundef %252, ptr noundef %251) #4
store ptr null, ptr @outputHandleJustInCase, align 8, !tbaa !9
%266 = load i32, ptr @srcMode, align 4, !tbaa !5
%267 = icmp eq i32 %266, 130
br i1 %267, label %268, label %278
268: ; preds = %263
%269 = load ptr, ptr @outName, align 8, !tbaa !9
%270 = call i32 @applySavedTimeInfoToOutputFile(ptr noundef %269) #4
%271 = load i32, ptr @False, align 4, !tbaa !5
store i32 %271, ptr @deleteOutputOnInterrupt, align 4, !tbaa !5
%272 = load i32, ptr @keepInputFiles, align 4, !tbaa !5
%273 = icmp eq i32 %272, 0
br i1 %273, label %274, label %278
274: ; preds = %268
%275 = load ptr, ptr @inName, align 8, !tbaa !9
%276 = call i32 @remove(ptr noundef %275)
%277 = call i32 @ERROR_IF_NOT_ZERO(i32 noundef %276) #4
br label %278
278: ; preds = %268, %274, %263
%279 = load i32, ptr @False, align 4, !tbaa !5
store i32 %279, ptr @deleteOutputOnInterrupt, align 4, !tbaa !5
br label %280
280: ; preds = %278, %239, %235, %211, %207, %182, %157, %141, %124, %100, %84, %54, %45
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @panic(ptr noundef) local_unnamed_addr #2
declare i32 @copyFileName(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @containsDubiousChars(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @setExit(i32 noundef) local_unnamed_addr #2
declare i64 @fileExists(ptr noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @hasSuffix(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MY_STAT(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @MY_S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i64 @notAStandardFile(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i64 @countHardLinks(ptr noundef) local_unnamed_addr #2
declare i32 @saveInputFileMetaInfo(ptr noundef) local_unnamed_addr #2
declare i32 @isatty(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3
declare ptr @fopen_output_safely(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pad(ptr noundef) local_unnamed_addr #2
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i32 @compressStream(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @applySavedTimeInfoToOutputFile(ptr noundef) local_unnamed_addr #2
declare i32 @ERROR_IF_NOT_ZERO(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 = { 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 #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}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 0}
!16 = !{!"MY_STAT", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bzip2/extr_bzip2.c_compress.c'
source_filename = "AnghaBench/freebsd/contrib/bzip2/extr_bzip2.c_compress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.MY_STAT = type { i32 }
@False = common local_unnamed_addr global i32 0, align 4
@deleteOutputOnInterrupt = common local_unnamed_addr global i32 0, align 4
@srcMode = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"compress: bad modes\0A\00", align 1
@inName = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"(stdin)\00", align 1
@outName = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"(stdout)\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".bz2\00", align 1
@noisy = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"%s: There are no files matching `%s'.\0A\00", align 1
@progName = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [35 x i8] c"%s: Can't open input file %s: %s.\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@BZ_N_SUFFIX_PAIRS = common local_unnamed_addr global i64 0, align 8
@zSuffix = common local_unnamed_addr global ptr null, align 8
@.str.6 = private unnamed_addr constant [42 x i8] c"%s: Input file %s already has %s suffix.\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"%s: Input file %s is a directory.\0A\00", align 1
@forceOverwrite = common local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [41 x i8] c"%s: Input file %s is not a normal file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"%s: Output file %s already exists.\0A\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"%s: Input file %s has %d other link%s.\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.12 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@stdin = common local_unnamed_addr global ptr null, align 8
@stdout = common local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [50 x i8] c"%s: I won't write compressed data to a terminal.\0A\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"%s: For help, type: `%s --help'.\0A\00", align 1
@.str.15 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.16 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.17 = private unnamed_addr constant [38 x i8] c"%s: Can't create output file %s: %s.\0A\00", align 1
@.str.18 = private unnamed_addr constant [22 x i8] c"compress: bad srcMode\00", align 1
@verbosity = common local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [7 x i8] c" %s: \00", align 1
@outputHandleJustInCase = common local_unnamed_addr global ptr null, align 8
@True = common local_unnamed_addr global i32 0, align 4
@keepInputFiles = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @compress], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @compress(ptr noundef %0) #0 {
%2 = alloca %struct.MY_STAT, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = load i32, ptr @False, align 4, !tbaa !6
store i32 %3, ptr @deleteOutputOnInterrupt, align 4, !tbaa !6
%4 = icmp eq ptr %0, null
%5 = load i32, ptr @srcMode, align 4
%6 = icmp ne i32 %5, 128
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = tail call i32 @panic(ptr noundef nonnull @.str) #4
%10 = load i32, ptr @srcMode, align 4, !tbaa !6
br label %11
11: ; preds = %8, %1
%12 = phi i32 [ %10, %8 ], [ %5, %1 ]
switch i32 %12, label %30 [
i32 128, label %13
i32 130, label %18
i32 129, label %25
]
13: ; preds = %11
%14 = load ptr, ptr @inName, align 8, !tbaa !10
%15 = tail call i32 @copyFileName(ptr noundef %14, ptr noundef nonnull @.str.1) #4
%16 = load ptr, ptr @outName, align 8, !tbaa !10
%17 = tail call i32 @copyFileName(ptr noundef %16, ptr noundef nonnull @.str.2) #4
br label %30
18: ; preds = %11
%19 = load ptr, ptr @inName, align 8, !tbaa !10
%20 = tail call i32 @copyFileName(ptr noundef %19, ptr noundef %0) #4
%21 = load ptr, ptr @outName, align 8, !tbaa !10
%22 = tail call i32 @copyFileName(ptr noundef %21, ptr noundef %0) #4
%23 = load ptr, ptr @outName, align 8, !tbaa !10
%24 = tail call i32 @strcat(ptr noundef %23, ptr noundef nonnull @.str.3) #4
br label %30
25: ; preds = %11
%26 = load ptr, ptr @inName, align 8, !tbaa !10
%27 = tail call i32 @copyFileName(ptr noundef %26, ptr noundef %0) #4
%28 = load ptr, ptr @outName, align 8, !tbaa !10
%29 = tail call i32 @copyFileName(ptr noundef %28, ptr noundef nonnull @.str.2) #4
br label %30
30: ; preds = %11, %25, %18, %13
%31 = load i32, ptr @srcMode, align 4, !tbaa !6
%32 = icmp eq i32 %31, 128
br i1 %32, label %62, label %33
33: ; preds = %30
%34 = load ptr, ptr @inName, align 8, !tbaa !10
%35 = tail call i64 @containsDubiousChars(ptr noundef %34) #4
%36 = icmp eq i64 %35, 0
br i1 %36, label %47, label %37
37: ; preds = %33
%38 = load i64, ptr @noisy, align 8, !tbaa !12
%39 = icmp eq i64 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i32, ptr @stderr, align 4, !tbaa !6
%42 = load ptr, ptr @progName, align 8, !tbaa !10
%43 = load ptr, ptr @inName, align 8, !tbaa !10
%44 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %41, ptr noundef nonnull @.str.4, ptr noundef %42, ptr noundef %43) #4
br label %45
45: ; preds = %40, %37
%46 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
47: ; preds = %33
%48 = load i32, ptr @srcMode, align 4, !tbaa !6
%49 = icmp eq i32 %48, 128
br i1 %49, label %62, label %50
50: ; preds = %47
%51 = load ptr, ptr @inName, align 8, !tbaa !10
%52 = tail call i64 @fileExists(ptr noundef %51) #4
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %50
%55 = load i32, ptr @stderr, align 4, !tbaa !6
%56 = load ptr, ptr @progName, align 8, !tbaa !10
%57 = load ptr, ptr @inName, align 8, !tbaa !10
%58 = load i32, ptr @errno, align 4, !tbaa !6
%59 = tail call ptr @strerror(i32 noundef %58) #4
%60 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef nonnull @.str.5, ptr noundef %56, ptr noundef %57, ptr noundef %59) #4
%61 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
62: ; preds = %30, %50, %47
%63 = load i64, ptr @BZ_N_SUFFIX_PAIRS, align 8, !tbaa !12
%64 = icmp eq i64 %63, 0
br i1 %64, label %90, label %65
65: ; preds = %62, %86
%66 = phi i64 [ %87, %86 ], [ 0, %62 ]
%67 = load ptr, ptr @inName, align 8, !tbaa !10
%68 = load ptr, ptr @zSuffix, align 8, !tbaa !10
%69 = getelementptr inbounds ptr, ptr %68, i64 %66
%70 = load ptr, ptr %69, align 8, !tbaa !10
%71 = tail call i64 @hasSuffix(ptr noundef %67, ptr noundef %70) #4
%72 = icmp eq i64 %71, 0
br i1 %72, label %86, label %73
73: ; preds = %65
%74 = load i64, ptr @noisy, align 8, !tbaa !12
%75 = icmp eq i64 %74, 0
br i1 %75, label %84, label %76
76: ; preds = %73
%77 = load i32, ptr @stderr, align 4, !tbaa !6
%78 = load ptr, ptr @progName, align 8, !tbaa !10
%79 = load ptr, ptr @inName, align 8, !tbaa !10
%80 = load ptr, ptr @zSuffix, align 8, !tbaa !10
%81 = getelementptr inbounds ptr, ptr %80, i64 %66
%82 = load ptr, ptr %81, align 8, !tbaa !10
%83 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %77, ptr noundef nonnull @.str.6, ptr noundef %78, ptr noundef %79, ptr noundef %82) #4
br label %84
84: ; preds = %76, %73
%85 = tail call i32 @setExit(i32 noundef 1) #4
br label %280
86: ; preds = %65
%87 = add nuw i64 %66, 1
%88 = load i64, ptr @BZ_N_SUFFIX_PAIRS, align 8, !tbaa !12
%89 = icmp ult i64 %87, %88
br i1 %89, label %65, label %90, !llvm.loop !14
90: ; preds = %86, %62
%91 = load i32, ptr @srcMode, align 4
%92 = add i32 %91, -129
%93 = icmp ult i32 %92, 2
br i1 %93, label %94, label %147
94: ; preds = %90
%95 = load ptr, ptr @inName, align 8, !tbaa !10
%96 = call i32 @MY_STAT(ptr noundef %95, ptr noundef nonnull %2) #4
%97 = load i32, ptr %2, align 4, !tbaa !16
%98 = call i64 @MY_S_ISDIR(i32 noundef %97) #4
%99 = icmp eq i64 %98, 0
br i1 %99, label %106, label %100
100: ; preds = %94
%101 = load i32, ptr @stderr, align 4, !tbaa !6
%102 = load ptr, ptr @progName, align 8, !tbaa !10
%103 = load ptr, ptr @inName, align 8, !tbaa !10
%104 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %101, ptr noundef nonnull @.str.7, ptr noundef %102, ptr noundef %103) #4
%105 = call i32 @setExit(i32 noundef 1) #4
br label %280
106: ; preds = %94
%107 = load i32, ptr @srcMode, align 4, !tbaa !6
%108 = icmp ne i32 %107, 130
%109 = load i64, ptr @forceOverwrite, align 8
%110 = icmp ne i64 %109, 0
%111 = select i1 %108, i1 true, i1 %110
br i1 %111, label %128, label %112
112: ; preds = %106
%113 = load ptr, ptr @inName, align 8, !tbaa !10
%114 = call i64 @notAStandardFile(ptr noundef %113) #4
%115 = icmp eq i64 %114, 0
br i1 %115, label %126, label %116
116: ; preds = %112
%117 = load i64, ptr @noisy, align 8, !tbaa !12
%118 = icmp eq i64 %117, 0
br i1 %118, label %124, label %119
119: ; preds = %116
%120 = load i32, ptr @stderr, align 4, !tbaa !6
%121 = load ptr, ptr @progName, align 8, !tbaa !10
%122 = load ptr, ptr @inName, align 8, !tbaa !10
%123 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %120, ptr noundef nonnull @.str.8, ptr noundef %121, ptr noundef %122) #4
br label %124
124: ; preds = %119, %116
%125 = call i32 @setExit(i32 noundef 1) #4
br label %280
126: ; preds = %112
%127 = load i32, ptr @srcMode, align 4, !tbaa !6
br label %128
128: ; preds = %126, %106
%129 = phi i32 [ %127, %126 ], [ %107, %106 ]
%130 = icmp eq i32 %129, 130
br i1 %130, label %131, label %147
131: ; preds = %128
%132 = load ptr, ptr @outName, align 8, !tbaa !10
%133 = call i64 @fileExists(ptr noundef %132) #4
%134 = icmp eq i64 %133, 0
br i1 %134, label %147, label %135
135: ; preds = %131
%136 = load i64, ptr @forceOverwrite, align 8, !tbaa !12
%137 = icmp eq i64 %136, 0
br i1 %137, label %141, label %138
138: ; preds = %135
%139 = load ptr, ptr @outName, align 8, !tbaa !10
%140 = call i32 @remove(ptr noundef %139)
br label %147
141: ; preds = %135
%142 = load i32, ptr @stderr, align 4, !tbaa !6
%143 = load ptr, ptr @progName, align 8, !tbaa !10
%144 = load ptr, ptr @outName, align 8, !tbaa !10
%145 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %142, ptr noundef nonnull @.str.9, ptr noundef %143, ptr noundef %144) #4
%146 = call i32 @setExit(i32 noundef 1) #4
br label %280
147: ; preds = %90, %138, %131, %128
%148 = load i32, ptr @srcMode, align 4, !tbaa !6
%149 = icmp ne i32 %148, 130
%150 = load i64, ptr @forceOverwrite, align 8
%151 = icmp ne i64 %150, 0
%152 = select i1 %149, i1 true, i1 %151
br i1 %152, label %167, label %153
153: ; preds = %147
%154 = load ptr, ptr @inName, align 8, !tbaa !10
%155 = call i64 @countHardLinks(ptr noundef %154) #4
%156 = icmp eq i64 %155, 0
br i1 %156, label %165, label %157
157: ; preds = %153
%158 = load i32, ptr @stderr, align 4, !tbaa !6
%159 = load ptr, ptr @progName, align 8, !tbaa !10
%160 = load ptr, ptr @inName, align 8, !tbaa !10
%161 = icmp eq i64 %155, 1
%162 = select i1 %161, ptr @.str.12, ptr @.str.11
%163 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %158, ptr noundef nonnull @.str.10, ptr noundef %159, ptr noundef %160, i64 noundef %155, ptr noundef nonnull %162) #4
%164 = call i32 @setExit(i32 noundef 1) #4
br label %280
165: ; preds = %153
%166 = load i32, ptr @srcMode, align 4, !tbaa !6
br label %167
167: ; preds = %165, %147
%168 = phi i32 [ %166, %165 ], [ %148, %147 ]
%169 = icmp eq i32 %168, 130
br i1 %169, label %170, label %174
170: ; preds = %167
%171 = load ptr, ptr @inName, align 8, !tbaa !10
%172 = call i32 @saveInputFileMetaInfo(ptr noundef %171) #4
%173 = load i32, ptr @srcMode, align 4, !tbaa !6
br label %174
174: ; preds = %170, %167
%175 = phi i32 [ %173, %170 ], [ %168, %167 ]
switch i32 %175, label %248 [
i32 128, label %176
i32 129, label %190
i32 130, label %219
]
176: ; preds = %174
%177 = load ptr, ptr @stdin, align 8, !tbaa !10
%178 = load ptr, ptr @stdout, align 8, !tbaa !10
%179 = call i32 @fileno(ptr noundef %178)
%180 = call i32 @isatty(i32 noundef %179) #4
%181 = icmp eq i32 %180, 0
br i1 %181, label %250, label %182
182: ; preds = %176
%183 = load i32, ptr @stderr, align 4, !tbaa !6
%184 = load ptr, ptr @progName, align 8, !tbaa !10
%185 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %183, ptr noundef nonnull @.str.13, ptr noundef %184) #4
%186 = load i32, ptr @stderr, align 4, !tbaa !6
%187 = load ptr, ptr @progName, align 8, !tbaa !10
%188 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %186, ptr noundef nonnull @.str.14, ptr noundef %187, ptr noundef %187) #4
%189 = call i32 @setExit(i32 noundef 1) #4
br label %280
190: ; preds = %174
%191 = load ptr, ptr @inName, align 8, !tbaa !10
%192 = call ptr @fopen(ptr noundef %191, ptr noundef nonnull @.str.15)
%193 = load ptr, ptr @stdout, align 8, !tbaa !10
%194 = call i32 @fileno(ptr noundef %193)
%195 = call i32 @isatty(i32 noundef %194) #4
%196 = icmp eq i32 %195, 0
br i1 %196, label %209, label %197
197: ; preds = %190
%198 = load i32, ptr @stderr, align 4, !tbaa !6
%199 = load ptr, ptr @progName, align 8, !tbaa !10
%200 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %198, ptr noundef nonnull @.str.13, ptr noundef %199) #4
%201 = load i32, ptr @stderr, align 4, !tbaa !6
%202 = load ptr, ptr @progName, align 8, !tbaa !10
%203 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %201, ptr noundef nonnull @.str.14, ptr noundef %202, ptr noundef %202) #4
%204 = icmp eq ptr %192, null
br i1 %204, label %207, label %205
205: ; preds = %197
%206 = call i32 @fclose(ptr noundef nonnull %192)
br label %207
207: ; preds = %205, %197
%208 = call i32 @setExit(i32 noundef 1) #4
br label %280
209: ; preds = %190
%210 = icmp eq ptr %192, null
br i1 %210, label %211, label %250
211: ; preds = %209
%212 = load i32, ptr @stderr, align 4, !tbaa !6
%213 = load ptr, ptr @progName, align 8, !tbaa !10
%214 = load ptr, ptr @inName, align 8, !tbaa !10
%215 = load i32, ptr @errno, align 4, !tbaa !6
%216 = call ptr @strerror(i32 noundef %215) #4
%217 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %212, ptr noundef nonnull @.str.5, ptr noundef %213, ptr noundef %214, ptr noundef %216) #4
%218 = call i32 @setExit(i32 noundef 1) #4
br label %280
219: ; preds = %174
%220 = load ptr, ptr @inName, align 8, !tbaa !10
%221 = call ptr @fopen(ptr noundef %220, ptr noundef nonnull @.str.15)
%222 = load ptr, ptr @outName, align 8, !tbaa !10
%223 = call ptr @fopen_output_safely(ptr noundef %222, ptr noundef nonnull @.str.16) #4
%224 = icmp eq ptr %223, null
br i1 %224, label %225, label %237
225: ; preds = %219
%226 = load i32, ptr @stderr, align 4, !tbaa !6
%227 = load ptr, ptr @progName, align 8, !tbaa !10
%228 = load ptr, ptr @outName, align 8, !tbaa !10
%229 = load i32, ptr @errno, align 4, !tbaa !6
%230 = call ptr @strerror(i32 noundef %229) #4
%231 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %226, ptr noundef nonnull @.str.17, ptr noundef %227, ptr noundef %228, ptr noundef %230) #4
%232 = icmp eq ptr %221, null
br i1 %232, label %235, label %233
233: ; preds = %225
%234 = call i32 @fclose(ptr noundef nonnull %221)
br label %235
235: ; preds = %233, %225
%236 = call i32 @setExit(i32 noundef 1) #4
br label %280
237: ; preds = %219
%238 = icmp eq ptr %221, null
br i1 %238, label %239, label %250
239: ; preds = %237
%240 = load i32, ptr @stderr, align 4, !tbaa !6
%241 = load ptr, ptr @progName, align 8, !tbaa !10
%242 = load ptr, ptr @inName, align 8, !tbaa !10
%243 = load i32, ptr @errno, align 4, !tbaa !6
%244 = call ptr @strerror(i32 noundef %243) #4
%245 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %240, ptr noundef nonnull @.str.5, ptr noundef %241, ptr noundef %242, ptr noundef %244) #4
%246 = call i32 @fclose(ptr noundef nonnull %223)
%247 = call i32 @setExit(i32 noundef 1) #4
br label %280
248: ; preds = %174
%249 = call i32 @panic(ptr noundef nonnull @.str.18) #4
br label %250
250: ; preds = %237, %209, %176, %248
%251 = phi ptr [ undef, %248 ], [ %223, %237 ], [ %193, %209 ], [ %178, %176 ]
%252 = phi ptr [ undef, %248 ], [ %221, %237 ], [ %192, %209 ], [ %177, %176 ]
%253 = load i32, ptr @verbosity, align 4, !tbaa !6
%254 = icmp sgt i32 %253, 0
br i1 %254, label %255, label %263
255: ; preds = %250
%256 = load i32, ptr @stderr, align 4, !tbaa !6
%257 = load ptr, ptr @inName, align 8, !tbaa !10
%258 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %256, ptr noundef nonnull @.str.19, ptr noundef %257) #4
%259 = load ptr, ptr @inName, align 8, !tbaa !10
%260 = call i32 @pad(ptr noundef %259) #4
%261 = load i32, ptr @stderr, align 4, !tbaa !6
%262 = call i32 @fflush(i32 noundef %261) #4
br label %263
263: ; preds = %255, %250
store ptr %251, ptr @outputHandleJustInCase, align 8, !tbaa !10
%264 = load i32, ptr @True, align 4, !tbaa !6
store i32 %264, ptr @deleteOutputOnInterrupt, align 4, !tbaa !6
%265 = call i32 @compressStream(ptr noundef %252, ptr noundef %251) #4
store ptr null, ptr @outputHandleJustInCase, align 8, !tbaa !10
%266 = load i32, ptr @srcMode, align 4, !tbaa !6
%267 = icmp eq i32 %266, 130
br i1 %267, label %268, label %278
268: ; preds = %263
%269 = load ptr, ptr @outName, align 8, !tbaa !10
%270 = call i32 @applySavedTimeInfoToOutputFile(ptr noundef %269) #4
%271 = load i32, ptr @False, align 4, !tbaa !6
store i32 %271, ptr @deleteOutputOnInterrupt, align 4, !tbaa !6
%272 = load i32, ptr @keepInputFiles, align 4, !tbaa !6
%273 = icmp eq i32 %272, 0
br i1 %273, label %274, label %278
274: ; preds = %268
%275 = load ptr, ptr @inName, align 8, !tbaa !10
%276 = call i32 @remove(ptr noundef %275)
%277 = call i32 @ERROR_IF_NOT_ZERO(i32 noundef %276) #4
br label %278
278: ; preds = %268, %274, %263
%279 = load i32, ptr @False, align 4, !tbaa !6
store i32 %279, ptr @deleteOutputOnInterrupt, align 4, !tbaa !6
br label %280
280: ; preds = %278, %239, %235, %211, %207, %182, %157, %141, %124, %100, %84, %54, %45
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @panic(ptr noundef) local_unnamed_addr #2
declare i32 @copyFileName(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @containsDubiousChars(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @setExit(i32 noundef) local_unnamed_addr #2
declare i64 @fileExists(ptr noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @hasSuffix(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MY_STAT(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @MY_S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i64 @notAStandardFile(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i64 @countHardLinks(ptr noundef) local_unnamed_addr #2
declare i32 @saveInputFileMetaInfo(ptr noundef) local_unnamed_addr #2
declare i32 @isatty(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3
declare ptr @fopen_output_safely(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pad(ptr noundef) local_unnamed_addr #2
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i32 @compressStream(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @applySavedTimeInfoToOutputFile(ptr noundef) local_unnamed_addr #2
declare i32 @ERROR_IF_NOT_ZERO(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 = { 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 #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}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !7, i64 0}
!17 = !{!"MY_STAT", !7, i64 0}
| freebsd_contrib_bzip2_extr_bzip2.c_compress |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_type.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [5 x i8] c"type\00", align 1
@error_mark_node = dso_local local_unnamed_addr global i64 0, align 8
@ARRAY_TYPE = dso_local local_unnamed_addr global i64 0, align 8
@targetm = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"U13block_pointer\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"U8__vector\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_type(i64 noundef %0) #0 {
%2 = tail call i32 @MANGLE_TRACE_TREE(ptr noundef nonnull @.str, i64 noundef %0) #2
%3 = load i64, ptr @error_mark_node, align 8, !tbaa !5
%4 = icmp eq i64 %3, %0
br i1 %4, label %78, label %5
5: ; preds = %1
%6 = tail call i64 @find_substitution(i64 noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %78
8: ; preds = %5
%9 = tail call i64 @write_CV_qualifiers_for_type(i64 noundef %0) #2
%10 = icmp sgt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %0) #2
tail call void @write_type(i64 noundef %12)
br label %75
13: ; preds = %8
%14 = tail call i32 @TREE_CODE(i64 noundef %0) #2
%15 = sext i32 %14 to i64
%16 = load i64, ptr @ARRAY_TYPE, align 8, !tbaa !5
%17 = icmp eq i64 %16, %15
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @write_array_type(i64 noundef %0) #2
br label %75
20: ; preds = %13
%21 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %0) #2
%22 = tail call i64 @TYPE_PTRMEM_P(i64 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = tail call i32 @write_pointer_to_member_type(i64 noundef %21) #2
br label %75
26: ; preds = %20
%27 = tail call i32 @TREE_CODE(i64 noundef %21) #2
switch i32 %27, label %70 [
i32 128, label %28
i32 146, label %28
i32 141, label %28
i32 138, label %28
i32 144, label %34
i32 142, label %37
i32 140, label %37
i32 130, label %39
i32 137, label %39
i32 143, label %39
i32 132, label %46
i32 131, label %46
i32 139, label %49
i32 147, label %52
i32 136, label %55
i32 133, label %58
i32 135, label %58
i32 134, label %60
i32 145, label %62
i32 129, label %67
]
28: ; preds = %26, %26, %26, %26
%29 = load ptr, ptr @targetm, align 8, !tbaa !9
%30 = tail call ptr %29(i64 noundef %21) #2
%31 = icmp eq ptr %30, null
br i1 %31, label %72, label %32
32: ; preds = %28
%33 = tail call i32 @write_string(ptr noundef nonnull %30) #2
br label %78
34: ; preds = %26
%35 = tail call i32 @write_char(i8 noundef signext 67) #2
%36 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %36)
br label %75
37: ; preds = %26, %26
%38 = tail call i32 @write_function_type(i64 noundef %21) #2
br label %75
39: ; preds = %26, %26, %26
%40 = tail call i32 @TYPE_PTRMEMFUNC_P(i64 noundef %21) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %39
%43 = tail call i32 @write_pointer_to_member_type(i64 noundef %21) #2
br label %75
44: ; preds = %39
%45 = tail call i32 @write_class_enum_type(i64 noundef %21) #2
br label %75
46: ; preds = %26, %26
%47 = tail call i32 @TYPE_STUB_DECL(i64 noundef %21) #2
%48 = tail call i32 @write_nested_name(i32 noundef %47) #2
br label %75
49: ; preds = %26
%50 = tail call i32 @write_char(i8 noundef signext 80) #2
%51 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %51)
br label %75
52: ; preds = %26
%53 = tail call i32 @write_string(ptr noundef nonnull @.str.1) #2
%54 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %54)
br label %75
55: ; preds = %26
%56 = tail call i32 @write_char(i8 noundef signext 82) #2
%57 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %57)
br label %75
58: ; preds = %26, %26
%59 = tail call i32 @write_template_param(i64 noundef %21) #2
br label %75
60: ; preds = %26
%61 = tail call i32 @write_template_template_param(i64 noundef %21) #2
br label %75
62: ; preds = %26
%63 = tail call i32 @write_template_template_param(i64 noundef %21) #2
%64 = tail call i32 @TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO(i64 noundef %21) #2
%65 = tail call i32 @TI_ARGS(i32 noundef %64) #2
%66 = tail call i32 @write_template_args(i32 noundef %65) #2
br label %75
67: ; preds = %26
%68 = tail call i32 @write_string(ptr noundef nonnull @.str.2) #2
%69 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %69)
br label %75
70: ; preds = %26
%71 = tail call i32 (...) @gcc_unreachable() #2
br label %75
72: ; preds = %28
%73 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %21) #2
%74 = tail call i32 @write_builtin_type(i64 noundef %73) #2
br label %78
75: ; preds = %11, %18, %24, %70, %67, %62, %60, %58, %55, %52, %49, %46, %42, %44, %37, %34
%76 = phi i64 [ %21, %34 ], [ %21, %37 ], [ %21, %44 ], [ %21, %42 ], [ %21, %46 ], [ %21, %49 ], [ %21, %52 ], [ %21, %55 ], [ %21, %58 ], [ %21, %60 ], [ %21, %62 ], [ %21, %67 ], [ %21, %70 ], [ %21, %24 ], [ %0, %18 ], [ %0, %11 ]
%77 = tail call i32 @add_substitution(i64 noundef %76) #2
br label %78
78: ; preds = %72, %32, %75, %5, %1
ret void
}
declare i32 @MANGLE_TRACE_TREE(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_substitution(i64 noundef) local_unnamed_addr #1
declare i64 @write_CV_qualifiers_for_type(i64 noundef) local_unnamed_addr #1
declare i64 @TYPE_MAIN_VARIANT(i64 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE(i64 noundef) local_unnamed_addr #1
declare i32 @write_array_type(i64 noundef) local_unnamed_addr #1
declare i64 @TYPE_PTRMEM_P(i64 noundef) local_unnamed_addr #1
declare i32 @write_pointer_to_member_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_string(ptr noundef) local_unnamed_addr #1
declare i32 @write_builtin_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_char(i8 noundef signext) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i32 @write_function_type(i64 noundef) local_unnamed_addr #1
declare i32 @TYPE_PTRMEMFUNC_P(i64 noundef) local_unnamed_addr #1
declare i32 @write_class_enum_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_nested_name(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_STUB_DECL(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_param(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_template_param(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_args(i32 noundef) local_unnamed_addr #1
declare i32 @TI_ARGS(i32 noundef) local_unnamed_addr #1
declare i32 @TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO(i64 noundef) local_unnamed_addr #1
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
declare i32 @add_substitution(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, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_type.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [5 x i8] c"type\00", align 1
@error_mark_node = common local_unnamed_addr global i64 0, align 8
@ARRAY_TYPE = common local_unnamed_addr global i64 0, align 8
@targetm = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"U13block_pointer\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"U8__vector\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @write_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_type(i64 noundef %0) #0 {
%2 = tail call i32 @MANGLE_TRACE_TREE(ptr noundef nonnull @.str, i64 noundef %0) #2
%3 = load i64, ptr @error_mark_node, align 8, !tbaa !6
%4 = icmp eq i64 %3, %0
br i1 %4, label %78, label %5
5: ; preds = %1
%6 = tail call i64 @find_substitution(i64 noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %78
8: ; preds = %5
%9 = tail call i64 @write_CV_qualifiers_for_type(i64 noundef %0) #2
%10 = icmp sgt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %0) #2
tail call void @write_type(i64 noundef %12)
br label %75
13: ; preds = %8
%14 = tail call i32 @TREE_CODE(i64 noundef %0) #2
%15 = sext i32 %14 to i64
%16 = load i64, ptr @ARRAY_TYPE, align 8, !tbaa !6
%17 = icmp eq i64 %16, %15
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @write_array_type(i64 noundef %0) #2
br label %75
20: ; preds = %13
%21 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %0) #2
%22 = tail call i64 @TYPE_PTRMEM_P(i64 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = tail call i32 @write_pointer_to_member_type(i64 noundef %21) #2
br label %75
26: ; preds = %20
%27 = tail call i32 @TREE_CODE(i64 noundef %21) #2
switch i32 %27, label %70 [
i32 128, label %28
i32 146, label %28
i32 141, label %28
i32 138, label %28
i32 144, label %34
i32 142, label %37
i32 140, label %37
i32 130, label %39
i32 137, label %39
i32 143, label %39
i32 132, label %46
i32 131, label %46
i32 139, label %49
i32 147, label %52
i32 136, label %55
i32 133, label %58
i32 135, label %58
i32 134, label %60
i32 145, label %62
i32 129, label %67
]
28: ; preds = %26, %26, %26, %26
%29 = load ptr, ptr @targetm, align 8, !tbaa !10
%30 = tail call ptr %29(i64 noundef %21) #2
%31 = icmp eq ptr %30, null
br i1 %31, label %72, label %32
32: ; preds = %28
%33 = tail call i32 @write_string(ptr noundef nonnull %30) #2
br label %78
34: ; preds = %26
%35 = tail call i32 @write_char(i8 noundef signext 67) #2
%36 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %36)
br label %75
37: ; preds = %26, %26
%38 = tail call i32 @write_function_type(i64 noundef %21) #2
br label %75
39: ; preds = %26, %26, %26
%40 = tail call i32 @TYPE_PTRMEMFUNC_P(i64 noundef %21) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %39
%43 = tail call i32 @write_pointer_to_member_type(i64 noundef %21) #2
br label %75
44: ; preds = %39
%45 = tail call i32 @write_class_enum_type(i64 noundef %21) #2
br label %75
46: ; preds = %26, %26
%47 = tail call i32 @TYPE_STUB_DECL(i64 noundef %21) #2
%48 = tail call i32 @write_nested_name(i32 noundef %47) #2
br label %75
49: ; preds = %26
%50 = tail call i32 @write_char(i8 noundef signext 80) #2
%51 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %51)
br label %75
52: ; preds = %26
%53 = tail call i32 @write_string(ptr noundef nonnull @.str.1) #2
%54 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %54)
br label %75
55: ; preds = %26
%56 = tail call i32 @write_char(i8 noundef signext 82) #2
%57 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %57)
br label %75
58: ; preds = %26, %26
%59 = tail call i32 @write_template_param(i64 noundef %21) #2
br label %75
60: ; preds = %26
%61 = tail call i32 @write_template_template_param(i64 noundef %21) #2
br label %75
62: ; preds = %26
%63 = tail call i32 @write_template_template_param(i64 noundef %21) #2
%64 = tail call i32 @TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO(i64 noundef %21) #2
%65 = tail call i32 @TI_ARGS(i32 noundef %64) #2
%66 = tail call i32 @write_template_args(i32 noundef %65) #2
br label %75
67: ; preds = %26
%68 = tail call i32 @write_string(ptr noundef nonnull @.str.2) #2
%69 = tail call i64 @TREE_TYPE(i64 noundef %21) #2
tail call void @write_type(i64 noundef %69)
br label %75
70: ; preds = %26
%71 = tail call i32 @gcc_unreachable() #2
br label %75
72: ; preds = %28
%73 = tail call i64 @TYPE_MAIN_VARIANT(i64 noundef %21) #2
%74 = tail call i32 @write_builtin_type(i64 noundef %73) #2
br label %78
75: ; preds = %11, %18, %24, %70, %67, %62, %60, %58, %55, %52, %49, %46, %42, %44, %37, %34
%76 = phi i64 [ %21, %34 ], [ %21, %37 ], [ %21, %44 ], [ %21, %42 ], [ %21, %46 ], [ %21, %49 ], [ %21, %52 ], [ %21, %55 ], [ %21, %58 ], [ %21, %60 ], [ %21, %62 ], [ %21, %67 ], [ %21, %70 ], [ %21, %24 ], [ %0, %18 ], [ %0, %11 ]
%77 = tail call i32 @add_substitution(i64 noundef %76) #2
br label %78
78: ; preds = %72, %32, %75, %5, %1
ret void
}
declare i32 @MANGLE_TRACE_TREE(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_substitution(i64 noundef) local_unnamed_addr #1
declare i64 @write_CV_qualifiers_for_type(i64 noundef) local_unnamed_addr #1
declare i64 @TYPE_MAIN_VARIANT(i64 noundef) local_unnamed_addr #1
declare i32 @TREE_CODE(i64 noundef) local_unnamed_addr #1
declare i32 @write_array_type(i64 noundef) local_unnamed_addr #1
declare i64 @TYPE_PTRMEM_P(i64 noundef) local_unnamed_addr #1
declare i32 @write_pointer_to_member_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_string(ptr noundef) local_unnamed_addr #1
declare i32 @write_builtin_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_char(i8 noundef signext) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i32 @write_function_type(i64 noundef) local_unnamed_addr #1
declare i32 @TYPE_PTRMEMFUNC_P(i64 noundef) local_unnamed_addr #1
declare i32 @write_class_enum_type(i64 noundef) local_unnamed_addr #1
declare i32 @write_nested_name(i32 noundef) local_unnamed_addr #1
declare i32 @TYPE_STUB_DECL(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_param(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_template_param(i64 noundef) local_unnamed_addr #1
declare i32 @write_template_args(i32 noundef) local_unnamed_addr #1
declare i32 @TI_ARGS(i32 noundef) local_unnamed_addr #1
declare i32 @TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO(i64 noundef) local_unnamed_addr #1
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
declare i32 @add_substitution(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, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_gcc_cp_extr_mangle.c_write_type |
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_if_ether.c_garp_rexmit.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_if_ether.c_garp_rexmit.c"
target datalayout = "e-m:e-p270:32:32-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.in_ifaddr = type { i32, %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { ptr }
@garp_rexmit_count = dso_local local_unnamed_addr global i32 0, align 4
@hz = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @garp_rexmit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @garp_rexmit(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.in_ifaddr, ptr %0, i64 0, i32 2
%3 = tail call i64 @callout_pending(ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 @callout_active(ptr noundef nonnull %2) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5, %1
%9 = getelementptr inbounds %struct.in_ifaddr, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %10) #2
%12 = tail call i32 @ifa_free(ptr noundef nonnull %9) #2
br label %44
13: ; preds = %5
%14 = getelementptr inbounds %struct.in_ifaddr, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !5
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @CURVNET_SET(i32 noundef %16) #2
%18 = load ptr, ptr %14, align 8, !tbaa !5
%19 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %18) #2
%20 = load ptr, ptr %14, align 8, !tbaa !5
%21 = tail call ptr @IA_SIN(ptr noundef %0) #2
%22 = tail call ptr @IA_SIN(ptr noundef %0) #2
%23 = load ptr, ptr %14, align 8, !tbaa !5
%24 = tail call i32 @IF_LLADDR(ptr noundef %23) #2
%25 = tail call i32 @arprequest(ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %24) #2
%26 = load i32, ptr %0, align 8, !tbaa !14
%27 = add nsw i32 %26, 1
store i32 %27, ptr %0, align 8, !tbaa !14
%28 = load i32, ptr @garp_rexmit_count, align 4, !tbaa !15
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %40
30: ; preds = %13
%31 = load ptr, ptr %14, align 8, !tbaa !5
%32 = tail call i32 @IF_ADDR_WLOCK(ptr noundef %31) #2
%33 = load i32, ptr %0, align 8, !tbaa !14
%34 = load i32, ptr @hz, align 4, !tbaa !15
%35 = shl i32 %34, %33
%36 = tail call i32 @callout_reset(ptr noundef nonnull %2, i32 noundef %35, ptr noundef nonnull @garp_rexmit, ptr noundef nonnull %0) #2
%37 = load ptr, ptr %14, align 8, !tbaa !5
%38 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %37) #2
%39 = icmp eq i32 %36, 0
br i1 %39, label %42, label %40
40: ; preds = %30, %13
%41 = tail call i32 @ifa_free(ptr noundef nonnull %14) #2
br label %42
42: ; preds = %40, %30
%43 = tail call i32 (...) @CURVNET_RESTORE() #2
br label %44
44: ; preds = %42, %8
ret void
}
declare i64 @callout_pending(ptr noundef) local_unnamed_addr #1
declare i32 @callout_active(ptr noundef) local_unnamed_addr #1
declare i32 @IF_ADDR_WUNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ifa_free(ptr noundef) local_unnamed_addr #1
declare i32 @CURVNET_SET(i32 noundef) local_unnamed_addr #1
declare i32 @arprequest(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @IA_SIN(ptr noundef) local_unnamed_addr #1
declare i32 @IF_LLADDR(ptr noundef) local_unnamed_addr #1
declare i32 @IF_ADDR_WLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CURVNET_RESTORE(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"in_ifaddr", !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 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_8__", !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_if_ether.c_garp_rexmit.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_if_ether.c_garp_rexmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@garp_rexmit_count = common local_unnamed_addr global i32 0, align 4
@hz = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @garp_rexmit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @garp_rexmit(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = tail call i64 @callout_pending(ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 @callout_active(ptr noundef nonnull %2) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5, %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %10) #2
%12 = tail call i32 @ifa_free(ptr noundef nonnull %9) #2
br label %44
13: ; preds = %5
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !6
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @CURVNET_SET(i32 noundef %16) #2
%18 = load ptr, ptr %14, align 8, !tbaa !6
%19 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %18) #2
%20 = load ptr, ptr %14, align 8, !tbaa !6
%21 = tail call ptr @IA_SIN(ptr noundef %0) #2
%22 = tail call ptr @IA_SIN(ptr noundef %0) #2
%23 = load ptr, ptr %14, align 8, !tbaa !6
%24 = tail call i32 @IF_LLADDR(ptr noundef %23) #2
%25 = tail call i32 @arprequest(ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %24) #2
%26 = load i32, ptr %0, align 8, !tbaa !15
%27 = add nsw i32 %26, 1
store i32 %27, ptr %0, align 8, !tbaa !15
%28 = load i32, ptr @garp_rexmit_count, align 4, !tbaa !16
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %40
30: ; preds = %13
%31 = load ptr, ptr %14, align 8, !tbaa !6
%32 = tail call i32 @IF_ADDR_WLOCK(ptr noundef %31) #2
%33 = load i32, ptr %0, align 8, !tbaa !15
%34 = load i32, ptr @hz, align 4, !tbaa !16
%35 = shl i32 %34, %33
%36 = tail call i32 @callout_reset(ptr noundef nonnull %2, i32 noundef %35, ptr noundef nonnull @garp_rexmit, ptr noundef nonnull %0) #2
%37 = load ptr, ptr %14, align 8, !tbaa !6
%38 = tail call i32 @IF_ADDR_WUNLOCK(ptr noundef %37) #2
%39 = icmp eq i32 %36, 0
br i1 %39, label %42, label %40
40: ; preds = %30, %13
%41 = tail call i32 @ifa_free(ptr noundef nonnull %14) #2
br label %42
42: ; preds = %40, %30
%43 = tail call i32 @CURVNET_RESTORE() #2
br label %44
44: ; preds = %42, %8
ret void
}
declare i64 @callout_pending(ptr noundef) local_unnamed_addr #1
declare i32 @callout_active(ptr noundef) local_unnamed_addr #1
declare i32 @IF_ADDR_WUNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ifa_free(ptr noundef) local_unnamed_addr #1
declare i32 @CURVNET_SET(i32 noundef) local_unnamed_addr #1
declare i32 @arprequest(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @IA_SIN(ptr noundef) local_unnamed_addr #1
declare i32 @IF_LLADDR(ptr noundef) local_unnamed_addr #1
declare i32 @IF_ADDR_WLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CURVNET_RESTORE(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"in_ifaddr", !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 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_8__", !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
| freebsd_sys_netinet_extr_if_ether.c_garp_rexmit |
; ModuleID = 'AnghaBench/linux/drivers/media/mc/extr_mc-entity.c_stack_pop.c'
source_filename = "AnghaBench/linux/drivers/media/mc/extr_mc-entity.c_stack_pop.c"
target datalayout = "e-m:e-p270:32:32-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.media_graph = type { i64, ptr }
%struct.TYPE_2__ = type { ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @stack_pop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal ptr @stack_pop(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.media_graph, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = add i64 %4, -1
store i64 %7, ptr %0, align 8, !tbaa !11
ret ptr %6
}
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, !10, i64 8}
!6 = !{!"media_graph", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/mc/extr_mc-entity.c_stack_pop.c'
source_filename = "AnghaBench/linux/drivers/media/mc/extr_mc-entity.c_stack_pop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@llvm.used = appending global [1 x ptr] [ptr @stack_pop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal ptr @stack_pop(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !12
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = add i64 %4, -1
store i64 %7, ptr %0, align 8, !tbaa !12
ret ptr %6
}
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, !11, i64 8}
!7 = !{!"media_graph", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0}
| linux_drivers_media_mc_extr_mc-entity.c_stack_pop |
; ModuleID = 'AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_dp_cmd_get.c'
source_filename = "AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_dp_cmd_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"
%struct.genl_info = type { i32, i32, i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@OVS_DP_CMD_GET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ovs_dp_cmd_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ovs_dp_cmd_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call ptr (...) @ovs_dp_cmd_alloc_info() #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %33
8: ; preds = %2
%9 = tail call i32 (...) @ovs_lock() #2
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = tail call i32 @sock_net(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 3
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call ptr @lookup_datapath(i32 noundef %11, i32 noundef %13, i32 noundef %15) #2
%17 = tail call i64 @IS_ERR(ptr noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %8
%20 = tail call i32 @PTR_ERR(ptr noundef %16) #2
%21 = tail call i32 (...) @ovs_unlock() #2
%22 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #2
br label %33
23: ; preds = %8
%24 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = load i32, ptr %1, align 4, !tbaa !15
%27 = load i32, ptr @OVS_DP_CMD_GET, align 4, !tbaa !5
%28 = tail call i32 @ovs_dp_cmd_fill_info(ptr noundef %16, ptr noundef nonnull %3, i32 noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef %27) #2
%29 = lshr i32 %28, 31
%30 = tail call i32 @BUG_ON(i32 noundef %29) #2
%31 = tail call i32 (...) @ovs_unlock() #2
%32 = tail call i32 @genlmsg_reply(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
br label %33
33: ; preds = %19, %23, %5
%34 = phi i32 [ %20, %19 ], [ %32, %23 ], [ %7, %5 ]
ret i32 %34
}
declare ptr @ovs_dp_cmd_alloc_info(...) local_unnamed_addr #1
declare i32 @ovs_lock(...) local_unnamed_addr #1
declare ptr @lookup_datapath(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_net(i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ovs_dp_cmd_fill_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @ovs_unlock(...) local_unnamed_addr #1
declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sk_buff", !6, i64 0}
!11 = !{!12, !6, i64 12}
!12 = !{!"genl_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !6, i64 4}
!15 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_dp_cmd_get.c'
source_filename = "AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_dp_cmd_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@OVS_DP_CMD_GET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ovs_dp_cmd_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ovs_dp_cmd_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call ptr @ovs_dp_cmd_alloc_info() #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %33
8: ; preds = %2
%9 = tail call i32 @ovs_lock() #2
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = tail call i32 @sock_net(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %1, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = tail call ptr @lookup_datapath(i32 noundef %11, i32 noundef %13, i32 noundef %15) #2
%17 = tail call i64 @IS_ERR(ptr noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %8
%20 = tail call i32 @PTR_ERR(ptr noundef %16) #2
%21 = tail call i32 @ovs_unlock() #2
%22 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #2
br label %33
23: ; preds = %8
%24 = getelementptr inbounds i8, ptr %1, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = load i32, ptr %1, align 4, !tbaa !16
%27 = load i32, ptr @OVS_DP_CMD_GET, align 4, !tbaa !6
%28 = tail call i32 @ovs_dp_cmd_fill_info(ptr noundef %16, ptr noundef nonnull %3, i32 noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef %27) #2
%29 = lshr i32 %28, 31
%30 = tail call i32 @BUG_ON(i32 noundef %29) #2
%31 = tail call i32 @ovs_unlock() #2
%32 = tail call i32 @genlmsg_reply(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
br label %33
33: ; preds = %19, %23, %5
%34 = phi i32 [ %20, %19 ], [ %32, %23 ], [ %7, %5 ]
ret i32 %34
}
declare ptr @ovs_dp_cmd_alloc_info(...) local_unnamed_addr #1
declare i32 @ovs_lock(...) local_unnamed_addr #1
declare ptr @lookup_datapath(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_net(i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ovs_dp_cmd_fill_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @ovs_unlock(...) local_unnamed_addr #1
declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sk_buff", !7, i64 0}
!12 = !{!13, !7, i64 12}
!13 = !{!"genl_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!14 = !{!13, !7, i64 8}
!15 = !{!13, !7, i64 4}
!16 = !{!13, !7, i64 0}
| linux_net_openvswitch_extr_datapath.c_ovs_dp_cmd_get |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/legacy/extr_zero.c_zero_unbind.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/legacy/extr_zero.c_zero_unbind.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@autoresume_timer = dso_local global i32 0, align 4
@func_ss = dso_local local_unnamed_addr global i32 0, align 4
@func_inst_ss = dso_local local_unnamed_addr global i32 0, align 4
@func_lb = dso_local local_unnamed_addr global i32 0, align 4
@func_inst_lb = dso_local local_unnamed_addr global i32 0, align 4
@otg_desc = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @zero_unbind], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @zero_unbind(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @del_timer_sync(ptr noundef nonnull @autoresume_timer) #2
%3 = load i32, ptr @func_ss, align 4, !tbaa !5
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @func_ss, align 4, !tbaa !5
%8 = tail call i32 @usb_put_function(i32 noundef %7) #2
br label %9
9: ; preds = %6, %1
%10 = load i32, ptr @func_inst_ss, align 4, !tbaa !5
%11 = tail call i32 @usb_put_function_instance(i32 noundef %10) #2
%12 = load i32, ptr @func_lb, align 4, !tbaa !5
%13 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = load i32, ptr @func_lb, align 4, !tbaa !5
%17 = tail call i32 @usb_put_function(i32 noundef %16) #2
br label %18
18: ; preds = %15, %9
%19 = load i32, ptr @func_inst_lb, align 4, !tbaa !5
%20 = tail call i32 @usb_put_function_instance(i32 noundef %19) #2
%21 = load ptr, ptr @otg_desc, align 8, !tbaa !9
%22 = load ptr, ptr %21, align 8, !tbaa !9
%23 = tail call i32 @kfree(ptr noundef %22) #2
%24 = load ptr, ptr @otg_desc, align 8, !tbaa !9
store ptr null, ptr %24, align 8, !tbaa !9
ret i32 0
}
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare i32 @usb_put_function(i32 noundef) local_unnamed_addr #1
declare i32 @usb_put_function_instance(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/legacy/extr_zero.c_zero_unbind.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/legacy/extr_zero.c_zero_unbind.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@autoresume_timer = common global i32 0, align 4
@func_ss = common local_unnamed_addr global i32 0, align 4
@func_inst_ss = common local_unnamed_addr global i32 0, align 4
@func_lb = common local_unnamed_addr global i32 0, align 4
@func_inst_lb = common local_unnamed_addr global i32 0, align 4
@otg_desc = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @zero_unbind], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @zero_unbind(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @del_timer_sync(ptr noundef nonnull @autoresume_timer) #2
%3 = load i32, ptr @func_ss, align 4, !tbaa !6
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @func_ss, align 4, !tbaa !6
%8 = tail call i32 @usb_put_function(i32 noundef %7) #2
br label %9
9: ; preds = %6, %1
%10 = load i32, ptr @func_inst_ss, align 4, !tbaa !6
%11 = tail call i32 @usb_put_function_instance(i32 noundef %10) #2
%12 = load i32, ptr @func_lb, align 4, !tbaa !6
%13 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = load i32, ptr @func_lb, align 4, !tbaa !6
%17 = tail call i32 @usb_put_function(i32 noundef %16) #2
br label %18
18: ; preds = %15, %9
%19 = load i32, ptr @func_inst_lb, align 4, !tbaa !6
%20 = tail call i32 @usb_put_function_instance(i32 noundef %19) #2
%21 = load ptr, ptr @otg_desc, align 8, !tbaa !10
%22 = load ptr, ptr %21, align 8, !tbaa !10
%23 = tail call i32 @kfree(ptr noundef %22) #2
%24 = load ptr, ptr @otg_desc, align 8, !tbaa !10
store ptr null, ptr %24, align 8, !tbaa !10
ret i32 0
}
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare i32 @usb_put_function(i32 noundef) local_unnamed_addr #1
declare i32 @usb_put_function_instance(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| linux_drivers_usb_gadget_legacy_extr_zero.c_zero_unbind |
; ModuleID = 'AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_mixer_event.c'
source_filename = "AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_mixer_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @skl_tplg_mixer_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @skl_tplg_mixer_event(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call ptr @get_skl_ctx(i32 noundef %5) #2
switch i32 %2, label %15 [
i32 128, label %7
i32 130, label %9
i32 129, label %11
i32 131, label %13
]
7: ; preds = %3
%8 = tail call i32 @skl_tplg_mixer_dapm_pre_pmu_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
9: ; preds = %3
%10 = tail call i32 @skl_tplg_mixer_dapm_post_pmu_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
11: ; preds = %3
%12 = tail call i32 @skl_tplg_mixer_dapm_pre_pmd_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
13: ; preds = %3
%14 = tail call i32 @skl_tplg_mixer_dapm_post_pmd_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
15: ; preds = %3, %13, %11, %9, %7
%16 = phi i32 [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ 0, %3 ]
ret i32 %16
}
declare ptr @get_skl_ctx(i32 noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_pre_pmu_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_post_pmu_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_pre_pmd_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_post_pmd_event(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 = !{!"snd_soc_dapm_widget", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_soc_dapm_context", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_mixer_event.c'
source_filename = "AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_mixer_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @skl_tplg_mixer_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @skl_tplg_mixer_event(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @get_skl_ctx(i32 noundef %5) #2
switch i32 %2, label %15 [
i32 128, label %7
i32 130, label %9
i32 129, label %11
i32 131, label %13
]
7: ; preds = %3
%8 = tail call i32 @skl_tplg_mixer_dapm_pre_pmu_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
9: ; preds = %3
%10 = tail call i32 @skl_tplg_mixer_dapm_post_pmu_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
11: ; preds = %3
%12 = tail call i32 @skl_tplg_mixer_dapm_pre_pmd_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
13: ; preds = %3
%14 = tail call i32 @skl_tplg_mixer_dapm_post_pmd_event(ptr noundef nonnull %0, ptr noundef %6) #2
br label %15
15: ; preds = %3, %13, %11, %9, %7
%16 = phi i32 [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ 0, %3 ]
ret i32 %16
}
declare ptr @get_skl_ctx(i32 noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_pre_pmu_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_post_pmu_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_pre_pmd_event(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skl_tplg_mixer_dapm_post_pmd_event(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 = !{!"snd_soc_dapm_widget", !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 = !{!"snd_soc_dapm_context", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_sound_soc_intel_skylake_extr_skl-topology.c_skl_tplg_mixer_event |
; ModuleID = 'AnghaBench/RetroArch/gfx/common/extr_vulkan_common.c_vulkan_destroy_swapchain.c'
source_filename = "AnghaBench/RetroArch/gfx/common/extr_vulkan_common.c_vulkan_destroy_swapchain.c"
target datalayout = "e-m:e-p270:32:32-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__, i32 }
%struct.TYPE_4__ = type { ptr, i32, ptr, ptr, i32 }
@VK_NULL_HANDLE = dso_local local_unnamed_addr global i64 0, align 8
@VULKAN_MAX_SWAPCHAIN_IMAGES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vulkan_destroy_swapchain], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vulkan_destroy_swapchain(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%3 = tail call i32 @vulkan_emulated_mailbox_deinit(ptr noundef nonnull %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !13
%6 = icmp eq i64 %4, %5
br i1 %6, label %19, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 4
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = tail call i32 @vkDeviceWaitIdle(i32 noundef %10) #2
%12 = load i32, ptr %9, align 8, !tbaa !14
%13 = load i64, ptr %0, align 8, !tbaa !5
%14 = tail call i32 @vkDestroySwapchainKHR(i32 noundef %12, i64 noundef %13, ptr noundef null) #2
%15 = load ptr, ptr %8, align 8, !tbaa !15
%16 = tail call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 8) #2
%17 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !13
store i64 %17, ptr %0, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 1
store i32 0, ptr %18, align 8, !tbaa !16
br label %19
19: ; preds = %7, %1
%20 = phi i64 [ %17, %7 ], [ %4, %1 ]
%21 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !17
%22 = icmp eq i32 %21, 0
br i1 %22, label %54, label %23
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 2
%25 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 4
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 3
br label %27
27: ; preds = %23, %48
%28 = phi i64 [ %20, %23 ], [ %49, %48 ]
%29 = phi i64 [ 0, %23 ], [ %50, %48 ]
%30 = load ptr, ptr %24, align 8, !tbaa !18
%31 = getelementptr inbounds i64, ptr %30, i64 %29
%32 = load i64, ptr %31, align 8, !tbaa !13
%33 = icmp eq i64 %32, %28
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = load i32, ptr %25, align 8, !tbaa !14
%36 = tail call i32 @vkDestroySemaphore(i32 noundef %35, i64 noundef %32, ptr noundef null) #2
%37 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !13
br label %38
38: ; preds = %34, %27
%39 = phi i64 [ %37, %34 ], [ %28, %27 ]
%40 = load ptr, ptr %26, align 8, !tbaa !19
%41 = getelementptr inbounds i64, ptr %40, i64 %29
%42 = load i64, ptr %41, align 8, !tbaa !13
%43 = icmp eq i64 %42, %39
br i1 %43, label %48, label %44
44: ; preds = %38
%45 = load i32, ptr %25, align 8, !tbaa !14
%46 = tail call i32 @vkDestroyFence(i32 noundef %45, i64 noundef %42, ptr noundef null) #2
%47 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !13
br label %48
48: ; preds = %38, %44
%49 = phi i64 [ %39, %38 ], [ %47, %44 ]
%50 = add nuw nsw i64 %29, 1
%51 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !17
%52 = zext i32 %51 to i64
%53 = icmp ult i64 %50, %52
br i1 %53, label %27, label %54, !llvm.loop !20
54: ; preds = %48, %19
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 2
%56 = load ptr, ptr %55, align 8, !tbaa !18
%57 = tail call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 8) #2
%58 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 3
%59 = load ptr, ptr %58, align 8, !tbaa !19
%60 = tail call i32 @memset(ptr noundef %59, i32 noundef 0, i32 noundef 8) #2
ret void
}
declare i32 @vulkan_emulated_mailbox_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @vkDeviceWaitIdle(i32 noundef) local_unnamed_addr #1
declare i32 @vkDestroySwapchainKHR(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vkDestroySemaphore(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vkDestroyFence(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !12, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 24, !12, i64 32}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !12, i64 40}
!15 = !{!6, !11, i64 8}
!16 = !{!6, !12, i64 16}
!17 = !{!12, !12, i64 0}
!18 = !{!6, !11, i64 24}
!19 = !{!6, !11, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/common/extr_vulkan_common.c_vulkan_destroy_swapchain.c'
source_filename = "AnghaBench/RetroArch/gfx/common/extr_vulkan_common.c_vulkan_destroy_swapchain.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VK_NULL_HANDLE = common local_unnamed_addr global i64 0, align 8
@VULKAN_MAX_SWAPCHAIN_IMAGES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vulkan_destroy_swapchain], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vulkan_destroy_swapchain(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = tail call i32 @vulkan_emulated_mailbox_deinit(ptr noundef nonnull %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
br i1 %6, label %19, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = getelementptr inbounds i8, ptr %0, i64 40
%10 = load i32, ptr %9, align 8, !tbaa !15
%11 = tail call i32 @vkDeviceWaitIdle(i32 noundef %10) #2
%12 = load i32, ptr %9, align 8, !tbaa !15
%13 = load i64, ptr %0, align 8, !tbaa !6
%14 = tail call i32 @vkDestroySwapchainKHR(i32 noundef %12, i64 noundef %13, ptr noundef null) #2
%15 = load ptr, ptr %8, align 8, !tbaa !16
%16 = tail call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 8) #2
%17 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !14
store i64 %17, ptr %0, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 16
store i32 0, ptr %18, align 8, !tbaa !17
br label %19
19: ; preds = %7, %1
%20 = phi i64 [ %17, %7 ], [ %4, %1 ]
%21 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !18
%22 = icmp eq i32 %21, 0
br i1 %22, label %54, label %23
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %0, i64 24
%25 = getelementptr inbounds i8, ptr %0, i64 40
%26 = getelementptr inbounds i8, ptr %0, i64 32
br label %27
27: ; preds = %23, %48
%28 = phi i64 [ %20, %23 ], [ %49, %48 ]
%29 = phi i64 [ 0, %23 ], [ %50, %48 ]
%30 = load ptr, ptr %24, align 8, !tbaa !19
%31 = getelementptr inbounds i64, ptr %30, i64 %29
%32 = load i64, ptr %31, align 8, !tbaa !14
%33 = icmp eq i64 %32, %28
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = load i32, ptr %25, align 8, !tbaa !15
%36 = tail call i32 @vkDestroySemaphore(i32 noundef %35, i64 noundef %32, ptr noundef null) #2
%37 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !14
br label %38
38: ; preds = %34, %27
%39 = phi i64 [ %37, %34 ], [ %28, %27 ]
%40 = load ptr, ptr %26, align 8, !tbaa !20
%41 = getelementptr inbounds i64, ptr %40, i64 %29
%42 = load i64, ptr %41, align 8, !tbaa !14
%43 = icmp eq i64 %42, %39
br i1 %43, label %48, label %44
44: ; preds = %38
%45 = load i32, ptr %25, align 8, !tbaa !15
%46 = tail call i32 @vkDestroyFence(i32 noundef %45, i64 noundef %42, ptr noundef null) #2
%47 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !14
br label %48
48: ; preds = %38, %44
%49 = phi i64 [ %39, %38 ], [ %47, %44 ]
%50 = add nuw nsw i64 %29, 1
%51 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !18
%52 = zext i32 %51 to i64
%53 = icmp ult i64 %50, %52
br i1 %53, label %27, label %54, !llvm.loop !21
54: ; preds = %48, %19
%55 = getelementptr inbounds i8, ptr %0, i64 24
%56 = load ptr, ptr %55, align 8, !tbaa !19
%57 = tail call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 8) #2
%58 = getelementptr inbounds i8, ptr %0, i64 32
%59 = load ptr, ptr %58, align 8, !tbaa !20
%60 = tail call i32 @memset(ptr noundef %59, i32 noundef 0, i32 noundef 8) #2
ret void
}
declare i32 @vulkan_emulated_mailbox_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @vkDeviceWaitIdle(i32 noundef) local_unnamed_addr #1
declare i32 @vkDestroySwapchainKHR(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vkDestroySemaphore(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vkDestroyFence(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !13, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0, !13, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !13, i64 40}
!16 = !{!7, !12, i64 8}
!17 = !{!7, !13, i64 16}
!18 = !{!13, !13, i64 0}
!19 = !{!7, !12, i64 24}
!20 = !{!7, !12, i64 32}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| RetroArch_gfx_common_extr_vulkan_common.c_vulkan_destroy_swapchain |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_valid_ea.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_valid_ea.c"
target datalayout = "e-m:e-p270:32:32-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 @valid_ea], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @valid_ea(i64 noundef %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %53, label %4
4: ; preds = %2
%5 = and i64 %0, 63
switch i64 %5, label %53 [
i64 0, label %6
i64 1, label %6
i64 2, label %6
i64 3, label %6
i64 4, label %6
i64 5, label %6
i64 6, label %6
i64 7, label %6
i64 8, label %10
i64 9, label %10
i64 10, label %10
i64 11, label %10
i64 12, label %10
i64 13, label %10
i64 14, label %10
i64 15, label %10
i64 16, label %14
i64 17, label %14
i64 18, label %14
i64 19, label %14
i64 20, label %14
i64 21, label %14
i64 22, label %14
i64 23, label %14
i64 24, label %18
i64 25, label %18
i64 26, label %18
i64 27, label %18
i64 28, label %18
i64 29, label %18
i64 30, label %18
i64 31, label %18
i64 32, label %22
i64 33, label %22
i64 34, label %22
i64 35, label %22
i64 36, label %22
i64 37, label %22
i64 38, label %22
i64 39, label %22
i64 40, label %26
i64 41, label %26
i64 42, label %26
i64 43, label %26
i64 44, label %26
i64 45, label %26
i64 46, label %26
i64 47, label %26
i64 48, label %30
i64 49, label %30
i64 50, label %30
i64 51, label %30
i64 52, label %30
i64 53, label %30
i64 54, label %30
i64 55, label %30
i64 56, label %34
i64 57, label %38
i64 58, label %42
i64 59, label %46
i64 60, label %49
]
6: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%7 = trunc i64 %1 to i32
%8 = lshr i32 %7, 11
%9 = and i32 %8, 1
br label %53
10: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%11 = trunc i64 %1 to i32
%12 = lshr i32 %11, 10
%13 = and i32 %12, 1
br label %53
14: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%15 = trunc i64 %1 to i32
%16 = lshr i32 %15, 9
%17 = and i32 %16, 1
br label %53
18: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%19 = trunc i64 %1 to i32
%20 = lshr i32 %19, 8
%21 = and i32 %20, 1
br label %53
22: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%23 = trunc i64 %1 to i32
%24 = lshr i32 %23, 7
%25 = and i32 %24, 1
br label %53
26: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%27 = trunc i64 %1 to i32
%28 = lshr i32 %27, 6
%29 = and i32 %28, 1
br label %53
30: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%31 = trunc i64 %1 to i32
%32 = lshr i32 %31, 5
%33 = and i32 %32, 1
br label %53
34: ; preds = %4
%35 = trunc i64 %1 to i32
%36 = lshr i32 %35, 4
%37 = and i32 %36, 1
br label %53
38: ; preds = %4
%39 = trunc i64 %1 to i32
%40 = lshr i32 %39, 3
%41 = and i32 %40, 1
br label %53
42: ; preds = %4
%43 = trunc i64 %1 to i32
%44 = lshr i32 %43, 1
%45 = and i32 %44, 1
br label %53
46: ; preds = %4
%47 = trunc i64 %1 to i32
%48 = and i32 %47, 1
br label %53
49: ; preds = %4
%50 = trunc i64 %1 to i32
%51 = lshr i32 %50, 2
%52 = and i32 %51, 1
br label %53
53: ; preds = %4, %2, %49, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6
%54 = phi i32 [ %52, %49 ], [ %48, %46 ], [ %45, %42 ], [ %41, %38 ], [ %37, %34 ], [ %33, %30 ], [ %29, %26 ], [ %25, %22 ], [ %21, %18 ], [ %17, %14 ], [ %13, %10 ], [ %9, %6 ], [ 1, %2 ], [ 0, %4 ]
ret i32 %54
}
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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_valid_ea.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_valid_ea.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 @valid_ea], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @valid_ea(i64 noundef %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %53, label %4
4: ; preds = %2
%5 = and i64 %0, 63
switch i64 %5, label %53 [
i64 0, label %6
i64 1, label %6
i64 2, label %6
i64 3, label %6
i64 4, label %6
i64 5, label %6
i64 6, label %6
i64 7, label %6
i64 8, label %10
i64 9, label %10
i64 10, label %10
i64 11, label %10
i64 12, label %10
i64 13, label %10
i64 14, label %10
i64 15, label %10
i64 16, label %14
i64 17, label %14
i64 18, label %14
i64 19, label %14
i64 20, label %14
i64 21, label %14
i64 22, label %14
i64 23, label %14
i64 24, label %18
i64 25, label %18
i64 26, label %18
i64 27, label %18
i64 28, label %18
i64 29, label %18
i64 30, label %18
i64 31, label %18
i64 32, label %22
i64 33, label %22
i64 34, label %22
i64 35, label %22
i64 36, label %22
i64 37, label %22
i64 38, label %22
i64 39, label %22
i64 40, label %26
i64 41, label %26
i64 42, label %26
i64 43, label %26
i64 44, label %26
i64 45, label %26
i64 46, label %26
i64 47, label %26
i64 48, label %30
i64 49, label %30
i64 50, label %30
i64 51, label %30
i64 52, label %30
i64 53, label %30
i64 54, label %30
i64 55, label %30
i64 56, label %34
i64 57, label %38
i64 58, label %42
i64 59, label %46
i64 60, label %49
]
6: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%7 = trunc i64 %1 to i32
%8 = lshr i32 %7, 11
%9 = and i32 %8, 1
br label %53
10: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%11 = trunc i64 %1 to i32
%12 = lshr i32 %11, 10
%13 = and i32 %12, 1
br label %53
14: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%15 = trunc i64 %1 to i32
%16 = lshr i32 %15, 9
%17 = and i32 %16, 1
br label %53
18: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%19 = trunc i64 %1 to i32
%20 = lshr i32 %19, 8
%21 = and i32 %20, 1
br label %53
22: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%23 = trunc i64 %1 to i32
%24 = lshr i32 %23, 7
%25 = and i32 %24, 1
br label %53
26: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%27 = trunc i64 %1 to i32
%28 = lshr i32 %27, 6
%29 = and i32 %28, 1
br label %53
30: ; preds = %4, %4, %4, %4, %4, %4, %4, %4
%31 = trunc i64 %1 to i32
%32 = lshr i32 %31, 5
%33 = and i32 %32, 1
br label %53
34: ; preds = %4
%35 = trunc i64 %1 to i32
%36 = lshr i32 %35, 4
%37 = and i32 %36, 1
br label %53
38: ; preds = %4
%39 = trunc i64 %1 to i32
%40 = lshr i32 %39, 3
%41 = and i32 %40, 1
br label %53
42: ; preds = %4
%43 = trunc i64 %1 to i32
%44 = lshr i32 %43, 1
%45 = and i32 %44, 1
br label %53
46: ; preds = %4
%47 = trunc i64 %1 to i32
%48 = and i32 %47, 1
br label %53
49: ; preds = %4
%50 = trunc i64 %1 to i32
%51 = lshr i32 %50, 2
%52 = and i32 %51, 1
br label %53
53: ; preds = %4, %2, %49, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6
%54 = phi i32 [ %52, %49 ], [ %48, %46 ], [ %45, %42 ], [ %41, %38 ], [ %37, %34 ], [ %33, %30 ], [ %29, %26 ], [ %25, %22 ], [ %21, %18 ], [ %17, %14 ], [ %13, %10 ], [ %9, %6 ], [ 1, %2 ], [ 0, %4 ]
ret i32 %54
}
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)"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kdasm.c_valid_ea |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-bd2802.c_bd2802_store_adv_conf.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-bd2802.c_bd2802_store_adv_conf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bd2802_led = type { i32, i64 }
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bd2802_store_adv_conf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @bd2802_store_adv_conf(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 @to_i2c_client(ptr noundef %0) #2
%6 = tail call ptr @i2c_get_clientdata(i32 noundef %5) #2
%7 = icmp eq i64 %3, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i64, ptr @EINVAL, align 8, !tbaa !5
%10 = sub i64 0, %9
br label %31
11: ; preds = %4
%12 = tail call i32 @down_write(ptr noundef %6) #2
%13 = getelementptr inbounds %struct.bd2802_led, ptr %6, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !9
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @bd2802_enable_adv_conf(ptr noundef nonnull %6) #2
br label %29
21: ; preds = %16
%22 = load i64, ptr %13, align 8, !tbaa !9
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %11, %21
%25 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef 3) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = tail call i32 @bd2802_disable_adv_conf(ptr noundef nonnull %6) #2
br label %29
29: ; preds = %21, %24, %27, %19
%30 = tail call i32 @up_write(ptr noundef nonnull %6) #2
br label %31
31: ; preds = %29, %8
%32 = phi i64 [ %3, %29 ], [ %10, %8 ]
ret i64 %32
}
declare ptr @i2c_get_clientdata(i32 noundef) local_unnamed_addr #1
declare i32 @to_i2c_client(ptr noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bd2802_enable_adv_conf(ptr noundef) local_unnamed_addr #1
declare i32 @bd2802_disable_adv_conf(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"bd2802_led", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-bd2802.c_bd2802_store_adv_conf.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-bd2802.c_bd2802_store_adv_conf.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 i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bd2802_store_adv_conf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @bd2802_store_adv_conf(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 @to_i2c_client(ptr noundef %0) #2
%6 = tail call ptr @i2c_get_clientdata(i32 noundef %5) #2
%7 = icmp eq i64 %3, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i64, ptr @EINVAL, align 8, !tbaa !6
%10 = sub i64 0, %9
br label %31
11: ; preds = %4
%12 = tail call i32 @down_write(ptr noundef %6) #2
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !10
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @bd2802_enable_adv_conf(ptr noundef nonnull %6) #2
br label %29
21: ; preds = %16
%22 = load i64, ptr %13, align 8, !tbaa !10
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %11, %21
%25 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef 3) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = tail call i32 @bd2802_disable_adv_conf(ptr noundef nonnull %6) #2
br label %29
29: ; preds = %21, %24, %27, %19
%30 = tail call i32 @up_write(ptr noundef nonnull %6) #2
br label %31
31: ; preds = %29, %8
%32 = phi i64 [ %3, %29 ], [ %10, %8 ]
ret i64 %32
}
declare ptr @i2c_get_clientdata(i32 noundef) local_unnamed_addr #1
declare i32 @to_i2c_client(ptr noundef) local_unnamed_addr #1
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bd2802_enable_adv_conf(ptr noundef) local_unnamed_addr #1
declare i32 @bd2802_disable_adv_conf(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"bd2802_led", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
| linux_drivers_leds_extr_leds-bd2802.c_bd2802_store_adv_conf |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_detach.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@APD_BIT = dso_local local_unnamed_addr global i32 0, align 4
@DPD_BIT = dso_local local_unnamed_addr global i32 0, align 4
@CONFIG_REG = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @a2150_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @a2150_detach(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = load i32, ptr @APD_BIT, align 4, !tbaa !10
%6 = load i32, ptr @DPD_BIT, align 4, !tbaa !10
%7 = or i32 %6, %5
%8 = load i64, ptr @CONFIG_REG, align 8, !tbaa !12
%9 = add nsw i64 %8, %2
%10 = tail call i32 @outw(i32 noundef %7, i64 noundef %9) #2
br label %11
11: ; preds = %4, %1
%12 = tail call i32 @a2150_free_dma(ptr noundef nonnull %0) #2
%13 = tail call i32 @comedi_legacy_detach(ptr noundef nonnull %0) #2
ret void
}
declare i32 @outw(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @a2150_free_dma(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_legacy_detach(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 = !{!"comedi_device", !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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_detach.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APD_BIT = common local_unnamed_addr global i32 0, align 4
@DPD_BIT = common local_unnamed_addr global i32 0, align 4
@CONFIG_REG = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @a2150_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @a2150_detach(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = load i32, ptr @APD_BIT, align 4, !tbaa !11
%6 = load i32, ptr @DPD_BIT, align 4, !tbaa !11
%7 = or i32 %6, %5
%8 = load i64, ptr @CONFIG_REG, align 8, !tbaa !13
%9 = add nsw i64 %8, %2
%10 = tail call i32 @outw(i32 noundef %7, i64 noundef %9) #2
br label %11
11: ; preds = %4, %1
%12 = tail call i32 @a2150_free_dma(ptr noundef nonnull %0) #2
%13 = tail call i32 @comedi_legacy_detach(ptr noundef nonnull %0) #2
ret void
}
declare i32 @outw(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @a2150_free_dma(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_legacy_detach(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 = !{!"comedi_device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!8, !8, i64 0}
| linux_drivers_staging_comedi_drivers_extr_ni_at_a2150.c_a2150_detach |
; ModuleID = 'AnghaBench/reactos/base/applications/mplay32/extr_mplay32.c_EnableMenuItems.c'
source_filename = "AnghaBench/reactos/base/applications/mplay32/extr_mplay32.c_EnableMenuItems.c"
target datalayout = "e-m:e-p270:32:32-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 }
@hMainMenu = dso_local local_unnamed_addr global i32 0, align 4
@IDM_CLOSE_FILE = dso_local local_unnamed_addr global i32 0, align 4
@MF_BYCOMMAND = dso_local local_unnamed_addr global i32 0, align 4
@MF_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@wDeviceId = dso_local local_unnamed_addr global i32 0, align 4
@MCI_CONFIGURE = dso_local local_unnamed_addr global i32 0, align 4
@MCI_TEST = dso_local local_unnamed_addr global i32 0, align 4
@IDM_DEVPROPS = dso_local local_unnamed_addr global i32 0, align 4
@MCI_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
@MCI_DGV_WINDOW_HWND = dso_local local_unnamed_addr global i32 0, align 4
@MCI_WHERE = dso_local local_unnamed_addr global i32 0, align 4
@MCI_DGV_WHERE_SOURCE = dso_local local_unnamed_addr global i32 0, align 4
@IDM_SWITCHVIEW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @EnableMenuItems(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_2__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @hMainMenu, align 4, !tbaa !5
%6 = load i32, ptr @IDM_CLOSE_FILE, align 4, !tbaa !5
%7 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !5
%8 = load i32, ptr @MF_ENABLED, align 4, !tbaa !5
%9 = or i32 %8, %7
%10 = tail call i32 @EnableMenuItem(i32 noundef %5, i32 noundef %6, i32 noundef %9) #3
%11 = load i32, ptr @wDeviceId, align 4, !tbaa !5
%12 = load i32, ptr @MCI_CONFIGURE, align 4, !tbaa !5
%13 = load i32, ptr @MCI_TEST, align 4, !tbaa !5
%14 = ptrtoint ptr %2 to i64
%15 = trunc i64 %14 to i32
%16 = call i64 @mciSendCommand(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %1
%19 = load i32, ptr @hMainMenu, align 4, !tbaa !5
%20 = load i32, ptr @IDM_DEVPROPS, align 4, !tbaa !5
%21 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !5
%22 = load i32, ptr @MF_ENABLED, align 4, !tbaa !5
%23 = or i32 %22, %21
%24 = call i32 @EnableMenuItem(i32 noundef %19, i32 noundef %20, i32 noundef %23) #3
br label %25
25: ; preds = %18, %1
store i32 %0, ptr %4, align 4, !tbaa !9
%26 = load i32, ptr @wDeviceId, align 4, !tbaa !5
%27 = load i32, ptr @MCI_WINDOW, align 4, !tbaa !5
%28 = load i32, ptr @MCI_DGV_WINDOW_HWND, align 4, !tbaa !5
%29 = load i32, ptr @MCI_TEST, align 4, !tbaa !5
%30 = or i32 %29, %28
%31 = ptrtoint ptr %4 to i64
%32 = trunc i64 %31 to i32
%33 = call i64 @mciSendCommand(i32 noundef %26, i32 noundef %27, i32 noundef %30, i32 noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %52
35: ; preds = %25
%36 = load i32, ptr @wDeviceId, align 4, !tbaa !5
%37 = load i32, ptr @MCI_WHERE, align 4, !tbaa !5
%38 = load i32, ptr @MCI_DGV_WHERE_SOURCE, align 4, !tbaa !5
%39 = load i32, ptr @MCI_TEST, align 4, !tbaa !5
%40 = or i32 %39, %38
%41 = ptrtoint ptr %3 to i64
%42 = trunc i64 %41 to i32
%43 = call i64 @mciSendCommand(i32 noundef %36, i32 noundef %37, i32 noundef %40, i32 noundef %42) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %35
%46 = load i32, ptr @hMainMenu, align 4, !tbaa !5
%47 = load i32, ptr @IDM_SWITCHVIEW, align 4, !tbaa !5
%48 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !5
%49 = load i32, ptr @MF_ENABLED, align 4, !tbaa !5
%50 = or i32 %49, %48
%51 = call i32 @EnableMenuItem(i32 noundef %46, i32 noundef %47, i32 noundef %50) #3
br label %52
52: ; preds = %35, %45, %25
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 @EnableMenuItem(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mciSendCommand(i32 noundef, i32 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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/base/applications/mplay32/extr_mplay32.c_EnableMenuItems.c'
source_filename = "AnghaBench/reactos/base/applications/mplay32/extr_mplay32.c_EnableMenuItems.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 }
@hMainMenu = common local_unnamed_addr global i32 0, align 4
@IDM_CLOSE_FILE = common local_unnamed_addr global i32 0, align 4
@MF_BYCOMMAND = common local_unnamed_addr global i32 0, align 4
@MF_ENABLED = common local_unnamed_addr global i32 0, align 4
@wDeviceId = common local_unnamed_addr global i32 0, align 4
@MCI_CONFIGURE = common local_unnamed_addr global i32 0, align 4
@MCI_TEST = common local_unnamed_addr global i32 0, align 4
@IDM_DEVPROPS = common local_unnamed_addr global i32 0, align 4
@MCI_WINDOW = common local_unnamed_addr global i32 0, align 4
@MCI_DGV_WINDOW_HWND = common local_unnamed_addr global i32 0, align 4
@MCI_WHERE = common local_unnamed_addr global i32 0, align 4
@MCI_DGV_WHERE_SOURCE = common local_unnamed_addr global i32 0, align 4
@IDM_SWITCHVIEW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @EnableMenuItems(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_2__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @hMainMenu, align 4, !tbaa !6
%6 = load i32, ptr @IDM_CLOSE_FILE, align 4, !tbaa !6
%7 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !6
%8 = load i32, ptr @MF_ENABLED, align 4, !tbaa !6
%9 = or i32 %8, %7
%10 = tail call i32 @EnableMenuItem(i32 noundef %5, i32 noundef %6, i32 noundef %9) #3
%11 = load i32, ptr @wDeviceId, align 4, !tbaa !6
%12 = load i32, ptr @MCI_CONFIGURE, align 4, !tbaa !6
%13 = load i32, ptr @MCI_TEST, align 4, !tbaa !6
%14 = ptrtoint ptr %2 to i64
%15 = trunc i64 %14 to i32
%16 = call i64 @mciSendCommand(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %1
%19 = load i32, ptr @hMainMenu, align 4, !tbaa !6
%20 = load i32, ptr @IDM_DEVPROPS, align 4, !tbaa !6
%21 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !6
%22 = load i32, ptr @MF_ENABLED, align 4, !tbaa !6
%23 = or i32 %22, %21
%24 = call i32 @EnableMenuItem(i32 noundef %19, i32 noundef %20, i32 noundef %23) #3
br label %25
25: ; preds = %18, %1
store i32 %0, ptr %4, align 4, !tbaa !10
%26 = load i32, ptr @wDeviceId, align 4, !tbaa !6
%27 = load i32, ptr @MCI_WINDOW, align 4, !tbaa !6
%28 = load i32, ptr @MCI_DGV_WINDOW_HWND, align 4, !tbaa !6
%29 = load i32, ptr @MCI_TEST, align 4, !tbaa !6
%30 = or i32 %29, %28
%31 = ptrtoint ptr %4 to i64
%32 = trunc i64 %31 to i32
%33 = call i64 @mciSendCommand(i32 noundef %26, i32 noundef %27, i32 noundef %30, i32 noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %52
35: ; preds = %25
%36 = load i32, ptr @wDeviceId, align 4, !tbaa !6
%37 = load i32, ptr @MCI_WHERE, align 4, !tbaa !6
%38 = load i32, ptr @MCI_DGV_WHERE_SOURCE, align 4, !tbaa !6
%39 = load i32, ptr @MCI_TEST, align 4, !tbaa !6
%40 = or i32 %39, %38
%41 = ptrtoint ptr %3 to i64
%42 = trunc i64 %41 to i32
%43 = call i64 @mciSendCommand(i32 noundef %36, i32 noundef %37, i32 noundef %40, i32 noundef %42) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %35
%46 = load i32, ptr @hMainMenu, align 4, !tbaa !6
%47 = load i32, ptr @IDM_SWITCHVIEW, align 4, !tbaa !6
%48 = load i32, ptr @MF_BYCOMMAND, align 4, !tbaa !6
%49 = load i32, ptr @MF_ENABLED, align 4, !tbaa !6
%50 = or i32 %49, %48
%51 = call i32 @EnableMenuItem(i32 noundef %46, i32 noundef %47, i32 noundef %50) #3
br label %52
52: ; preds = %35, %45, %25
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 @EnableMenuItem(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mciSendCommand(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| reactos_base_applications_mplay32_extr_mplay32.c_EnableMenuItems |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_au1000_generic.c_au1x00_pcmcia_poll_event.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_au1000_generic.c_au1x00_pcmcia_poll_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"polling for events\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@AU1000_PCMCIA_POLL_PERIOD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @au1x00_pcmcia_poll_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @au1x00_pcmcia_poll_event(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = tail call i32 @debug(ptr noundef nonnull @.str) #2
%4 = load i64, ptr @jiffies, align 8, !tbaa !5
%5 = load i64, ptr @AU1000_PCMCIA_POLL_PERIOD, align 8, !tbaa !5
%6 = add nsw i64 %5, %4
%7 = tail call i32 @mod_timer(ptr noundef %2, i64 noundef %6) #2
%8 = tail call i32 @au1x00_check_status(ptr noundef %2) #2
ret void
}
declare i32 @debug(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @au1x00_check_status(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_au1000_generic.c_au1x00_pcmcia_poll_event.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_au1000_generic.c_au1x00_pcmcia_poll_event.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 [20 x i8] c"polling for events\0A\00", align 1
@jiffies = common local_unnamed_addr global i64 0, align 8
@AU1000_PCMCIA_POLL_PERIOD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @au1x00_pcmcia_poll_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @au1x00_pcmcia_poll_event(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = tail call i32 @debug(ptr noundef nonnull @.str) #2
%4 = load i64, ptr @jiffies, align 8, !tbaa !6
%5 = load i64, ptr @AU1000_PCMCIA_POLL_PERIOD, align 8, !tbaa !6
%6 = add nsw i64 %5, %4
%7 = tail call i32 @mod_timer(ptr noundef %2, i64 noundef %6) #2
%8 = tail call i32 @au1x00_check_status(ptr noundef %2) #2
ret void
}
declare i32 @debug(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @au1x00_check_status(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_pcmcia_extr_au1000_generic.c_au1x00_pcmcia_poll_event |
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_reindexTable.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_reindexTable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @reindexTable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @reindexTable(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %23, label %7
7: ; preds = %3
%8 = icmp eq ptr %2, null
br label %9
9: ; preds = %7, %20
%10 = phi ptr [ %5, %7 ], [ %21, %20 ]
br i1 %8, label %14, label %11
11: ; preds = %9
%12 = tail call i64 @collationMatch(ptr noundef nonnull %2, ptr noundef nonnull %10) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %11, %9
%15 = load i32, ptr %0, align 4, !tbaa !9
%16 = load i32, ptr %1, align 8, !tbaa !12
%17 = tail call i32 @sqlite3SchemaToIndex(i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @sqlite3BeginWriteOperation(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %17) #2
%19 = tail call i32 @sqlite3RefillIndex(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef -1) #2
br label %20
20: ; preds = %11, %14
%21 = load ptr, ptr %10, align 8, !tbaa !5
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %9, !llvm.loop !14
23: ; preds = %20, %3
ret void
}
declare i64 @collationMatch(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3SchemaToIndex(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BeginWriteOperation(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3RefillIndex(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_11__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_10__", !11, i64 0, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_reindexTable.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_reindexTable.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 @reindexTable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @reindexTable(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %23, label %7
7: ; preds = %3
%8 = icmp eq ptr %2, null
br label %9
9: ; preds = %7, %20
%10 = phi ptr [ %5, %7 ], [ %21, %20 ]
br i1 %8, label %14, label %11
11: ; preds = %9
%12 = tail call i64 @collationMatch(ptr noundef nonnull %2, ptr noundef nonnull %10) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %11, %9
%15 = load i32, ptr %0, align 4, !tbaa !10
%16 = load i32, ptr %1, align 8, !tbaa !13
%17 = tail call i32 @sqlite3SchemaToIndex(i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @sqlite3BeginWriteOperation(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %17) #2
%19 = tail call i32 @sqlite3RefillIndex(ptr noundef nonnull %0, ptr noundef nonnull %10, i32 noundef -1) #2
br label %20
20: ; preds = %11, %14
%21 = load ptr, ptr %10, align 8, !tbaa !6
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %9, !llvm.loop !15
23: ; preds = %20, %3
ret void
}
declare i64 @collationMatch(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3SchemaToIndex(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BeginWriteOperation(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3RefillIndex(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_11__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_10__", !12, i64 0, !7, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| mongoose_examples_api_server_extr_sqlite3.c_reindexTable |
; ModuleID = 'AnghaBench/vlc/modules/keystore/extr_file_crypt_win32.c_CryptInit.c'
source_filename = "AnghaBench/vlc/modules/keystore/extr_file_crypt_win32.c_CryptInit.c"
target datalayout = "e-m:e-p270:32:32-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.crypt = type { i32, i32 }
@Decrypt = dso_local local_unnamed_addr global i32 0, align 4
@Encrypt = dso_local local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @CryptInit(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @VLC_UNUSED(ptr noundef %0) #2
%4 = load i32, ptr @Decrypt, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.crypt, ptr %1, i64 0, i32 1
store i32 %4, ptr %5, align 4, !tbaa !9
%6 = load i32, ptr @Encrypt, align 4, !tbaa !5
store i32 %6, ptr %1, align 4, !tbaa !11
%7 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !5
ret i32 %7
}
declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"crypt", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/keystore/extr_file_crypt_win32.c_CryptInit.c'
source_filename = "AnghaBench/vlc/modules/keystore/extr_file_crypt_win32.c_CryptInit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Decrypt = common local_unnamed_addr global i32 0, align 4
@Encrypt = common local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @CryptInit(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @VLC_UNUSED(ptr noundef %0) #2
%4 = load i32, ptr @Decrypt, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %4, ptr %5, align 4, !tbaa !10
%6 = load i32, ptr @Encrypt, align 4, !tbaa !6
store i32 %6, ptr %1, align 4, !tbaa !12
%7 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !6
ret i32 %7
}
declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"crypt", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| vlc_modules_keystore_extr_file_crypt_win32.c_CryptInit |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8903.c_wm8903_set_dai_sysclk.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8903.c_wm8903_set_dai_sysclk.c"
target datalayout = "e-m:e-p270:32:32-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 @wm8903_set_dai_sysclk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wm8903_set_dai_sysclk(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, i32 %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2
store i32 %2, ptr %6, align 4, !tbaa !10
ret i32 0
}
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soc_dai", !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 = !{!"wm8903_priv", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8903.c_wm8903_set_dai_sysclk.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8903.c_wm8903_set_dai_sysclk.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 @wm8903_set_dai_sysclk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wm8903_set_dai_sysclk(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, i32 %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2
store i32 %2, ptr %6, align 4, !tbaa !11
ret i32 0
}
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soc_dai", !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 = !{!"wm8903_priv", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_sound_soc_codecs_extr_wm8903.c_wm8903_set_dai_sysclk |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_arc.c_arc_decompress.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_arc.c_arc_decompress.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @arc_decompress(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%3 = tail call i32 @arc_buf_fill(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @arc_buf_fill(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/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_arc.c_arc_decompress.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_arc.c_arc_decompress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @arc_decompress(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%3 = tail call i32 @arc_buf_fill(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @arc_buf_fill(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"}
| freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_arc.c_arc_decompress |
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c"
target datalayout = "e-m:e-p270:32:32-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 @ct_alsa_mix_switch_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ct_alsa_mix_switch_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = load ptr, ptr %1, align 8, !tbaa !13
%7 = load i32, ptr %6, align 4, !tbaa !17
%8 = tail call i32 @get_switch_state(ptr noundef %4, i32 noundef %5) #2
%9 = icmp eq i32 %8, %7
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @set_switch_state(ptr noundef %4, i32 noundef %5, i32 noundef %7) #2
%12 = tail call i32 @do_switch(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %7) #2
br label %13
13: ; preds = %2, %10
%14 = phi i32 [ 1, %10 ], [ 0, %2 ]
ret i32 %14
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @get_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_switch_state(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @do_switch(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 = !{!"ct_atc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_kcontrol", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"snd_ctl_elem_value", !15, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.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 @ct_alsa_mix_switch_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ct_alsa_mix_switch_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = load ptr, ptr %1, align 8, !tbaa !14
%7 = load i32, ptr %6, align 4, !tbaa !18
%8 = tail call i32 @get_switch_state(ptr noundef %4, i32 noundef %5) #2
%9 = icmp eq i32 %8, %7
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @set_switch_state(ptr noundef %4, i32 noundef %5, i32 noundef %7) #2
%12 = tail call i32 @do_switch(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %7) #2
br label %13
13: ; preds = %2, %10
%14 = phi i32 [ 1, %10 ], [ 0, %2 ]
ret i32 %14
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @get_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_switch_state(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @do_switch(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 = !{!"ct_atc", !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 = !{!"snd_kcontrol", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0}
!18 = !{!13, !13, i64 0}
| linux_sound_pci_ctxfi_extr_ctmixer.c_ct_alsa_mix_switch_put |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_tile.c_draw_blank_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_tile.c_draw_blank_frame.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { ptr, ptr }
%struct.TYPE_8__ = type { i32, i32, i32 }
%struct.TYPE_9__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @draw_blank_frame], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @draw_blank_frame(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%9 = load i32, ptr %6, align 4, !tbaa !12
%10 = call i32 @get_tile_pos(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %9) #3
%11 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 2
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 1
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = load i32, ptr %1, align 4, !tbaa !17
%16 = load i32, ptr %3, align 4, !tbaa !18
%17 = load i32, ptr %4, align 4, !tbaa !18
%18 = getelementptr inbounds %struct.TYPE_10__, ptr %8, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = load i32, ptr %8, align 4, !tbaa !21
%21 = call i32 @ff_fill_rectangle(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr %6, align 4, !tbaa !12
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4, !tbaa !12
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 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 @get_tile_pos(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_fill_rectangle(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 8}
!6 = !{!"TYPE_11__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"TYPE_9__", !14, i64 0, !14, i64 4}
!17 = !{!16, !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!20, !14, i64 4}
!20 = !{!"TYPE_10__", !14, i64 0, !14, i64 4}
!21 = !{!20, !14, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_tile.c_draw_blank_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_tile.c_draw_blank_frame.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 @draw_blank_frame], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @draw_blank_frame(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%9 = load i32, ptr %6, align 4, !tbaa !13
%10 = call i32 @get_tile_pos(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %9) #3
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = getelementptr inbounds i8, ptr %6, i64 4
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = load i32, ptr %1, align 4, !tbaa !18
%16 = load i32, ptr %3, align 4, !tbaa !19
%17 = load i32, ptr %4, align 4, !tbaa !19
%18 = getelementptr inbounds i8, ptr %8, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !20
%20 = load i32, ptr %8, align 4, !tbaa !22
%21 = call i32 @ff_fill_rectangle(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr %6, align 4, !tbaa !13
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4, !tbaa !13
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 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 @get_tile_pos(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_fill_rectangle(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 8}
!7 = !{!"TYPE_11__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0, !15, i64 4, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !15, i64 4}
!17 = !{!"TYPE_9__", !15, i64 0, !15, i64 4}
!18 = !{!17, !15, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!21, !15, i64 4}
!21 = !{!"TYPE_10__", !15, i64 0, !15, i64 4}
!22 = !{!21, !15, i64 0}
| FFmpeg_libavfilter_extr_vf_tile.c_draw_blank_frame |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/classq/extr_classq_subr.c_ifclassq_tbr_dequeue_sc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/classq/extr_classq_subr.c_ifclassq_tbr_dequeue_sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @ifclassq_tbr_dequeue_sc(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @TRUE, align 4, !tbaa !5
%5 = tail call ptr @ifclassq_tbr_dequeue_common(ptr noundef %0, i32 noundef %1, i32 noundef %4, ptr noundef %2) #2
ret ptr %5
}
declare ptr @ifclassq_tbr_dequeue_common(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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/darwin-xnu/bsd/net/classq/extr_classq_subr.c_ifclassq_tbr_dequeue_sc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/classq/extr_classq_subr.c_ifclassq_tbr_dequeue_sc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ifclassq_tbr_dequeue_sc(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @TRUE, align 4, !tbaa !6
%5 = tail call ptr @ifclassq_tbr_dequeue_common(ptr noundef %0, i32 noundef %1, i32 noundef %4, ptr noundef %2) #2
ret ptr %5
}
declare ptr @ifclassq_tbr_dequeue_common(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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| darwin-xnu_bsd_net_classq_extr_classq_subr.c_ifclassq_tbr_dequeue_sc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_interrupt_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_interrupt_disable.c"
target datalayout = "e-m:e-p270:32:32-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 @pm8001_chip_interrupt_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pm8001_chip_interrupt_disable(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @pm8001_chip_intx_interrupt_disable(ptr noundef %0) #2
ret void
}
declare i32 @pm8001_chip_intx_interrupt_disable(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/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_interrupt_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_chip_interrupt_disable.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 @pm8001_chip_interrupt_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pm8001_chip_interrupt_disable(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @pm8001_chip_intx_interrupt_disable(ptr noundef %0) #2
ret void
}
declare i32 @pm8001_chip_intx_interrupt_disable(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_drivers_scsi_pm8001_extr_pm8001_hwi.c_pm8001_chip_interrupt_disable |
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_chart2str.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_chart2str.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@reltable.chart2str = internal unnamed_addr constant [3 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.chart2str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.chart2str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.chart2str to i64)) to i32)], align 4
@.str = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"area-spline\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @chart2str], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal ptr @chart2str(i64 noundef %0) #0 {
%2 = shl i64 %0, 2
%3 = call ptr @llvm.load.relative.i64(ptr @reltable.chart2str, i64 %2)
ret ptr %3
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/goaccess/src/extr_output.c_chart2str.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_chart2str.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@chart2str.strings = internal unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 8
@.str = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"area-spline\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @chart2str], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal ptr @chart2str(i64 noundef %0) #0 {
%2 = getelementptr inbounds [3 x ptr], ptr @chart2str.strings, i64 0, i64 %0
%3 = load ptr, ptr %2, align 8, !tbaa !6
ret ptr %3
}
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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| goaccess_src_extr_output.c_chart2str |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_ucb1x00-ts.c_ucb1x00_ts_read_pressure.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_ucb1x00-ts.c_ucb1x00_ts_read_pressure.c"
target datalayout = "e-m:e-p270:32:32-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.ucb1x00_ts = type { i32, i32 }
@COLLIE_TC35143_GPIO_TBL_CHK = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSPX_POW = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSMX_POW = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_MODE_POS = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_BIAS_ENA = dso_local local_unnamed_addr global i32 0, align 4
@UCB_ADC_INP_AD2 = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSMY_GND = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSPY_GND = dso_local local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_MODE_PRES = dso_local local_unnamed_addr global i32 0, align 4
@UCB_ADC_INP_TSPY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ucb1x00_ts_read_pressure], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ucb1x00_ts_read_pressure(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i64 (...) @machine_is_collie() #2
%3 = icmp eq i64 %2, 0
%4 = getelementptr inbounds %struct.ucb1x00_ts, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
br i1 %3, label %20, label %6
6: ; preds = %1
%7 = load i32, ptr @COLLIE_TC35143_GPIO_TBL_CHK, align 4, !tbaa !10
%8 = tail call i32 @ucb1x00_io_write(i32 noundef %5, i32 noundef %7, i32 noundef 0) #2
%9 = load i32, ptr %4, align 4, !tbaa !5
%10 = load i32, ptr @UCB_TS_CR, align 4, !tbaa !10
%11 = load i32, ptr @UCB_TS_CR_TSPX_POW, align 4, !tbaa !10
%12 = load i32, ptr @UCB_TS_CR_TSMX_POW, align 4, !tbaa !10
%13 = or i32 %12, %11
%14 = load i32, ptr @UCB_TS_CR_MODE_POS, align 4, !tbaa !10
%15 = or i32 %13, %14
%16 = load i32, ptr @UCB_TS_CR_BIAS_ENA, align 4, !tbaa !10
%17 = or i32 %15, %16
%18 = tail call i32 @ucb1x00_reg_write(i32 noundef %9, i32 noundef %10, i32 noundef %17) #2
%19 = tail call i32 @udelay(i32 noundef 55) #2
br label %34
20: ; preds = %1
%21 = load i32, ptr @UCB_TS_CR, align 4, !tbaa !10
%22 = load i32, ptr @UCB_TS_CR_TSMX_POW, align 4, !tbaa !10
%23 = load i32, ptr @UCB_TS_CR_TSPX_POW, align 4, !tbaa !10
%24 = or i32 %23, %22
%25 = load i32, ptr @UCB_TS_CR_TSMY_GND, align 4, !tbaa !10
%26 = or i32 %24, %25
%27 = load i32, ptr @UCB_TS_CR_TSPY_GND, align 4, !tbaa !10
%28 = or i32 %26, %27
%29 = load i32, ptr @UCB_TS_CR_MODE_PRES, align 4, !tbaa !10
%30 = or i32 %28, %29
%31 = load i32, ptr @UCB_TS_CR_BIAS_ENA, align 4, !tbaa !10
%32 = or i32 %30, %31
%33 = tail call i32 @ucb1x00_reg_write(i32 noundef %5, i32 noundef %21, i32 noundef %32) #2
br label %34
34: ; preds = %20, %6
%35 = phi ptr [ @UCB_ADC_INP_TSPY, %20 ], [ @UCB_ADC_INP_AD2, %6 ]
%36 = load i32, ptr %4, align 4, !tbaa !5
%37 = load i32, ptr %35, align 4, !tbaa !10
%38 = load i32, ptr %0, align 4, !tbaa !11
%39 = tail call i32 @ucb1x00_adc_read(i32 noundef %36, i32 noundef %37, i32 noundef %38) #2
ret i32 %39
}
declare i64 @machine_is_collie(...) local_unnamed_addr #1
declare i32 @ucb1x00_io_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucb1x00_reg_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ucb1x00_adc_read(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)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"ucb1x00_ts", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_ucb1x00-ts.c_ucb1x00_ts_read_pressure.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_ucb1x00-ts.c_ucb1x00_ts_read_pressure.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COLLIE_TC35143_GPIO_TBL_CHK = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSPX_POW = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSMX_POW = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_MODE_POS = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_BIAS_ENA = common local_unnamed_addr global i32 0, align 4
@UCB_ADC_INP_AD2 = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSMY_GND = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_TSPY_GND = common local_unnamed_addr global i32 0, align 4
@UCB_TS_CR_MODE_PRES = common local_unnamed_addr global i32 0, align 4
@UCB_ADC_INP_TSPY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ucb1x00_ts_read_pressure], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @ucb1x00_ts_read_pressure(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i64 @machine_is_collie() #2
%3 = icmp eq i64 %2, 0
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
br i1 %3, label %20, label %6
6: ; preds = %1
%7 = load i32, ptr @COLLIE_TC35143_GPIO_TBL_CHK, align 4, !tbaa !11
%8 = tail call i32 @ucb1x00_io_write(i32 noundef %5, i32 noundef %7, i32 noundef 0) #2
%9 = load i32, ptr %4, align 4, !tbaa !6
%10 = load i32, ptr @UCB_TS_CR, align 4, !tbaa !11
%11 = load i32, ptr @UCB_TS_CR_TSPX_POW, align 4, !tbaa !11
%12 = load i32, ptr @UCB_TS_CR_TSMX_POW, align 4, !tbaa !11
%13 = or i32 %12, %11
%14 = load i32, ptr @UCB_TS_CR_MODE_POS, align 4, !tbaa !11
%15 = or i32 %13, %14
%16 = load i32, ptr @UCB_TS_CR_BIAS_ENA, align 4, !tbaa !11
%17 = or i32 %15, %16
%18 = tail call i32 @ucb1x00_reg_write(i32 noundef %9, i32 noundef %10, i32 noundef %17) #2
%19 = tail call i32 @udelay(i32 noundef 55) #2
br label %34
20: ; preds = %1
%21 = load i32, ptr @UCB_TS_CR, align 4, !tbaa !11
%22 = load i32, ptr @UCB_TS_CR_TSMX_POW, align 4, !tbaa !11
%23 = load i32, ptr @UCB_TS_CR_TSPX_POW, align 4, !tbaa !11
%24 = or i32 %23, %22
%25 = load i32, ptr @UCB_TS_CR_TSMY_GND, align 4, !tbaa !11
%26 = or i32 %24, %25
%27 = load i32, ptr @UCB_TS_CR_TSPY_GND, align 4, !tbaa !11
%28 = or i32 %26, %27
%29 = load i32, ptr @UCB_TS_CR_MODE_PRES, align 4, !tbaa !11
%30 = or i32 %28, %29
%31 = load i32, ptr @UCB_TS_CR_BIAS_ENA, align 4, !tbaa !11
%32 = or i32 %30, %31
%33 = tail call i32 @ucb1x00_reg_write(i32 noundef %5, i32 noundef %21, i32 noundef %32) #2
br label %34
34: ; preds = %20, %6
%35 = phi ptr [ @UCB_ADC_INP_TSPY, %20 ], [ @UCB_ADC_INP_AD2, %6 ]
%36 = load i32, ptr %4, align 4, !tbaa !6
%37 = load i32, ptr %35, align 4, !tbaa !11
%38 = load i32, ptr %0, align 4, !tbaa !12
%39 = tail call i32 @ucb1x00_adc_read(i32 noundef %36, i32 noundef %37, i32 noundef %38) #2
ret i32 %39
}
declare i64 @machine_is_collie(...) local_unnamed_addr #1
declare i32 @ucb1x00_io_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucb1x00_reg_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ucb1x00_adc_read(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)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"ucb1x00_ts", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_mfd_extr_ucb1x00-ts.c_ucb1x00_ts_read_pressure |
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_extcon-max8997.c_max8997_muic_adc_handler.c'
source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon-max8997.c_max8997_muic_adc_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.max8997_muic_info = type { i32, i32 }
@MAX8997_CABLE_GROUP_ADC = dso_local local_unnamed_addr global i32 0, align 4
@MAX8997_USB_HOST = dso_local local_unnamed_addr global i32 0, align 4
@EXTCON_DISP_MHL = dso_local local_unnamed_addr global i32 0, align 4
@MAX8997_USB_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"cable is %s but it isn't used (type:0x%x)\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"attached\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"detached\00", align 1
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [47 x i8] c"failed to detect %s unknown cable (type:0x%x)\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @max8997_muic_adc_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @max8997_muic_adc_handler(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @MAX8997_CABLE_GROUP_ADC, align 4, !tbaa !5
%4 = call i32 @max8997_muic_get_cable_type(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
switch i32 %4, label %36 [
i32 149, label %5
i32 148, label %10
i32 151, label %16
i32 150, label %16
i32 157, label %21
i32 152, label %21
i32 153, label %25
i32 143, label %28
i32 142, label %28
i32 141, label %28
i32 140, label %28
i32 139, label %28
i32 138, label %28
i32 137, label %28
i32 136, label %28
i32 135, label %28
i32 146, label %28
i32 145, label %28
i32 144, label %28
i32 134, label %28
i32 133, label %28
i32 132, label %28
i32 131, label %28
i32 130, label %28
i32 154, label %28
i32 147, label %28
i32 129, label %28
i32 128, label %28
i32 156, label %28
i32 155, label %28
i32 158, label %28
]
5: ; preds = %1
%6 = load i32, ptr @MAX8997_USB_HOST, align 4, !tbaa !5
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = call i32 @max8997_muic_handle_usb(ptr noundef %0, i32 noundef %6, i32 noundef %7) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %45, label %44
10: ; preds = %1
%11 = getelementptr inbounds %struct.max8997_muic_info, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = load i32, ptr @EXTCON_DISP_MHL, align 4, !tbaa !5
%14 = load i32, ptr %2, align 4, !tbaa !5
%15 = call i32 @extcon_set_state_sync(i32 noundef %12, i32 noundef %13, i32 noundef %14) #3
br label %44
16: ; preds = %1, %1
%17 = load i32, ptr @MAX8997_USB_DEVICE, align 4, !tbaa !5
%18 = load i32, ptr %2, align 4, !tbaa !5
%19 = call i32 @max8997_muic_handle_usb(ptr noundef %0, i32 noundef %17, i32 noundef %18) #3
%20 = icmp slt i32 %19, 0
br i1 %20, label %45, label %44
21: ; preds = %1, %1
%22 = load i32, ptr %2, align 4, !tbaa !5
%23 = call i32 @max8997_muic_handle_dock(ptr noundef %0, i32 noundef %4, i32 noundef %22) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %45, label %44
25: ; preds = %1
%26 = load i32, ptr %2, align 4, !tbaa !5
%27 = call i32 @max8997_muic_handle_jig_uart(ptr noundef %0, i32 noundef %26) #3
br label %44
28: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
%29 = load i32, ptr %0, align 4, !tbaa !11
%30 = load i32, ptr %2, align 4, !tbaa !5
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, ptr @.str.2, ptr @.str.1
%33 = call i32 @dev_info(i32 noundef %29, ptr noundef nonnull @.str, ptr noundef nonnull %32, i32 noundef %4) #3
%34 = load i32, ptr @EAGAIN, align 4, !tbaa !5
%35 = sub nsw i32 0, %34
br label %45
36: ; preds = %1
%37 = load i32, ptr %0, align 4, !tbaa !11
%38 = load i32, ptr %2, align 4, !tbaa !5
%39 = icmp eq i32 %38, 0
%40 = select i1 %39, ptr @.str.2, ptr @.str.1
%41 = call i32 @dev_err(i32 noundef %37, ptr noundef nonnull @.str.3, ptr noundef nonnull %40, i32 noundef %4) #3
%42 = load i32, ptr @EINVAL, align 4, !tbaa !5
%43 = sub nsw i32 0, %42
br label %45
44: ; preds = %21, %16, %5, %25, %10
br label %45
45: ; preds = %21, %16, %5, %44, %36, %28
%46 = phi i32 [ %43, %36 ], [ %35, %28 ], [ 0, %44 ], [ %8, %5 ], [ %19, %16 ], [ %23, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @max8997_muic_get_cable_type(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_usb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @extcon_set_state_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_dock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_jig_uart(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_info(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"max8997_muic_info", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_extcon-max8997.c_max8997_muic_adc_handler.c'
source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon-max8997.c_max8997_muic_adc_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX8997_CABLE_GROUP_ADC = common local_unnamed_addr global i32 0, align 4
@MAX8997_USB_HOST = common local_unnamed_addr global i32 0, align 4
@EXTCON_DISP_MHL = common local_unnamed_addr global i32 0, align 4
@MAX8997_USB_DEVICE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"cable is %s but it isn't used (type:0x%x)\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"attached\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"detached\00", align 1
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [47 x i8] c"failed to detect %s unknown cable (type:0x%x)\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @max8997_muic_adc_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @max8997_muic_adc_handler(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @MAX8997_CABLE_GROUP_ADC, align 4, !tbaa !6
%4 = call i32 @max8997_muic_get_cable_type(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
switch i32 %4, label %36 [
i32 149, label %5
i32 148, label %10
i32 151, label %16
i32 150, label %16
i32 157, label %21
i32 152, label %21
i32 153, label %25
i32 143, label %28
i32 142, label %28
i32 141, label %28
i32 140, label %28
i32 139, label %28
i32 138, label %28
i32 137, label %28
i32 136, label %28
i32 135, label %28
i32 146, label %28
i32 145, label %28
i32 144, label %28
i32 134, label %28
i32 133, label %28
i32 132, label %28
i32 131, label %28
i32 130, label %28
i32 154, label %28
i32 147, label %28
i32 129, label %28
i32 128, label %28
i32 156, label %28
i32 155, label %28
i32 158, label %28
]
5: ; preds = %1
%6 = load i32, ptr @MAX8997_USB_HOST, align 4, !tbaa !6
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = call i32 @max8997_muic_handle_usb(ptr noundef %0, i32 noundef %6, i32 noundef %7) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %45, label %44
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = load i32, ptr @EXTCON_DISP_MHL, align 4, !tbaa !6
%14 = load i32, ptr %2, align 4, !tbaa !6
%15 = call i32 @extcon_set_state_sync(i32 noundef %12, i32 noundef %13, i32 noundef %14) #3
br label %44
16: ; preds = %1, %1
%17 = load i32, ptr @MAX8997_USB_DEVICE, align 4, !tbaa !6
%18 = load i32, ptr %2, align 4, !tbaa !6
%19 = call i32 @max8997_muic_handle_usb(ptr noundef %0, i32 noundef %17, i32 noundef %18) #3
%20 = icmp slt i32 %19, 0
br i1 %20, label %45, label %44
21: ; preds = %1, %1
%22 = load i32, ptr %2, align 4, !tbaa !6
%23 = call i32 @max8997_muic_handle_dock(ptr noundef %0, i32 noundef %4, i32 noundef %22) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %45, label %44
25: ; preds = %1
%26 = load i32, ptr %2, align 4, !tbaa !6
%27 = call i32 @max8997_muic_handle_jig_uart(ptr noundef %0, i32 noundef %26) #3
br label %44
28: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
%29 = load i32, ptr %0, align 4, !tbaa !12
%30 = load i32, ptr %2, align 4, !tbaa !6
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, ptr @.str.2, ptr @.str.1
%33 = call i32 @dev_info(i32 noundef %29, ptr noundef nonnull @.str, ptr noundef nonnull %32, i32 noundef %4) #3
%34 = load i32, ptr @EAGAIN, align 4, !tbaa !6
%35 = sub nsw i32 0, %34
br label %45
36: ; preds = %1
%37 = load i32, ptr %0, align 4, !tbaa !12
%38 = load i32, ptr %2, align 4, !tbaa !6
%39 = icmp eq i32 %38, 0
%40 = select i1 %39, ptr @.str.2, ptr @.str.1
%41 = call i32 @dev_err(i32 noundef %37, ptr noundef nonnull @.str.3, ptr noundef nonnull %40, i32 noundef %4) #3
%42 = load i32, ptr @EINVAL, align 4, !tbaa !6
%43 = sub nsw i32 0, %42
br label %45
44: ; preds = %21, %16, %5, %25, %10
br label %45
45: ; preds = %21, %16, %5, %44, %36, %28
%46 = phi i32 [ %43, %36 ], [ %35, %28 ], [ 0, %44 ], [ %8, %5 ], [ %19, %16 ], [ %23, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @max8997_muic_get_cable_type(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_usb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @extcon_set_state_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_dock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @max8997_muic_handle_jig_uart(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_info(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"max8997_muic_info", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| linux_drivers_extcon_extr_extcon-max8997.c_max8997_muic_adc_handler |
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_abort.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_abort.c"
target datalayout = "e-m:e-p270:32:32-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 [30 x i8] c"Aborting current transaction\0A\00", align 1
@NVIDIA_SMB_CTRL_ABORT = dso_local local_unnamed_addr global i8 0, align 1
@NVIDIA_SMB_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@NVIDIA_SMB_STATUS_ABRT = dso_local local_unnamed_addr global i32 0, align 4
@NVIDIA_SMB_STATUS_ABRT_STS = dso_local local_unnamed_addr global i8 0, align 1
@MAX_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Can't reset the smbus\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @nforce2_abort], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nforce2_abort(ptr noundef %0) #0 {
%2 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i8, ptr @NVIDIA_SMB_CTRL_ABORT, align 1, !tbaa !5
%4 = load i32, ptr @NVIDIA_SMB_CTRL, align 4, !tbaa !8
%5 = tail call i32 @outb_p(i8 noundef zeroext %3, i32 noundef %4) #2
br label %6
6: ; preds = %14, %1
%7 = phi i32 [ 0, %1 ], [ %15, %14 ]
%8 = tail call i32 @msleep(i32 noundef 1) #2
%9 = load i32, ptr @NVIDIA_SMB_STATUS_ABRT, align 4, !tbaa !8
%10 = tail call zeroext i8 @inb_p(i32 noundef %9) #2
%11 = load i8, ptr @NVIDIA_SMB_STATUS_ABRT_STS, align 1, !tbaa !5
%12 = and i8 %11, %10
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %6
%15 = add nuw nsw i32 %7, 1
%16 = load i32, ptr @MAX_TIMEOUT, align 4, !tbaa !8
%17 = icmp slt i32 %7, %16
br i1 %17, label %6, label %18, !llvm.loop !10
18: ; preds = %14
%19 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%20 = load i8, ptr @NVIDIA_SMB_STATUS_ABRT_STS, align 1, !tbaa !5
br label %21
21: ; preds = %6, %18
%22 = phi i8 [ %20, %18 ], [ %11, %6 ]
%23 = load i32, ptr @NVIDIA_SMB_STATUS_ABRT, align 4, !tbaa !8
%24 = tail call i32 @outb_p(i8 noundef zeroext %22, i32 noundef %23) #2
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @outb_p(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare zeroext i8 @inb_p(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_abort.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_abort.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [30 x i8] c"Aborting current transaction\0A\00", align 1
@NVIDIA_SMB_CTRL_ABORT = common local_unnamed_addr global i8 0, align 1
@NVIDIA_SMB_CTRL = common local_unnamed_addr global i32 0, align 4
@NVIDIA_SMB_STATUS_ABRT = common local_unnamed_addr global i32 0, align 4
@NVIDIA_SMB_STATUS_ABRT_STS = common local_unnamed_addr global i8 0, align 1
@MAX_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Can't reset the smbus\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @nforce2_abort], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nforce2_abort(ptr noundef %0) #0 {
%2 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i8, ptr @NVIDIA_SMB_CTRL_ABORT, align 1, !tbaa !6
%4 = load i32, ptr @NVIDIA_SMB_CTRL, align 4, !tbaa !9
%5 = tail call i32 @outb_p(i8 noundef zeroext %3, i32 noundef %4) #2
br label %6
6: ; preds = %14, %1
%7 = phi i32 [ 0, %1 ], [ %15, %14 ]
%8 = tail call i32 @msleep(i32 noundef 1) #2
%9 = load i32, ptr @NVIDIA_SMB_STATUS_ABRT, align 4, !tbaa !9
%10 = tail call zeroext i8 @inb_p(i32 noundef %9) #2
%11 = load i8, ptr @NVIDIA_SMB_STATUS_ABRT_STS, align 1, !tbaa !6
%12 = and i8 %11, %10
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %6
%15 = add nuw nsw i32 %7, 1
%16 = load i32, ptr @MAX_TIMEOUT, align 4, !tbaa !9
%17 = icmp slt i32 %7, %16
br i1 %17, label %6, label %18, !llvm.loop !11
18: ; preds = %14
%19 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%20 = load i8, ptr @NVIDIA_SMB_STATUS_ABRT_STS, align 1, !tbaa !6
br label %21
21: ; preds = %6, %18
%22 = phi i8 [ %20, %18 ], [ %11, %6 ]
%23 = load i32, ptr @NVIDIA_SMB_STATUS_ABRT, align 4, !tbaa !9
%24 = tail call i32 @outb_p(i8 noundef zeroext %22, i32 noundef %23) #2
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @outb_p(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare zeroext i8 @inb_p(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"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"}
| linux_drivers_i2c_busses_extr_i2c-nforce2.c_nforce2_abort |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_xen-ops.h_xen_smp_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_xen-ops.h_xen_smp_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @xen_smp_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @xen_smp_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_xen-ops.h_xen_smp_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_xen-ops.h_xen_smp_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @xen_smp_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @xen_smp_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_x86_xen_extr_xen-ops.h_xen_smp_init |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_mlx5e_ethtool2ptys_ext_adver_link.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_mlx5e_ethtool2ptys_ext_adver_link.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
@MLX5E_EXT_LINK_MODES_NUMBER = dso_local local_unnamed_addr global i64 0, align 8
@ptys2ext_ethtool_table = dso_local local_unnamed_addr global ptr null, align 8
@__ETHTOOL_LINK_MODE_MASK_NBITS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5e_ethtool2ptys_ext_adver_link], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @mlx5e_ethtool2ptys_ext_adver_link(ptr noundef %0) #0 {
%2 = alloca [2 x i64], align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%3 = load i64, ptr @MLX5E_EXT_LINK_MODES_NUMBER, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %44, label %5
5: ; preds = %1
%6 = getelementptr inbounds [2 x i64], ptr %2, i64 0, i64 1
%7 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !9
br label %8
8: ; preds = %5, %38
%9 = phi ptr [ %7, %5 ], [ %39, %38 ]
%10 = phi i64 [ 0, %5 ], [ %40, %38 ]
%11 = phi i64 [ 0, %5 ], [ %41, %38 ]
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = load i64, ptr %13, align 8, !tbaa !5
%15 = icmp eq i64 %14, 0
br i1 %15, label %38, label %16
16: ; preds = %8
%17 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
%18 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !9
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %11
%20 = load ptr, ptr %19, align 8, !tbaa !11
%21 = load i32, ptr @__ETHTOOL_LINK_MODE_MASK_NBITS, align 4, !tbaa !13
%22 = call i32 @bitmap_and(ptr noundef nonnull %2, ptr noundef %20, ptr noundef %0, i32 noundef %21) #3
%23 = load i64, ptr %2, align 16, !tbaa !5
%24 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !9
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %11
%26 = load ptr, ptr %25, align 8, !tbaa !11
%27 = load i64, ptr %26, align 8, !tbaa !5
%28 = icmp eq i64 %23, %27
br i1 %28, label %29, label %38
29: ; preds = %16
%30 = load i64, ptr %6, align 8, !tbaa !5
%31 = getelementptr inbounds i64, ptr %26, i64 1
%32 = load i64, ptr %31, align 8, !tbaa !5
%33 = icmp eq i64 %30, %32
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = call i64 @MLX5E_PROT_MASK(i64 noundef %11) #3
%36 = or i64 %35, %10
%37 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !9
br label %38
38: ; preds = %16, %29, %34, %8
%39 = phi ptr [ %9, %8 ], [ %37, %34 ], [ %24, %29 ], [ %24, %16 ]
%40 = phi i64 [ %10, %8 ], [ %36, %34 ], [ %10, %29 ], [ %10, %16 ]
%41 = add nuw i64 %11, 1
%42 = load i64, ptr @MLX5E_EXT_LINK_MODES_NUMBER, align 8, !tbaa !5
%43 = icmp ult i64 %41, %42
br i1 %43, label %8, label %44, !llvm.loop !15
44: ; preds = %38, %1
%45 = phi i64 [ 0, %1 ], [ %40, %38 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret i64 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bitmap_and(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @MLX5E_PROT_MASK(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_mlx5e_ethtool2ptys_ext_adver_link.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_mlx5e_ethtool2ptys_ext_adver_link.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@MLX5E_EXT_LINK_MODES_NUMBER = common local_unnamed_addr global i64 0, align 8
@ptys2ext_ethtool_table = common local_unnamed_addr global ptr null, align 8
@__ETHTOOL_LINK_MODE_MASK_NBITS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5e_ethtool2ptys_ext_adver_link], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @mlx5e_ethtool2ptys_ext_adver_link(ptr noundef %0) #0 {
%2 = alloca [2 x i64], align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%3 = load i64, ptr @MLX5E_EXT_LINK_MODES_NUMBER, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %44, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !10
br label %8
8: ; preds = %5, %38
%9 = phi ptr [ %7, %5 ], [ %39, %38 ]
%10 = phi i64 [ 0, %5 ], [ %40, %38 ]
%11 = phi i64 [ 0, %5 ], [ %41, %38 ]
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = load i64, ptr %13, align 8, !tbaa !6
%15 = icmp eq i64 %14, 0
br i1 %15, label %38, label %16
16: ; preds = %8
%17 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
%18 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !10
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %11
%20 = load ptr, ptr %19, align 8, !tbaa !12
%21 = load i32, ptr @__ETHTOOL_LINK_MODE_MASK_NBITS, align 4, !tbaa !14
%22 = call i32 @bitmap_and(ptr noundef nonnull %2, ptr noundef %20, ptr noundef %0, i32 noundef %21) #3
%23 = load i64, ptr %2, align 8, !tbaa !6
%24 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !10
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %11
%26 = load ptr, ptr %25, align 8, !tbaa !12
%27 = load i64, ptr %26, align 8, !tbaa !6
%28 = icmp eq i64 %23, %27
br i1 %28, label %29, label %38
29: ; preds = %16
%30 = load i64, ptr %6, align 8, !tbaa !6
%31 = getelementptr inbounds i8, ptr %26, i64 8
%32 = load i64, ptr %31, align 8, !tbaa !6
%33 = icmp eq i64 %30, %32
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = call i64 @MLX5E_PROT_MASK(i64 noundef %11) #3
%36 = or i64 %35, %10
%37 = load ptr, ptr @ptys2ext_ethtool_table, align 8, !tbaa !10
br label %38
38: ; preds = %16, %29, %34, %8
%39 = phi ptr [ %9, %8 ], [ %37, %34 ], [ %24, %29 ], [ %24, %16 ]
%40 = phi i64 [ %10, %8 ], [ %36, %34 ], [ %10, %29 ], [ %10, %16 ]
%41 = add nuw i64 %11, 1
%42 = load i64, ptr @MLX5E_EXT_LINK_MODES_NUMBER, align 8, !tbaa !6
%43 = icmp ult i64 %41, %42
br i1 %43, label %8, label %44, !llvm.loop !16
44: ; preds = %38, %1
%45 = phi i64 [ 0, %1 ], [ %40, %38 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret i64 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bitmap_and(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @MLX5E_PROT_MASK(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_en_ethtool.c_mlx5e_ethtool2ptys_ext_adver_link |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_shrsr.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_shrsr.c"
target datalayout = "e-m:e-p270:32:32-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 @emit_shrsr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @emit_shrimm(i32 noundef %1, i32 noundef 1, i32 noundef %1) #2
%4 = tail call i32 @emit_shrimm(i32 noundef %0, i32 noundef 1, i32 noundef %0) #2
%5 = tail call i32 @emit_adc(i32 noundef %1, i32 noundef %1) #2
ret void
}
declare i32 @emit_shrimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_adc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_shrsr.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_shrsr.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 @emit_shrsr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @emit_shrimm(i32 noundef %1, i32 noundef 1, i32 noundef %1) #2
%4 = tail call i32 @emit_shrimm(i32 noundef %0, i32 noundef 1, i32 noundef %0) #2
%5 = tail call i32 @emit_adc(i32 noundef %1, i32 noundef %1) #2
ret void
}
declare i32 @emit_shrimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_adc(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)"}
| Provenance_Cores_Yabause_yabause_src_sh2_dynarec_extr_assem_x86.c_emit_shrsr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_isp1760-hcd.c_init_memory.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_isp1760-hcd.c_init_memory.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i32, i64 }
@BLOCK_1_NUM = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_1_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@BLOCK_2_NUM = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_2_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@BLOCKS = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_3_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@PAYLOAD_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_memory], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_memory(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
%4 = load ptr, ptr %0, align 8, !tbaa !9
br i1 %3, label %13, label %5
5: ; preds = %13, %1
%6 = phi i64 [ 4096, %1 ], [ %20, %13 ]
%7 = phi i32 [ %2, %1 ], [ %22, %13 ]
%8 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !5
%9 = add nsw i32 %8, %7
%10 = icmp sgt i32 %8, 0
br i1 %10, label %11, label %25
11: ; preds = %5
%12 = sext i32 %7 to i64
br label %32
13: ; preds = %1, %13
%14 = phi i64 [ %21, %13 ], [ 0, %1 ]
%15 = phi i64 [ %20, %13 ], [ 4096, %1 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14, i32 2
store i64 %15, ptr %16, align 8, !tbaa !12
%17 = load i64, ptr @BLOCK_1_SIZE, align 8, !tbaa !15
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14
store i64 %17, ptr %18, align 8, !tbaa !16
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14, i32 1
store i32 1, ptr %19, align 8, !tbaa !17
%20 = add nsw i64 %17, %15
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !5
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %5, !llvm.loop !18
25: ; preds = %32, %5
%26 = phi i64 [ %6, %5 ], [ %39, %32 ]
%27 = phi i32 [ %9, %5 ], [ %43, %32 ]
%28 = load i32, ptr @BLOCKS, align 4, !tbaa !5
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %60
30: ; preds = %25
%31 = sext i32 %27 to i64
br label %46
32: ; preds = %11, %32
%33 = phi i64 [ %12, %11 ], [ %40, %32 ]
%34 = phi i64 [ %6, %11 ], [ %39, %32 ]
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33, i32 2
store i64 %34, ptr %35, align 8, !tbaa !12
%36 = load i64, ptr @BLOCK_2_SIZE, align 8, !tbaa !15
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33
store i64 %36, ptr %37, align 8, !tbaa !16
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33, i32 1
store i32 1, ptr %38, align 8, !tbaa !17
%39 = add nsw i64 %36, %34
%40 = add nsw i64 %33, 1
%41 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !5
%42 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !5
%43 = add nsw i32 %42, %41
%44 = sext i32 %43 to i64
%45 = icmp slt i64 %40, %44
br i1 %45, label %32, label %25, !llvm.loop !20
46: ; preds = %30, %46
%47 = phi i64 [ %31, %30 ], [ %54, %46 ]
%48 = phi i64 [ %26, %30 ], [ %53, %46 ]
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47, i32 2
store i64 %48, ptr %49, align 8, !tbaa !12
%50 = load i64, ptr @BLOCK_3_SIZE, align 8, !tbaa !15
%51 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47
store i64 %50, ptr %51, align 8, !tbaa !16
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47, i32 1
store i32 1, ptr %52, align 8, !tbaa !17
%53 = add nsw i64 %50, %48
%54 = add nsw i64 %47, 1
%55 = load i32, ptr @BLOCKS, align 4, !tbaa !5
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %54, %56
br i1 %57, label %46, label %58, !llvm.loop !21
58: ; preds = %46
%59 = trunc i64 %54 to i32
br label %60
60: ; preds = %58, %25
%61 = phi i32 [ %27, %25 ], [ %59, %58 ]
%62 = phi i64 [ %26, %25 ], [ %53, %58 ]
%63 = sext i32 %61 to i64
%64 = getelementptr %struct.TYPE_2__, ptr %4, i64 %63
%65 = getelementptr %struct.TYPE_2__, ptr %64, i64 -1
%66 = load i64, ptr %65, align 8, !tbaa !16
%67 = sub nsw i64 %62, %66
%68 = load i64, ptr @PAYLOAD_SIZE, align 8, !tbaa !15
%69 = icmp sgt i64 %67, %68
%70 = zext i1 %69 to i32
%71 = tail call i32 @BUG_ON(i32 noundef %70) #2
ret void
}
declare i32 @BUG_ON(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 = !{!"isp1760_hcd", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 16}
!13 = !{!"TYPE_2__", !14, i64 0, !6, i64 8, !14, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!13, !6, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_isp1760-hcd.c_init_memory.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_isp1760-hcd.c_init_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i32, i64 }
@BLOCK_1_NUM = common local_unnamed_addr global i32 0, align 4
@BLOCK_1_SIZE = common local_unnamed_addr global i64 0, align 8
@BLOCK_2_NUM = common local_unnamed_addr global i32 0, align 4
@BLOCK_2_SIZE = common local_unnamed_addr global i64 0, align 8
@BLOCKS = common local_unnamed_addr global i32 0, align 4
@BLOCK_3_SIZE = common local_unnamed_addr global i64 0, align 8
@PAYLOAD_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @init_memory], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_memory(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
%4 = load ptr, ptr %0, align 8, !tbaa !10
br i1 %3, label %13, label %5
5: ; preds = %13, %1
%6 = phi i64 [ 4096, %1 ], [ %20, %13 ]
%7 = phi i32 [ %2, %1 ], [ %22, %13 ]
%8 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !6
%9 = add nsw i32 %8, %7
%10 = icmp sgt i32 %8, 0
br i1 %10, label %11, label %25
11: ; preds = %5
%12 = sext i32 %7 to i64
br label %32
13: ; preds = %1, %13
%14 = phi i64 [ %21, %13 ], [ 0, %1 ]
%15 = phi i64 [ %20, %13 ], [ 4096, %1 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14, i32 2
store i64 %15, ptr %16, align 8, !tbaa !13
%17 = load i64, ptr @BLOCK_1_SIZE, align 8, !tbaa !16
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14
store i64 %17, ptr %18, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %14, i32 1
store i32 1, ptr %19, align 8, !tbaa !18
%20 = add nsw i64 %17, %15
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !6
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %5, !llvm.loop !19
25: ; preds = %32, %5
%26 = phi i64 [ %6, %5 ], [ %39, %32 ]
%27 = phi i32 [ %9, %5 ], [ %43, %32 ]
%28 = load i32, ptr @BLOCKS, align 4, !tbaa !6
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %60
30: ; preds = %25
%31 = sext i32 %27 to i64
br label %46
32: ; preds = %11, %32
%33 = phi i64 [ %12, %11 ], [ %40, %32 ]
%34 = phi i64 [ %6, %11 ], [ %39, %32 ]
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33, i32 2
store i64 %34, ptr %35, align 8, !tbaa !13
%36 = load i64, ptr @BLOCK_2_SIZE, align 8, !tbaa !16
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33
store i64 %36, ptr %37, align 8, !tbaa !17
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %33, i32 1
store i32 1, ptr %38, align 8, !tbaa !18
%39 = add nsw i64 %36, %34
%40 = add nsw i64 %33, 1
%41 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !6
%42 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !6
%43 = add nsw i32 %42, %41
%44 = sext i32 %43 to i64
%45 = icmp slt i64 %40, %44
br i1 %45, label %32, label %25, !llvm.loop !21
46: ; preds = %30, %46
%47 = phi i64 [ %31, %30 ], [ %54, %46 ]
%48 = phi i64 [ %26, %30 ], [ %53, %46 ]
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47, i32 2
store i64 %48, ptr %49, align 8, !tbaa !13
%50 = load i64, ptr @BLOCK_3_SIZE, align 8, !tbaa !16
%51 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47
store i64 %50, ptr %51, align 8, !tbaa !17
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %47, i32 1
store i32 1, ptr %52, align 8, !tbaa !18
%53 = add nsw i64 %50, %48
%54 = add nsw i64 %47, 1
%55 = load i32, ptr @BLOCKS, align 4, !tbaa !6
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %54, %56
br i1 %57, label %46, label %58, !llvm.loop !22
58: ; preds = %46
%59 = trunc nsw i64 %54 to i32
br label %60
60: ; preds = %58, %25
%61 = phi i32 [ %27, %25 ], [ %59, %58 ]
%62 = phi i64 [ %26, %25 ], [ %53, %58 ]
%63 = sext i32 %61 to i64
%64 = getelementptr %struct.TYPE_2__, ptr %4, i64 %63
%65 = getelementptr i8, ptr %64, i64 -24
%66 = load i64, ptr %65, align 8, !tbaa !17
%67 = sub nsw i64 %62, %66
%68 = load i64, ptr @PAYLOAD_SIZE, align 8, !tbaa !16
%69 = icmp sgt i64 %67, %68
%70 = zext i1 %69 to i32
%71 = tail call i32 @BUG_ON(i32 noundef %70) #2
ret void
}
declare i32 @BUG_ON(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 = !{!"isp1760_hcd", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"TYPE_2__", !15, i64 0, !7, i64 8, !15, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !15, i64 0}
!18 = !{!14, !7, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
| fastsocket_kernel_drivers_usb_host_extr_isp1760-hcd.c_init_memory |
; ModuleID = 'AnghaBench/netdata/libnetdata/adaptive_resortable_list/extr_..inlined.h_read_single_number_file.c'
source_filename = "AnghaBench/netdata/libnetdata/adaptive_resortable_list/extr_..inlined.h_read_single_number_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_single_number_file], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @read_single_number_file(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca [31 x i8], align 16
call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %3) #3
%4 = call i32 @read_file(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #3
%5 = call i64 @unlikely(i32 noundef %4) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = getelementptr inbounds [31 x i8], ptr %3, i64 0, i64 30
store i8 0, ptr %8, align 2, !tbaa !5
%9 = call i64 @str2ull(ptr noundef nonnull %3) #3
br label %10
10: ; preds = %2, %7
%11 = phi i64 [ %9, %7 ], [ 0, %2 ]
%12 = phi i32 [ 0, %7 ], [ %4, %2 ]
store i64 %11, ptr %1, align 8, !tbaa !8
call void @llvm.lifetime.end.p0(i64 31, 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 @read_file(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @str2ull(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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !6, i64 0}
| ; ModuleID = 'AnghaBench/netdata/libnetdata/adaptive_resortable_list/extr_..inlined.h_read_single_number_file.c'
source_filename = "AnghaBench/netdata/libnetdata/adaptive_resortable_list/extr_..inlined.h_read_single_number_file.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 @read_single_number_file], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal noundef i32 @read_single_number_file(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca [31 x i8], align 1
call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %3) #3
%4 = call i32 @read_file(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #3
%5 = call i64 @unlikely(i32 noundef %4) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 30
store i8 0, ptr %8, align 1, !tbaa !6
%9 = call i64 @str2ull(ptr noundef nonnull %3) #3
br label %10
10: ; preds = %2, %7
%11 = phi i64 [ %9, %7 ], [ 0, %2 ]
%12 = phi i32 [ 0, %7 ], [ %4, %2 ]
store i64 %11, ptr %1, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 31, 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 @read_file(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @str2ull(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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
| netdata_libnetdata_adaptive_resortable_list_extr_..inlined.h_read_single_number_file |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_events_filter.c_regex_match_front.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_filter.c_regex_match_front.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.regex = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @regex_match_front], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @regex_match_front(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp ne i32 %2, 0
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = icmp sgt i32 %5, %2
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %14, label %8
8: ; preds = %3
%9 = getelementptr inbounds %struct.regex, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call i64 @strncmp(ptr noundef %0, i32 noundef %10, i32 noundef %5) #2
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %3, %8
%15 = phi i32 [ %13, %8 ], [ 0, %3 ]
ret i32 %15
}
declare i64 @strncmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"regex", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_events_filter.c_regex_match_front.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_filter.c_regex_match_front.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @regex_match_front], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @regex_match_front(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp ne i32 %2, 0
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = icmp sgt i32 %5, %2
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %14, label %8
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i64 @strncmp(ptr noundef %0, i32 noundef %10, i32 noundef %5) #2
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %3, %8
%15 = phi i32 [ %13, %8 ], [ 0, %3 ]
ret i32 %15
}
declare i64 @strncmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"regex", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| linux_kernel_trace_extr_trace_events_filter.c_regex_match_front |
; ModuleID = 'AnghaBench/linux/mm/extr_zpool.c_zpool_map_handle.c'
source_filename = "AnghaBench/linux/mm/extr_zpool.c_zpool_map_handle.c"
target datalayout = "e-m:e-p270:32:32-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.zpool = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local ptr @zpool_map_handle(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.zpool, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %0, align 8, !tbaa !13
%8 = tail call ptr %6(i32 noundef %7, i64 noundef %1, i32 noundef %2) #1
ret ptr %8
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"zpool", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/mm/extr_zpool.c_zpool_map_handle.c'
source_filename = "AnghaBench/linux/mm/extr_zpool.c_zpool_map_handle.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 @zpool_map_handle(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %0, align 8, !tbaa !14
%8 = tail call ptr %6(i32 noundef %7, i64 noundef %1, i32 noundef %2) #1
ret ptr %8
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"zpool", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!7, !8, i64 0}
| linux_mm_extr_zpool.c_zpool_map_handle |
; ModuleID = 'AnghaBench/vlc/src/misc/extr_interrupt.c_vlc_interrupt_create.c'
source_filename = "AnghaBench/vlc/src/misc/extr_interrupt.c_vlc_interrupt_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @vlc_interrupt_create() local_unnamed_addr #0 {
%1 = tail call ptr @malloc(i32 noundef 4) #2
%2 = icmp ne ptr %1, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @likely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %0
%7 = tail call i32 @vlc_interrupt_init(ptr noundef %1) #2
br label %8
8: ; preds = %6, %0
ret ptr %1
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @vlc_interrupt_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/vlc/src/misc/extr_interrupt.c_vlc_interrupt_create.c'
source_filename = "AnghaBench/vlc/src/misc/extr_interrupt.c_vlc_interrupt_create.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 @vlc_interrupt_create() local_unnamed_addr #0 {
%1 = tail call ptr @malloc(i32 noundef 4) #2
%2 = icmp ne ptr %1, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @likely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %0
%7 = tail call i32 @vlc_interrupt_init(ptr noundef %1) #2
br label %8
8: ; preds = %6, %0
ret ptr %1
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @vlc_interrupt_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| vlc_src_misc_extr_interrupt.c_vlc_interrupt_create |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-typeck.c_lvalue_or_else.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-typeck.c_lvalue_or_else.c"
target datalayout = "e-m:e-p270:32:32-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 @lvalue_or_else], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lvalue_or_else(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @lvalue_p(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @lvalue_error(i32 noundef %1) #2
br label %7
7: ; preds = %5, %2
ret i32 %3
}
declare i32 @lvalue_p(i32 noundef) local_unnamed_addr #1
declare i32 @lvalue_error(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-typeck.c_lvalue_or_else.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-typeck.c_lvalue_or_else.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 @lvalue_or_else], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lvalue_or_else(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @lvalue_p(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @lvalue_error(i32 noundef %1) #2
br label %7
7: ; preds = %5, %2
ret i32 %3
}
declare i32 @lvalue_p(i32 noundef) local_unnamed_addr #1
declare i32 @lvalue_error(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gcc_extr_c-typeck.c_lvalue_or_else |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_htc-egpio.c_egpio_write_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_htc-egpio.c_egpio_write_cache.c"
target datalayout = "e-m:e-p270:32:32-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.egpio_info = type { i32, i32, i32, ptr }
%struct.egpio_chip = type { i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [33 x i8] c"EGPIO: setting %x to %x, was %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @egpio_write_cache], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @egpio_write_cache(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %56
4: ; preds = %1
%5 = getelementptr inbounds %struct.egpio_info, ptr %0, i64 0, i32 3
%6 = getelementptr inbounds %struct.egpio_info, ptr %0, i64 0, i32 2
%7 = getelementptr inbounds %struct.egpio_info, ptr %0, i64 0, i32 1
br label %8
8: ; preds = %4, %51
%9 = phi i32 [ %2, %4 ], [ %52, %51 ]
%10 = phi i64 [ 0, %4 ], [ %53, %51 ]
%11 = load ptr, ptr %5, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.egpio_chip, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %51, label %15
15: ; preds = %8
%16 = getelementptr inbounds %struct.egpio_chip, ptr %11, i64 %10, i32 3
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %51
19: ; preds = %15
%20 = getelementptr inbounds %struct.egpio_chip, ptr %11, i64 %10, i32 1
%21 = getelementptr inbounds %struct.egpio_chip, ptr %11, i64 %10, i32 2
br label %22
22: ; preds = %19, %43
%23 = phi i32 [ 0, %19 ], [ %46, %43 ]
%24 = load i32, ptr %20, align 4, !tbaa !16
%25 = tail call i32 @egpio_pos(ptr noundef nonnull %0, i32 noundef %23) #2
%26 = load i32, ptr %12, align 4, !tbaa !12
%27 = ashr i32 %26, %23
%28 = load i32, ptr %6, align 8, !tbaa !17
%29 = and i32 %27, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %43, label %31
31: ; preds = %22
%32 = add nsw i32 %25, %24
%33 = load i32, ptr %21, align 4, !tbaa !18
%34 = ashr i32 %33, %23
%35 = and i32 %34, %28
%36 = tail call i32 @egpio_readw(ptr noundef nonnull %0, i32 noundef %32) #2
%37 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %32, i32 noundef %35, i32 noundef %36) #2
%38 = load i32, ptr %21, align 4, !tbaa !18
%39 = ashr i32 %38, %23
%40 = load i32, ptr %6, align 8, !tbaa !17
%41 = and i32 %39, %40
%42 = tail call i32 @egpio_writew(i32 noundef %41, ptr noundef nonnull %0, i32 noundef %32) #2
br label %43
43: ; preds = %22, %31
%44 = load i32, ptr %7, align 4, !tbaa !19
%45 = shl nuw i32 1, %44
%46 = add nsw i32 %45, %23
%47 = load i32, ptr %16, align 4, !tbaa !15
%48 = icmp slt i32 %46, %47
br i1 %48, label %22, label %49, !llvm.loop !20
49: ; preds = %43
%50 = load i32, ptr %0, align 8, !tbaa !5
br label %51
51: ; preds = %49, %15, %8
%52 = phi i32 [ %50, %49 ], [ %9, %15 ], [ %9, %8 ]
%53 = add nuw nsw i64 %10, 1
%54 = sext i32 %52 to i64
%55 = icmp slt i64 %53, %54
br i1 %55, label %8, label %56, !llvm.loop !22
56: ; preds = %51, %1
ret void
}
declare i32 @egpio_pos(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @egpio_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @egpio_writew(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"egpio_info", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !7, i64 0}
!13 = !{!"egpio_chip", !7, i64 0, !7, i64 4, !7, i64 8, !14, i64 12}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!13, !7, i64 12}
!16 = !{!13, !7, i64 4}
!17 = !{!6, !7, i64 8}
!18 = !{!13, !7, i64 8}
!19 = !{!6, !7, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_htc-egpio.c_egpio_write_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_htc-egpio.c_egpio_write_cache.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.egpio_chip = type { i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [33 x i8] c"EGPIO: setting %x to %x, was %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @egpio_write_cache], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @egpio_write_cache(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %56
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = getelementptr inbounds i8, ptr %0, i64 4
br label %8
8: ; preds = %4, %51
%9 = phi i32 [ %2, %4 ], [ %52, %51 ]
%10 = phi i64 [ 0, %4 ], [ %53, %51 ]
%11 = load ptr, ptr %5, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.egpio_chip, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %51, label %15
15: ; preds = %8
%16 = getelementptr inbounds i8, ptr %12, i64 12
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %51
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %12, i64 4
%21 = getelementptr inbounds i8, ptr %12, i64 8
br label %22
22: ; preds = %19, %43
%23 = phi i32 [ 0, %19 ], [ %46, %43 ]
%24 = load i32, ptr %20, align 4, !tbaa !17
%25 = tail call i32 @egpio_pos(ptr noundef nonnull %0, i32 noundef %23) #2
%26 = load i32, ptr %12, align 4, !tbaa !13
%27 = ashr i32 %26, %23
%28 = load i32, ptr %6, align 8, !tbaa !18
%29 = and i32 %27, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %43, label %31
31: ; preds = %22
%32 = add nsw i32 %25, %24
%33 = load i32, ptr %21, align 4, !tbaa !19
%34 = ashr i32 %33, %23
%35 = and i32 %34, %28
%36 = tail call i32 @egpio_readw(ptr noundef nonnull %0, i32 noundef %32) #2
%37 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %32, i32 noundef %35, i32 noundef %36) #2
%38 = load i32, ptr %21, align 4, !tbaa !19
%39 = ashr i32 %38, %23
%40 = load i32, ptr %6, align 8, !tbaa !18
%41 = and i32 %39, %40
%42 = tail call i32 @egpio_writew(i32 noundef %41, ptr noundef nonnull %0, i32 noundef %32) #2
br label %43
43: ; preds = %22, %31
%44 = load i32, ptr %7, align 4, !tbaa !20
%45 = shl nuw i32 1, %44
%46 = add nsw i32 %45, %23
%47 = load i32, ptr %16, align 4, !tbaa !16
%48 = icmp slt i32 %46, %47
br i1 %48, label %22, label %49, !llvm.loop !21
49: ; preds = %43
%50 = load i32, ptr %0, align 8, !tbaa !6
br label %51
51: ; preds = %49, %15, %8
%52 = phi i32 [ %50, %49 ], [ %9, %15 ], [ %9, %8 ]
%53 = add nuw nsw i64 %10, 1
%54 = sext i32 %52 to i64
%55 = icmp slt i64 %53, %54
br i1 %55, label %8, label %56, !llvm.loop !23
56: ; preds = %51, %1
ret void
}
declare i32 @egpio_pos(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @egpio_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @egpio_writew(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"egpio_info", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !8, i64 0}
!14 = !{!"egpio_chip", !8, i64 0, !8, i64 4, !8, i64 8, !15, i64 12}
!15 = !{!"TYPE_2__", !8, i64 0}
!16 = !{!14, !8, i64 12}
!17 = !{!14, !8, i64 4}
!18 = !{!7, !8, i64 8}
!19 = !{!14, !8, i64 8}
!20 = !{!7, !8, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
| fastsocket_kernel_drivers_mfd_extr_htc-egpio.c_egpio_write_cache |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/cores/chipc/extr_chipc.c_chipc_should_enable_muxed_sprom.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/cores/chipc/extr_chipc.c_chipc_should_enable_muxed_sprom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MUX_SPROM = dso_local local_unnamed_addr global i32 0, align 4
@Giant = dso_local global i32 0, align 4
@M_TEMP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @chipc_should_enable_muxed_sprom], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @chipc_should_enable_muxed_sprom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @MUX_SPROM, align 4, !tbaa !5
%5 = tail call i32 @CHIPC_QUIRK(ptr noundef %0, i32 noundef %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %48, label %7
7: ; preds = %1
%8 = tail call i32 @mtx_lock(ptr noundef nonnull @Giant) #3
%9 = load i64, ptr %0, align 8, !tbaa !9
%10 = tail call i64 @device_get_parent(i64 noundef %9) #3
%11 = tail call i64 @bhnd_bus_find_hostb_device(i64 noundef %10) #3
%12 = call i32 @device_get_children(i64 noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %45
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !5
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %40
17: ; preds = %14, %35
%18 = phi i64 [ %36, %35 ], [ 0, %14 ]
%19 = load ptr, ptr %2, align 8, !tbaa !12
%20 = getelementptr inbounds i64, ptr %19, i64 %18
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = icmp eq i64 %21, %11
br i1 %22, label %35, label %23
23: ; preds = %17
%24 = load i64, ptr %0, align 8, !tbaa !9
%25 = icmp eq i64 %21, %24
br i1 %25, label %35, label %26
26: ; preds = %23
%27 = call i32 @device_is_attached(i64 noundef %21) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %35, label %29
29: ; preds = %26
%30 = load ptr, ptr %2, align 8, !tbaa !12
%31 = getelementptr inbounds i64, ptr %30, i64 %18
%32 = load i64, ptr %31, align 8, !tbaa !14
%33 = call i64 @device_is_suspended(i64 noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %29, %26, %17, %23
%36 = add nuw nsw i64 %18, 1
%37 = load i32, ptr %3, align 4, !tbaa !5
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %17, label %40, !llvm.loop !15
40: ; preds = %35, %29, %14
%41 = phi i32 [ 1, %14 ], [ 0, %29 ], [ 1, %35 ]
%42 = load ptr, ptr %2, align 8, !tbaa !12
%43 = load i32, ptr @M_TEMP, align 4, !tbaa !5
%44 = call i32 @free(ptr noundef %42, i32 noundef %43) #3
br label %45
45: ; preds = %7, %40
%46 = phi i32 [ %41, %40 ], [ 0, %7 ]
%47 = call i32 @mtx_unlock(ptr noundef nonnull @Giant) #3
br label %48
48: ; preds = %45, %1
%49 = phi i32 [ 1, %1 ], [ %46, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CHIPC_QUIRK(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2
declare i64 @device_get_parent(i64 noundef) local_unnamed_addr #2
declare i64 @bhnd_bus_find_hostb_device(i64 noundef) local_unnamed_addr #2
declare i32 @device_get_children(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @device_is_attached(i64 noundef) local_unnamed_addr #2
declare i64 @device_is_suspended(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @free(ptr 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"chipc_softc", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/cores/chipc/extr_chipc.c_chipc_should_enable_muxed_sprom.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/cores/chipc/extr_chipc.c_chipc_should_enable_muxed_sprom.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MUX_SPROM = common local_unnamed_addr global i32 0, align 4
@Giant = common global i32 0, align 4
@M_TEMP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @chipc_should_enable_muxed_sprom], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @chipc_should_enable_muxed_sprom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @MUX_SPROM, align 4, !tbaa !6
%5 = tail call i32 @CHIPC_QUIRK(ptr noundef %0, i32 noundef %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %48, label %7
7: ; preds = %1
%8 = tail call i32 @mtx_lock(ptr noundef nonnull @Giant) #3
%9 = load i64, ptr %0, align 8, !tbaa !10
%10 = tail call i64 @device_get_parent(i64 noundef %9) #3
%11 = tail call i64 @bhnd_bus_find_hostb_device(i64 noundef %10) #3
%12 = call i32 @device_get_children(i64 noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %45
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !6
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %40
17: ; preds = %14, %35
%18 = phi i64 [ %36, %35 ], [ 0, %14 ]
%19 = load ptr, ptr %2, align 8, !tbaa !13
%20 = getelementptr inbounds i64, ptr %19, i64 %18
%21 = load i64, ptr %20, align 8, !tbaa !15
%22 = icmp eq i64 %21, %11
br i1 %22, label %35, label %23
23: ; preds = %17
%24 = load i64, ptr %0, align 8, !tbaa !10
%25 = icmp eq i64 %21, %24
br i1 %25, label %35, label %26
26: ; preds = %23
%27 = call i32 @device_is_attached(i64 noundef %21) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %35, label %29
29: ; preds = %26
%30 = load ptr, ptr %2, align 8, !tbaa !13
%31 = getelementptr inbounds i64, ptr %30, i64 %18
%32 = load i64, ptr %31, align 8, !tbaa !15
%33 = call i64 @device_is_suspended(i64 noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %29, %26, %17, %23
%36 = add nuw nsw i64 %18, 1
%37 = load i32, ptr %3, align 4, !tbaa !6
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %17, label %40, !llvm.loop !16
40: ; preds = %35, %29, %14
%41 = phi i32 [ 1, %14 ], [ 0, %29 ], [ 1, %35 ]
%42 = load ptr, ptr %2, align 8, !tbaa !13
%43 = load i32, ptr @M_TEMP, align 4, !tbaa !6
%44 = call i32 @free(ptr noundef %42, i32 noundef %43) #3
br label %45
45: ; preds = %7, %40
%46 = phi i32 [ %41, %40 ], [ 0, %7 ]
%47 = call i32 @mtx_unlock(ptr noundef nonnull @Giant) #3
br label %48
48: ; preds = %45, %1
%49 = phi i32 [ 1, %1 ], [ %46, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CHIPC_QUIRK(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2
declare i64 @device_get_parent(i64 noundef) local_unnamed_addr #2
declare i64 @bhnd_bus_find_hostb_device(i64 noundef) local_unnamed_addr #2
declare i32 @device_get_children(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @device_is_attached(i64 noundef) local_unnamed_addr #2
declare i64 @device_is_suspended(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @free(ptr 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"chipc_softc", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_bhnd_cores_chipc_extr_chipc.c_chipc_should_enable_muxed_sprom |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_nova-t-usb2.c_nova_t_rc_query.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_nova-t-usb2.c_nova_t_rc_query.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32 }
%struct.dibusb_device_state = type { i32, i32 }
@DIBUSB_REQ_POLL_REMOTE = dso_local local_unnamed_addr global i32 0, align 4
@REMOTE_NO_KEY_PRESSED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"raw key code 0x%02x, 0x%02x, 0x%02x to c: %02x d: %02x toggle: %d\0A\00", align 1
@rc_map_haupp_table = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [14 x i8] c"c: %x, d: %x\0A\00", align 1
@REMOTE_KEY_PRESSED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nova_t_rc_query], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @nova_t_rc_query(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca [5 x i32], align 16
%5 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @DIBUSB_REQ_POLL_REMOTE, align 4, !tbaa !5
store i32 %6, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds i32, ptr %5, i64 1
store i32 53, ptr %7, align 4, !tbaa !5
%8 = load ptr, ptr %0, align 8, !tbaa !9
%9 = call i32 @dvb_usb_generic_rw(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 2, ptr noundef nonnull %4, i32 noundef 5, i32 noundef 0) #3
%10 = load i32, ptr @REMOTE_NO_KEY_PRESSED, align 4, !tbaa !5
store i32 %10, ptr %2, align 4, !tbaa !5
%11 = load i32, ptr %4, align 16, !tbaa !5
%12 = icmp eq i32 %11, 128
br i1 %12, label %13, label %71
13: ; preds = %3
%14 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = shl i32 %15, 8
%17 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%18 = load i32, ptr %17, align 8, !tbaa !5
%19 = or i32 %16, %18
%20 = lshr i32 %19, 3
%21 = lshr i32 %19, 14
%22 = and i32 %21, 1
%23 = and i32 %20, 63
%24 = lshr i32 %19, 9
%25 = and i32 %24, 31
%26 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = call i32 (ptr, i32, i32, ...) @deb_rc(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %18, i32 noundef %27, i32 noundef %25, i32 noundef %23, i32 noundef %22) #3
%29 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%30 = call i32 @ARRAY_SIZE(ptr noundef %29) #3
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %71
32: ; preds = %13, %65
%33 = phi i64 [ %66, %65 ], [ 0, %13 ]
%34 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%35 = getelementptr inbounds %struct.TYPE_5__, ptr %34, i64 %33
%36 = call i32 @rc5_data(ptr noundef %35) #3
%37 = icmp eq i32 %36, %23
br i1 %37, label %38, label %65
38: ; preds = %32
%39 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %39, i64 %33
%41 = call i32 @rc5_custom(ptr noundef %40) #3
%42 = icmp eq i32 %41, %25
br i1 %42, label %43, label %65
43: ; preds = %38
%44 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%45 = getelementptr inbounds %struct.TYPE_5__, ptr %44, i64 %33
%46 = call i32 @rc5_data(ptr noundef %45) #3
%47 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%48 = getelementptr inbounds %struct.TYPE_5__, ptr %47, i64 %33
%49 = call i32 @rc5_custom(ptr noundef %48) #3
%50 = call i32 (ptr, i32, i32, ...) @deb_rc(ptr noundef nonnull @.str.1, i32 noundef %46, i32 noundef %49) #3
%51 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i64 %33
%53 = load i32, ptr %52, align 4, !tbaa !13
store i32 %53, ptr %1, align 4, !tbaa !5
%54 = load i32, ptr @REMOTE_KEY_PRESSED, align 4, !tbaa !5
store i32 %54, ptr %2, align 4, !tbaa !5
%55 = load i32, ptr %8, align 4, !tbaa !15
%56 = icmp eq i32 %55, %22
%57 = getelementptr inbounds %struct.dibusb_device_state, ptr %8, i64 0, i32 1
br i1 %56, label %58, label %64
58: ; preds = %43
%59 = load i32, ptr %57, align 4, !tbaa !17
%60 = add nsw i32 %59, 1
store i32 %60, ptr %57, align 4, !tbaa !17
%61 = icmp slt i32 %59, 2
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, ptr @REMOTE_NO_KEY_PRESSED, align 4, !tbaa !5
store i32 %63, ptr %2, align 4, !tbaa !5
br label %71
64: ; preds = %43
store i32 0, ptr %57, align 4, !tbaa !17
store i32 %22, ptr %8, align 4, !tbaa !15
br label %71
65: ; preds = %32, %38
%66 = add nuw nsw i64 %33, 1
%67 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !12
%68 = call i32 @ARRAY_SIZE(ptr noundef %67) #3
%69 = sext i32 %68 to i64
%70 = icmp slt i64 %66, %69
br i1 %70, label %32, label %71, !llvm.loop !18
71: ; preds = %65, %13, %3, %58, %62, %64
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dvb_usb_generic_rw(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @deb_rc(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @rc5_data(ptr noundef) local_unnamed_addr #2
declare i32 @rc5_custom(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"dvb_usb_device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_5__", !6, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"dibusb_device_state", !6, i64 0, !6, i64 4}
!17 = !{!16, !6, i64 4}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_nova-t-usb2.c_nova_t_rc_query.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_nova-t-usb2.c_nova_t_rc_query.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 { i32 }
@DIBUSB_REQ_POLL_REMOTE = common local_unnamed_addr global i32 0, align 4
@REMOTE_NO_KEY_PRESSED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"raw key code 0x%02x, 0x%02x, 0x%02x to c: %02x d: %02x toggle: %d\0A\00", align 1
@rc_map_haupp_table = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [14 x i8] c"c: %x, d: %x\0A\00", align 1
@REMOTE_KEY_PRESSED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nova_t_rc_query], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @nova_t_rc_query(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca [5 x i32], align 4
%5 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @DIBUSB_REQ_POLL_REMOTE, align 4, !tbaa !6
store i32 %6, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %5, i64 4
store i32 53, ptr %7, align 4, !tbaa !6
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = call i32 @dvb_usb_generic_rw(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 2, ptr noundef nonnull %4, i32 noundef 5, i32 noundef 0) #3
%10 = load i32, ptr @REMOTE_NO_KEY_PRESSED, align 4, !tbaa !6
store i32 %10, ptr %2, align 4, !tbaa !6
%11 = load i32, ptr %4, align 4, !tbaa !6
%12 = icmp eq i32 %11, 128
br i1 %12, label %13, label %71
13: ; preds = %3
%14 = getelementptr inbounds i8, ptr %4, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = shl i32 %15, 8
%17 = getelementptr inbounds i8, ptr %4, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = or i32 %16, %18
%20 = lshr i32 %19, 3
%21 = lshr i32 %19, 14
%22 = and i32 %21, 1
%23 = and i32 %20, 63
%24 = lshr i32 %19, 9
%25 = and i32 %24, 31
%26 = getelementptr inbounds i8, ptr %4, i64 12
%27 = load i32, ptr %26, align 4, !tbaa !6
%28 = call i32 (ptr, i32, i32, ...) @deb_rc(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %18, i32 noundef %27, i32 noundef %25, i32 noundef %23, i32 noundef %22) #3
%29 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%30 = call i32 @ARRAY_SIZE(ptr noundef %29) #3
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %71
32: ; preds = %13, %65
%33 = phi i64 [ %66, %65 ], [ 0, %13 ]
%34 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%35 = getelementptr inbounds %struct.TYPE_5__, ptr %34, i64 %33
%36 = call i32 @rc5_data(ptr noundef %35) #3
%37 = icmp eq i32 %36, %23
br i1 %37, label %38, label %65
38: ; preds = %32
%39 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %39, i64 %33
%41 = call i32 @rc5_custom(ptr noundef %40) #3
%42 = icmp eq i32 %41, %25
br i1 %42, label %43, label %65
43: ; preds = %38
%44 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%45 = getelementptr inbounds %struct.TYPE_5__, ptr %44, i64 %33
%46 = call i32 @rc5_data(ptr noundef %45) #3
%47 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%48 = getelementptr inbounds %struct.TYPE_5__, ptr %47, i64 %33
%49 = call i32 @rc5_custom(ptr noundef %48) #3
%50 = call i32 (ptr, i32, i32, ...) @deb_rc(ptr noundef nonnull @.str.1, i32 noundef %46, i32 noundef %49) #3
%51 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i64 %33
%53 = load i32, ptr %52, align 4, !tbaa !14
store i32 %53, ptr %1, align 4, !tbaa !6
%54 = load i32, ptr @REMOTE_KEY_PRESSED, align 4, !tbaa !6
store i32 %54, ptr %2, align 4, !tbaa !6
%55 = load i32, ptr %8, align 4, !tbaa !16
%56 = icmp eq i32 %55, %22
%57 = getelementptr inbounds i8, ptr %8, i64 4
br i1 %56, label %58, label %64
58: ; preds = %43
%59 = load i32, ptr %57, align 4, !tbaa !18
%60 = add nsw i32 %59, 1
store i32 %60, ptr %57, align 4, !tbaa !18
%61 = icmp slt i32 %59, 2
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, ptr @REMOTE_NO_KEY_PRESSED, align 4, !tbaa !6
store i32 %63, ptr %2, align 4, !tbaa !6
br label %71
64: ; preds = %43
store i32 0, ptr %57, align 4, !tbaa !18
store i32 %22, ptr %8, align 4, !tbaa !16
br label %71
65: ; preds = %32, %38
%66 = add nuw nsw i64 %33, 1
%67 = load ptr, ptr @rc_map_haupp_table, align 8, !tbaa !13
%68 = call i32 @ARRAY_SIZE(ptr noundef %67) #3
%69 = sext i32 %68 to i64
%70 = icmp slt i64 %66, %69
br i1 %70, label %32, label %71, !llvm.loop !19
71: ; preds = %65, %13, %3, %58, %62, %64
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dvb_usb_generic_rw(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @deb_rc(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @rc5_data(ptr noundef) local_unnamed_addr #2
declare i32 @rc5_custom(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"dvb_usb_device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_5__", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"dibusb_device_state", !7, i64 0, !7, i64 4}
!18 = !{!17, !7, i64 4}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_nova-t-usb2.c_nova_t_rc_query |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_renameTriggerFunc.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_renameTriggerFunc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TK_SPACE = dso_local local_unnamed_addr global i32 0, align 4
@TK_DOT = dso_local local_unnamed_addr global i32 0, align 4
@TK_ON = dso_local local_unnamed_addr global i32 0, align 4
@TK_WHEN = dso_local local_unnamed_addr global i32 0, align 4
@TK_FOR = dso_local local_unnamed_addr global i32 0, align 4
@TK_BEGIN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%.*s\22%w\22%s\00", align 1
@SQLITE_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @renameTriggerFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @renameTriggerFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca i32, align 4
%5 = load ptr, ptr %2, align 8, !tbaa !5
%6 = tail call ptr @sqlite3_value_text(ptr noundef %5) #3
%7 = getelementptr inbounds ptr, ptr %2, i64 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = tail call ptr @sqlite3_value_text(ptr noundef %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%10 = tail call ptr @sqlite3_context_db_handle(ptr noundef %0) #3
%11 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #3
%12 = icmp eq ptr %6, null
br i1 %12, label %65, label %13
13: ; preds = %3
%14 = load i8, ptr %6, align 1, !tbaa !9
%15 = icmp eq i8 %14, 0
br i1 %15, label %65, label %16
16: ; preds = %13, %42
%17 = phi i32 [ %43, %42 ], [ 3, %13 ]
%18 = phi ptr [ %24, %42 ], [ %6, %13 ]
%19 = phi i32 [ %25, %42 ], [ 0, %13 ]
br label %20
20: ; preds = %16, %20
%21 = phi i32 [ %25, %20 ], [ %19, %16 ]
%22 = phi ptr [ %24, %20 ], [ %18, %16 ]
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = call i32 @sqlite3GetToken(ptr noundef %24, ptr noundef nonnull %4) #3
%26 = load i32, ptr %4, align 4, !tbaa !10
%27 = load i32, ptr @TK_SPACE, align 4, !tbaa !10
%28 = icmp eq i32 %26, %27
br i1 %28, label %20, label %29, !llvm.loop !12
29: ; preds = %20
%30 = icmp sgt i32 %25, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31) #3
%33 = load i32, ptr %4, align 4, !tbaa !10
%34 = load i32, ptr @TK_DOT, align 4, !tbaa !10
%35 = icmp eq i32 %33, %34
%36 = load i32, ptr @TK_ON, align 4
%37 = icmp eq i32 %33, %36
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %42, label %39
39: ; preds = %29
%40 = add nsw i32 %17, 1
%41 = icmp eq i32 %40, 2
br i1 %41, label %46, label %42
42: ; preds = %29, %39, %46
%43 = phi i32 [ %40, %39 ], [ 2, %46 ], [ 0, %29 ]
%44 = load i8, ptr %24, align 1, !tbaa !9
%45 = icmp eq i8 %44, 0
br i1 %45, label %65, label %16, !llvm.loop !14
46: ; preds = %39
%47 = load i32, ptr @TK_WHEN, align 4, !tbaa !10
%48 = icmp eq i32 %33, %47
%49 = load i32, ptr @TK_FOR, align 4
%50 = icmp eq i32 %33, %49
%51 = select i1 %48, i1 true, i1 %50
%52 = load i32, ptr @TK_BEGIN, align 4
%53 = icmp eq i32 %33, %52
%54 = select i1 %51, i1 true, i1 %53
br i1 %54, label %55, label %42
55: ; preds = %46
%56 = ptrtoint ptr %18 to i64
%57 = ptrtoint ptr %6 to i64
%58 = sub i64 %56, %57
%59 = trunc i64 %58 to i32
%60 = sext i32 %19 to i64
%61 = getelementptr inbounds i8, ptr %18, i64 %60
%62 = call ptr @sqlite3MPrintf(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %59, ptr noundef nonnull %6, ptr noundef %9, ptr noundef nonnull %61) #3
%63 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !10
%64 = call i32 @sqlite3_result_text(ptr noundef %0, ptr noundef %62, i32 noundef -1, i32 noundef %63) #3
br label %65
65: ; preds = %42, %13, %3, %55
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3_context_db_handle(ptr noundef) local_unnamed_addr #2
declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3GetToken(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_result_text(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| ; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_renameTriggerFunc.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_renameTriggerFunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TK_SPACE = common local_unnamed_addr global i32 0, align 4
@TK_DOT = common local_unnamed_addr global i32 0, align 4
@TK_ON = common local_unnamed_addr global i32 0, align 4
@TK_WHEN = common local_unnamed_addr global i32 0, align 4
@TK_FOR = common local_unnamed_addr global i32 0, align 4
@TK_BEGIN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%.*s\22%w\22%s\00", align 1
@SQLITE_DYNAMIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @renameTriggerFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @renameTriggerFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca i32, align 4
%5 = load ptr, ptr %2, align 8, !tbaa !6
%6 = tail call ptr @sqlite3_value_text(ptr noundef %5) #3
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = tail call ptr @sqlite3_value_text(ptr noundef %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%10 = tail call ptr @sqlite3_context_db_handle(ptr noundef %0) #3
%11 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #3
%12 = icmp eq ptr %6, null
br i1 %12, label %65, label %13
13: ; preds = %3
%14 = load i8, ptr %6, align 1, !tbaa !10
%15 = icmp eq i8 %14, 0
br i1 %15, label %65, label %16
16: ; preds = %13, %42
%17 = phi i32 [ %43, %42 ], [ 3, %13 ]
%18 = phi ptr [ %24, %42 ], [ %6, %13 ]
%19 = phi i32 [ %25, %42 ], [ 0, %13 ]
br label %20
20: ; preds = %16, %20
%21 = phi i32 [ %25, %20 ], [ %19, %16 ]
%22 = phi ptr [ %24, %20 ], [ %18, %16 ]
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = call i32 @sqlite3GetToken(ptr noundef %24, ptr noundef nonnull %4) #3
%26 = load i32, ptr %4, align 4, !tbaa !11
%27 = load i32, ptr @TK_SPACE, align 4, !tbaa !11
%28 = icmp eq i32 %26, %27
br i1 %28, label %20, label %29, !llvm.loop !13
29: ; preds = %20
%30 = icmp sgt i32 %25, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31) #3
%33 = load i32, ptr %4, align 4, !tbaa !11
%34 = load i32, ptr @TK_DOT, align 4, !tbaa !11
%35 = icmp eq i32 %33, %34
%36 = load i32, ptr @TK_ON, align 4
%37 = icmp eq i32 %33, %36
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %42, label %39
39: ; preds = %29
%40 = add nsw i32 %17, 1
%41 = icmp eq i32 %40, 2
br i1 %41, label %46, label %42
42: ; preds = %29, %39, %46
%43 = phi i32 [ %40, %39 ], [ 2, %46 ], [ 0, %29 ]
%44 = load i8, ptr %24, align 1, !tbaa !10
%45 = icmp eq i8 %44, 0
br i1 %45, label %65, label %16, !llvm.loop !15
46: ; preds = %39
%47 = load i32, ptr @TK_WHEN, align 4, !tbaa !11
%48 = icmp eq i32 %33, %47
%49 = load i32, ptr @TK_FOR, align 4
%50 = icmp eq i32 %33, %49
%51 = select i1 %48, i1 true, i1 %50
%52 = load i32, ptr @TK_BEGIN, align 4
%53 = icmp eq i32 %33, %52
%54 = select i1 %51, i1 true, i1 %53
br i1 %54, label %55, label %42
55: ; preds = %46
%56 = ptrtoint ptr %18 to i64
%57 = ptrtoint ptr %6 to i64
%58 = sub i64 %56, %57
%59 = trunc i64 %58 to i32
%60 = sext i32 %19 to i64
%61 = getelementptr inbounds i8, ptr %18, i64 %60
%62 = call ptr @sqlite3MPrintf(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %59, ptr noundef nonnull %6, ptr noundef %9, ptr noundef nonnull %61) #3
%63 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !11
%64 = call i32 @sqlite3_result_text(ptr noundef %0, ptr noundef %62, i32 noundef -1, i32 noundef %63) #3
br label %65
65: ; preds = %42, %13, %3, %55
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3_context_db_handle(ptr noundef) local_unnamed_addr #2
declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3GetToken(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_result_text(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_renameTriggerFunc |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/common/extr_dmtbdump.c_AcpiDmDumpXsdt.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/common/extr_dmtbdump.c_AcpiDmDumpXsdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACPI_TABLE_XSDT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"ACPI Table Address\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%8.8X%8.8X\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @AcpiDmDumpXsdt(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @ACPI_TABLE_XSDT, align 4, !tbaa !5
%3 = tail call ptr @ACPI_CAST_PTR(i32 noundef %2, ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = load i32, ptr %0, align 4, !tbaa !12
%6 = sext i32 %5 to i64
%7 = add nsw i64 %6, -4
%8 = icmp ult i64 %7, 4
br i1 %8, label %23, label %9
9: ; preds = %1
%10 = lshr i64 %7, 2
%11 = tail call i64 @llvm.umax.i64(i64 %10, i64 1)
br label %12
12: ; preds = %9, %12
%13 = phi i64 [ %21, %12 ], [ 0, %9 ]
%14 = phi i64 [ %20, %12 ], [ 4, %9 ]
%15 = tail call i32 @AcpiDmLineHeader2(i64 noundef %14, i32 noundef 4, ptr noundef nonnull @.str, i64 noundef %13) #3
%16 = getelementptr inbounds i32, ptr %4, i64 %13
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = tail call i32 @ACPI_FORMAT_UINT64(i32 noundef %17) #3
%19 = tail call i32 @AcpiOsPrintf(ptr noundef nonnull @.str.1, i32 noundef %18) #3
%20 = add i64 %14, 4
%21 = add nuw nsw i64 %13, 1
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %12, !llvm.loop !14
23: ; preds = %12, %1
ret void
}
declare ptr @ACPI_CAST_PTR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AcpiDmLineHeader2(i64 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @AcpiOsPrintf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_FORMAT_UINT64(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_6__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_5__", !6, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/common/extr_dmtbdump.c_AcpiDmDumpXsdt.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/common/extr_dmtbdump.c_AcpiDmDumpXsdt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_TABLE_XSDT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"ACPI Table Address\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%8.8X%8.8X\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @AcpiDmDumpXsdt(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @ACPI_TABLE_XSDT, align 4, !tbaa !6
%3 = tail call ptr @ACPI_CAST_PTR(i32 noundef %2, ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr %0, align 4, !tbaa !13
%6 = sext i32 %5 to i64
%7 = add nsw i64 %6, -4
%8 = icmp ult i64 %7, 4
br i1 %8, label %23, label %9
9: ; preds = %1
%10 = lshr i64 %7, 2
%11 = tail call i64 @llvm.umax.i64(i64 %10, i64 1)
br label %12
12: ; preds = %9, %12
%13 = phi i64 [ %21, %12 ], [ 0, %9 ]
%14 = phi i64 [ %20, %12 ], [ 4, %9 ]
%15 = tail call i32 @AcpiDmLineHeader2(i64 noundef %14, i32 noundef 4, ptr noundef nonnull @.str, i64 noundef %13) #3
%16 = getelementptr inbounds i32, ptr %4, i64 %13
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = tail call i32 @ACPI_FORMAT_UINT64(i32 noundef %17) #3
%19 = tail call i32 @AcpiOsPrintf(ptr noundef nonnull @.str.1, i32 noundef %18) #3
%20 = add i64 %14, 4
%21 = add nuw nsw i64 %13, 1
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %12, !llvm.loop !15
23: ; preds = %12, %1
ret void
}
declare ptr @ACPI_CAST_PTR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AcpiDmLineHeader2(i64 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @AcpiOsPrintf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_FORMAT_UINT64(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_contrib_dev_acpica_common_extr_dmtbdump.c_AcpiDmDumpXsdt |
; ModuleID = 'AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-data.c_do_pmemcached_merge.c'
source_filename = "AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-data.c_do_pmemcached_merge.c"
target datalayout = "e-m:e-p270:32:32-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 @do_pmemcached_merge(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @cache_load(ptr noundef %0, i32 noundef %1, i32 noundef 1) #2
%4 = icmp ne i32 %3, -2
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @cache_load(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-data.c_do_pmemcached_merge.c'
source_filename = "AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-data.c_do_pmemcached_merge.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 @do_pmemcached_merge(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @cache_load(ptr noundef %0, i32 noundef %1, i32 noundef 1) #2
%4 = icmp ne i32 %3, -2
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @cache_load(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)"}
| kphp-kdb_pmemcached_extr_pmemcached-data.c_do_pmemcached_merge |
; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_gzip_static_module.c_ngx_http_gzip_static_merge_conf.c'
source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_gzip_static_module.c_ngx_http_gzip_static_merge_conf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NGX_HTTP_GZIP_STATIC_OFF = dso_local local_unnamed_addr global i32 0, align 4
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_gzip_static_merge_conf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ngx_http_gzip_static_merge_conf(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = load i32, ptr @NGX_HTTP_GZIP_STATIC_OFF, align 4, !tbaa !10
%7 = tail call i32 @ngx_conf_merge_uint_value(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !11
ret ptr %8
}
declare i32 @ngx_conf_merge_uint_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_gzip_static_module.c_ngx_http_gzip_static_merge_conf.c'
source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_gzip_static_module.c_ngx_http_gzip_static_merge_conf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_HTTP_GZIP_STATIC_OFF = common local_unnamed_addr global i32 0, align 4
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_gzip_static_merge_conf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ngx_http_gzip_static_merge_conf(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = load i32, ptr @NGX_HTTP_GZIP_STATIC_OFF, align 4, !tbaa !11
%7 = tail call i32 @ngx_conf_merge_uint_value(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !12
ret ptr %8
}
declare i32 @ngx_conf_merge_uint_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_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}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| tengine_src_http_modules_extr_ngx_http_gzip_static_module.c_ngx_http_gzip_static_merge_conf |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_tx_status.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_tx_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DMA_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4
@DMA_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"get residual bytes error\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"tx_status %d: cookie = %d residue = %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @atc_tx_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @atc_tx_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_at_dma_chan(ptr noundef %0) #2
%5 = tail call i32 @dma_cookie_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%6 = load i32, ptr @DMA_COMPLETE, align 4, !tbaa !5
%7 = icmp eq i32 %5, %6
br i1 %7, label %27, label %8
8: ; preds = %3
%9 = icmp eq ptr %2, null
br i1 %9, label %10, label %12
10: ; preds = %8
%11 = load i32, ptr @DMA_ERROR, align 4, !tbaa !5
br label %27
12: ; preds = %8
%13 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2
%14 = tail call i32 @atc_get_bytes_left(ptr noundef %0, i32 noundef %1) #2
%15 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2
%16 = lshr i32 %14, 31
%17 = tail call i64 @unlikely(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %12
%20 = tail call i32 @chan2dev(ptr noundef %0) #2
%21 = tail call i32 (i32, ptr, ...) @dev_vdbg(i32 noundef %20, ptr noundef nonnull @.str) #2
%22 = load i32, ptr @DMA_ERROR, align 4, !tbaa !5
br label %27
23: ; preds = %12
%24 = tail call i32 @dma_set_residue(ptr noundef nonnull %2, i32 noundef %14) #2
%25 = tail call i32 @chan2dev(ptr noundef %0) #2
%26 = tail call i32 (i32, ptr, ...) @dev_vdbg(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %5, i32 noundef %1, i32 noundef %14) #2
br label %27
27: ; preds = %3, %23, %19, %10
%28 = phi i32 [ %22, %19 ], [ %5, %23 ], [ %11, %10 ], [ %5, %3 ]
ret i32 %28
}
declare ptr @to_at_dma_chan(ptr noundef) local_unnamed_addr #1
declare i32 @dma_cookie_status(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @atc_get_bytes_left(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @dev_vdbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @chan2dev(ptr noundef) local_unnamed_addr #1
declare i32 @dma_set_residue(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_tx_status.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_tx_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_COMPLETE = common local_unnamed_addr global i32 0, align 4
@DMA_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"get residual bytes error\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"tx_status %d: cookie = %d residue = %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @atc_tx_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @atc_tx_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_at_dma_chan(ptr noundef %0) #2
%5 = tail call i32 @dma_cookie_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%6 = load i32, ptr @DMA_COMPLETE, align 4, !tbaa !6
%7 = icmp eq i32 %5, %6
br i1 %7, label %27, label %8
8: ; preds = %3
%9 = icmp eq ptr %2, null
br i1 %9, label %10, label %12
10: ; preds = %8
%11 = load i32, ptr @DMA_ERROR, align 4, !tbaa !6
br label %27
12: ; preds = %8
%13 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2
%14 = tail call i32 @atc_get_bytes_left(ptr noundef %0, i32 noundef %1) #2
%15 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2
%16 = lshr i32 %14, 31
%17 = tail call i64 @unlikely(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %12
%20 = tail call i32 @chan2dev(ptr noundef %0) #2
%21 = tail call i32 (i32, ptr, ...) @dev_vdbg(i32 noundef %20, ptr noundef nonnull @.str) #2
%22 = load i32, ptr @DMA_ERROR, align 4, !tbaa !6
br label %27
23: ; preds = %12
%24 = tail call i32 @dma_set_residue(ptr noundef nonnull %2, i32 noundef %14) #2
%25 = tail call i32 @chan2dev(ptr noundef %0) #2
%26 = tail call i32 (i32, ptr, ...) @dev_vdbg(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %5, i32 noundef %1, i32 noundef %14) #2
br label %27
27: ; preds = %3, %23, %19, %10
%28 = phi i32 [ %22, %19 ], [ %5, %23 ], [ %11, %10 ], [ %5, %3 ]
ret i32 %28
}
declare ptr @to_at_dma_chan(ptr noundef) local_unnamed_addr #1
declare i32 @dma_cookie_status(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @atc_get_bytes_left(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @dev_vdbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @chan2dev(ptr noundef) local_unnamed_addr #1
declare i32 @dma_set_residue(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_dma_extr_at_hdmac.c_atc_tx_status |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/quatech_usb2/extr_quatech_usb2.c_qt2_process_port_change.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/quatech_usb2/extr_quatech_usb2.c_qt2_process_port_change.c"
target datalayout = "e-m:e-p270:32:32-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 @qt2_process_port_change], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qt2_process_port_change(ptr nocapture noundef readonly %0, i8 noundef zeroext %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call ptr @qt2_get_dev_private(ptr noundef %3) #2
%5 = load ptr, ptr %3, align 8, !tbaa !10
%6 = zext i8 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !12
store i32 %8, ptr %4, align 4, !tbaa !14
ret void
}
declare ptr @qt2_get_dev_private(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"usb_serial_port", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"usb_serial", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"quatech2_dev", !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/quatech_usb2/extr_quatech_usb2.c_qt2_process_port_change.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/quatech_usb2/extr_quatech_usb2.c_qt2_process_port_change.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 @qt2_process_port_change], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qt2_process_port_change(ptr nocapture noundef readonly %0, i8 noundef zeroext %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call ptr @qt2_get_dev_private(ptr noundef %3) #2
%5 = load ptr, ptr %3, align 8, !tbaa !11
%6 = zext i8 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !13
store i32 %8, ptr %4, align 4, !tbaa !15
ret void
}
declare ptr @qt2_get_dev_private(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_serial_port", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"usb_serial", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"quatech2_dev", !14, i64 0}
| fastsocket_kernel_drivers_staging_quatech_usb2_extr_quatech_usb2.c_qt2_process_port_change |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_init_pipe_dir_object.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_init_pipe_dir_object.c"
target datalayout = "e-m:e-p270:32:32-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.rpc_pipe_dir_object = type { ptr, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @rpc_init_pipe_dir_object(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.rpc_pipe_dir_object, ptr %0, i64 0, i32 2
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.rpc_pipe_dir_object, ptr %0, i64 0, i32 1
store ptr %1, ptr %6, align 8, !tbaa !5
store ptr %2, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"rpc_pipe_dir_object", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_init_pipe_dir_object.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_init_pipe_dir_object.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 @rpc_init_pipe_dir_object(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %6, align 8, !tbaa !6
store ptr %2, ptr %0, align 8, !tbaa !12
ret void
}
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"rpc_pipe_dir_object", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
| linux_net_sunrpc_extr_rpc_pipe.c_rpc_init_pipe_dir_object |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_load_firmware.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_load_firmware.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAC_CSR0 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Unstable hardware\0A\00", align 1
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_RESET = dso_local local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR = dso_local local_unnamed_addr global i32 0, align 4
@M2H_CMD_DONE_CSR = dso_local local_unnamed_addr global i32 0, align 4
@H2M_MAILBOX_CSR = dso_local local_unnamed_addr global i32 0, align 4
@HOST_CMD_CSR = dso_local local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_SELECT_BANK = dso_local local_unnamed_addr global i32 0, align 4
@FIRMWARE_IMAGE_BASE = dso_local local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_READY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"MCU Control register not ready\0A\00", align 1
@MAC_CSR1_SOFT_RESET = dso_local local_unnamed_addr global i32 0, align 4
@MAC_CSR1_BBP_RESET = dso_local local_unnamed_addr global i32 0, align 4
@MAC_CSR1 = dso_local local_unnamed_addr global i32 0, align 4
@MAC_CSR1_HOST_READY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt61pci_load_firmware], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rt61pci_load_firmware(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
br label %5
5: ; preds = %3, %10
%6 = phi i32 [ 0, %3 ], [ %12, %10 ]
%7 = load i32, ptr @MAC_CSR0, align 4, !tbaa !5
%8 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %5
%11 = tail call i32 @msleep(i32 noundef 1) #3
%12 = add nuw nsw i32 %6, 1
%13 = icmp eq i32 %12, 100
br i1 %13, label %14, label %5, !llvm.loop !9
14: ; preds = %10
%15 = tail call i32 @rt2x00_err(ptr noundef %0, ptr noundef nonnull @.str) #3
%16 = load i32, ptr @EBUSY, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %88
18: ; preds = %5
store i32 0, ptr %4, align 4, !tbaa !5
%19 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !5
%20 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %19, i32 noundef 1) #3
%21 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !5
%22 = load i32, ptr %4, align 4, !tbaa !5
%23 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %21, i32 noundef %22) #3
%24 = load i32, ptr @M2H_CMD_DONE_CSR, align 4, !tbaa !5
%25 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %24, i32 noundef -1) #3
%26 = load i32, ptr @H2M_MAILBOX_CSR, align 4, !tbaa !5
%27 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %26, i32 noundef 0) #3
%28 = load i32, ptr @HOST_CMD_CSR, align 4, !tbaa !5
%29 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %28, i32 noundef 0) #3
store i32 0, ptr %4, align 4, !tbaa !5
%30 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !5
%31 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %30, i32 noundef 1) #3
%32 = load i32, ptr @MCU_CNTL_CSR_SELECT_BANK, align 4, !tbaa !5
%33 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %32, i32 noundef 1) #3
%34 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !5
%35 = load i32, ptr %4, align 4, !tbaa !5
%36 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %34, i32 noundef %35) #3
%37 = load i32, ptr @FIRMWARE_IMAGE_BASE, align 4, !tbaa !5
%38 = call i32 @rt2x00mmio_register_multiwrite(ptr noundef %0, i32 noundef %37, ptr noundef %1, i64 noundef %2) #3
%39 = load i32, ptr @MCU_CNTL_CSR_SELECT_BANK, align 4, !tbaa !5
%40 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %39, i32 noundef 0) #3
%41 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !5
%42 = load i32, ptr %4, align 4, !tbaa !5
%43 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %41, i32 noundef %42) #3
%44 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !5
%45 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %44, i32 noundef 0) #3
%46 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !5
%47 = load i32, ptr %4, align 4, !tbaa !5
%48 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %46, i32 noundef %47) #3
br label %49
49: ; preds = %18, %57
%50 = phi i32 [ 0, %18 ], [ %58, %57 ]
%51 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !5
%52 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %51) #3
store i32 %52, ptr %4, align 4, !tbaa !5
%53 = load i32, ptr @MCU_CNTL_CSR_READY, align 4, !tbaa !5
%54 = call i64 @rt2x00_get_field32(i32 noundef %52, i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
%56 = call i32 @msleep(i32 noundef 1) #3
br i1 %55, label %57, label %64
57: ; preds = %49
%58 = add nuw nsw i32 %50, 1
%59 = icmp eq i32 %58, 100
br i1 %59, label %60, label %49, !llvm.loop !11
60: ; preds = %57
%61 = call i32 @rt2x00_err(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%62 = load i32, ptr @EBUSY, align 4, !tbaa !5
%63 = sub nsw i32 0, %62
br label %88
64: ; preds = %49
store i32 0, ptr %4, align 4, !tbaa !5
%65 = load i32, ptr @MAC_CSR1_SOFT_RESET, align 4, !tbaa !5
%66 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %65, i32 noundef 1) #3
%67 = load i32, ptr @MAC_CSR1_BBP_RESET, align 4, !tbaa !5
%68 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %67, i32 noundef 1) #3
%69 = load i32, ptr @MAC_CSR1, align 4, !tbaa !5
%70 = load i32, ptr %4, align 4, !tbaa !5
%71 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %69, i32 noundef %70) #3
%72 = load i32, ptr @MAC_CSR1, align 4, !tbaa !5
%73 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %72) #3
store i32 %73, ptr %4, align 4, !tbaa !5
%74 = load i32, ptr @MAC_CSR1_SOFT_RESET, align 4, !tbaa !5
%75 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %74, i32 noundef 0) #3
%76 = load i32, ptr @MAC_CSR1_BBP_RESET, align 4, !tbaa !5
%77 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %76, i32 noundef 0) #3
%78 = load i32, ptr @MAC_CSR1, align 4, !tbaa !5
%79 = load i32, ptr %4, align 4, !tbaa !5
%80 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %78, i32 noundef %79) #3
%81 = load i32, ptr @MAC_CSR1, align 4, !tbaa !5
%82 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %81) #3
store i32 %82, ptr %4, align 4, !tbaa !5
%83 = load i32, ptr @MAC_CSR1_HOST_READY, align 4, !tbaa !5
%84 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %83, i32 noundef 1) #3
%85 = load i32, ptr @MAC_CSR1, align 4, !tbaa !5
%86 = load i32, ptr %4, align 4, !tbaa !5
%87 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %85, i32 noundef %86) #3
br label %88
88: ; preds = %64, %60, %14
%89 = phi i32 [ %63, %60 ], [ 0, %64 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %89
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt2x00_set_field32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00mmio_register_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00mmio_register_multiwrite(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @rt2x00_get_field32(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_load_firmware.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_load_firmware.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAC_CSR0 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Unstable hardware\0A\00", align 1
@EBUSY = common local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_RESET = common local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR = common local_unnamed_addr global i32 0, align 4
@M2H_CMD_DONE_CSR = common local_unnamed_addr global i32 0, align 4
@H2M_MAILBOX_CSR = common local_unnamed_addr global i32 0, align 4
@HOST_CMD_CSR = common local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_SELECT_BANK = common local_unnamed_addr global i32 0, align 4
@FIRMWARE_IMAGE_BASE = common local_unnamed_addr global i32 0, align 4
@MCU_CNTL_CSR_READY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"MCU Control register not ready\0A\00", align 1
@MAC_CSR1_SOFT_RESET = common local_unnamed_addr global i32 0, align 4
@MAC_CSR1_BBP_RESET = common local_unnamed_addr global i32 0, align 4
@MAC_CSR1 = common local_unnamed_addr global i32 0, align 4
@MAC_CSR1_HOST_READY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt61pci_load_firmware], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rt61pci_load_firmware(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
br label %5
5: ; preds = %3, %10
%6 = phi i32 [ 0, %3 ], [ %12, %10 ]
%7 = load i32, ptr @MAC_CSR0, align 4, !tbaa !6
%8 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %7) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %5
%11 = tail call i32 @msleep(i32 noundef 1) #3
%12 = add nuw nsw i32 %6, 1
%13 = icmp eq i32 %12, 100
br i1 %13, label %14, label %5, !llvm.loop !10
14: ; preds = %10
%15 = tail call i32 @rt2x00_err(ptr noundef %0, ptr noundef nonnull @.str) #3
%16 = load i32, ptr @EBUSY, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %88
18: ; preds = %5
store i32 0, ptr %4, align 4, !tbaa !6
%19 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !6
%20 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %19, i32 noundef 1) #3
%21 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !6
%22 = load i32, ptr %4, align 4, !tbaa !6
%23 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %21, i32 noundef %22) #3
%24 = load i32, ptr @M2H_CMD_DONE_CSR, align 4, !tbaa !6
%25 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %24, i32 noundef -1) #3
%26 = load i32, ptr @H2M_MAILBOX_CSR, align 4, !tbaa !6
%27 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %26, i32 noundef 0) #3
%28 = load i32, ptr @HOST_CMD_CSR, align 4, !tbaa !6
%29 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %28, i32 noundef 0) #3
store i32 0, ptr %4, align 4, !tbaa !6
%30 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !6
%31 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %30, i32 noundef 1) #3
%32 = load i32, ptr @MCU_CNTL_CSR_SELECT_BANK, align 4, !tbaa !6
%33 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %32, i32 noundef 1) #3
%34 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !6
%35 = load i32, ptr %4, align 4, !tbaa !6
%36 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %34, i32 noundef %35) #3
%37 = load i32, ptr @FIRMWARE_IMAGE_BASE, align 4, !tbaa !6
%38 = call i32 @rt2x00mmio_register_multiwrite(ptr noundef %0, i32 noundef %37, ptr noundef %1, i64 noundef %2) #3
%39 = load i32, ptr @MCU_CNTL_CSR_SELECT_BANK, align 4, !tbaa !6
%40 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %39, i32 noundef 0) #3
%41 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !6
%42 = load i32, ptr %4, align 4, !tbaa !6
%43 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %41, i32 noundef %42) #3
%44 = load i32, ptr @MCU_CNTL_CSR_RESET, align 4, !tbaa !6
%45 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %44, i32 noundef 0) #3
%46 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !6
%47 = load i32, ptr %4, align 4, !tbaa !6
%48 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %46, i32 noundef %47) #3
br label %49
49: ; preds = %18, %57
%50 = phi i32 [ 0, %18 ], [ %58, %57 ]
%51 = load i32, ptr @MCU_CNTL_CSR, align 4, !tbaa !6
%52 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %51) #3
store i32 %52, ptr %4, align 4, !tbaa !6
%53 = load i32, ptr @MCU_CNTL_CSR_READY, align 4, !tbaa !6
%54 = call i64 @rt2x00_get_field32(i32 noundef %52, i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
%56 = call i32 @msleep(i32 noundef 1) #3
br i1 %55, label %57, label %64
57: ; preds = %49
%58 = add nuw nsw i32 %50, 1
%59 = icmp eq i32 %58, 100
br i1 %59, label %60, label %49, !llvm.loop !12
60: ; preds = %57
%61 = call i32 @rt2x00_err(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%62 = load i32, ptr @EBUSY, align 4, !tbaa !6
%63 = sub nsw i32 0, %62
br label %88
64: ; preds = %49
store i32 0, ptr %4, align 4, !tbaa !6
%65 = load i32, ptr @MAC_CSR1_SOFT_RESET, align 4, !tbaa !6
%66 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %65, i32 noundef 1) #3
%67 = load i32, ptr @MAC_CSR1_BBP_RESET, align 4, !tbaa !6
%68 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %67, i32 noundef 1) #3
%69 = load i32, ptr @MAC_CSR1, align 4, !tbaa !6
%70 = load i32, ptr %4, align 4, !tbaa !6
%71 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %69, i32 noundef %70) #3
%72 = load i32, ptr @MAC_CSR1, align 4, !tbaa !6
%73 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %72) #3
store i32 %73, ptr %4, align 4, !tbaa !6
%74 = load i32, ptr @MAC_CSR1_SOFT_RESET, align 4, !tbaa !6
%75 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %74, i32 noundef 0) #3
%76 = load i32, ptr @MAC_CSR1_BBP_RESET, align 4, !tbaa !6
%77 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %76, i32 noundef 0) #3
%78 = load i32, ptr @MAC_CSR1, align 4, !tbaa !6
%79 = load i32, ptr %4, align 4, !tbaa !6
%80 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %78, i32 noundef %79) #3
%81 = load i32, ptr @MAC_CSR1, align 4, !tbaa !6
%82 = call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %81) #3
store i32 %82, ptr %4, align 4, !tbaa !6
%83 = load i32, ptr @MAC_CSR1_HOST_READY, align 4, !tbaa !6
%84 = call i32 @rt2x00_set_field32(ptr noundef nonnull %4, i32 noundef %83, i32 noundef 1) #3
%85 = load i32, ptr @MAC_CSR1, align 4, !tbaa !6
%86 = load i32, ptr %4, align 4, !tbaa !6
%87 = call i32 @rt2x00mmio_register_write(ptr noundef %0, i32 noundef %85, i32 noundef %86) #3
br label %88
88: ; preds = %64, %60, %14
%89 = phi i32 [ %63, %60 ], [ 0, %64 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %89
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt2x00_set_field32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00mmio_register_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00mmio_register_multiwrite(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @rt2x00_get_field32(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
| linux_drivers_net_wireless_ralink_rt2x00_extr_rt61pci.c_rt61pci_load_firmware |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/msfs/extr_finfo.c_MsfsSetMailslotInformation.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/msfs/extr_finfo.c_MsfsSetMailslotInformation.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@STATUS_BUFFER_OVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MsfsSetMailslotInformation], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @MsfsSetMailslotInformation(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = icmp ult i32 %4, 4
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = load i32, ptr %7, align 4, !tbaa !5
store i32 %8, ptr %0, align 4, !tbaa !12
br label %9
9: ; preds = %3, %6
%10 = phi ptr [ @STATUS_SUCCESS, %6 ], [ @STATUS_BUFFER_OVERFLOW, %3 ]
%11 = load i32, ptr %10, align 4, !tbaa !5
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_5__", !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/drivers/filesystems/msfs/extr_finfo.c_MsfsSetMailslotInformation.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/msfs/extr_finfo.c_MsfsSetMailslotInformation.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STATUS_BUFFER_OVERFLOW = common local_unnamed_addr global i32 0, align 4
@STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MsfsSetMailslotInformation], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal i32 @MsfsSetMailslotInformation(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = icmp ult i32 %4, 4
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !6
store i32 %8, ptr %0, align 4, !tbaa !13
br label %9
9: ; preds = %3, %6
%10 = phi ptr [ @STATUS_SUCCESS, %6 ], [ @STATUS_BUFFER_OVERFLOW, %3 ]
%11 = load i32, ptr %10, align 4, !tbaa !6
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
| reactos_drivers_filesystems_msfs_extr_finfo.c_MsfsSetMailslotInformation |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlge/extr_qlge_main.c_ql_write_cfg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlge/extr_qlge_main.c_ql_write_cfg.c"
target datalayout = "e-m:e-p270:32:32-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.ql_adapter = type { i32, i32 }
@CFG_LRQ = dso_local local_unnamed_addr global i32 0, align 4
@CFG_LR = dso_local local_unnamed_addr global i32 0, align 4
@CFG_LCQ = dso_local local_unnamed_addr global i32 0, align 4
@PCI_DMA_TODEVICE = dso_local local_unnamed_addr global i32 0, align 4
@PCI_DMA_FROMDEVICE = dso_local local_unnamed_addr global i32 0, align 4
@ifup = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Couldn't map DMA area.\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@SEM_ICB_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Timed out waiting for CFG to come ready.\0A\00", align 1
@ICB_L = dso_local local_unnamed_addr global i32 0, align 4
@ICB_H = dso_local local_unnamed_addr global i32 0, align 4
@CFG_Q_MASK = dso_local local_unnamed_addr global i32 0, align 4
@CFG_Q_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@CFG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ql_write_cfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @CFG_LRQ, align 4, !tbaa !5
%7 = load i32, ptr @CFG_LR, align 4, !tbaa !5
%8 = or i32 %7, %6
%9 = load i32, ptr @CFG_LCQ, align 4, !tbaa !5
%10 = or i32 %8, %9
%11 = and i32 %10, %3
%12 = icmp eq i32 %11, 0
%13 = load i32, ptr @PCI_DMA_TODEVICE, align 4
%14 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4
%15 = select i1 %12, i32 %14, i32 %13
%16 = load i32, ptr %0, align 4, !tbaa !9
%17 = tail call i32 @pci_map_single(i32 noundef %16, ptr noundef %1, i32 noundef %2, i32 noundef %15) #2
%18 = load i32, ptr %0, align 4, !tbaa !9
%19 = tail call i64 @pci_dma_mapping_error(i32 noundef %18, i32 noundef %17) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %5
%22 = load i32, ptr @ifup, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.ql_adapter, ptr %0, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !11
%25 = tail call i32 @netif_err(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %24, ptr noundef nonnull @.str) #2
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%27 = sub nsw i32 0, %26
br label %61
28: ; preds = %5
%29 = load i32, ptr @SEM_ICB_MASK, align 4, !tbaa !5
%30 = tail call i32 @ql_sem_spinlock(ptr noundef nonnull %0, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %61
32: ; preds = %28
%33 = tail call i32 @ql_wait_cfg(ptr noundef nonnull %0, i32 noundef %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %32
%36 = load i32, ptr @ifup, align 4, !tbaa !5
%37 = getelementptr inbounds %struct.ql_adapter, ptr %0, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !11
%39 = tail call i32 @netif_err(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38, ptr noundef nonnull @.str.1) #2
br label %55
40: ; preds = %32
%41 = load i32, ptr @ICB_L, align 4, !tbaa !5
%42 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %41, i32 noundef %17) #2
%43 = load i32, ptr @ICB_H, align 4, !tbaa !5
%44 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %43, i32 noundef poison) #2
%45 = load i32, ptr @CFG_Q_MASK, align 4, !tbaa !5
%46 = shl i32 %3, 16
%47 = load i32, ptr @CFG_Q_SHIFT, align 4, !tbaa !5
%48 = shl i32 %4, %47
%49 = load i32, ptr @CFG, align 4, !tbaa !5
%50 = or i32 %46, %45
%51 = or i32 %50, %48
%52 = or i32 %51, %3
%53 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %52) #2
%54 = tail call i32 @ql_wait_cfg(ptr noundef nonnull %0, i32 noundef %3) #2
br label %55
55: ; preds = %40, %35
%56 = phi i32 [ %33, %35 ], [ %54, %40 ]
%57 = load i32, ptr @SEM_ICB_MASK, align 4, !tbaa !5
%58 = tail call i32 @ql_sem_unlock(ptr noundef nonnull %0, i32 noundef %57) #2
%59 = load i32, ptr %0, align 4, !tbaa !9
%60 = tail call i32 @pci_unmap_single(i32 noundef %59, i32 noundef %17, i32 noundef %2, i32 noundef %15) #2
br label %61
61: ; preds = %28, %55, %21
%62 = phi i32 [ %27, %21 ], [ %56, %55 ], [ %30, %28 ]
ret i32 %62
}
declare i32 @pci_map_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pci_dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netif_err(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ql_sem_spinlock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_wait_cfg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_sem_unlock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_unmap_single(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, !6, i64 0}
!10 = !{!"ql_adapter", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlge/extr_qlge_main.c_ql_write_cfg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlge/extr_qlge_main.c_ql_write_cfg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CFG_LRQ = common local_unnamed_addr global i32 0, align 4
@CFG_LR = common local_unnamed_addr global i32 0, align 4
@CFG_LCQ = common local_unnamed_addr global i32 0, align 4
@PCI_DMA_TODEVICE = common local_unnamed_addr global i32 0, align 4
@PCI_DMA_FROMDEVICE = common local_unnamed_addr global i32 0, align 4
@ifup = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Couldn't map DMA area.\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@SEM_ICB_MASK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Timed out waiting for CFG to come ready.\0A\00", align 1
@ICB_L = common local_unnamed_addr global i32 0, align 4
@ICB_H = common local_unnamed_addr global i32 0, align 4
@CFG_Q_MASK = common local_unnamed_addr global i32 0, align 4
@CFG_Q_SHIFT = common local_unnamed_addr global i32 0, align 4
@CFG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ql_write_cfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @CFG_LRQ, align 4, !tbaa !6
%7 = load i32, ptr @CFG_LR, align 4, !tbaa !6
%8 = or i32 %7, %6
%9 = load i32, ptr @CFG_LCQ, align 4, !tbaa !6
%10 = or i32 %8, %9
%11 = and i32 %10, %3
%12 = icmp eq i32 %11, 0
%13 = load i32, ptr @PCI_DMA_TODEVICE, align 4
%14 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4
%15 = select i1 %12, i32 %14, i32 %13
%16 = load i32, ptr %0, align 4, !tbaa !10
%17 = tail call i32 @pci_map_single(i32 noundef %16, ptr noundef %1, i32 noundef %2, i32 noundef %15) #2
%18 = load i32, ptr %0, align 4, !tbaa !10
%19 = tail call i64 @pci_dma_mapping_error(i32 noundef %18, i32 noundef %17) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %5
%22 = load i32, ptr @ifup, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %0, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = tail call i32 @netif_err(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %24, ptr noundef nonnull @.str) #2
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%27 = sub nsw i32 0, %26
br label %61
28: ; preds = %5
%29 = load i32, ptr @SEM_ICB_MASK, align 4, !tbaa !6
%30 = tail call i32 @ql_sem_spinlock(ptr noundef nonnull %0, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %61
32: ; preds = %28
%33 = tail call i32 @ql_wait_cfg(ptr noundef nonnull %0, i32 noundef %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %32
%36 = load i32, ptr @ifup, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %0, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !12
%39 = tail call i32 @netif_err(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38, ptr noundef nonnull @.str.1) #2
br label %55
40: ; preds = %32
%41 = load i32, ptr @ICB_L, align 4, !tbaa !6
%42 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %41, i32 noundef %17) #2
%43 = load i32, ptr @ICB_H, align 4, !tbaa !6
%44 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %43, i32 noundef poison) #2
%45 = load i32, ptr @CFG_Q_MASK, align 4, !tbaa !6
%46 = shl i32 %3, 16
%47 = load i32, ptr @CFG_Q_SHIFT, align 4, !tbaa !6
%48 = shl i32 %4, %47
%49 = load i32, ptr @CFG, align 4, !tbaa !6
%50 = or i32 %46, %45
%51 = or i32 %50, %48
%52 = or i32 %51, %3
%53 = tail call i32 @ql_write32(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %52) #2
%54 = tail call i32 @ql_wait_cfg(ptr noundef nonnull %0, i32 noundef %3) #2
br label %55
55: ; preds = %40, %35
%56 = phi i32 [ %33, %35 ], [ %54, %40 ]
%57 = load i32, ptr @SEM_ICB_MASK, align 4, !tbaa !6
%58 = tail call i32 @ql_sem_unlock(ptr noundef nonnull %0, i32 noundef %57) #2
%59 = load i32, ptr %0, align 4, !tbaa !10
%60 = tail call i32 @pci_unmap_single(i32 noundef %59, i32 noundef %17, i32 noundef %2, i32 noundef %15) #2
br label %61
61: ; preds = %28, %55, %21
%62 = phi i32 [ %27, %21 ], [ %56, %55 ], [ %30, %28 ]
ret i32 %62
}
declare i32 @pci_map_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pci_dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netif_err(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ql_sem_spinlock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_wait_cfg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_sem_unlock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_unmap_single(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, !7, i64 0}
!11 = !{!"ql_adapter", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| fastsocket_kernel_drivers_net_qlge_extr_qlge_main.c_ql_write_cfg |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_newreno.c_tcp_newreno_after_timeout.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_newreno.c_tcp_newreno_after_timeout.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tcpcb = type { i64, i32, i32, i32, i32 }
@TCPS_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @tcp_newreno_after_timeout(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @TCPS_ESTABLISHED, align 8, !tbaa !11
%4 = icmp slt i64 %2, %3
br i1 %4, label %19, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @min(i32 noundef %7, i32 noundef %9) #3
%11 = sdiv i32 %10, 2
%12 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = sdiv i32 %11, %13
%15 = tail call i32 @llvm.smax.i32(i32 %14, i32 2)
%16 = mul nsw i32 %15, %13
%17 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 3
store i32 %16, ptr %17, align 8, !tbaa !15
store i32 %13, ptr %8, align 8, !tbaa !13
%18 = tail call i32 @tcp_cc_resize_sndbuf(ptr noundef nonnull %0) #3
br label %19
19: ; preds = %5, %1
ret void
}
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcp_cc_resize_sndbuf(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tcpcb", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!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, !10, i64 20}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_newreno.c_tcp_newreno_after_timeout.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_newreno.c_tcp_newreno_after_timeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCPS_ESTABLISHED = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @tcp_newreno_after_timeout(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @TCPS_ESTABLISHED, align 8, !tbaa !12
%4 = icmp slt i64 %2, %3
br i1 %4, label %19, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = tail call i32 @min(i32 noundef %7, i32 noundef %9) #3
%11 = sdiv i32 %10, 2
%12 = getelementptr inbounds i8, ptr %0, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = sdiv i32 %11, %13
%15 = tail call i32 @llvm.smax.i32(i32 %14, i32 2)
%16 = mul nsw i32 %15, %13
%17 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %16, ptr %17, align 8, !tbaa !16
store i32 %13, ptr %8, align 8, !tbaa !14
%18 = tail call i32 @tcp_cc_resize_sndbuf(ptr noundef nonnull %0) #3
br label %19
19: ; preds = %5, %1
ret void
}
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcp_cc_resize_sndbuf(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tcpcb", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!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, !11, i64 20}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !11, i64 12}
!16 = !{!7, !11, i64 16}
| darwin-xnu_bsd_netinet_extr_tcp_newreno.c_tcp_newreno_after_timeout |
; ModuleID = 'AnghaBench/linux/arch/mips/rb532/extr_setup.c_rb_machine_halt.c'
source_filename = "AnghaBench/linux/arch/mips/rb532/extr_setup.c_rb_machine_halt.c"
target datalayout = "e-m:e-p270:32:32-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 @rb_machine_halt], section "llvm.metadata"
; Function Attrs: nofree norecurse noreturn nosync nounwind memory(none) uwtable
define internal void @rb_machine_halt() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { nofree norecurse noreturn nosync nounwind memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/rb532/extr_setup.c_rb_machine_halt.c'
source_filename = "AnghaBench/linux/arch/mips/rb532/extr_setup.c_rb_machine_halt.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 @rb_machine_halt], section "llvm.metadata"
; Function Attrs: nofree norecurse noreturn nosync nounwind ssp memory(none) uwtable(sync)
define internal void @rb_machine_halt() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { nofree norecurse noreturn nosync nounwind ssp memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_mips_rb532_extr_setup.c_rb_machine_halt |
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_HotStandbyActiveInReplay.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_HotStandbyActiveInReplay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IsPostmasterEnvironment = dso_local local_unnamed_addr global i32 0, align 4
@LocalHotStandbyActive = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @HotStandbyActiveInReplay() local_unnamed_addr #0 {
%1 = tail call i64 (...) @AmStartupProcess() #2
%2 = icmp ne i64 %1, 0
%3 = load i32, ptr @IsPostmasterEnvironment, align 4
%4 = icmp eq i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @Assert(i32 noundef %6) #2
%8 = load i32, ptr @LocalHotStandbyActive, align 4, !tbaa !5
ret i32 %8
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i64 @AmStartupProcess(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_HotStandbyActiveInReplay.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_HotStandbyActiveInReplay.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IsPostmasterEnvironment = common local_unnamed_addr global i32 0, align 4
@LocalHotStandbyActive = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @HotStandbyActiveInReplay() local_unnamed_addr #0 {
%1 = tail call i64 @AmStartupProcess() #2
%2 = icmp ne i64 %1, 0
%3 = load i32, ptr @IsPostmasterEnvironment, align 4
%4 = icmp eq i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @Assert(i32 noundef %6) #2
%8 = load i32, ptr @LocalHotStandbyActive, align 4, !tbaa !6
ret i32 %8
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i64 @AmStartupProcess(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| postgres_src_backend_access_transam_extr_xlog.c_HotStandbyActiveInReplay |
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4client.c_nfs4_destroy_server.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4client.c_nfs4_destroy_server.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@freeme = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs4_destroy_server], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nfs4_destroy_server(ptr noundef %0) #0 {
%2 = load i32, ptr @freeme, align 4, !tbaa !5
%3 = tail call i32 @LIST_HEAD(i32 noundef %2) #2
%4 = tail call i32 @nfs_server_return_all_delegations(ptr noundef %0) #2
%5 = tail call i32 @unset_pnfs_layoutdriver(ptr noundef %0) #2
%6 = tail call i32 @nfs4_purge_state_owners(ptr noundef %0, ptr noundef nonnull @freeme) #2
%7 = tail call i32 @nfs4_free_state_owners(ptr noundef nonnull @freeme) #2
ret void
}
declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1
declare i32 @nfs_server_return_all_delegations(ptr noundef) local_unnamed_addr #1
declare i32 @unset_pnfs_layoutdriver(ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_purge_state_owners(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_free_state_owners(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4client.c_nfs4_destroy_server.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4client.c_nfs4_destroy_server.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@freeme = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nfs4_destroy_server], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nfs4_destroy_server(ptr noundef %0) #0 {
%2 = load i32, ptr @freeme, align 4, !tbaa !6
%3 = tail call i32 @LIST_HEAD(i32 noundef %2) #2
%4 = tail call i32 @nfs_server_return_all_delegations(ptr noundef %0) #2
%5 = tail call i32 @unset_pnfs_layoutdriver(ptr noundef %0) #2
%6 = tail call i32 @nfs4_purge_state_owners(ptr noundef %0, ptr noundef nonnull @freeme) #2
%7 = tail call i32 @nfs4_free_state_owners(ptr noundef nonnull @freeme) #2
ret void
}
declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1
declare i32 @nfs_server_return_all_delegations(ptr noundef) local_unnamed_addr #1
declare i32 @unset_pnfs_layoutdriver(ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_purge_state_owners(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_free_state_owners(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_nfs_extr_nfs4client.c_nfs4_destroy_server |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_hardlink_utf8.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_hardlink_utf8.c"
target datalayout = "e-m:e-p270:32:32-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.archive_entry = type { i32, i32, i32 }
@AE_SET_HARDLINK = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"No memory\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @archive_entry_hardlink_utf8(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @AE_SET_HARDLINK, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %21, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.archive_entry, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = getelementptr inbounds %struct.archive_entry, ptr %0, i64 0, i32 1
%11 = call i64 @archive_mstring_get_utf8(i32 noundef %9, ptr noundef nonnull %10, ptr noundef nonnull %2) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load ptr, ptr %2, align 8, !tbaa !12
br label %21
15: ; preds = %7
%16 = load i64, ptr @errno, align 8, !tbaa !14
%17 = load i64, ptr @ENOMEM, align 8, !tbaa !14
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @__archive_errx(i32 noundef 1, ptr noundef nonnull @.str) #3
br label %21
21: ; preds = %15, %19, %1, %13
%22 = phi ptr [ %14, %13 ], [ null, %1 ], [ null, %19 ], [ null, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @archive_mstring_get_utf8(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @__archive_errx(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"archive_entry", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_hardlink_utf8.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_hardlink_utf8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AE_SET_HARDLINK = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"No memory\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @archive_entry_hardlink_utf8(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @AE_SET_HARDLINK, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %21, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = call i64 @archive_mstring_get_utf8(i32 noundef %9, ptr noundef nonnull %10, ptr noundef nonnull %2) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load ptr, ptr %2, align 8, !tbaa !13
br label %21
15: ; preds = %7
%16 = load i64, ptr @errno, align 8, !tbaa !15
%17 = load i64, ptr @ENOMEM, align 8, !tbaa !15
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @__archive_errx(i32 noundef 1, ptr noundef nonnull @.str) #3
br label %21
21: ; preds = %15, %19, %1, %13
%22 = phi ptr [ %14, %13 ], [ null, %1 ], [ null, %19 ], [ null, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @archive_mstring_get_utf8(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @__archive_errx(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"archive_entry", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_entry.c_archive_entry_hardlink_utf8 |
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv.h_ccv_margin.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv.h_ccv_margin.c"
target datalayout = "e-m:e-p270:32:32-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 @ccv_margin], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal { i64, i64 } @ccv_margin(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = zext i32 %1 to i64
%6 = shl nuw i64 %5, 32
%7 = zext i32 %0 to i64
%8 = or disjoint i64 %6, %7
%9 = insertvalue { i64, i64 } poison, i64 %8, 0
%10 = zext i32 %3 to i64
%11 = shl nuw i64 %10, 32
%12 = zext i32 %2 to i64
%13 = or disjoint i64 %11, %12
%14 = insertvalue { i64, i64 } %9, i64 %13, 1
ret { i64, i64 } %14
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/ccv/lib/extr_ccv.h_ccv_margin.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv.h_ccv_margin.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 @ccv_margin], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal [2 x i64] @ccv_margin(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = zext i32 %1 to i64
%6 = shl nuw i64 %5, 32
%7 = zext i32 %0 to i64
%8 = or disjoint i64 %6, %7
%9 = insertvalue [2 x i64] poison, i64 %8, 0
%10 = zext i32 %3 to i64
%11 = shl nuw i64 %10, 32
%12 = zext i32 %2 to i64
%13 = or disjoint i64 %11, %12
%14 = insertvalue [2 x i64] %9, i64 %13, 1
ret [2 x i64] %14
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| ccv_lib_extr_ccv.h_ccv_margin |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_orinoco_cs.c_orinoco_cs_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_orinoco_cs.c_orinoco_cs_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
%struct.TYPE_3__ = type { ptr, ptr }
%struct.orinoco_private = type { %struct.TYPE_4__, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @orinoco_cs_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @orinoco_cs_release(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = getelementptr inbounds %struct.orinoco_private, ptr %3, i64 0, i32 1
%9 = call i32 %7(ptr noundef nonnull %8, ptr noundef nonnull %2) #3
%10 = getelementptr inbounds %struct.orinoco_private, ptr %3, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !17
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4, !tbaa !17
%13 = load ptr, ptr %4, align 8, !tbaa !10
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = call i32 %14(ptr noundef nonnull %8, ptr noundef nonnull %2) #3
%16 = call i32 @pcmcia_disable_device(ptr noundef nonnull %0) #3
%17 = load i64, ptr %3, align 8, !tbaa !19
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %1
%20 = call i32 @ioport_unmap(i64 noundef %17) #3
br label %21
21: ; preds = %19, %1
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pcmcia_disable_device(ptr noundef) local_unnamed_addr #2
declare i32 @ioport_unmap(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pcmcia_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"orinoco_private", !12, i64 0, !14, i64 16, !14, i64 20}
!12 = !{!"TYPE_4__", !13, i64 0, !7, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 8}
!16 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
!17 = !{!11, !14, i64 20}
!18 = !{!16, !7, i64 0}
!19 = !{!11, !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_orinoco_cs.c_orinoco_cs_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_orinoco_cs.c_orinoco_cs_release.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 @orinoco_cs_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @orinoco_cs_release(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !16
%8 = getelementptr inbounds i8, ptr %3, i64 16
%9 = call i32 %7(ptr noundef nonnull %8, ptr noundef nonnull %2) #3
%10 = getelementptr inbounds i8, ptr %3, i64 20
%11 = load i32, ptr %10, align 4, !tbaa !18
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4, !tbaa !18
%13 = load ptr, ptr %4, align 8, !tbaa !11
%14 = load ptr, ptr %13, align 8, !tbaa !19
%15 = call i32 %14(ptr noundef nonnull %8, ptr noundef nonnull %2) #3
%16 = call i32 @pcmcia_disable_device(ptr noundef nonnull %0) #3
%17 = load i64, ptr %3, align 8, !tbaa !20
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %1
%20 = call i32 @ioport_unmap(i64 noundef %17) #3
br label %21
21: ; preds = %19, %1
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pcmcia_disable_device(ptr noundef) local_unnamed_addr #2
declare i32 @ioport_unmap(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pcmcia_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"orinoco_private", !13, i64 0, !15, i64 16, !15, i64 20}
!13 = !{!"TYPE_4__", !14, i64 0, !8, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 8}
!17 = !{!"TYPE_3__", !8, i64 0, !8, i64 8}
!18 = !{!12, !15, i64 20}
!19 = !{!17, !8, i64 0}
!20 = !{!12, !14, i64 0}
| fastsocket_kernel_drivers_net_wireless_orinoco_extr_orinoco_cs.c_orinoco_cs_release |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_usrreq.c_unp_copy_peercred.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_usrreq.c_unp_copy_peercred.c"
target datalayout = "e-m:e-p270:32:32-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.unpcb = type { i32, i32 }
@UNP_HAVEPC = dso_local local_unnamed_addr global i32 0, align 4
@UNP_WANTCRED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @unp_copy_peercred(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.unpcb, ptr %1, i64 0, i32 1
%6 = tail call i32 @cru2xt(ptr noundef %0, ptr noundef nonnull %5) #2
%7 = load i32, ptr @UNP_HAVEPC, align 4, !tbaa !5
%8 = load i32, ptr %1, align 4, !tbaa !9
%9 = or i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !9
%10 = getelementptr inbounds %struct.unpcb, ptr %2, i64 0, i32 1
%11 = getelementptr inbounds %struct.unpcb, ptr %3, i64 0, i32 1
%12 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef 4) #2
%13 = load i32, ptr @UNP_HAVEPC, align 4, !tbaa !5
%14 = load i32, ptr %2, align 4, !tbaa !9
%15 = or i32 %14, %13
store i32 %15, ptr %2, align 4, !tbaa !9
%16 = load i32, ptr %3, align 4, !tbaa !9
%17 = load i32, ptr @UNP_WANTCRED, align 4, !tbaa !5
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %4
%21 = load i32, ptr %1, align 4, !tbaa !9
%22 = or i32 %21, %17
store i32 %22, ptr %1, align 4, !tbaa !9
br label %23
23: ; preds = %20, %4
ret void
}
declare i32 @cru2xt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"unpcb", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_usrreq.c_unp_copy_peercred.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_usrreq.c_unp_copy_peercred.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNP_HAVEPC = common local_unnamed_addr global i32 0, align 4
@UNP_WANTCRED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @unp_copy_peercred(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = tail call i32 @cru2xt(ptr noundef %0, ptr noundef nonnull %5) #2
%7 = load i32, ptr @UNP_HAVEPC, align 4, !tbaa !6
%8 = load i32, ptr %1, align 4, !tbaa !10
%9 = or i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !10
%10 = getelementptr inbounds i8, ptr %2, i64 4
%11 = getelementptr inbounds i8, ptr %3, i64 4
%12 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef 4) #2
%13 = load i32, ptr @UNP_HAVEPC, align 4, !tbaa !6
%14 = load i32, ptr %2, align 4, !tbaa !10
%15 = or i32 %14, %13
store i32 %15, ptr %2, align 4, !tbaa !10
%16 = load i32, ptr %3, align 4, !tbaa !10
%17 = load i32, ptr @UNP_WANTCRED, align 4, !tbaa !6
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %4
%21 = load i32, ptr %1, align 4, !tbaa !10
%22 = or i32 %21, %17
store i32 %22, ptr %1, align 4, !tbaa !10
br label %23
23: ; preds = %20, %4
ret void
}
declare i32 @cru2xt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(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"}
!10 = !{!11, !7, i64 0}
!11 = !{!"unpcb", !7, i64 0, !7, i64 4}
| freebsd_sys_kern_extr_uipc_usrreq.c_unp_copy_peercred |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_notify_cac_buffer_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_notify_cac_buffer_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PPSMC_MSG_DramAddrHiVirtual = dso_local local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrLoVirtual = dso_local local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrHiPhysical = dso_local local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrLoPhysical = dso_local local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramBufferSize = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smu8_notify_cac_buffer_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @smu8_notify_cac_buffer_info(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @PPSMC_MSG_DramAddrHiVirtual, align 4, !tbaa !5
%8 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %7, i32 noundef %4) #2
%9 = load i32, ptr @PPSMC_MSG_DramAddrLoVirtual, align 4, !tbaa !5
%10 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %9, i32 noundef %3) #2
%11 = load i32, ptr @PPSMC_MSG_DramAddrHiPhysical, align 4, !tbaa !5
%12 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %11, i32 noundef %2) #2
%13 = load i32, ptr @PPSMC_MSG_DramAddrLoPhysical, align 4, !tbaa !5
%14 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %13, i32 noundef %1) #2
%15 = load i32, ptr @PPSMC_MSG_DramBufferSize, align 4, !tbaa !5
%16 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %15, i32 noundef %5) #2
ret i32 0
}
declare i32 @smum_send_msg_to_smc_with_parameter(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/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_notify_cac_buffer_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_notify_cac_buffer_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PPSMC_MSG_DramAddrHiVirtual = common local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrLoVirtual = common local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrHiPhysical = common local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramAddrLoPhysical = common local_unnamed_addr global i32 0, align 4
@PPSMC_MSG_DramBufferSize = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smu8_notify_cac_buffer_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @smu8_notify_cac_buffer_info(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @PPSMC_MSG_DramAddrHiVirtual, align 4, !tbaa !6
%8 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %7, i32 noundef %4) #2
%9 = load i32, ptr @PPSMC_MSG_DramAddrLoVirtual, align 4, !tbaa !6
%10 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %9, i32 noundef %3) #2
%11 = load i32, ptr @PPSMC_MSG_DramAddrHiPhysical, align 4, !tbaa !6
%12 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %11, i32 noundef %2) #2
%13 = load i32, ptr @PPSMC_MSG_DramAddrLoPhysical, align 4, !tbaa !6
%14 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %13, i32 noundef %1) #2
%15 = load i32, ptr @PPSMC_MSG_DramBufferSize, align 4, !tbaa !6
%16 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef %0, i32 noundef %15, i32 noundef %5) #2
ret i32 0
}
declare i32 @smum_send_msg_to_smc_with_parameter(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_gpu_drm_amd_powerplay_hwmgr_extr_smu8_hwmgr.c_smu8_notify_cac_buffer_info |
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_u32.c_u32_reoffload.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_u32.c_u32_reoffload.c"
target datalayout = "e-m:e-p270:32:32-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.tcf_proto = type { i64, ptr }
%struct.tc_u_hnode = type { i64, i32, i32, ptr, i32 }
%struct.tc_u_knode = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @u32_reoffload], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @u32_reoffload(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds %struct.tcf_proto, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call ptr @rtnl_dereference(i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %68, label %11
11: ; preds = %5
%12 = icmp eq i32 %1, 0
br label %13
13: ; preds = %11, %63
%14 = phi ptr [ %9, %11 ], [ %66, %63 ]
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr %0, align 8, !tbaa !16
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %63
18: ; preds = %13
br i1 %12, label %27, label %19
19: ; preds = %18
%20 = getelementptr inbounds %struct.tc_u_hnode, ptr %14, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !17
%22 = tail call i64 @tc_skip_hw(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = tail call i32 @u32_reoffload_hnode(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %68
27: ; preds = %24, %19, %18
%28 = getelementptr inbounds %struct.tc_u_hnode, ptr %14, i64 0, i32 1
%29 = getelementptr inbounds %struct.tc_u_hnode, ptr %14, i64 0, i32 3
br label %30
30: ; preds = %27, %51
%31 = phi i32 [ 0, %27 ], [ %52, %51 ]
%32 = load ptr, ptr %29, align 8, !tbaa !18
%33 = zext i32 %31 to i64
%34 = getelementptr inbounds i32, ptr %32, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !19
%36 = tail call ptr @rtnl_dereference(i32 noundef %35) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %51, label %38
38: ; preds = %30, %46
%39 = phi ptr [ %49, %46 ], [ %36, %30 ]
%40 = load i32, ptr %39, align 4, !tbaa !20
%41 = tail call i64 @tc_skip_hw(i32 noundef %40) #2
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = tail call i32 @u32_reoffload_knode(ptr noundef nonnull %0, ptr noundef nonnull %39, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %68
46: ; preds = %43, %38
%47 = getelementptr inbounds %struct.tc_u_knode, ptr %39, i64 0, i32 1
%48 = load i32, ptr %47, align 4, !tbaa !22
%49 = tail call ptr @rtnl_dereference(i32 noundef %48) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %38, !llvm.loop !23
51: ; preds = %46, %30
%52 = add i32 %31, 1
%53 = load i32, ptr %28, align 8, !tbaa !25
%54 = icmp ugt i32 %52, %53
br i1 %54, label %55, label %30, !llvm.loop !26
55: ; preds = %51
br i1 %12, label %56, label %63
56: ; preds = %55
%57 = getelementptr inbounds %struct.tc_u_hnode, ptr %14, i64 0, i32 2
%58 = load i32, ptr %57, align 4, !tbaa !17
%59 = tail call i64 @tc_skip_hw(i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = tail call i32 @u32_reoffload_hnode(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 0, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
br label %63
63: ; preds = %55, %56, %61, %13
%64 = getelementptr inbounds %struct.tc_u_hnode, ptr %14, i64 0, i32 4
%65 = load i32, ptr %64, align 8, !tbaa !27
%66 = tail call ptr @rtnl_dereference(i32 noundef %65) #2
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %13, !llvm.loop !28
68: ; preds = %24, %63, %43, %5
%69 = phi i32 [ 0, %5 ], [ %44, %43 ], [ %25, %24 ], [ 0, %63 ]
ret i32 %69
}
declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #1
declare i64 @tc_skip_hw(i32 noundef) local_unnamed_addr #1
declare i32 @u32_reoffload_hnode(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @u32_reoffload_knode(ptr noundef, 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)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"tcf_proto", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"tc_u_common", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"tc_u_hnode", !7, i64 0, !13, i64 8, !13, i64 12, !10, i64 16, !13, i64 24}
!16 = !{!6, !7, i64 0}
!17 = !{!15, !13, i64 12}
!18 = !{!15, !10, i64 16}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"tc_u_knode", !13, i64 0, !13, i64 4}
!22 = !{!21, !13, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!15, !13, i64 8}
!26 = distinct !{!26, !24}
!27 = !{!15, !13, i64 24}
!28 = distinct !{!28, !24}
| ; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_u32.c_u32_reoffload.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_u32.c_u32_reoffload.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 @u32_reoffload], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @u32_reoffload(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call ptr @rtnl_dereference(i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %68, label %11
11: ; preds = %5
%12 = icmp eq i32 %1, 0
br label %13
13: ; preds = %11, %63
%14 = phi ptr [ %9, %11 ], [ %66, %63 ]
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = load i64, ptr %0, align 8, !tbaa !17
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %63
18: ; preds = %13
br i1 %12, label %27, label %19
19: ; preds = %18
%20 = getelementptr inbounds i8, ptr %14, i64 12
%21 = load i32, ptr %20, align 4, !tbaa !18
%22 = tail call i64 @tc_skip_hw(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = tail call i32 @u32_reoffload_hnode(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %68
27: ; preds = %24, %19, %18
%28 = getelementptr inbounds i8, ptr %14, i64 8
%29 = getelementptr inbounds i8, ptr %14, i64 16
br label %30
30: ; preds = %27, %51
%31 = phi i32 [ 0, %27 ], [ %52, %51 ]
%32 = load ptr, ptr %29, align 8, !tbaa !19
%33 = zext i32 %31 to i64
%34 = getelementptr inbounds i32, ptr %32, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !20
%36 = tail call ptr @rtnl_dereference(i32 noundef %35) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %51, label %38
38: ; preds = %30, %46
%39 = phi ptr [ %49, %46 ], [ %36, %30 ]
%40 = load i32, ptr %39, align 4, !tbaa !21
%41 = tail call i64 @tc_skip_hw(i32 noundef %40) #2
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = tail call i32 @u32_reoffload_knode(ptr noundef nonnull %0, ptr noundef nonnull %39, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %68
46: ; preds = %43, %38
%47 = getelementptr inbounds i8, ptr %39, i64 4
%48 = load i32, ptr %47, align 4, !tbaa !23
%49 = tail call ptr @rtnl_dereference(i32 noundef %48) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %38, !llvm.loop !24
51: ; preds = %46, %30
%52 = add i32 %31, 1
%53 = load i32, ptr %28, align 8, !tbaa !26
%54 = icmp ugt i32 %52, %53
br i1 %54, label %55, label %30, !llvm.loop !27
55: ; preds = %51
br i1 %12, label %56, label %63
56: ; preds = %55
%57 = getelementptr inbounds i8, ptr %14, i64 12
%58 = load i32, ptr %57, align 4, !tbaa !18
%59 = tail call i64 @tc_skip_hw(i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = tail call i32 @u32_reoffload_hnode(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 0, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
br label %63
63: ; preds = %55, %56, %61, %13
%64 = getelementptr inbounds i8, ptr %14, i64 24
%65 = load i32, ptr %64, align 8, !tbaa !28
%66 = tail call ptr @rtnl_dereference(i32 noundef %65) #2
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %13, !llvm.loop !29
68: ; preds = %24, %63, %43, %5
%69 = phi i32 [ 0, %5 ], [ %44, %43 ], [ %25, %24 ], [ 0, %63 ]
ret i32 %69
}
declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #1
declare i64 @tc_skip_hw(i32 noundef) local_unnamed_addr #1
declare i32 @u32_reoffload_hnode(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @u32_reoffload_knode(ptr noundef, 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)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"tcf_proto", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"tc_u_common", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"tc_u_hnode", !8, i64 0, !14, i64 8, !14, i64 12, !11, i64 16, !14, i64 24}
!17 = !{!7, !8, i64 0}
!18 = !{!16, !14, i64 12}
!19 = !{!16, !11, i64 16}
!20 = !{!14, !14, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"tc_u_knode", !14, i64 0, !14, i64 4}
!23 = !{!22, !14, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!16, !14, i64 8}
!27 = distinct !{!27, !25}
!28 = !{!16, !14, i64 24}
!29 = distinct !{!29, !25}
| linux_net_sched_extr_cls_u32.c_u32_reoffload |
; ModuleID = 'AnghaBench/linux/drivers/clk/at91/extr_clk-generated.c_clk_generated_is_enabled.c'
source_filename = "AnghaBench/linux/drivers/clk/at91/extr_clk-generated.c_clk_generated_is_enabled.c"
target datalayout = "e-m:e-p270:32:32-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.clk_generated = type { i32, i32, ptr, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@AT91_PMC_PCR_GCKEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_generated_is_enabled], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @clk_generated_is_enabled(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @to_clk_generated(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = getelementptr inbounds %struct.clk_generated, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @spin_lock_irqsave(i32 noundef %5, i64 noundef undef) #3
%7 = getelementptr inbounds %struct.clk_generated, ptr %3, i64 0, i32 3
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.clk_generated, ptr %3, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = load i32, ptr %3, align 8, !tbaa !15
%14 = load i32, ptr %10, align 4, !tbaa !16
%15 = and i32 %14, %13
%16 = tail call i32 @regmap_write(i32 noundef %8, i32 noundef %12, i32 noundef %15) #3
%17 = load i32, ptr %7, align 8, !tbaa !11
%18 = load ptr, ptr %9, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = call i32 @regmap_read(i32 noundef %17, i32 noundef %20, ptr noundef nonnull %2) #3
%22 = load i32, ptr %4, align 4, !tbaa !5
%23 = call i32 @spin_unlock_irqrestore(i32 noundef %22, i64 noundef undef) #3
%24 = load i32, ptr %2, align 4, !tbaa !17
%25 = load i32, ptr @AT91_PMC_PCR_GCKEN, align 4, !tbaa !17
%26 = and i32 %25, %24
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_clk_generated(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"clk_generated", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 4}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!15 = !{!6, !7, i64 0}
!16 = !{!14, !7, i64 0}
!17 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/at91/extr_clk-generated.c_clk_generated_is_enabled.c'
source_filename = "AnghaBench/linux/drivers/clk/at91/extr_clk-generated.c_clk_generated_is_enabled.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AT91_PMC_PCR_GCKEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clk_generated_is_enabled], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @clk_generated_is_enabled(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @to_clk_generated(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @spin_lock_irqsave(i32 noundef %5, i64 noundef undef) #3
%7 = getelementptr inbounds i8, ptr %3, i64 16
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %3, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %10, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr %3, align 8, !tbaa !16
%14 = load i32, ptr %10, align 4, !tbaa !17
%15 = and i32 %14, %13
%16 = tail call i32 @regmap_write(i32 noundef %8, i32 noundef %12, i32 noundef %15) #3
%17 = load i32, ptr %7, align 8, !tbaa !12
%18 = load ptr, ptr %9, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = call i32 @regmap_read(i32 noundef %17, i32 noundef %20, ptr noundef nonnull %2) #3
%22 = load i32, ptr %4, align 4, !tbaa !6
%23 = call i32 @spin_unlock_irqrestore(i32 noundef %22, i64 noundef undef) #3
%24 = load i32, ptr %2, align 4, !tbaa !18
%25 = load i32, ptr @AT91_PMC_PCR_GCKEN, align 4, !tbaa !18
%26 = and i32 %25, %24
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_clk_generated(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"clk_generated", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 4}
!15 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!16 = !{!7, !8, i64 0}
!17 = !{!15, !8, i64 0}
!18 = !{!8, !8, i64 0}
| linux_drivers_clk_at91_extr_clk-generated.c_clk_generated_is_enabled |
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_smsc37b787_wdt.c_open_io_config.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_smsc37b787_wdt.c_open_io_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IOPORT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @open_io_config], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @open_io_config() #0 {
%1 = load i32, ptr @IOPORT, align 4, !tbaa !5
%2 = tail call i32 @outb(i32 noundef 85, i32 noundef %1) #2
%3 = tail call i32 @mdelay(i32 noundef 1) #2
%4 = load i32, ptr @IOPORT, align 4, !tbaa !5
%5 = tail call i32 @outb(i32 noundef 85, i32 noundef %4) #2
ret void
}
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mdelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_smsc37b787_wdt.c_open_io_config.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_smsc37b787_wdt.c_open_io_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IOPORT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @open_io_config], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @open_io_config() #0 {
%1 = load i32, ptr @IOPORT, align 4, !tbaa !6
%2 = tail call i32 @outb(i32 noundef 85, i32 noundef %1) #2
%3 = tail call i32 @mdelay(i32 noundef 1) #2
%4 = load i32, ptr @IOPORT, align 4, !tbaa !6
%5 = tail call i32 @outb(i32 noundef 85, i32 noundef %4) #2
ret void
}
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mdelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_watchdog_extr_smsc37b787_wdt.c_open_io_config |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_ieee.c_flush.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_ieee.c_flush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@output_ptr = dso_local local_unnamed_addr global i64 0, align 8
@output_ptr_start = dso_local local_unnamed_addr global i64 0, align 8
@output_bfd = dso_local local_unnamed_addr global i32 0, align 4
@output_buffer = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @flush() #0 {
%1 = load i64, ptr @output_ptr, align 8, !tbaa !5
%2 = load i64, ptr @output_ptr_start, align 8, !tbaa !5
%3 = sub nsw i64 %1, %2
%4 = inttoptr i64 %2 to ptr
%5 = load i32, ptr @output_bfd, align 4, !tbaa !9
%6 = tail call i64 @bfd_bwrite(ptr noundef %4, i64 noundef %3, i32 noundef %5) #3
%7 = icmp eq i64 %6, %3
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = tail call i32 (...) @abort() #4
unreachable
10: ; preds = %0
%11 = load i64, ptr @output_ptr_start, align 8, !tbaa !5
store i64 %11, ptr @output_ptr, align 8, !tbaa !5
%12 = load i32, ptr @output_buffer, align 4, !tbaa !9
%13 = add nsw i32 %12, 1
store i32 %13, ptr @output_buffer, align 4, !tbaa !9
ret void
}
declare i64 @bfd_bwrite(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_ieee.c_flush.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_ieee.c_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@output_ptr = common local_unnamed_addr global i64 0, align 8
@output_ptr_start = common local_unnamed_addr global i64 0, align 8
@output_bfd = common local_unnamed_addr global i32 0, align 4
@output_buffer = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @flush() #0 {
%1 = load i64, ptr @output_ptr, align 8, !tbaa !6
%2 = load i64, ptr @output_ptr_start, align 8, !tbaa !6
%3 = sub nsw i64 %1, %2
%4 = inttoptr i64 %2 to ptr
%5 = load i32, ptr @output_bfd, align 4, !tbaa !10
%6 = tail call i64 @bfd_bwrite(ptr noundef %4, i64 noundef %3, i32 noundef %5) #3
%7 = icmp eq i64 %6, %3
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = tail call i32 @abort() #4
unreachable
10: ; preds = %0
%11 = load i64, ptr @output_ptr_start, align 8, !tbaa !6
store i64 %11, ptr @output_ptr, align 8, !tbaa !6
%12 = load i32, ptr @output_buffer, align 4, !tbaa !10
%13 = add nsw i32 %12, 1
store i32 %13, ptr @output_buffer, align 4, !tbaa !10
ret void
}
declare i64 @bfd_bwrite(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) 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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_binutils_bfd_extr_ieee.c_flush |
; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_spk_ttyio.c_spk_ttyio_in_nowait.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_spk_ttyio.c_spk_ttyio_in_nowait.c"
target datalayout = "e-m:e-p270:32:32-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 @spk_ttyio_in_nowait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal zeroext i8 @spk_ttyio_in_nowait() #0 {
%1 = tail call i32 @ttyio_in(i32 noundef 0) #2
%2 = icmp eq i32 %1, 255
%3 = trunc i32 %1 to i8
%4 = select i1 %2, i8 0, i8 %3
ret i8 %4
}
declare i32 @ttyio_in(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/staging/speakup/extr_spk_ttyio.c_spk_ttyio_in_nowait.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_spk_ttyio.c_spk_ttyio_in_nowait.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 @spk_ttyio_in_nowait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal zeroext i8 @spk_ttyio_in_nowait() #0 {
%1 = tail call i32 @ttyio_in(i32 noundef 0) #2
%2 = icmp eq i32 %1, 255
%3 = trunc i32 %1 to i8
%4 = select i1 %2, i8 0, i8 %3
ret i8 %4
}
declare i32 @ttyio_in(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_staging_speakup_extr_spk_ttyio.c_spk_ttyio_in_nowait |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/extr_ftl.c_erase_xfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/extr_ftl.c_erase_xfer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__, ptr }
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_6__ = type { i32 }
%struct.xfer_info_t = type { i32, i32, i32 }
%struct.erase_info = type { i32, i64, i32, i32, ptr }
@.str = private unnamed_addr constant [35 x i8] c"ftl_cs: erasing xfer unit at 0x%x\0A\00", align 1
@XFER_ERASING = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ftl_erase_callback = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @erase_xfer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @erase_xfer(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.xfer_info_t, ptr %4, i64 %1
%6 = getelementptr inbounds %struct.xfer_info_t, ptr %4, i64 %1, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @DEBUG(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %7) #2
%9 = load i32, ptr @XFER_ERASING, align 4, !tbaa !15
%10 = getelementptr inbounds %struct.xfer_info_t, ptr %4, i64 %1, i32 2
store i32 %9, ptr %10, align 4, !tbaa !16
%11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15
%12 = tail call ptr @kmalloc(i32 noundef 32, i32 noundef %11) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%16 = sub nsw i32 0, %15
br label %37
17: ; preds = %2
%18 = load ptr, ptr %0, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.erase_info, ptr %12, i64 0, i32 4
store ptr %18, ptr %19, align 8, !tbaa !18
%20 = load i32, ptr @ftl_erase_callback, align 4, !tbaa !15
%21 = getelementptr inbounds %struct.erase_info, ptr %12, i64 0, i32 3
store i32 %20, ptr %21, align 4, !tbaa !21
%22 = load i32, ptr %6, align 4, !tbaa !13
%23 = getelementptr inbounds %struct.erase_info, ptr %12, i64 0, i32 2
store i32 %22, ptr %23, align 8, !tbaa !22
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !23
%26 = shl nuw i32 1, %25
store i32 %26, ptr %12, align 8, !tbaa !24
%27 = ptrtoint ptr %0 to i64
%28 = getelementptr inbounds %struct.erase_info, ptr %12, i64 0, i32 1
store i64 %27, ptr %28, align 8, !tbaa !25
%29 = load ptr, ptr %18, align 8, !tbaa !26
%30 = tail call i32 %29(ptr noundef nonnull %18, ptr noundef nonnull %12) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %17
%33 = load i32, ptr %5, align 4, !tbaa !28
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4, !tbaa !28
br label %37
35: ; preds = %17
%36 = tail call i32 @kfree(ptr noundef nonnull %12) #2
br label %37
37: ; preds = %32, %35, %14
%38 = phi i32 [ %16, %14 ], [ %30, %35 ], [ 0, %32 ]
ret i32 %38
}
declare i32 @DEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 16}
!6 = !{!"TYPE_8__", !7, i64 0, !11, i64 8, !8, i64 16}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"xfer_info_t", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!14, !12, i64 8}
!17 = !{!6, !8, i64 0}
!18 = !{!19, !8, i64 24}
!19 = !{!"erase_info", !12, i64 0, !20, i64 8, !12, i64 16, !12, i64 20, !8, i64 24}
!20 = !{!"long", !9, i64 0}
!21 = !{!19, !12, i64 20}
!22 = !{!19, !12, i64 16}
!23 = !{!6, !12, i64 8}
!24 = !{!19, !12, i64 0}
!25 = !{!19, !20, i64 8}
!26 = !{!27, !8, i64 0}
!27 = !{!"TYPE_9__", !8, i64 0}
!28 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/extr_ftl.c_erase_xfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/extr_ftl.c_erase_xfer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.xfer_info_t = type { i32, i32, i32 }
@.str = private unnamed_addr constant [35 x i8] c"ftl_cs: erasing xfer unit at 0x%x\0A\00", align 1
@XFER_ERASING = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ftl_erase_callback = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @erase_xfer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @erase_xfer(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds %struct.xfer_info_t, ptr %4, i64 %1
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @DEBUG(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %7) #2
%9 = load i32, ptr @XFER_ERASING, align 4, !tbaa !16
%10 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %9, ptr %10, align 4, !tbaa !17
%11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%12 = tail call ptr @kmalloc(i32 noundef 32, i32 noundef %11) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !16
%16 = sub nsw i32 0, %15
br label %37
17: ; preds = %2
%18 = load ptr, ptr %0, align 8, !tbaa !18
%19 = getelementptr inbounds i8, ptr %12, i64 24
store ptr %18, ptr %19, align 8, !tbaa !19
%20 = load i32, ptr @ftl_erase_callback, align 4, !tbaa !16
%21 = getelementptr inbounds i8, ptr %12, i64 20
store i32 %20, ptr %21, align 4, !tbaa !22
%22 = load i32, ptr %6, align 4, !tbaa !14
%23 = getelementptr inbounds i8, ptr %12, i64 16
store i32 %22, ptr %23, align 8, !tbaa !23
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !24
%26 = shl nuw i32 1, %25
store i32 %26, ptr %12, align 8, !tbaa !25
%27 = ptrtoint ptr %0 to i64
%28 = getelementptr inbounds i8, ptr %12, i64 8
store i64 %27, ptr %28, align 8, !tbaa !26
%29 = load ptr, ptr %18, align 8, !tbaa !27
%30 = tail call i32 %29(ptr noundef nonnull %18, ptr noundef nonnull %12) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %17
%33 = load i32, ptr %5, align 4, !tbaa !29
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4, !tbaa !29
br label %37
35: ; preds = %17
%36 = tail call i32 @kfree(ptr noundef nonnull %12) #2
br label %37
37: ; preds = %32, %35, %14
%38 = phi i32 [ %16, %14 ], [ %30, %35 ], [ 0, %32 ]
ret i32 %38
}
declare i32 @DEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 16}
!7 = !{!"TYPE_8__", !8, i64 0, !12, i64 8, !9, i64 16}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"xfer_info_t", !13, i64 0, !13, i64 4, !13, i64 8}
!16 = !{!13, !13, i64 0}
!17 = !{!15, !13, i64 8}
!18 = !{!7, !9, i64 0}
!19 = !{!20, !9, i64 24}
!20 = !{!"erase_info", !13, i64 0, !21, i64 8, !13, i64 16, !13, i64 20, !9, i64 24}
!21 = !{!"long", !10, i64 0}
!22 = !{!20, !13, i64 20}
!23 = !{!20, !13, i64 16}
!24 = !{!7, !13, i64 8}
!25 = !{!20, !13, i64 0}
!26 = !{!20, !21, i64 8}
!27 = !{!28, !9, i64 0}
!28 = !{!"TYPE_9__", !9, i64 0}
!29 = !{!15, !13, i64 0}
| fastsocket_kernel_drivers_mtd_extr_ftl.c_erase_xfer |
; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsncoll.c__mbsncoll.c'
source_filename = "AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsncoll.c__mbsncoll.c"
target datalayout = "e-m:e-p270:32:32-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 @_mbsncoll(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %44, label %5
5: ; preds = %3, %38
%6 = phi ptr [ %41, %38 ], [ %1, %3 ]
%7 = phi ptr [ %40, %38 ], [ %0, %3 ]
%8 = phi i64 [ %42, %38 ], [ %2, %3 ]
%9 = load i8, ptr %7, align 1, !tbaa !5
%10 = icmp eq i8 %9, 0
br i1 %10, label %44, label %11
11: ; preds = %5
%12 = tail call i32 @_ismbblead(i8 noundef zeroext %9) #2
%13 = load i8, ptr %6, align 1, !tbaa !5
%14 = tail call i32 @_ismbblead(i8 noundef zeroext %13) #2
%15 = icmp ne i32 %12, 0
%16 = icmp ne i32 %14, 0
%17 = select i1 %15, i1 true, i1 %16
br i1 %17, label %24, label %18
18: ; preds = %11
%19 = load i8, ptr %7, align 1, !tbaa !5
%20 = load i8, ptr %6, align 1, !tbaa !5
%21 = icmp eq i8 %19, %20
br i1 %21, label %38, label %22
22: ; preds = %18
%23 = tail call i32 @colldif(i8 noundef zeroext %19, i8 noundef zeroext %20) #2
br label %44
24: ; preds = %11
%25 = select i1 %15, i1 %16, i1 false
br i1 %25, label %26, label %34
26: ; preds = %24
%27 = load i16, ptr %7, align 2, !tbaa !8
%28 = load i16, ptr %6, align 2, !tbaa !8
%29 = icmp eq i16 %27, %28
br i1 %29, label %38, label %30
30: ; preds = %26
%31 = trunc i16 %27 to i8
%32 = trunc i16 %28 to i8
%33 = tail call i32 @colldif(i8 noundef zeroext %31, i8 noundef zeroext %32) #2
br label %44
34: ; preds = %24
%35 = load i8, ptr %7, align 1, !tbaa !5
%36 = load i8, ptr %6, align 1, !tbaa !5
%37 = tail call i32 @colldif(i8 noundef zeroext %35, i8 noundef zeroext %36) #2
br label %44
38: ; preds = %26, %18
%39 = phi i64 [ 1, %18 ], [ 2, %26 ]
%40 = getelementptr inbounds i8, ptr %7, i64 %39
%41 = getelementptr inbounds i8, ptr %6, i64 %39
%42 = add i64 %8, -1
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %5, !llvm.loop !10
44: ; preds = %38, %5, %3, %34, %30, %22
%45 = phi i32 [ %33, %30 ], [ %37, %34 ], [ %23, %22 ], [ 0, %3 ], [ 0, %5 ], [ 0, %38 ]
ret i32 %45
}
declare i32 @_ismbblead(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @colldif(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"short", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsncoll.c__mbsncoll.c'
source_filename = "AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsncoll.c__mbsncoll.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 @_mbsncoll(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %44, label %5
5: ; preds = %3, %38
%6 = phi ptr [ %41, %38 ], [ %1, %3 ]
%7 = phi ptr [ %40, %38 ], [ %0, %3 ]
%8 = phi i64 [ %42, %38 ], [ %2, %3 ]
%9 = load i8, ptr %7, align 1, !tbaa !6
%10 = icmp eq i8 %9, 0
br i1 %10, label %44, label %11
11: ; preds = %5
%12 = tail call i32 @_ismbblead(i8 noundef zeroext %9) #2
%13 = load i8, ptr %6, align 1, !tbaa !6
%14 = tail call i32 @_ismbblead(i8 noundef zeroext %13) #2
%15 = icmp ne i32 %12, 0
%16 = icmp ne i32 %14, 0
%17 = select i1 %15, i1 true, i1 %16
br i1 %17, label %24, label %18
18: ; preds = %11
%19 = load i8, ptr %7, align 1, !tbaa !6
%20 = load i8, ptr %6, align 1, !tbaa !6
%21 = icmp eq i8 %19, %20
br i1 %21, label %38, label %22
22: ; preds = %18
%23 = tail call i32 @colldif(i8 noundef zeroext %19, i8 noundef zeroext %20) #2
br label %44
24: ; preds = %11
%25 = select i1 %15, i1 %16, i1 false
br i1 %25, label %26, label %34
26: ; preds = %24
%27 = load i16, ptr %7, align 2, !tbaa !9
%28 = load i16, ptr %6, align 2, !tbaa !9
%29 = icmp eq i16 %27, %28
br i1 %29, label %38, label %30
30: ; preds = %26
%31 = trunc i16 %27 to i8
%32 = trunc i16 %28 to i8
%33 = tail call i32 @colldif(i8 noundef zeroext %31, i8 noundef zeroext %32) #2
br label %44
34: ; preds = %24
%35 = load i8, ptr %7, align 1, !tbaa !6
%36 = load i8, ptr %6, align 1, !tbaa !6
%37 = tail call i32 @colldif(i8 noundef zeroext %35, i8 noundef zeroext %36) #2
br label %44
38: ; preds = %26, %18
%39 = phi i64 [ 1, %18 ], [ 2, %26 ]
%40 = getelementptr inbounds i8, ptr %7, i64 %39
%41 = getelementptr inbounds i8, ptr %6, i64 %39
%42 = add i64 %8, -1
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %5, !llvm.loop !11
44: ; preds = %38, %5, %3, %34, %30, %22
%45 = phi i32 [ %33, %30 ], [ %37, %34 ], [ %23, %22 ], [ 0, %3 ], [ 0, %5 ], [ 0, %38 ]
ret i32 %45
}
declare i32 @_ismbblead(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @colldif(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| reactos_sdk_lib_crt_mbstring_extr_mbsncoll.c__mbsncoll |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_cal_perical_mphase_schedule.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_cal_perical_mphase_schedule.c"
target datalayout = "e-m:e-p270:32:32-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.brcms_phy = type { i64, i32, i32 }
@PHY_PERICAL_MPHASE = dso_local local_unnamed_addr global i64 0, align 8
@PHY_PERICAL_MANUAL = dso_local local_unnamed_addr global i64 0, align 8
@MPHASE_CAL_STATE_INIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wlc_phy_cal_perical_mphase_schedule], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wlc_phy_cal_perical_mphase_schedule(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @PHY_PERICAL_MPHASE, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = load i64, ptr @PHY_PERICAL_MANUAL, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = tail call i32 @wlapi_del_timer(i32 noundef %11) #2
%13 = load i32, ptr @MPHASE_CAL_STATE_INIT, align 4, !tbaa !13
%14 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 2
store i32 %13, ptr %14, align 4, !tbaa !14
%15 = load i32, ptr %10, align 8, !tbaa !12
%16 = tail call i32 @wlapi_add_timer(i32 noundef %15, i32 noundef %1, i32 noundef 0) #2
br label %17
17: ; preds = %2, %9
ret void
}
declare i32 @wlapi_del_timer(i32 noundef) local_unnamed_addr #1
declare i32 @wlapi_add_timer(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 = !{!"brcms_phy", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_cal_perical_mphase_schedule.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_cal_perical_mphase_schedule.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PHY_PERICAL_MPHASE = common local_unnamed_addr global i64 0, align 8
@PHY_PERICAL_MANUAL = common local_unnamed_addr global i64 0, align 8
@MPHASE_CAL_STATE_INIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wlc_phy_cal_perical_mphase_schedule], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wlc_phy_cal_perical_mphase_schedule(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @PHY_PERICAL_MPHASE, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
%6 = load i64, ptr @PHY_PERICAL_MANUAL, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @wlapi_del_timer(i32 noundef %11) #2
%13 = load i32, ptr @MPHASE_CAL_STATE_INIT, align 4, !tbaa !14
%14 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %13, ptr %14, align 4, !tbaa !15
%15 = load i32, ptr %10, align 8, !tbaa !13
%16 = tail call i32 @wlapi_add_timer(i32 noundef %15, i32 noundef %1, i32 noundef 0) #2
br label %17
17: ; preds = %2, %9
ret void
}
declare i32 @wlapi_del_timer(i32 noundef) local_unnamed_addr #1
declare i32 @wlapi_add_timer(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 = !{!"brcms_phy", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 12}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_phy_extr_phy_cmn.c_wlc_phy_cal_perical_mphase_schedule |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/um/os-Linux/extr_process.c_os_getpid.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/um/os-Linux/extr_process.c_os_getpid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__NR_getpid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @os_getpid() local_unnamed_addr #0 {
%1 = load i32, ptr @__NR_getpid, align 4, !tbaa !5
%2 = tail call i32 @syscall(i32 noundef %1) #2
ret i32 %2
}
declare i32 @syscall(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/um/os-Linux/extr_process.c_os_getpid.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/um/os-Linux/extr_process.c_os_getpid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__NR_getpid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @os_getpid() local_unnamed_addr #0 {
%1 = load i32, ptr @__NR_getpid, align 4, !tbaa !6
%2 = tail call i32 @syscall(i32 noundef %1) #2
ret i32 %2
}
declare i32 @syscall(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_um_os-Linux_extr_process.c_os_getpid |
; ModuleID = 'AnghaBench/mongoose/extr_mongoose.c_mg_send_mqtt_handshake_opt.c'
source_filename = "AnghaBench/mongoose/extr_mongoose.c_mg_send_mqtt_handshake_opt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mg_send_mqtt_handshake_opts = type { ptr, i32, ptr, ptr, ptr, i32 }
@MG_MQTT_HAS_USER_NAME = dso_local local_unnamed_addr global i32 0, align 4
@MG_MQTT_HAS_PASSWORD = dso_local local_unnamed_addr global i32 0, align 4
@MG_MQTT_HAS_WILL = dso_local local_unnamed_addr global i32 0, align 4
@MG_MQTT_CMD_CONNECT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"\00\04MQTT\04\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @mg_send_mqtt_handshake_opt(ptr noundef %0, ptr noundef %1, ptr noundef byval(%struct.mg_send_mqtt_handshake_opts) align 8 %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = icmp eq ptr %1, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @strlen(ptr noundef nonnull %1) #3
br label %10
10: ; preds = %8, %3
%11 = phi i32 [ %9, %8 ], [ 0, %3 ]
%12 = add nsw i32 %11, 12
%13 = sext i32 %12 to i64
%14 = load ptr, ptr %2, align 8, !tbaa !10
%15 = icmp eq ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %10
%17 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !14
%18 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !15
%20 = or i32 %19, %17
store i32 %20, ptr %18, align 8, !tbaa !15
br label %21
21: ; preds = %16, %10
%22 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = icmp eq ptr %23, null
br i1 %24, label %30, label %25
25: ; preds = %21
%26 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !14
%27 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 1
%28 = load i32, ptr %27, align 8, !tbaa !15
%29 = or i32 %28, %26
store i32 %29, ptr %27, align 8, !tbaa !15
br label %30
30: ; preds = %25, %21
%31 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 3
%32 = load ptr, ptr %31, align 8, !tbaa !17
%33 = icmp ne ptr %32, null
%34 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 4
%35 = load ptr, ptr %34, align 8
%36 = icmp ne ptr %35, null
%37 = select i1 %33, i1 %36, i1 false
br i1 %37, label %38, label %45
38: ; preds = %30
%39 = tail call i32 @strlen(ptr noundef nonnull %32) #3
%40 = tail call i32 @strlen(ptr noundef nonnull %35) #3
%41 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !14
%42 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 1
%43 = load i32, ptr %42, align 8, !tbaa !15
%44 = or i32 %43, %41
store i32 %44, ptr %42, align 8, !tbaa !15
br label %45
45: ; preds = %38, %30
%46 = phi i32 [ %39, %38 ], [ 0, %30 ]
%47 = phi i32 [ %40, %38 ], [ 0, %30 ]
%48 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 5
%49 = load i32, ptr %48, align 8, !tbaa !18
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %45
store i32 60, ptr %48, align 8, !tbaa !18
br label %52
52: ; preds = %51, %45
%53 = getelementptr inbounds %struct.mg_send_mqtt_handshake_opts, ptr %2, i64 0, i32 1
%54 = load i32, ptr %53, align 8, !tbaa !15
%55 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !14
%56 = and i32 %55, %54
%57 = icmp eq i32 %56, 0
%58 = add nsw i32 %46, 4
%59 = add nsw i32 %58, %47
%60 = select i1 %57, i32 0, i32 %59
%61 = sext i32 %60 to i64
%62 = add nsw i64 %61, %13
%63 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !14
%64 = and i32 %63, %54
%65 = icmp eq i32 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %52
%67 = tail call i32 @strlen(ptr noundef %14) #3
%68 = add nsw i32 %67, 2
%69 = sext i32 %68 to i64
%70 = add nsw i64 %62, %69
br label %71
71: ; preds = %66, %52
%72 = phi i32 [ %67, %66 ], [ 0, %52 ]
%73 = phi i64 [ %70, %66 ], [ %62, %52 ]
%74 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !14
%75 = and i32 %74, %54
%76 = icmp eq i32 %75, 0
br i1 %76, label %82, label %77
77: ; preds = %71
%78 = tail call i32 @strlen(ptr noundef %23) #3
%79 = add nsw i32 %78, 2
%80 = sext i32 %79 to i64
%81 = add nsw i64 %73, %80
br label %82
82: ; preds = %77, %71
%83 = phi i32 [ %78, %77 ], [ 0, %71 ]
%84 = phi i64 [ %81, %77 ], [ %73, %71 ]
%85 = load i32, ptr @MG_MQTT_CMD_CONNECT, align 4, !tbaa !14
%86 = tail call i32 @mg_send_mqtt_header(ptr noundef nonnull %0, i32 noundef %85, i32 noundef 0, i64 noundef %84) #3
%87 = tail call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 7) #3
%88 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %53, i32 noundef 1) #3
%89 = load i32, ptr %48, align 8, !tbaa !18
%90 = call i32 @htons(i32 noundef %89) #3
store i32 %90, ptr %4, align 4, !tbaa !14
%91 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%92 = call i32 @htons(i32 noundef %11) #3
store i32 %92, ptr %4, align 4, !tbaa !14
%93 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%94 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %11) #3
%95 = load i32, ptr %53, align 8, !tbaa !15
%96 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !14
%97 = and i32 %96, %95
%98 = icmp eq i32 %97, 0
br i1 %98, label %109, label %99
99: ; preds = %82
%100 = call i32 @htons(i32 noundef %46) #3
store i32 %100, ptr %4, align 4, !tbaa !14
%101 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%102 = load ptr, ptr %31, align 8, !tbaa !17
%103 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %102, i32 noundef %46) #3
%104 = call i32 @htons(i32 noundef %47) #3
store i32 %104, ptr %4, align 4, !tbaa !14
%105 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%106 = load ptr, ptr %34, align 8, !tbaa !19
%107 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %106, i32 noundef %47) #3
%108 = load i32, ptr %53, align 8, !tbaa !15
br label %109
109: ; preds = %99, %82
%110 = phi i32 [ %108, %99 ], [ %95, %82 ]
%111 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !14
%112 = and i32 %111, %110
%113 = icmp eq i32 %112, 0
br i1 %113, label %120, label %114
114: ; preds = %109
%115 = call i32 @htons(i32 noundef %72) #3
store i32 %115, ptr %4, align 4, !tbaa !14
%116 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%117 = load ptr, ptr %2, align 8, !tbaa !10
%118 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %117, i32 noundef %72) #3
%119 = load i32, ptr %53, align 8, !tbaa !15
br label %120
120: ; preds = %114, %109
%121 = phi i32 [ %119, %114 ], [ %110, %109 ]
%122 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !14
%123 = and i32 %122, %121
%124 = icmp eq i32 %123, 0
br i1 %124, label %130, label %125
125: ; preds = %120
%126 = call i32 @htons(i32 noundef %83) #3
store i32 %126, ptr %4, align 4, !tbaa !14
%127 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%128 = load ptr, ptr %22, align 8, !tbaa !16
%129 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %128, i32 noundef %83) #3
br label %130
130: ; preds = %125, %120
%131 = icmp eq i64 %5, 0
br i1 %131, label %134, label %132
132: ; preds = %130
%133 = load i32, ptr %48, align 8, !tbaa !18
store i32 %133, ptr %6, align 4, !tbaa !20
br label %134
134: ; preds = %132, %130
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @mg_send_mqtt_header(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mg_send(ptr noundef, ...) local_unnamed_addr #2
declare i32 @htons(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 = !{!"mg_connection", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"mg_send_mqtt_handshake_opts", !12, i64 0, !13, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !13, i64 8}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !12, i64 24}
!18 = !{!11, !13, i64 40}
!19 = !{!11, !12, i64 32}
!20 = !{!21, !13, i64 0}
!21 = !{!"mg_mqtt_proto_data", !13, i64 0}
| ; ModuleID = 'AnghaBench/mongoose/extr_mongoose.c_mg_send_mqtt_handshake_opt.c'
source_filename = "AnghaBench/mongoose/extr_mongoose.c_mg_send_mqtt_handshake_opt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MG_MQTT_HAS_USER_NAME = common local_unnamed_addr global i32 0, align 4
@MG_MQTT_HAS_PASSWORD = common local_unnamed_addr global i32 0, align 4
@MG_MQTT_HAS_WILL = common local_unnamed_addr global i32 0, align 4
@MG_MQTT_CMD_CONNECT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"\00\04MQTT\04\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @mg_send_mqtt_handshake_opt(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = icmp eq ptr %1, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @strlen(ptr noundef nonnull %1) #3
br label %10
10: ; preds = %8, %3
%11 = phi i32 [ %9, %8 ], [ 0, %3 ]
%12 = add nsw i32 %11, 12
%13 = sext i32 %12 to i64
%14 = load ptr, ptr %2, align 8, !tbaa !11
%15 = icmp eq ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %10
%17 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !15
%18 = getelementptr inbounds i8, ptr %2, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = or i32 %19, %17
store i32 %20, ptr %18, align 8, !tbaa !16
br label %21
21: ; preds = %16, %10
%22 = getelementptr inbounds i8, ptr %2, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !17
%24 = icmp eq ptr %23, null
br i1 %24, label %30, label %25
25: ; preds = %21
%26 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !15
%27 = getelementptr inbounds i8, ptr %2, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !16
%29 = or i32 %28, %26
store i32 %29, ptr %27, align 8, !tbaa !16
br label %30
30: ; preds = %25, %21
%31 = getelementptr inbounds i8, ptr %2, i64 24
%32 = load ptr, ptr %31, align 8, !tbaa !18
%33 = icmp eq ptr %32, null
br i1 %33, label %46, label %34
34: ; preds = %30
%35 = getelementptr inbounds i8, ptr %2, i64 32
%36 = load ptr, ptr %35, align 8, !tbaa !19
%37 = icmp eq ptr %36, null
br i1 %37, label %46, label %38
38: ; preds = %34
%39 = tail call i32 @strlen(ptr noundef nonnull %32) #3
%40 = load ptr, ptr %35, align 8, !tbaa !19
%41 = tail call i32 @strlen(ptr noundef %40) #3
%42 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !15
%43 = getelementptr inbounds i8, ptr %2, i64 8
%44 = load i32, ptr %43, align 8, !tbaa !16
%45 = or i32 %44, %42
store i32 %45, ptr %43, align 8, !tbaa !16
br label %46
46: ; preds = %38, %34, %30
%47 = phi i32 [ %39, %38 ], [ 0, %34 ], [ 0, %30 ]
%48 = phi i32 [ %41, %38 ], [ 0, %34 ], [ 0, %30 ]
%49 = getelementptr inbounds i8, ptr %2, i64 40
%50 = load i32, ptr %49, align 8, !tbaa !20
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %46
store i32 60, ptr %49, align 8, !tbaa !20
br label %53
53: ; preds = %52, %46
%54 = getelementptr inbounds i8, ptr %2, i64 8
%55 = load i32, ptr %54, align 8, !tbaa !16
%56 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !15
%57 = and i32 %56, %55
%58 = icmp eq i32 %57, 0
%59 = add nsw i32 %47, 4
%60 = add nsw i32 %59, %48
%61 = select i1 %58, i32 0, i32 %60
%62 = sext i32 %61 to i64
%63 = add nsw i64 %62, %13
%64 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !15
%65 = and i32 %64, %55
%66 = icmp eq i32 %65, 0
br i1 %66, label %74, label %67
67: ; preds = %53
%68 = load ptr, ptr %2, align 8, !tbaa !11
%69 = tail call i32 @strlen(ptr noundef %68) #3
%70 = add nsw i32 %69, 2
%71 = sext i32 %70 to i64
%72 = add nsw i64 %63, %71
%73 = load i32, ptr %54, align 8, !tbaa !16
br label %74
74: ; preds = %67, %53
%75 = phi i32 [ %73, %67 ], [ %55, %53 ]
%76 = phi i32 [ %69, %67 ], [ 0, %53 ]
%77 = phi i64 [ %72, %67 ], [ %63, %53 ]
%78 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !15
%79 = and i32 %78, %75
%80 = icmp eq i32 %79, 0
br i1 %80, label %87, label %81
81: ; preds = %74
%82 = load ptr, ptr %22, align 8, !tbaa !17
%83 = tail call i32 @strlen(ptr noundef %82) #3
%84 = add nsw i32 %83, 2
%85 = sext i32 %84 to i64
%86 = add nsw i64 %77, %85
br label %87
87: ; preds = %81, %74
%88 = phi i32 [ %83, %81 ], [ 0, %74 ]
%89 = phi i64 [ %86, %81 ], [ %77, %74 ]
%90 = load i32, ptr @MG_MQTT_CMD_CONNECT, align 4, !tbaa !15
%91 = tail call i32 @mg_send_mqtt_header(ptr noundef nonnull %0, i32 noundef %90, i32 noundef 0, i64 noundef %89) #3
%92 = tail call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 7) #3
%93 = tail call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %54, i32 noundef 1) #3
%94 = load i32, ptr %49, align 8, !tbaa !20
%95 = tail call i32 @htons(i32 noundef %94) #3
store i32 %95, ptr %4, align 4, !tbaa !15
%96 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%97 = call i32 @htons(i32 noundef %11) #3
store i32 %97, ptr %4, align 4, !tbaa !15
%98 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%99 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %11) #3
%100 = load i32, ptr %54, align 8, !tbaa !16
%101 = load i32, ptr @MG_MQTT_HAS_WILL, align 4, !tbaa !15
%102 = and i32 %101, %100
%103 = icmp eq i32 %102, 0
br i1 %103, label %115, label %104
104: ; preds = %87
%105 = call i32 @htons(i32 noundef %47) #3
store i32 %105, ptr %4, align 4, !tbaa !15
%106 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%107 = load ptr, ptr %31, align 8, !tbaa !18
%108 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %107, i32 noundef %47) #3
%109 = call i32 @htons(i32 noundef %48) #3
store i32 %109, ptr %4, align 4, !tbaa !15
%110 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%111 = getelementptr inbounds i8, ptr %2, i64 32
%112 = load ptr, ptr %111, align 8, !tbaa !19
%113 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %112, i32 noundef %48) #3
%114 = load i32, ptr %54, align 8, !tbaa !16
br label %115
115: ; preds = %104, %87
%116 = phi i32 [ %114, %104 ], [ %100, %87 ]
%117 = load i32, ptr @MG_MQTT_HAS_USER_NAME, align 4, !tbaa !15
%118 = and i32 %117, %116
%119 = icmp eq i32 %118, 0
br i1 %119, label %126, label %120
120: ; preds = %115
%121 = call i32 @htons(i32 noundef %76) #3
store i32 %121, ptr %4, align 4, !tbaa !15
%122 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%123 = load ptr, ptr %2, align 8, !tbaa !11
%124 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %123, i32 noundef %76) #3
%125 = load i32, ptr %54, align 8, !tbaa !16
br label %126
126: ; preds = %120, %115
%127 = phi i32 [ %125, %120 ], [ %116, %115 ]
%128 = load i32, ptr @MG_MQTT_HAS_PASSWORD, align 4, !tbaa !15
%129 = and i32 %128, %127
%130 = icmp eq i32 %129, 0
br i1 %130, label %136, label %131
131: ; preds = %126
%132 = call i32 @htons(i32 noundef %88) #3
store i32 %132, ptr %4, align 4, !tbaa !15
%133 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 2) #3
%134 = load ptr, ptr %22, align 8, !tbaa !17
%135 = call i32 (ptr, ...) @mg_send(ptr noundef nonnull %0, ptr noundef %134, i32 noundef %88) #3
br label %136
136: ; preds = %131, %126
%137 = icmp eq i64 %5, 0
br i1 %137, label %140, label %138
138: ; preds = %136
%139 = load i32, ptr %49, align 8, !tbaa !20
store i32 %139, ptr %6, align 4, !tbaa !21
br label %140
140: ; preds = %138, %136
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @mg_send_mqtt_header(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mg_send(ptr noundef, ...) local_unnamed_addr #2
declare i32 @htons(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 = !{!"mg_connection", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"mg_send_mqtt_handshake_opts", !13, i64 0, !14, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 8}
!17 = !{!12, !13, i64 16}
!18 = !{!12, !13, i64 24}
!19 = !{!12, !13, i64 32}
!20 = !{!12, !14, i64 40}
!21 = !{!22, !14, i64 0}
!22 = !{!"mg_mqtt_proto_data", !14, i64 0}
| mongoose_extr_mongoose.c_mg_send_mqtt_handshake_opt |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/hci/extr_packet_fragmenter.c_fragment_get_current_packet.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/hci/extr_packet_fragmenter.c_fragment_get_current_packet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@current_fragment_packet = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @fragment_get_current_packet], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal ptr @fragment_get_current_packet() #0 {
%1 = load ptr, ptr @current_fragment_packet, align 8, !tbaa !5
ret ptr %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/esp-idf/components/bt/host/bluedroid/hci/extr_packet_fragmenter.c_fragment_get_current_packet.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/hci/extr_packet_fragmenter.c_fragment_get_current_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current_fragment_packet = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @fragment_get_current_packet], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal ptr @fragment_get_current_packet() #0 {
%1 = load ptr, ptr @current_fragment_packet, align 8, !tbaa !6
ret ptr %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| esp-idf_components_bt_host_bluedroid_hci_extr_packet_fragmenter.c_fragment_get_current_packet |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/mon/extr_mon_bin.c_mon_free_buff.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/mon/extr_mon_bin.c_mon_free_buff.c"
target datalayout = "e-m:e-p270:32:32-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.mon_pgmap = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mon_free_buff], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mon_free_buff(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %13
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %11, %6 ]
%8 = getelementptr inbounds %struct.mon_pgmap, ptr %0, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !5
%10 = tail call i32 @free_page(i64 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
ret void
}
declare i32 @free_page(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 = !{!"mon_pgmap", !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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/mon/extr_mon_bin.c_mon_free_buff.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/mon/extr_mon_bin.c_mon_free_buff.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mon_pgmap = type { i64 }
@llvm.used = appending global [1 x ptr] [ptr @mon_free_buff], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mon_free_buff(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %13
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %11, %6 ]
%8 = getelementptr inbounds %struct.mon_pgmap, ptr %0, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !6
%10 = tail call i32 @free_page(i64 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 !11
13: ; preds = %6, %2
ret void
}
declare i32 @free_page(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 = !{!"mon_pgmap", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_usb_mon_extr_mon_bin.c_mon_free_buff |
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_function.c_create_source_function.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_function.c_create_source_function.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_5__, ptr, ptr, ptr }
%struct.TYPE_5__ = type { i32, i32 }
@InterpretedFunctionVtbl = dso_local global i32 0, align 4
@PROPF_CONSTR = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@prototypeW = dso_local local_unnamed_addr global i32 0, align 4
@PROPF_WRITABLE = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @create_source_function(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = call i32 @create_object(ptr noundef %0, ptr noundef null, ptr noundef nonnull %7) #3
%9 = call i64 @FAILED(i32 noundef %8) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %57
11: ; preds = %5
%12 = load i32, ptr @PROPF_CONSTR, align 4, !tbaa !5
%13 = load i32, ptr @FALSE, align 4, !tbaa !5
%14 = call i32 @create_function(ptr noundef %0, ptr noundef null, ptr noundef nonnull @InterpretedFunctionVtbl, i32 noundef 32, i32 noundef %12, i32 noundef %13, ptr noundef null, ptr noundef nonnull %6) #3
%15 = call i64 @SUCCEEDED(i32 noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %37, label %17
17: ; preds = %11
%18 = load ptr, ptr %6, align 8, !tbaa !9
%19 = load i32, ptr @prototypeW, align 4, !tbaa !5
%20 = load i32, ptr @PROPF_WRITABLE, align 4, !tbaa !5
%21 = load ptr, ptr %7, align 8, !tbaa !9
%22 = call i32 @jsval_obj(ptr noundef %21) #3
%23 = call i32 @jsdisp_define_data_property(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %22) #3
%24 = call i64 @SUCCEEDED(i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %17
%27 = load ptr, ptr %6, align 8, !tbaa !9
%28 = load ptr, ptr %7, align 8, !tbaa !9
%29 = call i32 @set_constructor_prop(ptr noundef %0, ptr noundef %27, ptr noundef %28) #3
br label %30
30: ; preds = %26, %17
%31 = phi i32 [ %29, %26 ], [ %23, %17 ]
%32 = call i64 @FAILED(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load ptr, ptr %6, align 8, !tbaa !9
%36 = call i32 @jsdisp_release(ptr noundef %35) #3
br label %37
37: ; preds = %30, %34, %11
%38 = phi i32 [ %31, %34 ], [ %31, %30 ], [ %14, %11 ]
%39 = load ptr, ptr %7, align 8, !tbaa !9
%40 = call i32 @jsdisp_release(ptr noundef %39) #3
%41 = call i64 @FAILED(i32 noundef %38) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %57
43: ; preds = %37
%44 = icmp eq ptr %3, null
br i1 %44, label %49, label %45
45: ; preds = %43
%46 = call i32 @scope_addref(ptr noundef nonnull %3) #3
%47 = load ptr, ptr %6, align 8, !tbaa !9
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %47, i64 0, i32 3
store ptr %3, ptr %48, align 8, !tbaa !11
br label %49
49: ; preds = %45, %43
%50 = call i32 @bytecode_addref(ptr noundef %1) #3
%51 = load ptr, ptr %6, align 8, !tbaa !9
%52 = getelementptr inbounds %struct.TYPE_7__, ptr %51, i64 0, i32 2
store ptr %1, ptr %52, align 8, !tbaa !14
%53 = getelementptr inbounds %struct.TYPE_7__, ptr %51, i64 0, i32 1
store ptr %2, ptr %53, align 8, !tbaa !15
%54 = load i32, ptr %2, align 4, !tbaa !16
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i64 0, i32 1
store i32 %54, ptr %55, align 4, !tbaa !18
store ptr %51, ptr %4, align 8, !tbaa !9
%56 = load i32, ptr @S_OK, align 4, !tbaa !5
br label %57
57: ; preds = %37, %5, %49
%58 = phi i32 [ %56, %49 ], [ %8, %5 ], [ %38, %37 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @create_object(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @create_function(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SUCCEEDED(i32 noundef) local_unnamed_addr #2
declare i32 @jsdisp_define_data_property(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @jsval_obj(ptr noundef) local_unnamed_addr #2
declare i32 @set_constructor_prop(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @jsdisp_release(ptr noundef) local_unnamed_addr #2
declare i32 @scope_addref(ptr noundef) local_unnamed_addr #2
declare i32 @bytecode_addref(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 24}
!12 = !{!"TYPE_7__", !13, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!13 = !{!"TYPE_5__", !6, i64 0, !6, i64 4}
!14 = !{!12, !10, i64 16}
!15 = !{!12, !10, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_6__", !6, i64 0}
!18 = !{!12, !6, i64 4}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_function.c_create_source_function.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_function.c_create_source_function.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@InterpretedFunctionVtbl = common global i32 0, align 4
@PROPF_CONSTR = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@prototypeW = common local_unnamed_addr global i32 0, align 4
@PROPF_WRITABLE = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @create_source_function(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = call i32 @create_object(ptr noundef %0, ptr noundef null, ptr noundef nonnull %7) #3
%9 = call i64 @FAILED(i32 noundef %8) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %57
11: ; preds = %5
%12 = load i32, ptr @PROPF_CONSTR, align 4, !tbaa !6
%13 = load i32, ptr @FALSE, align 4, !tbaa !6
%14 = call i32 @create_function(ptr noundef %0, ptr noundef null, ptr noundef nonnull @InterpretedFunctionVtbl, i32 noundef 32, i32 noundef %12, i32 noundef %13, ptr noundef null, ptr noundef nonnull %6) #3
%15 = call i64 @SUCCEEDED(i32 noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %37, label %17
17: ; preds = %11
%18 = load ptr, ptr %6, align 8, !tbaa !10
%19 = load i32, ptr @prototypeW, align 4, !tbaa !6
%20 = load i32, ptr @PROPF_WRITABLE, align 4, !tbaa !6
%21 = load ptr, ptr %7, align 8, !tbaa !10
%22 = call i32 @jsval_obj(ptr noundef %21) #3
%23 = call i32 @jsdisp_define_data_property(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %22) #3
%24 = call i64 @SUCCEEDED(i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %17
%27 = load ptr, ptr %6, align 8, !tbaa !10
%28 = load ptr, ptr %7, align 8, !tbaa !10
%29 = call i32 @set_constructor_prop(ptr noundef %0, ptr noundef %27, ptr noundef %28) #3
br label %30
30: ; preds = %26, %17
%31 = phi i32 [ %29, %26 ], [ %23, %17 ]
%32 = call i64 @FAILED(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load ptr, ptr %6, align 8, !tbaa !10
%36 = call i32 @jsdisp_release(ptr noundef %35) #3
br label %37
37: ; preds = %30, %34, %11
%38 = phi i32 [ %31, %34 ], [ %31, %30 ], [ %14, %11 ]
%39 = load ptr, ptr %7, align 8, !tbaa !10
%40 = call i32 @jsdisp_release(ptr noundef %39) #3
%41 = call i64 @FAILED(i32 noundef %38) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %57
43: ; preds = %37
%44 = icmp eq ptr %3, null
br i1 %44, label %49, label %45
45: ; preds = %43
%46 = call i32 @scope_addref(ptr noundef nonnull %3) #3
%47 = load ptr, ptr %6, align 8, !tbaa !10
%48 = getelementptr inbounds i8, ptr %47, i64 24
store ptr %3, ptr %48, align 8, !tbaa !12
br label %49
49: ; preds = %45, %43
%50 = call i32 @bytecode_addref(ptr noundef %1) #3
%51 = load ptr, ptr %6, align 8, !tbaa !10
%52 = getelementptr inbounds i8, ptr %51, i64 16
store ptr %1, ptr %52, align 8, !tbaa !15
%53 = getelementptr inbounds i8, ptr %51, i64 8
store ptr %2, ptr %53, align 8, !tbaa !16
%54 = load i32, ptr %2, align 4, !tbaa !17
%55 = getelementptr inbounds i8, ptr %51, i64 4
store i32 %54, ptr %55, align 4, !tbaa !19
store ptr %51, ptr %4, align 8, !tbaa !10
%56 = load i32, ptr @S_OK, align 4, !tbaa !6
br label %57
57: ; preds = %37, %5, %49
%58 = phi i32 [ %56, %49 ], [ %8, %5 ], [ %38, %37 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @create_object(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @create_function(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SUCCEEDED(i32 noundef) local_unnamed_addr #2
declare i32 @jsdisp_define_data_property(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @jsval_obj(ptr noundef) local_unnamed_addr #2
declare i32 @set_constructor_prop(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @jsdisp_release(ptr noundef) local_unnamed_addr #2
declare i32 @scope_addref(ptr noundef) local_unnamed_addr #2
declare i32 @bytecode_addref(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 24}
!13 = !{!"TYPE_7__", !14, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!14 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!15 = !{!13, !11, i64 16}
!16 = !{!13, !11, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_6__", !7, i64 0}
!19 = !{!13, !7, i64 4}
| reactos_dll_win32_jscript_extr_function.c_create_source_function |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_eval.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_eval.c"
target datalayout = "e-m:e-p270:32:32-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 @nft_synproxy_eval], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nft_synproxy_eval(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %0) #2
%5 = tail call i32 @nft_synproxy_do_eval(ptr noundef %4, ptr noundef %1, ptr noundef %2) #2
ret void
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_synproxy_do_eval(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/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_eval.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_eval.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 @nft_synproxy_eval], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nft_synproxy_eval(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %0) #2
%5 = tail call i32 @nft_synproxy_do_eval(ptr noundef %4, ptr noundef %1, ptr noundef %2) #2
ret void
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_synproxy_do_eval(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)"}
| linux_net_netfilter_extr_nft_synproxy.c_nft_synproxy_eval |
; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-exec.c_pqSetResultError.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-exec.c_pqSetResultError.c"
target datalayout = "e-m:e-p270:32:32-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 @pqSetResultError(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = icmp eq ptr %1, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load i8, ptr %1, align 1, !tbaa !5
%8 = icmp eq i8 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call ptr @pqResultStrdup(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %11
11: ; preds = %4, %6, %9
%12 = phi ptr [ %10, %9 ], [ null, %6 ], [ null, %4 ]
store ptr %12, ptr %0, align 8, !tbaa !8
br label %13
13: ; preds = %11, %2
ret void
}
declare ptr @pqResultStrdup(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"TYPE_4__", !10, i64 0}
!10 = !{!"any pointer", !6, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-exec.c_pqSetResultError.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-exec.c_pqSetResultError.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 @pqSetResultError(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = icmp eq ptr %1, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load i8, ptr %1, align 1, !tbaa !6
%8 = icmp eq i8 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call ptr @pqResultStrdup(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %11
11: ; preds = %4, %6, %9
%12 = phi ptr [ %10, %9 ], [ null, %6 ], [ null, %4 ]
store ptr %12, ptr %0, align 8, !tbaa !9
br label %13
13: ; preds = %11, %2
ret void
}
declare ptr @pqResultStrdup(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| postgres_src_interfaces_libpq_extr_fe-exec.c_pqSetResultError |
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_stand.h_islower.c'
source_filename = "AnghaBench/freebsd/stand/libsa/extr_stand.h_islower.c"
target datalayout = "e-m:e-p270:32:32-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 @islower], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @islower(i32 noundef %0) #0 {
%2 = add i32 %0, -97
%3 = icmp ult i32 %2, 26
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_stand.h_islower.c'
source_filename = "AnghaBench/freebsd/stand/libsa/extr_stand.h_islower.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 @islower], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @islower(i32 noundef %0) #0 {
%2 = add i32 %0, -97
%3 = icmp ult i32 %2, 26
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_stand_libsa_extr_stand.h_islower |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_net.c_hash_net4_data_zero_out.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_net.c_hash_net4_data_zero_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hash_net4_data_zero_out], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @hash_net4_data_zero_out(ptr nocapture noundef writeonly %0) #0 {
store i64 0, ptr %0, align 8, !tbaa !5
ret void
}
attributes #0 = { inlinehint 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 = !{!"hash_net4_elem", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_net.c_hash_net4_data_zero_out.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_net.c_hash_net4_data_zero_out.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 @hash_net4_data_zero_out], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @hash_net4_data_zero_out(ptr nocapture noundef writeonly %0) #0 {
store i64 0, ptr %0, align 8, !tbaa !6
ret void
}
attributes #0 = { inlinehint 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 = !{!"hash_net4_elem", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_netfilter_ipset_extr_ip_set_hash_net.c_hash_net4_data_zero_out |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_set_gro_params.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_set_gro_params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@ETH_HLEN = dso_local local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_OVER_ETHERNET_PROTOCOL = dso_local local_unnamed_addr global i32 0, align 4
@PRS_FLAG_OVERETH_IPV6 = dso_local local_unnamed_addr global i64 0, align 8
@SKB_GSO_TCPV6 = dso_local local_unnamed_addr global i32 0, align 4
@SKB_GSO_TCPV4 = dso_local local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_VLAN = dso_local local_unnamed_addr global i32 0, align 4
@VLAN_HLEN = dso_local local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_TIME_STAMP_EXIST_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@TPA_TSTAMP_OPT_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_set_gro_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bnx2x_set_gro_params(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr nocapture noundef readonly %5) #0 {
%7 = load i32, ptr @ETH_HLEN, align 4, !tbaa !5
%8 = load i32, ptr @PARSING_FLAGS_OVER_ETHERNET_PROTOCOL, align 4, !tbaa !5
%9 = tail call i64 @GET_FLAG(i32 noundef %1, i32 noundef %8) #2
%10 = load i64, ptr @PRS_FLAG_OVERETH_IPV6, align 8, !tbaa !9
%11 = icmp eq i64 %9, %10
%12 = load i32, ptr @SKB_GSO_TCPV6, align 4
%13 = load i32, ptr @SKB_GSO_TCPV4, align 4
%14 = select i1 %11, i32 %12, i32 %13
%15 = tail call ptr @skb_shinfo(ptr noundef %0) #2
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 1
store i32 %14, ptr %16, align 4, !tbaa !11
%17 = add i32 %7, 8
%18 = load ptr, ptr %5, align 8, !tbaa !13
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %6
%21 = load i32, ptr @PARSING_FLAGS_VLAN, align 4, !tbaa !5
%22 = and i32 %21, %1
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !5
%26 = add nsw i32 %25, %17
br label %27
27: ; preds = %24, %20, %6
%28 = phi i32 [ %26, %24 ], [ %17, %20 ], [ %17, %6 ]
%29 = load i32, ptr @PARSING_FLAGS_TIME_STAMP_EXIST_FLAG, align 4, !tbaa !5
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr @TPA_TSTAMP_OPT_LEN, align 4
%33 = select i1 %31, i32 0, i32 %32
%34 = add i32 %28, %33
%35 = sub i32 %2, %34
%36 = tail call ptr @skb_shinfo(ptr noundef %0) #2
store i32 %35, ptr %36, align 4, !tbaa !16
%37 = tail call ptr @NAPI_GRO_CB(ptr noundef %0) #2
store i32 %4, ptr %37, align 4, !tbaa !17
ret void
}
declare i64 @GET_FLAG(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1
declare ptr @NAPI_GRO_CB(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!13 = !{!14, !15, i64 0}
!14 = !{!"bnx2x", !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!12, !6, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_set_gro_params.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_set_gro_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_HLEN = common local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_OVER_ETHERNET_PROTOCOL = common local_unnamed_addr global i32 0, align 4
@PRS_FLAG_OVERETH_IPV6 = common local_unnamed_addr global i64 0, align 8
@SKB_GSO_TCPV6 = common local_unnamed_addr global i32 0, align 4
@SKB_GSO_TCPV4 = common local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_VLAN = common local_unnamed_addr global i32 0, align 4
@VLAN_HLEN = common local_unnamed_addr global i32 0, align 4
@PARSING_FLAGS_TIME_STAMP_EXIST_FLAG = common local_unnamed_addr global i32 0, align 4
@TPA_TSTAMP_OPT_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnx2x_set_gro_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bnx2x_set_gro_params(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr nocapture noundef readonly %5) #0 {
%7 = load i32, ptr @ETH_HLEN, align 4, !tbaa !6
%8 = load i32, ptr @PARSING_FLAGS_OVER_ETHERNET_PROTOCOL, align 4, !tbaa !6
%9 = tail call i64 @GET_FLAG(i32 noundef %1, i32 noundef %8) #2
%10 = load i64, ptr @PRS_FLAG_OVERETH_IPV6, align 8, !tbaa !10
%11 = icmp eq i64 %9, %10
%12 = load i32, ptr @SKB_GSO_TCPV6, align 4
%13 = load i32, ptr @SKB_GSO_TCPV4, align 4
%14 = select i1 %11, i32 %12, i32 %13
%15 = tail call ptr @skb_shinfo(ptr noundef %0) #2
%16 = getelementptr inbounds i8, ptr %15, i64 4
store i32 %14, ptr %16, align 4, !tbaa !12
%17 = add i32 %7, 8
%18 = load ptr, ptr %5, align 8, !tbaa !14
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %6
%21 = load i32, ptr @PARSING_FLAGS_VLAN, align 4, !tbaa !6
%22 = and i32 %21, %1
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !6
%26 = add nsw i32 %25, %17
br label %27
27: ; preds = %24, %20, %6
%28 = phi i32 [ %26, %24 ], [ %17, %20 ], [ %17, %6 ]
%29 = load i32, ptr @PARSING_FLAGS_TIME_STAMP_EXIST_FLAG, align 4, !tbaa !6
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr @TPA_TSTAMP_OPT_LEN, align 4
%33 = select i1 %31, i32 0, i32 %32
%34 = add i32 %28, %33
%35 = sub i32 %2, %34
%36 = tail call ptr @skb_shinfo(ptr noundef %0) #2
store i32 %35, ptr %36, align 4, !tbaa !17
%37 = tail call ptr @NAPI_GRO_CB(ptr noundef %0) #2
store i32 %4, ptr %37, align 4, !tbaa !18
ret void
}
declare i64 @GET_FLAG(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1
declare ptr @NAPI_GRO_CB(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!14 = !{!15, !16, i64 0}
!15 = !{!"bnx2x", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!13, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_4__", !7, i64 0}
| fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_cmn.c_bnx2x_set_gro_params |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/resowner/extr_resowner.c_ResourceOwnerGetParent.c'
source_filename = "AnghaBench/postgres/src/backend/utils/resowner/extr_resowner.c_ResourceOwnerGetParent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @ResourceOwnerGetParent(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/resowner/extr_resowner.c_ResourceOwnerGetParent.c'
source_filename = "AnghaBench/postgres/src/backend/utils/resowner/extr_resowner.c_ResourceOwnerGetParent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @ResourceOwnerGetParent(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| postgres_src_backend_utils_resowner_extr_resowner.c_ResourceOwnerGetParent |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hw_breakpoint.c_hw_breakpoint_arch_parse.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hw_breakpoint.c_hw_breakpoint_arch_parse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.arch_hw_breakpoint = type { i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @hw_breakpoint_arch_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @arch_build_bp_info(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %25
6: ; preds = %3
%7 = load i32, ptr %2, align 4, !tbaa !5
switch i32 %7, label %12 [
i32 131, label %8
i32 130, label %16
i32 129, label %11
]
8: ; preds = %6
%9 = getelementptr inbounds %struct.arch_hw_breakpoint, ptr %2, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !10
br label %16
11: ; preds = %6
br label %16
12: ; preds = %6
%13 = tail call i32 @WARN_ON_ONCE(i32 noundef 1) #2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
br label %25
16: ; preds = %8, %6, %11
%17 = phi i32 [ 3, %11 ], [ %10, %8 ], [ 1, %6 ]
%18 = getelementptr inbounds %struct.arch_hw_breakpoint, ptr %2, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = and i32 %19, %17
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = load i32, ptr @EINVAL, align 4, !tbaa !11
%24 = sub nsw i32 0, %23
br label %25
25: ; preds = %16, %3, %22, %12
%26 = phi i32 [ %15, %12 ], [ %24, %22 ], [ %4, %3 ], [ 0, %16 ]
ret i32 %26
}
declare i32 @arch_build_bp_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(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 = !{!"arch_hw_breakpoint", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hw_breakpoint.c_hw_breakpoint_arch_parse.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hw_breakpoint.c_hw_breakpoint_arch_parse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @hw_breakpoint_arch_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @arch_build_bp_info(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %25
6: ; preds = %3
%7 = load i32, ptr %2, align 4, !tbaa !6
switch i32 %7, label %12 [
i32 131, label %8
i32 130, label %16
i32 129, label %11
]
8: ; preds = %6
%9 = getelementptr inbounds i8, ptr %2, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !11
br label %16
11: ; preds = %6
br label %16
12: ; preds = %6
%13 = tail call i32 @WARN_ON_ONCE(i32 noundef 1) #2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !12
%15 = sub nsw i32 0, %14
br label %25
16: ; preds = %8, %6, %11
%17 = phi i32 [ 3, %11 ], [ %10, %8 ], [ 1, %6 ]
%18 = getelementptr inbounds i8, ptr %2, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = and i32 %19, %17
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = load i32, ptr @EINVAL, align 4, !tbaa !12
%24 = sub nsw i32 0, %23
br label %25
25: ; preds = %16, %3, %22, %12
%26 = phi i32 [ %15, %12 ], [ %24, %22 ], [ %4, %3 ], [ 0, %16 ]
ret i32 %26
}
declare i32 @arch_build_bp_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(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 = !{!"arch_hw_breakpoint", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 8}
| linux_arch_x86_kernel_extr_hw_breakpoint.c_hw_breakpoint_arch_parse |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_xmit_pdc.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_xmit_pdc.c"
target datalayout = "e-m:e-p270:32:32-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.atmel_sha_dev = type { i32, i32, i32 }
@.str = private unnamed_addr constant [57 x i8] c"xmit_pdc: digcnt: 0x%llx 0x%llx, length: %zd, final: %d\0A\00", align 1
@SHA_PTCR = dso_local local_unnamed_addr global i32 0, align 4
@SHA_PTCR_TXTDIS = dso_local local_unnamed_addr global i32 0, align 4
@SHA_TPR = dso_local local_unnamed_addr global i32 0, align 4
@SHA_TCR = dso_local local_unnamed_addr global i32 0, align 4
@SHA_TNPR = dso_local local_unnamed_addr global i32 0, align 4
@SHA_TNCR = dso_local local_unnamed_addr global i32 0, align 4
@SHA_FLAGS_FINAL = dso_local local_unnamed_addr global i32 0, align 4
@SHA_FLAGS_DMA_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@SHA_PTCR_TXTEN = dso_local local_unnamed_addr global i32 0, align 4
@EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_sha_xmit_pdc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @atmel_sha_xmit_pdc(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds %struct.atmel_sha_dev, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = tail call ptr @ahash_request_ctx(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.atmel_sha_dev, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = load ptr, ptr %9, align 8, !tbaa !11
%13 = getelementptr inbounds i64, ptr %12, i64 1
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = load i64, ptr %12, align 8, !tbaa !14
%16 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %14, i64 noundef %15, i64 noundef %2, i32 noundef %5) #2
%17 = tail call i32 @DIV_ROUND_UP(i64 noundef %2, i32 noundef 4) #2
%18 = load i32, ptr @SHA_PTCR, align 4, !tbaa !16
%19 = load i32, ptr @SHA_PTCR_TXTDIS, align 4, !tbaa !16
%20 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @SHA_TPR, align 4, !tbaa !16
%22 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %21, i32 noundef %1) #2
%23 = load i32, ptr @SHA_TCR, align 4, !tbaa !16
%24 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %23, i32 noundef %17) #2
%25 = tail call i32 @DIV_ROUND_UP(i64 noundef %4, i32 noundef 4) #2
%26 = load i32, ptr @SHA_TNPR, align 4, !tbaa !16
%27 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %26, i32 noundef %3) #2
%28 = load i32, ptr @SHA_TNCR, align 4, !tbaa !16
%29 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %28, i32 noundef %25) #2
%30 = tail call i32 @atmel_sha_write_ctrl(ptr noundef %0, i32 noundef 1) #2
%31 = load ptr, ptr %9, align 8, !tbaa !11
%32 = load i64, ptr %31, align 8, !tbaa !14
%33 = add i64 %32, %2
store i64 %33, ptr %31, align 8, !tbaa !14
%34 = icmp ult i64 %33, %2
br i1 %34, label %35, label %39
35: ; preds = %6
%36 = getelementptr inbounds i64, ptr %31, i64 1
%37 = load i64, ptr %36, align 8, !tbaa !14
%38 = add i64 %37, 1
store i64 %38, ptr %36, align 8, !tbaa !14
br label %39
39: ; preds = %35, %6
%40 = icmp eq i32 %5, 0
%41 = load i32, ptr %0, align 4, !tbaa !17
br i1 %40, label %45, label %42
42: ; preds = %39
%43 = load i32, ptr @SHA_FLAGS_FINAL, align 4, !tbaa !16
%44 = or i32 %41, %43
store i32 %44, ptr %0, align 4, !tbaa !17
br label %45
45: ; preds = %42, %39
%46 = phi i32 [ %44, %42 ], [ %41, %39 ]
%47 = load i32, ptr @SHA_FLAGS_DMA_ACTIVE, align 4, !tbaa !16
%48 = or i32 %46, %47
store i32 %48, ptr %0, align 4, !tbaa !17
%49 = load i32, ptr @SHA_PTCR, align 4, !tbaa !16
%50 = load i32, ptr @SHA_PTCR_TXTEN, align 4, !tbaa !16
%51 = tail call i32 @atmel_sha_write(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50) #2
%52 = load i32, ptr @EINPROGRESS, align 4, !tbaa !16
%53 = sub nsw i32 0, %52
ret i32 %53
}
declare ptr @ahash_request_ctx(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atmel_sha_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atmel_sha_write_ctrl(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"atmel_sha_dev", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !13, i64 0}
!12 = !{!"atmel_sha_reqctx", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_xmit_pdc.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_xmit_pdc.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 [57 x i8] c"xmit_pdc: digcnt: 0x%llx 0x%llx, length: %zd, final: %d\0A\00", align 1
@SHA_PTCR = common local_unnamed_addr global i32 0, align 4
@SHA_PTCR_TXTDIS = common local_unnamed_addr global i32 0, align 4
@SHA_TPR = common local_unnamed_addr global i32 0, align 4
@SHA_TCR = common local_unnamed_addr global i32 0, align 4
@SHA_TNPR = common local_unnamed_addr global i32 0, align 4
@SHA_TNCR = common local_unnamed_addr global i32 0, align 4
@SHA_FLAGS_FINAL = common local_unnamed_addr global i32 0, align 4
@SHA_FLAGS_DMA_ACTIVE = common local_unnamed_addr global i32 0, align 4
@SHA_PTCR_TXTEN = common local_unnamed_addr global i32 0, align 4
@EINPROGRESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atmel_sha_xmit_pdc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @atmel_sha_xmit_pdc(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = tail call ptr @ahash_request_ctx(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load ptr, ptr %9, align 8, !tbaa !12
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = load i64, ptr %12, align 8, !tbaa !15
%16 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %14, i64 noundef %15, i64 noundef %2, i32 noundef %5) #2
%17 = tail call i32 @DIV_ROUND_UP(i64 noundef %2, i32 noundef 4) #2
%18 = load i32, ptr @SHA_PTCR, align 4, !tbaa !17
%19 = load i32, ptr @SHA_PTCR_TXTDIS, align 4, !tbaa !17
%20 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @SHA_TPR, align 4, !tbaa !17
%22 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %21, i32 noundef %1) #2
%23 = load i32, ptr @SHA_TCR, align 4, !tbaa !17
%24 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %23, i32 noundef %17) #2
%25 = tail call i32 @DIV_ROUND_UP(i64 noundef %4, i32 noundef 4) #2
%26 = load i32, ptr @SHA_TNPR, align 4, !tbaa !17
%27 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %26, i32 noundef %3) #2
%28 = load i32, ptr @SHA_TNCR, align 4, !tbaa !17
%29 = tail call i32 @atmel_sha_write(ptr noundef %0, i32 noundef %28, i32 noundef %25) #2
%30 = tail call i32 @atmel_sha_write_ctrl(ptr noundef %0, i32 noundef 1) #2
%31 = load ptr, ptr %9, align 8, !tbaa !12
%32 = load i64, ptr %31, align 8, !tbaa !15
%33 = add i64 %32, %2
store i64 %33, ptr %31, align 8, !tbaa !15
%34 = icmp ult i64 %33, %2
br i1 %34, label %35, label %39
35: ; preds = %6
%36 = getelementptr inbounds i8, ptr %31, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !15
%38 = add i64 %37, 1
store i64 %38, ptr %36, align 8, !tbaa !15
br label %39
39: ; preds = %35, %6
%40 = icmp eq i32 %5, 0
%41 = load i32, ptr %0, align 4, !tbaa !18
br i1 %40, label %45, label %42
42: ; preds = %39
%43 = load i32, ptr @SHA_FLAGS_FINAL, align 4, !tbaa !17
%44 = or i32 %41, %43
store i32 %44, ptr %0, align 4, !tbaa !18
br label %45
45: ; preds = %42, %39
%46 = phi i32 [ %44, %42 ], [ %41, %39 ]
%47 = load i32, ptr @SHA_FLAGS_DMA_ACTIVE, align 4, !tbaa !17
%48 = or i32 %46, %47
store i32 %48, ptr %0, align 4, !tbaa !18
%49 = load i32, ptr @SHA_PTCR, align 4, !tbaa !17
%50 = load i32, ptr @SHA_PTCR_TXTEN, align 4, !tbaa !17
%51 = tail call i32 @atmel_sha_write(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50) #2
%52 = load i32, ptr @EINPROGRESS, align 4, !tbaa !17
%53 = sub nsw i32 0, %52
ret i32 %53
}
declare ptr @ahash_request_ctx(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atmel_sha_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atmel_sha_write_ctrl(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"atmel_sha_dev", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!13, !14, i64 0}
!13 = !{!"atmel_sha_reqctx", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 0}
| linux_drivers_crypto_extr_atmel-sha.c_atmel_sha_xmit_pdc |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_mkpipe_data.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_mkpipe_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rpc_pipe = type { i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @rpc_mkpipe_data(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
%9 = tail call ptr @ERR_PTR(i32 noundef %8) #2
br label %13
10: ; preds = %2
%11 = tail call i32 @init_pipe(ptr noundef nonnull %4) #2
%12 = getelementptr inbounds %struct.rpc_pipe, ptr %4, i64 0, i32 1
store ptr %0, ptr %12, align 8, !tbaa !9
store i32 %1, ptr %4, align 8, !tbaa !12
br label %13
13: ; preds = %10, %6
%14 = phi ptr [ %4, %10 ], [ %9, %6 ]
ret ptr %14
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @init_pipe(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 = !{!"rpc_pipe", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_mkpipe_data.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c_rpc_mkpipe_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @rpc_mkpipe_data(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
%9 = tail call ptr @ERR_PTR(i32 noundef %8) #2
br label %13
10: ; preds = %2
%11 = tail call i32 @init_pipe(ptr noundef nonnull %4) #2
%12 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %0, ptr %12, align 8, !tbaa !10
store i32 %1, ptr %4, align 8, !tbaa !13
br label %13
13: ; preds = %10, %6
%14 = phi ptr [ %4, %10 ], [ %9, %6 ]
ret ptr %14
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @init_pipe(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 = !{!"rpc_pipe", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
| linux_net_sunrpc_extr_rpc_pipe.c_rpc_mkpipe_data |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_check_supp_encode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_check_supp_encode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_sdvo_encode = type { i32 }
@SDVO_CMD_GET_SUPP_ENCODE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_sdvo_check_supp_encode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @intel_sdvo_check_supp_encode(ptr noundef %0) #0 {
%2 = alloca %struct.intel_sdvo_encode, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3
%4 = load i32, ptr @SDVO_CMD_GET_SUPP_ENCODE, align 4, !tbaa !5
%5 = call i32 @intel_sdvo_get_value(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %2, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @intel_sdvo_get_value(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"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_check_supp_encode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_check_supp_encode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.intel_sdvo_encode = type { i32 }
@SDVO_CMD_GET_SUPP_ENCODE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_sdvo_check_supp_encode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @intel_sdvo_check_supp_encode(ptr noundef %0) #0 {
%2 = alloca %struct.intel_sdvo_encode, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3
%4 = load i32, ptr @SDVO_CMD_GET_SUPP_ENCODE, align 4, !tbaa !6
%5 = call i32 @intel_sdvo_get_value(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %2, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @intel_sdvo_get_value(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"}
| linux_drivers_gpu_drm_i915_display_extr_intel_sdvo.c_intel_sdvo_check_supp_encode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.