IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_get_atc_vmid_pasid_mapping_valid.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_get_atc_vmid_pasid_mapping_valid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mmATC_VMID0_PASID_MAPPING = dso_local local_unnamed_addr global i64 0, align 8
@ATC_VMID0_PASID_MAPPING__VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_atc_vmid_pasid_mapping_valid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_atc_vmid_pasid_mapping_valid(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = load i64, ptr @mmATC_VMID0_PASID_MAPPING, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i32 @RREG32(i64 noundef %4) #2
%6 = load i32, ptr @ATC_VMID0_PASID_MAPPING__VALID_MASK, align 4, !tbaa !9
%7 = and i32 %6, %5
ret i32 %7
}
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_get_atc_vmid_pasid_mapping_valid.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v7.c_get_atc_vmid_pasid_mapping_valid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmATC_VMID0_PASID_MAPPING = common local_unnamed_addr global i64 0, align 8
@ATC_VMID0_PASID_MAPPING__VALID_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_atc_vmid_pasid_mapping_valid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_atc_vmid_pasid_mapping_valid(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = load i64, ptr @mmATC_VMID0_PASID_MAPPING, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i32 @RREG32(i64 noundef %4) #2
%6 = load i32, ptr @ATC_VMID0_PASID_MAPPING__VALID_MASK, align 4, !tbaa !10
%7 = and i32 %6, %5
ret i32 %7
}
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_amdkfd_gfx_v7.c_get_atc_vmid_pasid_mapping_valid |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_net_chan.c_CL_Netchan_Encode.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_net_chan.c_CL_Netchan_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.TYPE_6__ = type { i32, ptr }
%struct.TYPE_5__ = type { i32, i32, i32, i32, ptr }
@CL_ENCODE_START = dso_local local_unnamed_addr global i32 0, align 4
@clc = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@MAX_RELIABLE_COMMANDS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CL_Netchan_Encode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @CL_Netchan_Encode(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @CL_ENCODE_START, align 4, !tbaa !11
%4 = icmp sgt i32 %2, %3
br i1 %4, label %5, label %60
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !12
store i32 0, ptr %8, align 4, !tbaa !12
%10 = load <2 x i32>, ptr %6, align 4, !tbaa !11
store i32 0, ptr %7, align 8, !tbaa !13
store i32 0, ptr %6, align 4, !tbaa !14
%11 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
%12 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
%13 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
store i32 %9, ptr %8, align 4, !tbaa !12
store <2 x i32> %10, ptr %6, align 4, !tbaa !11
%14 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @clc, i64 0, i32 1), align 8, !tbaa !15
%15 = load i32, ptr @MAX_RELIABLE_COMMANDS, align 4, !tbaa !11
%16 = add nsw i32 %15, -1
%17 = and i32 %16, %13
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i64, ptr %14, i64 %18
%20 = load i64, ptr %19, align 8, !tbaa !17
%21 = inttoptr i64 %20 to ptr
%22 = load i32, ptr @CL_ENCODE_START, align 4, !tbaa !11
%23 = load i32, ptr %0, align 8, !tbaa !5
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %60
25: ; preds = %5
%26 = xor i32 %12, %11
%27 = load i32, ptr @clc, align 8, !tbaa !19
%28 = xor i32 %26, %27
%29 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = sext i32 %22 to i64
br label %32
32: ; preds = %25, %32
%33 = phi i64 [ %31, %25 ], [ %56, %32 ]
%34 = phi i32 [ %28, %25 ], [ %51, %32 ]
%35 = phi i32 [ 0, %25 ], [ %52, %32 ]
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %21, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !11
%39 = icmp eq i32 %38, 0
%40 = select i1 %39, i32 0, i32 %35
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %21, i64 %41
%43 = load i32, ptr %42, align 4, !tbaa !11
%44 = icmp sgt i32 %43, 127
%45 = icmp eq i32 %43, 37
%46 = or i1 %44, %45
%47 = trunc i64 %33 to i32
%48 = and i32 %47, 1
%49 = select i1 %46, i32 46, i32 %43
%50 = shl i32 %49, %48
%51 = xor i32 %50, %34
%52 = add nsw i32 %40, 1
%53 = getelementptr inbounds i32, ptr %30, i64 %33
%54 = load i32, ptr %53, align 4, !tbaa !11
%55 = xor i32 %51, %54
store i32 %55, ptr %53, align 4, !tbaa !11
%56 = add nsw i64 %33, 1
%57 = load i32, ptr %0, align 8, !tbaa !5
%58 = sext i32 %57 to i64
%59 = icmp slt i64 %56, %58
br i1 %59, label %32, label %60, !llvm.loop !21
60: ; preds = %32, %5, %1
ret void
}
declare i32 @MSG_ReadLong(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, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 4}
!15 = !{!16, !10, i64 8}
!16 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!16, !7, i64 0}
!20 = !{!6, !10, i64 16}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_net_chan.c_CL_Netchan_Encode.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_net_chan.c_CL_Netchan_Encode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, ptr }
@CL_ENCODE_START = common local_unnamed_addr global i32 0, align 4
@clc = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@MAX_RELIABLE_COMMANDS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CL_Netchan_Encode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @CL_Netchan_Encode(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @CL_ENCODE_START, align 4, !tbaa !12
%4 = icmp sgt i32 %2, %3
br i1 %4, label %5, label %59
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !13
store i32 0, ptr %7, align 4, !tbaa !13
%9 = load <2 x i32>, ptr %6, align 4, !tbaa !12
store <2 x i32> zeroinitializer, ptr %6, align 4, !tbaa !12
%10 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
%11 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
%12 = tail call i32 @MSG_ReadLong(ptr noundef nonnull %0) #2
store i32 %8, ptr %7, align 4, !tbaa !13
store <2 x i32> %9, ptr %6, align 4, !tbaa !12
%13 = load ptr, ptr getelementptr inbounds (i8, ptr @clc, i64 8), align 8, !tbaa !14
%14 = load i32, ptr @MAX_RELIABLE_COMMANDS, align 4, !tbaa !12
%15 = add nsw i32 %14, -1
%16 = and i32 %15, %12
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %13, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = inttoptr i64 %19 to ptr
%21 = load i32, ptr @CL_ENCODE_START, align 4, !tbaa !12
%22 = load i32, ptr %0, align 8, !tbaa !6
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %59
24: ; preds = %5
%25 = xor i32 %11, %10
%26 = load i32, ptr @clc, align 8, !tbaa !18
%27 = xor i32 %25, %26
%28 = getelementptr inbounds i8, ptr %0, i64 16
%29 = load ptr, ptr %28, align 8, !tbaa !19
%30 = sext i32 %21 to i64
br label %31
31: ; preds = %24, %31
%32 = phi i64 [ %30, %24 ], [ %55, %31 ]
%33 = phi i32 [ %27, %24 ], [ %50, %31 ]
%34 = phi i32 [ 0, %24 ], [ %51, %31 ]
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %20, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !12
%38 = icmp eq i32 %37, 0
%39 = select i1 %38, i32 0, i32 %34
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %20, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !12
%43 = icmp sgt i32 %42, 127
%44 = icmp eq i32 %42, 37
%45 = or i1 %43, %44
%46 = trunc nsw i64 %32 to i32
%47 = and i32 %46, 1
%48 = select i1 %45, i32 46, i32 %42
%49 = shl i32 %48, %47
%50 = xor i32 %49, %33
%51 = add nsw i32 %39, 1
%52 = getelementptr inbounds i32, ptr %29, i64 %32
%53 = load i32, ptr %52, align 4, !tbaa !12
%54 = xor i32 %50, %53
store i32 %54, ptr %52, align 4, !tbaa !12
%55 = add nsw i64 %32, 1
%56 = load i32, ptr %0, align 8, !tbaa !6
%57 = sext i32 %56 to i64
%58 = icmp slt i64 %55, %57
br i1 %58, label %31, label %59, !llvm.loop !20
59: ; preds = %31, %5, %1
ret void
}
declare i32 @MSG_ReadLong(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, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 12}
!14 = !{!15, !11, i64 8}
!15 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!15, !8, i64 0}
!19 = !{!7, !11, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| Quake-III-Arena_code_client_extr_cl_net_chan.c_CL_Netchan_Encode |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c_update_rq_clock.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_update_rq_clock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rq = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_rq_clock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @update_rq_clock(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = tail call i32 @cpu_of(ptr noundef nonnull %0) #2
%6 = tail call i64 @sched_clock_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.rq, ptr %0, i64 0, i32 1
store i64 %6, ptr %7, align 8, !tbaa !10
br label %8
8: ; preds = %1, %4
ret void
}
declare i64 @sched_clock_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_of(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 = !{!"rq", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c_update_rq_clock.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_update_rq_clock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @update_rq_clock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @update_rq_clock(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = tail call i32 @cpu_of(ptr noundef nonnull %0) #2
%6 = tail call i64 @sched_clock_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %6, ptr %7, align 8, !tbaa !11
br label %8
8: ; preds = %1, %4
ret void
}
declare i64 @sched_clock_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_of(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 = !{!"rq", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
| fastsocket_kernel_kernel_extr_sched.c_update_rq_clock |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_hci_rx_task.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_hci_rx_task.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hci_dev = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@hci_task_lock = dso_local global i32 0, align 4
@HCI_RAW = dso_local local_unnamed_addr global i32 0, align 4
@HCI_INIT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%s ACL data packet\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%s SCO data packet\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hci_rx_task], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hci_rx_task(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = tail call i32 @read_lock(ptr noundef nonnull @hci_task_lock) #2
%6 = getelementptr inbounds %struct.hci_dev, ptr %2, i64 0, i32 3
%7 = tail call ptr @skb_dequeue(ptr noundef nonnull %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %51, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.hci_dev, ptr %2, i64 0, i32 2
%11 = getelementptr inbounds %struct.hci_dev, ptr %2, i64 0, i32 1
br label %12
12: ; preds = %9, %24
%13 = phi ptr [ %7, %9 ], [ %25, %24 ]
%14 = tail call i64 @atomic_read(ptr noundef nonnull %10) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @hci_send_to_sock(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %18
18: ; preds = %16, %12
%19 = load i32, ptr @HCI_RAW, align 4, !tbaa !10
%20 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %11) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %18
%23 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
24: ; preds = %39, %41, %45, %49, %22, %34
%25 = tail call ptr @skb_dequeue(ptr noundef nonnull %6) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %51, label %12, !llvm.loop !11
27: ; preds = %18
%28 = load i32, ptr @HCI_INIT, align 4, !tbaa !10
%29 = tail call i64 @test_bit(i32 noundef %28, ptr noundef nonnull %11) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %27
%32 = tail call ptr @bt_cb(ptr noundef nonnull %13) #2
%33 = load i32, ptr %32, align 4, !tbaa !13
switch i32 %33, label %36 [
i32 130, label %34
i32 128, label %34
]
34: ; preds = %31, %31
%35 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
36: ; preds = %31, %27
%37 = tail call ptr @bt_cb(ptr noundef nonnull %13) #2
%38 = load i32, ptr %37, align 4, !tbaa !13
switch i32 %38, label %49 [
i32 129, label %39
i32 130, label %41
i32 128, label %45
]
39: ; preds = %36
%40 = tail call i32 @hci_event_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
41: ; preds = %36
%42 = load i32, ptr %2, align 4, !tbaa !5
%43 = tail call i32 @BT_DBG(ptr noundef nonnull @.str.1, i32 noundef %42) #2
%44 = tail call i32 @hci_acldata_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
45: ; preds = %36
%46 = load i32, ptr %2, align 4, !tbaa !5
%47 = tail call i32 @BT_DBG(ptr noundef nonnull @.str.2, i32 noundef %46) #2
%48 = tail call i32 @hci_scodata_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
49: ; preds = %36
%50 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
51: ; preds = %24, %1
%52 = tail call i32 @read_unlock(ptr noundef nonnull @hci_task_lock) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @hci_send_to_sock(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1
declare i32 @hci_event_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hci_acldata_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hci_scodata_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hci_dev", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_hci_rx_task.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_hci_rx_task.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@hci_task_lock = common global i32 0, align 4
@HCI_RAW = common local_unnamed_addr global i32 0, align 4
@HCI_INIT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%s ACL data packet\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%s SCO data packet\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hci_rx_task], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hci_rx_task(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = tail call i32 @read_lock(ptr noundef nonnull @hci_task_lock) #2
%6 = getelementptr inbounds i8, ptr %2, i64 12
%7 = tail call ptr @skb_dequeue(ptr noundef nonnull %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %51, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = getelementptr inbounds i8, ptr %2, i64 4
br label %12
12: ; preds = %9, %24
%13 = phi ptr [ %7, %9 ], [ %25, %24 ]
%14 = tail call i64 @atomic_read(ptr noundef nonnull %10) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @hci_send_to_sock(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %18
18: ; preds = %16, %12
%19 = load i32, ptr @HCI_RAW, align 4, !tbaa !11
%20 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %11) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %18
%23 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
24: ; preds = %39, %41, %45, %49, %22, %34
%25 = tail call ptr @skb_dequeue(ptr noundef nonnull %6) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %51, label %12, !llvm.loop !12
27: ; preds = %18
%28 = load i32, ptr @HCI_INIT, align 4, !tbaa !11
%29 = tail call i64 @test_bit(i32 noundef %28, ptr noundef nonnull %11) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %27
%32 = tail call ptr @bt_cb(ptr noundef nonnull %13) #2
%33 = load i32, ptr %32, align 4, !tbaa !14
switch i32 %33, label %36 [
i32 130, label %34
i32 128, label %34
]
34: ; preds = %31, %31
%35 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
36: ; preds = %31, %27
%37 = tail call ptr @bt_cb(ptr noundef nonnull %13) #2
%38 = load i32, ptr %37, align 4, !tbaa !14
switch i32 %38, label %49 [
i32 129, label %39
i32 130, label %41
i32 128, label %45
]
39: ; preds = %36
%40 = tail call i32 @hci_event_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
41: ; preds = %36
%42 = load i32, ptr %2, align 4, !tbaa !6
%43 = tail call i32 @BT_DBG(ptr noundef nonnull @.str.1, i32 noundef %42) #2
%44 = tail call i32 @hci_acldata_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
45: ; preds = %36
%46 = load i32, ptr %2, align 4, !tbaa !6
%47 = tail call i32 @BT_DBG(ptr noundef nonnull @.str.2, i32 noundef %46) #2
%48 = tail call i32 @hci_scodata_packet(ptr noundef nonnull %2, ptr noundef nonnull %13) #2
br label %24
49: ; preds = %36
%50 = tail call i32 @kfree_skb(ptr noundef nonnull %13) #2
br label %24
51: ; preds = %24, %1
%52 = tail call i32 @read_unlock(ptr noundef nonnull @hci_task_lock) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @hci_send_to_sock(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1
declare i32 @hci_event_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hci_acldata_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hci_scodata_packet(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hci_dev", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_net_bluetooth_extr_hci_core.c_hci_rx_task |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_deprecated.c_svn_dso_initialize.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_deprecated.c_svn_dso_initialize.c"
target datalayout = "e-m:e-p270:32:32-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 @svn_dso_initialize() local_unnamed_addr #0 {
%1 = tail call ptr (...) @svn_dso_initialize2() #3
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @svn_error_clear(ptr noundef nonnull %1) #3
%5 = tail call i32 (...) @abort() #4
unreachable
6: ; preds = %0
ret void
}
declare ptr @svn_dso_initialize2(...) local_unnamed_addr #1
declare i32 @svn_error_clear(ptr 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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_deprecated.c_svn_dso_initialize.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_deprecated.c_svn_dso_initialize.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 @svn_dso_initialize() local_unnamed_addr #0 {
%1 = tail call ptr @svn_dso_initialize2() #3
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @svn_error_clear(ptr noundef nonnull %1) #3
%5 = tail call i32 @abort() #4
unreachable
6: ; preds = %0
ret void
}
declare ptr @svn_dso_initialize2(...) local_unnamed_addr #1
declare i32 @svn_error_clear(ptr 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)"}
| freebsd_contrib_subversion_subversion_libsvn_subr_extr_deprecated.c_svn_dso_initialize |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_set_preemphasis.c'
source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_set_preemphasis.c"
target datalayout = "e-m:e-p270:32:32-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.elink_phy = type { ptr, ptr }
@MDIO_REG_BANK_RX0 = dso_local local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_RX3 = dso_local local_unnamed_addr global i64 0, align 8
@MDIO_RX0_RX_EQ_BOOST = dso_local local_unnamed_addr global i32 0, align 4
@MDIO_REG_BANK_RX1 = dso_local local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_TX0 = dso_local local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_TX3 = dso_local local_unnamed_addr global i64 0, align 8
@MDIO_TX0_TX_DRIVER = dso_local local_unnamed_addr global i32 0, align 4
@MDIO_REG_BANK_TX1 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @elink_set_preemphasis], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @elink_set_preemphasis(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @MDIO_REG_BANK_RX0, align 8, !tbaa !10
%5 = load i64, ptr @MDIO_REG_BANK_RX3, align 8, !tbaa !10
%6 = icmp sgt i64 %4, %5
br i1 %6, label %24, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.elink_phy, ptr %0, i64 0, i32 1
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ %4, %7 ], [ %20, %9 ]
%11 = phi i64 [ 0, %7 ], [ %21, %9 ]
%12 = load i32, ptr @MDIO_RX0_RX_EQ_BOOST, align 4, !tbaa !12
%13 = load ptr, ptr %8, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %13, i64 %11
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i32 @CL22_WR_OVER_CL45(ptr noundef %3, ptr noundef %0, i64 noundef %10, i32 noundef %12, i32 noundef %15) #2
%17 = load i64, ptr @MDIO_REG_BANK_RX1, align 8, !tbaa !10
%18 = load i64, ptr @MDIO_REG_BANK_RX0, align 8, !tbaa !10
%19 = add i64 %17, %10
%20 = sub i64 %19, %18
%21 = add nuw nsw i64 %11, 1
%22 = load i64, ptr @MDIO_REG_BANK_RX3, align 8, !tbaa !10
%23 = icmp sgt i64 %20, %22
br i1 %23, label %24, label %9, !llvm.loop !16
24: ; preds = %9, %2
%25 = load i64, ptr @MDIO_REG_BANK_TX0, align 8, !tbaa !10
%26 = load i64, ptr @MDIO_REG_BANK_TX3, align 8, !tbaa !10
%27 = icmp sgt i64 %25, %26
br i1 %27, label %43, label %28
28: ; preds = %24, %28
%29 = phi i64 [ %39, %28 ], [ %25, %24 ]
%30 = phi i64 [ %40, %28 ], [ 0, %24 ]
%31 = load i32, ptr @MDIO_TX0_TX_DRIVER, align 4, !tbaa !12
%32 = load ptr, ptr %0, align 8, !tbaa !18
%33 = getelementptr inbounds i32, ptr %32, i64 %30
%34 = load i32, ptr %33, align 4, !tbaa !12
%35 = tail call i32 @CL22_WR_OVER_CL45(ptr noundef %3, ptr noundef nonnull %0, i64 noundef %29, i32 noundef %31, i32 noundef %34) #2
%36 = load i64, ptr @MDIO_REG_BANK_TX1, align 8, !tbaa !10
%37 = load i64, ptr @MDIO_REG_BANK_TX0, align 8, !tbaa !10
%38 = add i64 %36, %29
%39 = sub i64 %38, %37
%40 = add nuw nsw i64 %30, 1
%41 = load i64, ptr @MDIO_REG_BANK_TX3, align 8, !tbaa !10
%42 = icmp sgt i64 %39, %41
br i1 %42, label %43, label %28, !llvm.loop !19
43: ; preds = %28, %24
ret void
}
declare i32 @CL22_WR_OVER_CL45(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"elink_params", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"elink_phy", !7, i64 0, !7, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!15, !7, i64 0}
!19 = distinct !{!19, !17}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_set_preemphasis.c'
source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_set_preemphasis.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDIO_REG_BANK_RX0 = common local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_RX3 = common local_unnamed_addr global i64 0, align 8
@MDIO_RX0_RX_EQ_BOOST = common local_unnamed_addr global i32 0, align 4
@MDIO_REG_BANK_RX1 = common local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_TX0 = common local_unnamed_addr global i64 0, align 8
@MDIO_REG_BANK_TX3 = common local_unnamed_addr global i64 0, align 8
@MDIO_TX0_TX_DRIVER = common local_unnamed_addr global i32 0, align 4
@MDIO_REG_BANK_TX1 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @elink_set_preemphasis], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @elink_set_preemphasis(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @MDIO_REG_BANK_RX0, align 8, !tbaa !11
%5 = load i64, ptr @MDIO_REG_BANK_RX3, align 8, !tbaa !11
%6 = icmp sgt i64 %4, %5
br i1 %6, label %24, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 8
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ %4, %7 ], [ %20, %9 ]
%11 = phi i64 [ 0, %7 ], [ %21, %9 ]
%12 = load i32, ptr @MDIO_RX0_RX_EQ_BOOST, align 4, !tbaa !13
%13 = load ptr, ptr %8, align 8, !tbaa !15
%14 = getelementptr inbounds i32, ptr %13, i64 %11
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call i32 @CL22_WR_OVER_CL45(ptr noundef %3, ptr noundef %0, i64 noundef %10, i32 noundef %12, i32 noundef %15) #2
%17 = load i64, ptr @MDIO_REG_BANK_RX1, align 8, !tbaa !11
%18 = load i64, ptr @MDIO_REG_BANK_RX0, align 8, !tbaa !11
%19 = add i64 %17, %10
%20 = sub i64 %19, %18
%21 = add nuw nsw i64 %11, 1
%22 = load i64, ptr @MDIO_REG_BANK_RX3, align 8, !tbaa !11
%23 = icmp sgt i64 %20, %22
br i1 %23, label %24, label %9, !llvm.loop !17
24: ; preds = %9, %2
%25 = load i64, ptr @MDIO_REG_BANK_TX0, align 8, !tbaa !11
%26 = load i64, ptr @MDIO_REG_BANK_TX3, align 8, !tbaa !11
%27 = icmp sgt i64 %25, %26
br i1 %27, label %43, label %28
28: ; preds = %24, %28
%29 = phi i64 [ %39, %28 ], [ %25, %24 ]
%30 = phi i64 [ %40, %28 ], [ 0, %24 ]
%31 = load i32, ptr @MDIO_TX0_TX_DRIVER, align 4, !tbaa !13
%32 = load ptr, ptr %0, align 8, !tbaa !19
%33 = getelementptr inbounds i32, ptr %32, i64 %30
%34 = load i32, ptr %33, align 4, !tbaa !13
%35 = tail call i32 @CL22_WR_OVER_CL45(ptr noundef %3, ptr noundef nonnull %0, i64 noundef %29, i32 noundef %31, i32 noundef %34) #2
%36 = load i64, ptr @MDIO_REG_BANK_TX1, align 8, !tbaa !11
%37 = load i64, ptr @MDIO_REG_BANK_TX0, align 8, !tbaa !11
%38 = add i64 %36, %29
%39 = sub i64 %38, %37
%40 = add nuw nsw i64 %30, 1
%41 = load i64, ptr @MDIO_REG_BANK_TX3, align 8, !tbaa !11
%42 = icmp sgt i64 %39, %41
br i1 %42, label %43, label %28, !llvm.loop !20
43: ; preds = %28, %24
ret void
}
declare i32 @CL22_WR_OVER_CL45(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"elink_params", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"elink_phy", !8, i64 0, !8, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!16, !8, i64 0}
!20 = distinct !{!20, !18}
| freebsd_sys_dev_bxe_extr_bxe_elink.c_elink_set_preemphasis |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_HaveBridge.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_HaveBridge.c"
target datalayout = "e-m:e-p270:32:32-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.SiS_Private = type { i32, i32, i32 }
@VB_SISVB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @SiS_HaveBridge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @SiS_HaveBridge(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 1
br i1 %3, label %17, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = load i32, ptr @VB_SISVB, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %4
%11 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call zeroext i16 @SiS_GetReg(i32 noundef %12, i32 noundef 0) #2
%14 = add i16 %13, -1
%15 = icmp ult i16 %14, 2
br i1 %15, label %17, label %16
16: ; preds = %4, %10
br label %17
17: ; preds = %10, %1, %16
%18 = phi i32 [ 0, %16 ], [ 1, %1 ], [ 1, %10 ]
ret i32 %18
}
declare zeroext i16 @SiS_GetReg(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 = !{!"SiS_Private", !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/drivers/video/fbdev/sis/extr_init301.c_SiS_HaveBridge.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_HaveBridge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VB_SISVB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @SiS_HaveBridge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @SiS_HaveBridge(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 1
br i1 %3, label %17, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = load i32, ptr @VB_SISVB, align 4, !tbaa !12
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call zeroext i16 @SiS_GetReg(i32 noundef %12, i32 noundef 0) #2
%14 = add i16 %13, -1
%15 = icmp ult i16 %14, 2
br i1 %15, label %17, label %16
16: ; preds = %4, %10
br label %17
17: ; preds = %10, %1, %16
%18 = phi i32 [ 0, %16 ], [ 1, %1 ], [ 1, %10 ]
ret i32 %18
}
declare zeroext i16 @SiS_GetReg(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 = !{!"SiS_Private", !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_drivers_video_fbdev_sis_extr_init301.c_SiS_HaveBridge |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_analog.c_ad1884a_laptop_unsol_event.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_analog.c_ad1884a_laptop_unsol_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 @ad1884a_laptop_unsol_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @ad1884a_laptop_unsol_event(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_analog.c_ad1884a_laptop_unsol_event.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_analog.c_ad1884a_laptop_unsol_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 @ad1884a_laptop_unsol_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @ad1884a_laptop_unsol_event(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_sound_pci_hda_extr_patch_analog.c_ad1884a_laptop_unsol_event |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_touchwin.c_tw_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_touchwin.c_tw_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @tw_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tw_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @serio_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @input_get_device(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = tail call i32 @input_unregister_device(i32 noundef %5) #2
%7 = tail call i32 @serio_close(ptr noundef %0) #2
%8 = tail call i32 @serio_set_drvdata(ptr noundef %0, ptr noundef null) #2
%9 = load i32, ptr %2, align 4, !tbaa !5
%10 = tail call i32 @input_put_device(i32 noundef %9) #2
%11 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @serio_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @serio_close(ptr noundef) local_unnamed_addr #1
declare i32 @serio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_put_device(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, !7, i64 0}
!6 = !{!"tw", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_touchwin.c_tw_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_touchwin.c_tw_disconnect.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 @tw_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tw_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @serio_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @input_get_device(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = tail call i32 @input_unregister_device(i32 noundef %5) #2
%7 = tail call i32 @serio_close(ptr noundef %0) #2
%8 = tail call i32 @serio_set_drvdata(ptr noundef %0, ptr noundef null) #2
%9 = load i32, ptr %2, align 4, !tbaa !6
%10 = tail call i32 @input_put_device(i32 noundef %9) #2
%11 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @serio_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @serio_close(ptr noundef) local_unnamed_addr #1
declare i32 @serio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_put_device(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, !8, i64 0}
!7 = !{!"tw", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_input_touchscreen_extr_touchwin.c_tw_disconnect |
; ModuleID = 'AnghaBench/linux/crypto/extr_ablkcipher.c_ablkcipher_next_fast.c'
source_filename = "AnghaBench/linux/crypto/extr_ablkcipher.c_ablkcipher_next_fast.c"
target datalayout = "e-m:e-p270:32:32-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.ablkcipher_walk = type { %struct.TYPE_6__, %struct.TYPE_5__, %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr, ptr }
%struct.TYPE_6__ = type { i32 }
%struct.TYPE_4__ = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ablkcipher_next_fast], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @ablkcipher_next_fast(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.ablkcipher_walk, ptr %1, i64 0, i32 2
%4 = tail call ptr @scatterwalk_page(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.ablkcipher_walk, ptr %1, i64 0, i32 3
%6 = getelementptr inbounds %struct.ablkcipher_walk, ptr %1, i64 0, i32 3, i32 1
store ptr %4, ptr %6, align 8, !tbaa !5
%7 = load i32, ptr %3, align 8, !tbaa !14
%8 = tail call ptr @offset_in_page(i32 noundef %7) #2
store ptr %8, ptr %5, align 8, !tbaa !15
%9 = tail call ptr @scatterwalk_page(ptr noundef %1) #2
%10 = getelementptr inbounds %struct.ablkcipher_walk, ptr %1, i64 0, i32 1
%11 = getelementptr inbounds %struct.ablkcipher_walk, ptr %1, i64 0, i32 1, i32 1
store ptr %9, ptr %11, align 8, !tbaa !16
%12 = load i32, ptr %1, align 8, !tbaa !17
%13 = tail call ptr @offset_in_page(i32 noundef %12) #2
store ptr %13, ptr %10, align 8, !tbaa !18
ret i32 0
}
declare ptr @scatterwalk_page(ptr noundef) local_unnamed_addr #1
declare ptr @offset_in_page(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, !12, i64 40}
!6 = !{!"ablkcipher_walk", !7, i64 0, !11, i64 8, !7, i64 24, !13, i64 32}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_4__", !12, i64 0, !12, i64 8}
!14 = !{!6, !8, i64 24}
!15 = !{!6, !12, i64 32}
!16 = !{!6, !12, i64 16}
!17 = !{!6, !8, i64 0}
!18 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_ablkcipher.c_ablkcipher_next_fast.c'
source_filename = "AnghaBench/linux/crypto/extr_ablkcipher.c_ablkcipher_next_fast.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ablkcipher_next_fast], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal noundef i32 @ablkcipher_next_fast(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 24
%4 = tail call ptr @scatterwalk_page(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %1, i64 32
%6 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %4, ptr %6, align 8, !tbaa !6
%7 = load i32, ptr %3, align 8, !tbaa !15
%8 = tail call ptr @offset_in_page(i32 noundef %7) #2
store ptr %8, ptr %5, align 8, !tbaa !16
%9 = tail call ptr @scatterwalk_page(ptr noundef %1) #2
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %9, ptr %11, align 8, !tbaa !17
%12 = load i32, ptr %1, align 8, !tbaa !18
%13 = tail call ptr @offset_in_page(i32 noundef %12) #2
store ptr %13, ptr %10, align 8, !tbaa !19
ret i32 0
}
declare ptr @scatterwalk_page(ptr noundef) local_unnamed_addr #1
declare ptr @offset_in_page(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, !13, i64 40}
!7 = !{!"ablkcipher_walk", !8, i64 0, !12, i64 8, !8, i64 24, !14, i64 32}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"TYPE_4__", !13, i64 0, !13, i64 8}
!15 = !{!7, !9, i64 24}
!16 = !{!7, !13, i64 32}
!17 = !{!7, !13, i64 16}
!18 = !{!7, !9, i64 0}
!19 = !{!7, !13, i64 8}
| linux_crypto_extr_ablkcipher.c_ablkcipher_next_fast |
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_cf_adderror_unexpected_eof.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_cf_adderror_unexpected_eof.c"
target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"Unexpected end of file\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cf_adderror_unexpected_eof], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cf_adderror_unexpected_eof(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @cf_adderror(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret void
}
declare i32 @cf_adderror(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_cf_adderror_unexpected_eof.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_cf_adderror_unexpected_eof.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i8] c"Unexpected end of file\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cf_adderror_unexpected_eof], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cf_adderror_unexpected_eof(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @cf_adderror(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret void
}
declare i32 @cf_adderror(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| obs-studio_libobs_util_extr_cf-lexer.c_cf_adderror_unexpected_eof |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_func_hw_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_func_hw_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.bnx2x_func_state_params = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
%struct.bnx2x_func_sp_obj = type { ptr, ptr }
%struct.bnx2x_func_sp_drv_ops = type { ptr, ptr, ptr }
@BNX2X_MSG_SP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"function %d load_code %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Error loading firmware\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Unknown load_code (0x%x) from MCP\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@BNX2X_F_CMD_HW_INIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_func_hw_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bnx2x_func_hw_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.bnx2x_func_state_params, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %1, align 8, !tbaa !13
%6 = getelementptr inbounds %struct.bnx2x_func_sp_obj, ptr %5, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr @BNX2X_MSG_SP, align 4, !tbaa !16
%9 = tail call i32 @BP_ABS_FUNC(ptr noundef %0) #2
%10 = tail call i32 @DP(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %4) #2
%11 = load ptr, ptr %7, align 8, !tbaa !17
%12 = tail call i32 %11(ptr noundef %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %47
14: ; preds = %2
%15 = getelementptr inbounds %struct.bnx2x_func_sp_drv_ops, ptr %7, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !19
%17 = tail call i32 %16(ptr noundef %0) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = tail call i32 (ptr, ...) @BNX2X_ERR(ptr noundef nonnull @.str.1) #2
%21 = getelementptr inbounds %struct.bnx2x_func_sp_drv_ops, ptr %7, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !20
%23 = tail call i32 %22(ptr noundef %0) #2
br label %47
24: ; preds = %14
switch i32 %4, label %33 [
i32 130, label %25
i32 131, label %27
i32 128, label %29
i32 129, label %31
]
25: ; preds = %24
%26 = tail call i32 @bnx2x_func_init_cmn_chip(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
27: ; preds = %24
%28 = tail call i32 @bnx2x_func_init_cmn(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
29: ; preds = %24
%30 = tail call i32 @bnx2x_func_init_port(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
31: ; preds = %24
%32 = tail call i32 @bnx2x_func_init_func(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
33: ; preds = %24
%34 = tail call i32 (ptr, ...) @BNX2X_ERR(ptr noundef nonnull @.str.2, i32 noundef %4) #2
%35 = load i32, ptr @EINVAL, align 4, !tbaa !16
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %31, %29, %27, %25, %33
%38 = phi i32 [ %36, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ]
%39 = getelementptr inbounds %struct.bnx2x_func_sp_drv_ops, ptr %7, i64 0, i32 2
%40 = load ptr, ptr %39, align 8, !tbaa !20
%41 = tail call i32 %40(ptr noundef %0) #2
%42 = icmp eq i32 %38, 0
br i1 %42, label %43, label %47
43: ; preds = %37
%44 = load ptr, ptr %5, align 8, !tbaa !21
%45 = load i32, ptr @BNX2X_F_CMD_HW_INIT, align 4, !tbaa !16
%46 = tail call i32 %44(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %45) #2
br label %47
47: ; preds = %19, %37, %43, %2
%48 = phi i32 [ %12, %2 ], [ 0, %43 ], [ %38, %37 ], [ %17, %19 ]
ret i32 %48
}
declare i32 @DP(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BP_ABS_FUNC(ptr noundef) local_unnamed_addr #1
declare i32 @BNX2X_ERR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @bnx2x_func_init_cmn_chip(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_cmn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_func(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, !12, i64 8}
!6 = !{!"bnx2x_func_state_params", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"bnx2x_func_sp_obj", !7, i64 0, !7, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"bnx2x_func_sp_drv_ops", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!18, !7, i64 8}
!20 = !{!18, !7, i64 16}
!21 = !{!15, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_func_hw_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_func_hw_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BNX2X_MSG_SP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"function %d load_code %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Error loading firmware\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Unknown load_code (0x%x) from MCP\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@BNX2X_F_CMD_HW_INIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnx2x_func_hw_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bnx2x_func_hw_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %1, align 8, !tbaa !14
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i32, ptr @BNX2X_MSG_SP, align 4, !tbaa !17
%9 = tail call i32 @BP_ABS_FUNC(ptr noundef %0) #2
%10 = tail call i32 @DP(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %4) #2
%11 = load ptr, ptr %7, align 8, !tbaa !18
%12 = tail call i32 %11(ptr noundef %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %47
14: ; preds = %2
%15 = getelementptr inbounds i8, ptr %7, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !20
%17 = tail call i32 %16(ptr noundef %0) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = tail call i32 (ptr, ...) @BNX2X_ERR(ptr noundef nonnull @.str.1) #2
%21 = getelementptr inbounds i8, ptr %7, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !21
%23 = tail call i32 %22(ptr noundef %0) #2
br label %47
24: ; preds = %14
switch i32 %4, label %33 [
i32 130, label %25
i32 131, label %27
i32 128, label %29
i32 129, label %31
]
25: ; preds = %24
%26 = tail call i32 @bnx2x_func_init_cmn_chip(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
27: ; preds = %24
%28 = tail call i32 @bnx2x_func_init_cmn(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
29: ; preds = %24
%30 = tail call i32 @bnx2x_func_init_port(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
31: ; preds = %24
%32 = tail call i32 @bnx2x_func_init_func(ptr noundef %0, ptr noundef nonnull %7) #2
br label %37
33: ; preds = %24
%34 = tail call i32 (ptr, ...) @BNX2X_ERR(ptr noundef nonnull @.str.2, i32 noundef %4) #2
%35 = load i32, ptr @EINVAL, align 4, !tbaa !17
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %31, %29, %27, %25, %33
%38 = phi i32 [ %36, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ]
%39 = getelementptr inbounds i8, ptr %7, i64 16
%40 = load ptr, ptr %39, align 8, !tbaa !21
%41 = tail call i32 %40(ptr noundef %0) #2
%42 = icmp eq i32 %38, 0
br i1 %42, label %43, label %47
43: ; preds = %37
%44 = load ptr, ptr %5, align 8, !tbaa !22
%45 = load i32, ptr @BNX2X_F_CMD_HW_INIT, align 4, !tbaa !17
%46 = tail call i32 %44(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %45) #2
br label %47
47: ; preds = %19, %37, %43, %2
%48 = phi i32 [ %12, %2 ], [ 0, %43 ], [ %38, %37 ], [ %17, %19 ]
ret i32 %48
}
declare i32 @DP(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BP_ABS_FUNC(ptr noundef) local_unnamed_addr #1
declare i32 @BNX2X_ERR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @bnx2x_func_init_cmn_chip(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_cmn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bnx2x_func_init_func(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, !13, i64 8}
!7 = !{!"bnx2x_func_state_params", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"bnx2x_func_sp_obj", !8, i64 0, !8, i64 8}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"bnx2x_func_sp_drv_ops", !8, i64 0, !8, i64 8, !8, i64 16}
!20 = !{!19, !8, i64 8}
!21 = !{!19, !8, i64 16}
!22 = !{!16, !8, i64 0}
| fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_sp.c_bnx2x_func_hw_init |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-era-target.c_metadata_digest_start.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-era-target.c_metadata_digest_start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.digest = type { i64, i32 }
@metadata_digest_lookup_writeset = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @metadata_digest_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @metadata_digest_start(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #2
%7 = load i32, ptr %0, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.digest, ptr %1, i64 0, i32 1
%9 = tail call i32 @dm_disk_bitset_init(i32 noundef %7, ptr noundef nonnull %8) #2
%10 = load i64, ptr @metadata_digest_lookup_writeset, align 8, !tbaa !13
store i64 %10, ptr %1, align 8, !tbaa !5
br label %11
11: ; preds = %2, %5
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dm_disk_bitset_init(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"digest", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"era_metadata", !10, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-era-target.c_metadata_digest_start.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-era-target.c_metadata_digest_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@metadata_digest_lookup_writeset = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @metadata_digest_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @metadata_digest_start(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #2
%7 = load i32, ptr %0, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = tail call i32 @dm_disk_bitset_init(i32 noundef %7, ptr noundef nonnull %8) #2
%10 = load i64, ptr @metadata_digest_lookup_writeset, align 8, !tbaa !14
store i64 %10, ptr %1, align 8, !tbaa !6
br label %11
11: ; preds = %2, %5
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dm_disk_bitset_init(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"digest", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"era_metadata", !11, i64 0}
!14 = !{!8, !8, i64 0}
| linux_drivers_md_extr_dm-era-target.c_metadata_digest_start |
; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_h2frame.c_vlc_h2_parse_failed.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_h2frame.c_vlc_h2_parse_failed.c"
target datalayout = "e-m:e-p270:32:32-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 @vlc_h2_parse_failed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vlc_h2_parse_failed(ptr nocapture readnone %0, ptr noundef %1, i64 %2, i32 %3) #0 {
%5 = tail call i32 @free(ptr noundef %1) #2
ret i32 -1
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_h2frame.c_vlc_h2_parse_failed.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_h2frame.c_vlc_h2_parse_failed.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 @vlc_h2_parse_failed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vlc_h2_parse_failed(ptr nocapture readnone %0, ptr noundef %1, i64 %2, i32 %3) #0 {
%5 = tail call i32 @free(ptr noundef %1) #2
ret i32 -1
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| vlc_modules_access_http_extr_h2frame.c_vlc_h2_parse_failed |
; ModuleID = 'AnghaBench/freebsd/contrib/amd/hlfsd/extr_hlfsd.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/amd/hlfsd/extr_hlfsd.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [64 x i8] c"Usage: %s [-Cfhnpv] [-a altdir] [-c cache-interval] [-g group]\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"\09[-i interval] [-l logfile] [-o mntopts] [-P passwdfile]\0A\00", align 1
@xlog_opt = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"\09[dir_name [subdir]]\0A\00", align 1
@dbg_opt = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = tail call ptr (...) @am_get_progname() #3
%3 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #3
%4 = load i32, ptr @stderr, align 4, !tbaa !5
%5 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef nonnull @.str.1) #3
%6 = load i32, ptr @xlog_opt, align 4, !tbaa !5
%7 = tail call i32 @show_opts(i8 noundef signext 120, i32 noundef %6) #3
%8 = load i32, ptr @stderr, align 4, !tbaa !5
%9 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef nonnull @.str.2) #3
%10 = tail call i32 @exit(i32 noundef 2) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @am_get_progname(...) local_unnamed_addr #1
declare i32 @show_opts(i8 noundef signext, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/amd/hlfsd/extr_hlfsd.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/amd/hlfsd/extr_hlfsd.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [64 x i8] c"Usage: %s [-Cfhnpv] [-a altdir] [-c cache-interval] [-g group]\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"\09[-i interval] [-l logfile] [-o mntopts] [-P passwdfile]\0A\00", align 1
@xlog_opt = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"\09[dir_name [subdir]]\0A\00", align 1
@dbg_opt = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = tail call ptr @am_get_progname() #3
%3 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #3
%4 = load i32, ptr @stderr, align 4, !tbaa !6
%5 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef nonnull @.str.1) #3
%6 = load i32, ptr @xlog_opt, align 4, !tbaa !6
%7 = tail call i32 @show_opts(i8 noundef signext 120, i32 noundef %6) #3
%8 = load i32, ptr @stderr, align 4, !tbaa !6
%9 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef nonnull @.str.2) #3
%10 = tail call i32 @exit(i32 noundef 2) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @am_get_progname(...) local_unnamed_addr #1
declare i32 @show_opts(i8 noundef signext, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_amd_hlfsd_extr_hlfsd.c_usage |
; ModuleID = 'AnghaBench/openssl/crypto/modes/extr_ocb128.c_ocb_ntz.c'
source_filename = "AnghaBench/openssl/crypto/modes/extr_ocb128.c_ocb_ntz.c"
target datalayout = "e-m:e-p270:32:32-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 @ocb_ntz], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define internal i64 @ocb_ntz(i32 noundef %0) #0 {
%2 = and i32 %0, 1
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1, %4
%5 = phi i64 [ %8, %4 ], [ 0, %1 ]
%6 = phi i32 [ %7, %4 ], [ %0, %1 ]
%7 = ashr exact i32 %6, 1
%8 = add nuw nsw i64 %5, 1
%9 = and i32 %6, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %4, label %11, !llvm.loop !5
11: ; preds = %4, %1
%12 = phi i64 [ 0, %1 ], [ %8, %4 ]
ret i64 %12
}
attributes #0 = { nofree norecurse 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)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/openssl/crypto/modes/extr_ocb128.c_ocb_ntz.c'
source_filename = "AnghaBench/openssl/crypto/modes/extr_ocb128.c_ocb_ntz.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 @ocb_ntz], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync)
define internal i64 @ocb_ntz(i32 noundef %0) #0 {
%2 = and i32 %0, 1
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1, %4
%5 = phi i64 [ %8, %4 ], [ 0, %1 ]
%6 = phi i32 [ %7, %4 ], [ %0, %1 ]
%7 = ashr exact i32 %6, 1
%8 = add nuw nsw i64 %5, 1
%9 = and i32 %6, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %4, label %11, !llvm.loop !6
11: ; preds = %4, %1
%12 = phi i64 [ 0, %1 ], [ %8, %4 ]
ret i64 %12
}
attributes #0 = { nofree norecurse 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)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| openssl_crypto_modes_extr_ocb128.c_ocb_ntz |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_ub_event_pluggable.c_my_event_free.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_ub_event_pluggable.c_my_event_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @my_event_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @my_event_free(ptr noundef %0) #0 {
%2 = tail call i32 @AS_MY_EVENT(ptr noundef %0) #2
%3 = tail call i32 @free(i32 noundef %2) #2
ret void
}
declare i32 @free(i32 noundef) local_unnamed_addr #1
declare i32 @AS_MY_EVENT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_ub_event_pluggable.c_my_event_free.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_ub_event_pluggable.c_my_event_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @my_event_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @my_event_free(ptr noundef %0) #0 {
%2 = tail call i32 @AS_MY_EVENT(ptr noundef %0) #2
%3 = tail call i32 @free(i32 noundef %2) #2
ret void
}
declare i32 @free(i32 noundef) local_unnamed_addr #1
declare i32 @AS_MY_EVENT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_unbound_util_extr_ub_event_pluggable.c_my_event_free |
; ModuleID = 'AnghaBench/linux/tools/perf/extr_utilmap_groups.h_map_groups__next.c'
source_filename = "AnghaBench/linux/tools/perf/extr_utilmap_groups.h_map_groups__next.c"
target datalayout = "e-m:e-p270:32:32-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 @map_groups__next], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @map_groups__next(ptr noundef %0) #0 {
%2 = tail call ptr @map__next(ptr noundef %0) #2
ret ptr %2
}
declare ptr @map__next(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/extr_utilmap_groups.h_map_groups__next.c'
source_filename = "AnghaBench/linux/tools/perf/extr_utilmap_groups.h_map_groups__next.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 @map_groups__next], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @map_groups__next(ptr noundef %0) #0 {
%2 = tail call ptr @map__next(ptr noundef %0) #2
ret ptr %2
}
declare ptr @map__next(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_tools_perf_extr_utilmap_groups.h_map_groups__next |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_asic3.c_asic3_read_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_asic3.c_asic3_read_register.c"
target datalayout = "e-m:e-p270:32:32-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.asic3 = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @asic3_read_register], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @asic3_read_register(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.asic3, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = lshr i32 %1, %5
%7 = zext i32 %6 to i64
%8 = add nsw i64 %4, %7
%9 = tail call i32 @ioread16(i64 noundef %8) #2
ret i32 %9
}
declare i32 @ioread16(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"asic3", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_asic3.c_asic3_read_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_asic3.c_asic3_read_register.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 @asic3_read_register], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @asic3_read_register(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = lshr i32 %1, %5
%7 = zext i32 %6 to i64
%8 = add nsw i64 %4, %7
%9 = tail call i32 @ioread16(i64 noundef %8) #2
ret i32 %9
}
declare i32 @ioread16(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"asic3", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_mfd_extr_asic3.c_asic3_read_register |
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_iops_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_iops_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cfq_data = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @iops_mode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal noundef i32 @iops_mode(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.cfq_data, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5, %1
br label %9
9: ; preds = %5, %8
%10 = phi i32 [ 0, %8 ], [ 1, %5 ]
ret i32 %10
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"cfq_data", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_iops_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_iops_mode.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 @iops_mode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @iops_mode(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5, %1
br label %9
9: ; preds = %5, %8
%10 = phi i32 [ 0, %8 ], [ 1, %5 ]
ret i32 %10
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"cfq_data", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
| fastsocket_kernel_block_extr_cfq-iosched.c_iops_mode |
; ModuleID = 'AnghaBench/timescaledb/src/net/extr_http_response.c_ts_http_response_state_status_code.c'
source_filename = "AnghaBench/timescaledb/src/net/extr_http_response.c_ts_http_response_state_status_code.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @ts_http_response_state_status_code(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/timescaledb/src/net/extr_http_response.c_ts_http_response_state_status_code.c'
source_filename = "AnghaBench/timescaledb/src/net/extr_http_response.c_ts_http_response_state_status_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @ts_http_response_state_status_code(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| timescaledb_src_net_extr_http_response.c_ts_http_response_state_status_code |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_omap-sham.c_omap_sham_cra_sha512_init.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-sham.c_omap_sham_cra_sha512_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"
@.str = private unnamed_addr constant [7 x i8] c"sha512\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_sham_cra_sha512_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @omap_sham_cra_sha512_init(ptr noundef %0) #0 {
%2 = tail call i32 @omap_sham_cra_init_alg(ptr noundef %0, ptr noundef nonnull @.str) #2
ret i32 %2
}
declare i32 @omap_sham_cra_init_alg(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/drivers/crypto/extr_omap-sham.c_omap_sham_cra_sha512_init.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-sham.c_omap_sham_cra_sha512_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"sha512\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @omap_sham_cra_sha512_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @omap_sham_cra_sha512_init(ptr noundef %0) #0 {
%2 = tail call i32 @omap_sham_cra_init_alg(ptr noundef %0, ptr noundef nonnull @.str) #2
ret i32 %2
}
declare i32 @omap_sham_cra_init_alg(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_drivers_crypto_extr_omap-sham.c_omap_sham_cra_sha512_init |
; ModuleID = 'AnghaBench/linux/drivers/misc/mei/extr_hw-txe.c_mei_txe_readiness_clear.c'
source_filename = "AnghaBench/linux/drivers/misc/mei/extr_hw-txe.c_mei_txe_readiness_clear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SICR_HOST_IPC_READINESS_REQ_REG = dso_local local_unnamed_addr global i32 0, align 4
@SICR_HOST_IPC_READINESS_RDY_CLR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mei_txe_readiness_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mei_txe_readiness_clear(ptr noundef %0) #0 {
%2 = tail call ptr @to_txe_hw(ptr noundef %0) #2
%3 = load i32, ptr @SICR_HOST_IPC_READINESS_REQ_REG, align 4, !tbaa !5
%4 = load i32, ptr @SICR_HOST_IPC_READINESS_RDY_CLR, align 4, !tbaa !5
%5 = tail call i32 @mei_txe_br_reg_write(ptr noundef %2, i32 noundef %3, i32 noundef %4) #2
ret void
}
declare ptr @to_txe_hw(ptr noundef) local_unnamed_addr #1
declare i32 @mei_txe_br_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/mei/extr_hw-txe.c_mei_txe_readiness_clear.c'
source_filename = "AnghaBench/linux/drivers/misc/mei/extr_hw-txe.c_mei_txe_readiness_clear.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SICR_HOST_IPC_READINESS_REQ_REG = common local_unnamed_addr global i32 0, align 4
@SICR_HOST_IPC_READINESS_RDY_CLR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mei_txe_readiness_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mei_txe_readiness_clear(ptr noundef %0) #0 {
%2 = tail call ptr @to_txe_hw(ptr noundef %0) #2
%3 = load i32, ptr @SICR_HOST_IPC_READINESS_REQ_REG, align 4, !tbaa !6
%4 = load i32, ptr @SICR_HOST_IPC_READINESS_RDY_CLR, align 4, !tbaa !6
%5 = tail call i32 @mei_txe_br_reg_write(ptr noundef %2, i32 noundef %3, i32 noundef %4) #2
ret void
}
declare ptr @to_txe_hw(ptr noundef) local_unnamed_addr #1
declare i32 @mei_txe_br_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_misc_mei_extr_hw-txe.c_mei_txe_readiness_clear |
; ModuleID = 'AnghaBench/macvim/src/extr_window.c_alt_tabpage.c'
source_filename = "AnghaBench/macvim/src/extr_window.c_alt_tabpage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@curtab = dso_local local_unnamed_addr global ptr null, align 8
@first_tabpage = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @alt_tabpage], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal ptr @alt_tabpage() #0 {
%1 = load ptr, ptr @curtab, align 8, !tbaa !5
%2 = load ptr, ptr %1, align 8, !tbaa !9
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %10
4: ; preds = %0
%5 = load ptr, ptr @first_tabpage, align 8, !tbaa !5
br label %6
6: ; preds = %6, %4
%7 = phi ptr [ %5, %4 ], [ %8, %6 ]
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = icmp eq ptr %8, %1
br i1 %9, label %10, label %6, !llvm.loop !11
10: ; preds = %6, %0
%11 = phi ptr [ %2, %0 ], [ %7, %6 ]
ret ptr %11
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/macvim/src/extr_window.c_alt_tabpage.c'
source_filename = "AnghaBench/macvim/src/extr_window.c_alt_tabpage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@curtab = common local_unnamed_addr global ptr null, align 8
@first_tabpage = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @alt_tabpage], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @alt_tabpage() #0 {
%1 = load ptr, ptr @curtab, align 8, !tbaa !6
%2 = load ptr, ptr %1, align 8, !tbaa !10
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %10
4: ; preds = %0
%5 = load ptr, ptr @first_tabpage, align 8, !tbaa !6
br label %6
6: ; preds = %6, %4
%7 = phi ptr [ %5, %4 ], [ %8, %6 ]
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, %1
br i1 %9, label %10, label %6, !llvm.loop !12
10: ; preds = %6, %0
%11 = phi ptr [ %2, %0 ], [ %7, %6 ]
ret ptr %11
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| macvim_src_extr_window.c_alt_tabpage |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_compat.c_target_revision_func.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_compat.c_target_revision_func.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.editor_baton = type { i32, ptr }
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @target_revision_func], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @target_revision_func(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.editor_baton, 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 i32 %6(i32 noundef %7, i32 noundef %1, ptr noundef %2) #2
%9 = tail call i32 @SVN_ERR(i32 noundef %8) #2
%10 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14
ret ptr %10
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"editor_baton", !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}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_compat.c_target_revision_func.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_compat.c_target_revision_func.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @target_revision_func], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @target_revision_func(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #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 i32 %6(i32 noundef %7, i32 noundef %1, ptr noundef %2) #2
%9 = tail call i32 @SVN_ERR(i32 noundef %8) #2
%10 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15
ret ptr %10
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"editor_baton", !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}
!15 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_delta_extr_compat.c_target_revision_func |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_OVLP_STAGE_CO3.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_OVLP_STAGE_CO3.c"
target datalayout = "e-m:e-p270:32:32-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 @REG_MDP4_OVLP_STAGE_CO3], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @REG_MDP4_OVLP_STAGE_CO3(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @__offset_OVLP(i64 noundef %0) #2
%4 = tail call i64 @__offset_STAGE_CO3(i64 noundef %1) #2
%5 = add nsw i64 %4, %3
ret i64 %5
}
declare i64 @__offset_OVLP(i64 noundef) local_unnamed_addr #1
declare i64 @__offset_STAGE_CO3(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_OVLP_STAGE_CO3.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_OVLP_STAGE_CO3.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 @REG_MDP4_OVLP_STAGE_CO3], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @REG_MDP4_OVLP_STAGE_CO3(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @__offset_OVLP(i64 noundef %0) #2
%4 = tail call i64 @__offset_STAGE_CO3(i64 noundef %1) #2
%5 = add nsw i64 %4, %3
ret i64 %5
}
declare i64 @__offset_OVLP(i64 noundef) local_unnamed_addr #1
declare i64 @__offset_STAGE_CO3(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_msm_disp_mdp4_extr_mdp4.xml.h_REG_MDP4_OVLP_STAGE_CO3 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_report_luns.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_report_luns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"ENTER\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ata_scsiop_report_luns], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ata_scsiop_report_luns(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @VPRINTK(ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i32, ptr %1, i64 3
store i32 8, ptr %4, align 4, !tbaa !5
ret i32 0
}
declare i32 @VPRINTK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_report_luns.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_report_luns.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"ENTER\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ata_scsiop_report_luns], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ata_scsiop_report_luns(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @VPRINTK(ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %1, i64 12
store i32 8, ptr %4, align 4, !tbaa !6
ret i32 0
}
declare i32 @VPRINTK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_ata_extr_libata-scsi.c_ata_scsiop_report_luns |
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-track.c_track_free.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-track.c_track_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, ptr, ptr, i32, i64 }
@tracks = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @track_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @track_free(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = load i32, ptr @tracks, align 4, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i32 @LIST_REMOVE(i32 noundef %7, i32 noundef %10, ptr noundef nonnull %0) #2
br label %12
12: ; preds = %6, %1
%13 = tail call i32 @bus_track_remove_from_queue(ptr noundef nonnull %0) #2
%14 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3
%15 = load i32, ptr %14, align 8, !tbaa !16
%16 = tail call i32 @hashmap_free(i32 noundef %15) #2
store i32 %16, ptr %14, align 8, !tbaa !16
%17 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = tail call ptr @sd_bus_unref(ptr noundef %18) #2
store ptr %19, ptr %17, align 8, !tbaa !13
%20 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = icmp eq ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %12
%24 = load i32, ptr %0, align 8, !tbaa !18
%25 = tail call i32 %21(i32 noundef %24) #2
br label %26
26: ; preds = %23, %12
%27 = tail call ptr @mfree(ptr noundef nonnull %0) #2
ret ptr %27
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @LIST_REMOVE(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_track_remove_from_queue(ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_free(i32 noundef) local_unnamed_addr #1
declare ptr @sd_bus_unref(ptr noundef) local_unnamed_addr #1
declare ptr @mfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_12__", !7, i64 0}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-track.c_track_free.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-track.c_track_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tracks = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @track_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @track_free(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = load i32, ptr @tracks, align 4, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = tail call i32 @LIST_REMOVE(i32 noundef %7, i32 noundef %10, ptr noundef nonnull %0) #2
br label %12
12: ; preds = %6, %1
%13 = tail call i32 @bus_track_remove_from_queue(ptr noundef nonnull %0) #2
%14 = getelementptr inbounds i8, ptr %0, i64 24
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = tail call i32 @hashmap_free(i32 noundef %15) #2
store i32 %16, ptr %14, align 8, !tbaa !17
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = tail call ptr @sd_bus_unref(ptr noundef %18) #2
store ptr %19, ptr %17, align 8, !tbaa !14
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = icmp eq ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %12
%24 = load i32, ptr %0, align 8, !tbaa !19
%25 = tail call i32 %21(i32 noundef %24) #2
br label %26
26: ; preds = %23, %12
%27 = tail call ptr @mfree(ptr noundef nonnull %0) #2
ret ptr %27
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @LIST_REMOVE(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_track_remove_from_queue(ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_free(i32 noundef) local_unnamed_addr #1
declare ptr @sd_bus_unref(ptr noundef) local_unnamed_addr #1
declare ptr @mfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 32}
!7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !12, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 16}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_12__", !8, i64 0}
!17 = !{!7, !8, i64 24}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !8, i64 0}
| systemd_src_libsystemd_sd-bus_extr_bus-track.c_track_free |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac.c_MgntQuery_MgntFrameTxRate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac.c_MgntQuery_MgntFrameTxRate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_device = type { i32, i64, ptr }
%struct.TYPE_2__ = type { i32, i32 }
@HT_IOT_ACT_MGNT_USE_CCK_6M = dso_local local_unnamed_addr global i32 0, align 4
@IEEE_A = dso_local local_unnamed_addr global i64 0, align 8
@IEEE_N_5G = dso_local local_unnamed_addr global i64 0, align 8
@IEEE_N_24G = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @MgntQuery_MgntFrameTxRate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @MgntQuery_MgntFrameTxRate(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.ieee80211_device, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = load i32, ptr @HT_IOT_ACT_MGNT_USE_CCK_6M, align 4, !tbaa !14
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %28
8: ; preds = %1
%9 = load i32, ptr %0, align 8, !tbaa !15
%10 = and i32 %9, 127
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = getelementptr inbounds %struct.ieee80211_device, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = load i64, ptr @IEEE_A, align 8, !tbaa !17
%16 = icmp eq i64 %14, %15
%17 = load i64, ptr @IEEE_N_5G, align 8
%18 = icmp eq i64 %14, %17
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %28, label %20
20: ; preds = %12
%21 = load i64, ptr @IEEE_N_24G, align 8, !tbaa !17
%22 = icmp eq i64 %14, %21
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = icmp eq i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23, %20
br label %28
28: ; preds = %1, %12, %23, %27, %8
%29 = phi i32 [ 2, %27 ], [ %10, %8 ], [ 12, %23 ], [ 12, %12 ], [ 12, %1 ]
ret i32 %29
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"ieee80211_device", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!13, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac.c_MgntQuery_MgntFrameTxRate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac.c_MgntQuery_MgntFrameTxRate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HT_IOT_ACT_MGNT_USE_CCK_6M = common local_unnamed_addr global i32 0, align 4
@IEEE_A = common local_unnamed_addr global i64 0, align 8
@IEEE_N_5G = common local_unnamed_addr global i64 0, align 8
@IEEE_N_24G = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @MgntQuery_MgntFrameTxRate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 1, 128) i32 @MgntQuery_MgntFrameTxRate(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = load i32, ptr @HT_IOT_ACT_MGNT_USE_CCK_6M, align 4, !tbaa !15
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %28
8: ; preds = %1
%9 = load i32, ptr %0, align 8, !tbaa !16
%10 = and i32 %9, 127
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = load i64, ptr @IEEE_A, align 8, !tbaa !18
%16 = icmp eq i64 %14, %15
%17 = load i64, ptr @IEEE_N_5G, align 8
%18 = icmp eq i64 %14, %17
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %28, label %20
20: ; preds = %12
%21 = load i64, ptr @IEEE_N_24G, align 8, !tbaa !18
%22 = icmp eq i64 %14, %21
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %3, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = icmp eq i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23, %20
br label %28
28: ; preds = %1, %12, %23, %27, %8
%29 = phi i32 [ 2, %27 ], [ %10, %8 ], [ 12, %23 ], [ 12, %12 ], [ 12, %1 ]
ret i32 %29
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"ieee80211_device", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !8, i64 4}
| linux_drivers_staging_rtl8192u_ieee80211_extr_ieee80211_softmac.c_MgntQuery_MgntFrameTxRate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_ComputeTxTime.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_ComputeTxTime.c"
target datalayout = "e-m:e-p270:32:32-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 @ComputeTxTime(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @rtl8192_IsWirelessBMode(i32 noundef %1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %22, label %7
7: ; preds = %4
%8 = icmp ne i64 %2, 0
%9 = icmp eq i64 %3, 0
%10 = or i1 %8, %9
%11 = icmp eq i32 %1, 10
%12 = or i1 %11, %10
%13 = shl nsw i32 %0, 3
%14 = sdiv i32 %1, 10
%15 = sdiv i32 %13, %14
%16 = select i1 %12, i32 192, i32 96
%17 = add nsw i32 %15, %16
%18 = srem i32 %13, %14
%19 = icmp ne i32 %18, 0
%20 = zext i1 %19 to i32
%21 = add nsw i32 %17, %20
br label %33
22: ; preds = %4
%23 = tail call i32 @N_DBPSOfRate(i32 noundef %1) #2
%24 = shl nsw i32 %0, 3
%25 = add nsw i32 %24, 22
%26 = sdiv i32 %25, %23
%27 = srem i32 %25, %23
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i32
%30 = add nsw i32 %26, %29
%31 = shl nsw i32 %30, 2
%32 = add nsw i32 %31, 26
br label %33
33: ; preds = %7, %22
%34 = phi i32 [ %32, %22 ], [ %21, %7 ]
ret i32 %34
}
declare i64 @rtl8192_IsWirelessBMode(i32 noundef) local_unnamed_addr #1
declare i32 @N_DBPSOfRate(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_ComputeTxTime.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_ComputeTxTime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483622, -2147483648) i32 @ComputeTxTime(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @rtl8192_IsWirelessBMode(i32 noundef %1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %4
%8 = icmp ne i64 %2, 0
%9 = icmp eq i64 %3, 0
%10 = or i1 %8, %9
%11 = icmp eq i32 %1, 10
%12 = or i1 %11, %10
%13 = shl nsw i32 %0, 3
%14 = sdiv i32 %1, 10
%15 = sdiv i32 %13, %14
%16 = select i1 %12, i32 192, i32 96
%17 = add nsw i32 %15, %16
%18 = mul i32 %15, %14
%19 = sub i32 %13, %18
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i32
%22 = add nsw i32 %17, %21
br label %36
23: ; preds = %4
%24 = tail call i32 @N_DBPSOfRate(i32 noundef %1) #2
%25 = shl nsw i32 %0, 3
%26 = add nsw i32 %25, 22
%27 = freeze i32 %24
%28 = sdiv i32 %26, %27
%29 = mul i32 %28, %27
%30 = sub i32 %26, %29
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i32
%33 = add nsw i32 %28, %32
%34 = shl nsw i32 %33, 2
%35 = add nsw i32 %34, 26
br label %36
36: ; preds = %7, %23
%37 = phi i32 [ %35, %23 ], [ %22, %7 ]
ret i32 %37
}
declare i64 @rtl8192_IsWirelessBMode(i32 noundef) local_unnamed_addr #1
declare i32 @N_DBPSOfRate(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_staging_rtl8192su_extr_r8192U_core.c_ComputeTxTime |
; ModuleID = 'AnghaBench/php-src/ext/pdo/extr_pdo_stmt.c_row_get_classname.c'
source_filename = "AnghaBench/php-src/ext/pdo/extr_pdo_stmt.c_row_get_classname.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"PDORow\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @row_get_classname], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @row_get_classname(ptr nocapture readnone %0) #0 {
%2 = tail call ptr @zend_string_init(ptr noundef nonnull @.str, i32 noundef 6, i32 noundef 0) #2
ret ptr %2
}
declare ptr @zend_string_init(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/php-src/ext/pdo/extr_pdo_stmt.c_row_get_classname.c'
source_filename = "AnghaBench/php-src/ext/pdo/extr_pdo_stmt.c_row_get_classname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"PDORow\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @row_get_classname], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @row_get_classname(ptr nocapture readnone %0) #0 {
%2 = tail call ptr @zend_string_init(ptr noundef nonnull @.str, i32 noundef 6, i32 noundef 0) #2
ret ptr %2
}
declare ptr @zend_string_init(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)"}
| php-src_ext_pdo_extr_pdo_stmt.c_row_get_classname |
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmloption.c_HTMLOptionElement_Create.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmloption.c_HTMLOptionElement_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"
%struct.TYPE_10__ = type { %struct.TYPE_11__, i32, %struct.TYPE_9__ }
%struct.TYPE_11__ = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { ptr }
%struct.TYPE_9__ = type { ptr }
@E_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4
@HTMLOptionElementVtbl = dso_local global i32 0, align 4
@HTMLOptionElementImplVtbl = dso_local global i32 0, align 4
@HTMLOptionElement_dispex = dso_local global i32 0, align 4
@IID_nsIDOMHTMLOptionElement = dso_local global i32 0, align 4
@NS_OK = dso_local local_unnamed_addr global i64 0, align 8
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @HTMLOptionElement_Create(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @heap_alloc_zero(i32 noundef 24) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2
store ptr @HTMLOptionElementVtbl, ptr %7, align 8, !tbaa !5
store ptr @HTMLOptionElementImplVtbl, ptr %4, align 8, !tbaa !14
%8 = tail call i32 @HTMLElement_Init(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1, ptr noundef nonnull @HTMLOptionElement_dispex) #2
%9 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1
%10 = tail call i64 @nsIDOMHTMLElement_QueryInterface(ptr noundef %1, ptr noundef nonnull @IID_nsIDOMHTMLOptionElement, ptr noundef nonnull %9) #2
%11 = load i64, ptr @NS_OK, align 8, !tbaa !15
%12 = icmp eq i64 %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #2
store ptr %4, ptr %2, align 8, !tbaa !17
br label %15
15: ; preds = %3, %6
%16 = phi ptr [ @S_OK, %6 ], [ @E_OUTOFMEMORY, %3 ]
%17 = load i32, ptr %16, align 4, !tbaa !18
ret i32 %17
}
declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1
declare i32 @HTMLElement_Init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @nsIDOMHTMLElement_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
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, !9, i64 16}
!6 = !{!"TYPE_10__", !7, i64 0, !12, i64 8, !13, i64 16}
!7 = !{!"TYPE_11__", !8, i64 0}
!8 = !{!"TYPE_8__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"TYPE_9__", !9, i64 0}
!14 = !{!6, !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!9, !9, i64 0}
!18 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmloption.c_HTMLOptionElement_Create.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmloption.c_HTMLOptionElement_Create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4
@HTMLOptionElementVtbl = common global i32 0, align 4
@HTMLOptionElementImplVtbl = common global i32 0, align 4
@HTMLOptionElement_dispex = common global i32 0, align 4
@IID_nsIDOMHTMLOptionElement = common global i32 0, align 4
@NS_OK = common local_unnamed_addr global i64 0, align 8
@S_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @HTMLOptionElement_Create(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @heap_alloc_zero(i32 noundef 24) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 16
store ptr @HTMLOptionElementVtbl, ptr %7, align 8, !tbaa !6
store ptr @HTMLOptionElementImplVtbl, ptr %4, align 8, !tbaa !15
%8 = tail call i32 @HTMLElement_Init(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1, ptr noundef nonnull @HTMLOptionElement_dispex) #2
%9 = getelementptr inbounds i8, ptr %4, i64 8
%10 = tail call i64 @nsIDOMHTMLElement_QueryInterface(ptr noundef %1, ptr noundef nonnull @IID_nsIDOMHTMLOptionElement, ptr noundef nonnull %9) #2
%11 = load i64, ptr @NS_OK, align 8, !tbaa !16
%12 = icmp eq i64 %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #2
store ptr %4, ptr %2, align 8, !tbaa !18
br label %15
15: ; preds = %3, %6
%16 = phi ptr [ @S_OK, %6 ], [ @E_OUTOFMEMORY, %3 ]
%17 = load i32, ptr %16, align 4, !tbaa !19
ret i32 %17
}
declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1
declare i32 @HTMLElement_Init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @nsIDOMHTMLElement_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
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, !10, i64 16}
!7 = !{!"TYPE_10__", !8, i64 0, !13, i64 8, !14, i64 16}
!8 = !{!"TYPE_11__", !9, i64 0}
!9 = !{!"TYPE_8__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"int", !11, i64 0}
!14 = !{!"TYPE_9__", !10, i64 0}
!15 = !{!7, !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!10, !10, i64 0}
!19 = !{!13, !13, i64 0}
| reactos_dll_win32_mshtml_extr_htmloption.c_HTMLOptionElement_Create |
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_common.c__hdb_store.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_common.c__hdb_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.TYPE_18__ = type { i32, ptr }
%struct.TYPE_17__ = type { i64, i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"malloc: out of memory\00", align 1
@HDB_F_REPLACE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @_hdb_store(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%8 = tail call i32 @hdb_check_aliases(i32 noundef %0, ptr noundef %1, ptr noundef %3) #4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %52
10: ; preds = %4
%11 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %26
14: ; preds = %10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
%15 = tail call ptr @malloc(i32 noundef 16) #4
store ptr %15, ptr %11, align 8, !tbaa !5
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%19 = tail call i32 @krb5_set_error_message(i32 noundef %0, i32 noundef %18, ptr noundef nonnull @.str) #4
%20 = load i32, ptr @ENOMEM, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
br label %52
21: ; preds = %14
%22 = call i32 @gettimeofday(ptr noundef nonnull %7, ptr noundef null)
%23 = load ptr, ptr %11, align 8, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_17__, ptr %23, i64 0, i32 1
%25 = load <2 x i32>, ptr %7, align 8, !tbaa !12
store <2 x i32> %25, ptr %24, align 8, !tbaa !12
store i64 0, ptr %23, align 8, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
br label %29
26: ; preds = %10
%27 = load i64, ptr %12, align 8, !tbaa !13
%28 = add nsw i64 %27, 1
store i64 %28, ptr %12, align 8, !tbaa !13
br label %29
29: ; preds = %21, %26
%30 = tail call i32 @hdb_seal_keys(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3) #4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %29
%33 = load i32, ptr %3, align 8, !tbaa !16
%34 = call i32 @hdb_principal2key(i32 noundef %0, i32 noundef %33, ptr noundef nonnull %5) #4
%35 = call i32 @hdb_remove_aliases(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5) #4
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = call i32 @krb5_data_free(ptr noundef nonnull %5) #4
br label %52
39: ; preds = %32
%40 = call i32 @hdb_entry2value(i32 noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %6) #4
%41 = load ptr, ptr %1, align 8, !tbaa !17
%42 = load i32, ptr @HDB_F_REPLACE, align 4, !tbaa !12
%43 = and i32 %42, %2
%44 = load i32, ptr %5, align 4, !tbaa !12
%45 = load i32, ptr %6, align 4, !tbaa !12
%46 = call i32 %41(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %43, i32 noundef %44, i32 noundef %45) #4
%47 = call i32 @krb5_data_free(ptr noundef nonnull %6) #4
%48 = call i32 @krb5_data_free(ptr noundef nonnull %5) #4
%49 = icmp eq i32 %46, 0
br i1 %49, label %50, label %52
50: ; preds = %39
%51 = call i32 @hdb_add_aliases(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef nonnull %3) #4
br label %52
52: ; preds = %17, %39, %29, %4, %50, %37
%53 = phi i32 [ %35, %37 ], [ %51, %50 ], [ %8, %4 ], [ %30, %29 ], [ %46, %39 ], [ %20, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hdb_check_aliases(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
declare i32 @krb5_set_error_message(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @hdb_seal_keys(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_principal2key(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_remove_aliases(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2
declare i32 @hdb_entry2value(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_add_aliases(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !11, i64 8}
!6 = !{!"TYPE_15__", !7, i64 0}
!7 = !{!"TYPE_18__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_17__", !15, i64 0, !8, i64 8, !8, i64 12}
!15 = !{!"long", !9, i64 0}
!16 = !{!6, !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_16__", !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_common.c__hdb_store.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_common.c__hdb_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i32, i32 }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"malloc: out of memory\00", align 1
@HDB_F_REPLACE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_hdb_store(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%8 = tail call i32 @hdb_check_aliases(i32 noundef %0, ptr noundef %1, ptr noundef %3) #4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %52
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %3, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %26
14: ; preds = %10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
%15 = tail call ptr @malloc(i32 noundef 16) #4
store ptr %15, ptr %11, align 8, !tbaa !6
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%19 = tail call i32 @krb5_set_error_message(i32 noundef %0, i32 noundef %18, ptr noundef nonnull @.str) #4
%20 = load i32, ptr @ENOMEM, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
br label %52
21: ; preds = %14
%22 = call i32 @gettimeofday(ptr noundef nonnull %7, ptr noundef null)
%23 = load ptr, ptr %11, align 8, !tbaa !6
%24 = getelementptr inbounds i8, ptr %23, i64 8
%25 = load <2 x i32>, ptr %7, align 8, !tbaa !13
store <2 x i32> %25, ptr %24, align 8, !tbaa !13
store i64 0, ptr %23, align 8, !tbaa !14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
br label %29
26: ; preds = %10
%27 = load i64, ptr %12, align 8, !tbaa !14
%28 = add nsw i64 %27, 1
store i64 %28, ptr %12, align 8, !tbaa !14
br label %29
29: ; preds = %21, %26
%30 = tail call i32 @hdb_seal_keys(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3) #4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %29
%33 = load i32, ptr %3, align 8, !tbaa !17
%34 = call i32 @hdb_principal2key(i32 noundef %0, i32 noundef %33, ptr noundef nonnull %5) #4
%35 = call i32 @hdb_remove_aliases(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5) #4
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = call i32 @krb5_data_free(ptr noundef nonnull %5) #4
br label %52
39: ; preds = %32
%40 = call i32 @hdb_entry2value(i32 noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %6) #4
%41 = load ptr, ptr %1, align 8, !tbaa !18
%42 = load i32, ptr @HDB_F_REPLACE, align 4, !tbaa !13
%43 = and i32 %42, %2
%44 = load i32, ptr %5, align 4, !tbaa !13
%45 = load i32, ptr %6, align 4, !tbaa !13
%46 = call i32 %41(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %43, i32 noundef %44, i32 noundef %45) #4
%47 = call i32 @krb5_data_free(ptr noundef nonnull %6) #4
%48 = call i32 @krb5_data_free(ptr noundef nonnull %5) #4
%49 = icmp eq i32 %46, 0
br i1 %49, label %50, label %52
50: ; preds = %39
%51 = call i32 @hdb_add_aliases(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef nonnull %3) #4
br label %52
52: ; preds = %17, %39, %29, %4, %50, %37
%53 = phi i32 [ %35, %37 ], [ %51, %50 ], [ %8, %4 ], [ %30, %29 ], [ %46, %39 ], [ %20, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hdb_check_aliases(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
declare i32 @krb5_set_error_message(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @hdb_seal_keys(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_principal2key(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_remove_aliases(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2
declare i32 @hdb_entry2value(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hdb_add_aliases(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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, !12, i64 8}
!7 = !{!"TYPE_15__", !8, i64 0}
!8 = !{!"TYPE_18__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_17__", !16, i64 0, !9, i64 8, !9, i64 12}
!16 = !{!"long", !10, i64 0}
!17 = !{!7, !9, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_16__", !12, i64 0}
| freebsd_crypto_heimdal_lib_hdb_extr_common.c__hdb_store |
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_bq27xxx_battery_i2c.c_bq27xxx_battery_i2c_bulk_read.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_bq27xxx_battery_i2c.c_bq27xxx_battery_i2c_bulk_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bq27xxx_battery_i2c_bulk_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bq27xxx_battery_i2c_bulk_read(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @to_i2c_client(i32 noundef %5) #2
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @ENODEV, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %20
12: ; preds = %4
%13 = tail call i32 @i2c_smbus_read_i2c_block_data(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %3, ptr noundef %2) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %12
%16 = icmp eq i32 %13, %3
br i1 %16, label %20, label %17
17: ; preds = %15
%18 = load i32, ptr @EINVAL, align 4, !tbaa !12
%19 = sub nsw i32 0, %18
br label %20
20: ; preds = %15, %12, %17, %9
%21 = phi i32 [ %19, %17 ], [ %11, %9 ], [ %13, %12 ], [ 0, %15 ]
ret i32 %21
}
declare ptr @to_i2c_client(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_i2c_block_data(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, !7, i64 0}
!6 = !{!"bq27xxx_device_info", !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 = !{!"i2c_client", !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_bq27xxx_battery_i2c.c_bq27xxx_battery_i2c_bulk_read.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_bq27xxx_battery_i2c.c_bq27xxx_battery_i2c_bulk_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bq27xxx_battery_i2c_bulk_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bq27xxx_battery_i2c_bulk_read(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @to_i2c_client(i32 noundef %5) #2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @ENODEV, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %20
12: ; preds = %4
%13 = tail call i32 @i2c_smbus_read_i2c_block_data(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %3, ptr noundef %2) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %12
%16 = icmp eq i32 %13, %3
br i1 %16, label %20, label %17
17: ; preds = %15
%18 = load i32, ptr @EINVAL, align 4, !tbaa !13
%19 = sub nsw i32 0, %18
br label %20
20: ; preds = %15, %12, %17, %9
%21 = phi i32 [ %19, %17 ], [ %11, %9 ], [ %13, %12 ], [ 0, %15 ]
ret i32 %21
}
declare ptr @to_i2c_client(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_i2c_block_data(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, !8, i64 0}
!7 = !{!"bq27xxx_device_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"i2c_client", !8, i64 0}
!13 = !{!8, !8, i64 0}
| linux_drivers_power_supply_extr_bq27xxx_battery_i2c.c_bq27xxx_battery_i2c_bulk_read |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonfileconfig_file.c_config_entry_exists.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonfileconfig_file.c_config_entry_exists.c"
target datalayout = "e-m:e-p270:32:32-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.config_entry_list = type { ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @config_entry_exists(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %7, %2
%4 = phi ptr [ %0, %2 ], [ %5, %7 ]
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.config_entry_list, ptr %5, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !9
%10 = tail call i64 @string_is_equal(ptr noundef %1, i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %3, label %12, !llvm.loop !12
12: ; preds = %3, %7
%13 = phi i32 [ 1, %7 ], [ 0, %3 ]
ret i32 %13
}
declare i64 @string_is_equal(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 8}
!10 = !{!"config_entry_list", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonfileconfig_file.c_config_entry_exists.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonfileconfig_file.c_config_entry_exists.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @config_entry_exists(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %7, %2
%4 = phi ptr [ %0, %2 ], [ %5, %7 ]
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !10
%10 = tail call i64 @string_is_equal(ptr noundef %1, i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %3, label %12, !llvm.loop !13
12: ; preds = %3, %7
%13 = phi i32 [ 1, %7 ], [ 0, %3 ]
ret i32 %13
}
declare i64 @string_is_equal(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 8}
!11 = !{!"config_entry_list", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| RetroArch_griffin_extr_..libretro-commonfileconfig_file.c_config_entry_exists |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panfrost/extr_panfrost_device.c_panfrost_regulator_fini.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panfrost/extr_panfrost_device.c_panfrost_regulator_fini.c"
target datalayout = "e-m:e-p270:32:32-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 @panfrost_regulator_fini], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @panfrost_regulator_fini(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @regulator_disable(i32 noundef %2) #2
ret void
}
declare i32 @regulator_disable(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 = !{!"panfrost_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panfrost/extr_panfrost_device.c_panfrost_regulator_fini.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panfrost/extr_panfrost_device.c_panfrost_regulator_fini.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 @panfrost_regulator_fini], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @panfrost_regulator_fini(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @regulator_disable(i32 noundef %2) #2
ret void
}
declare i32 @regulator_disable(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 = !{!"panfrost_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_panfrost_extr_panfrost_device.c_panfrost_regulator_fini |
; ModuleID = 'AnghaBench/linux/drivers/net/caif/extr_caif_serial.c_ldisc_open.c'
source_filename = "AnghaBench/linux/drivers/net/caif/extr_caif_serial.c_ldisc_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tty_struct = type { ptr, i32, ptr, i32, ptr }
%struct.ser_device = type { i32, ptr, i32 }
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@CAP_SYS_ADMIN = dso_local local_unnamed_addr global i32 0, align 4
@CAP_SYS_TTY_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"cf%s\00", align 1
@IFNAMSIZ = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@NET_NAME_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@caifdev_setup = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@N_TTY_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@TTY_DO_WRITE_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@ser_lock = dso_local global i32 0, align 4
@ser_list = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ldisc_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ldisc_open(ptr noundef %0) #0 {
%2 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3
%3 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13
%9 = sub nsw i32 0, %8
br label %65
10: ; preds = %1
%11 = load i32, ptr @CAP_SYS_ADMIN, align 4, !tbaa !13
%12 = tail call i32 @capable(i32 noundef %11) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr @CAP_SYS_TTY_CONFIG, align 4, !tbaa !13
%16 = tail call i32 @capable(i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EPERM, align 4, !tbaa !13
%20 = sub nsw i32 0, %19
br label %65
21: ; preds = %14, %10
%22 = tail call i32 @ser_release(ptr noundef null) #3
%23 = load ptr, ptr %0, align 8, !tbaa !14
%24 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str, ptr noundef %23) #3
%25 = load i32, ptr @IFNAMSIZ, align 4, !tbaa !13
%26 = icmp slt i32 %24, %25
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @EINVAL, align 4, !tbaa !13
%29 = sub nsw i32 0, %28
br label %65
30: ; preds = %21
%31 = load i32, ptr @NET_NAME_UNKNOWN, align 4, !tbaa !13
%32 = load i32, ptr @caifdev_setup, align 4, !tbaa !13
%33 = call ptr @alloc_netdev(i32 noundef 24, ptr noundef nonnull %2, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%37 = sub nsw i32 0, %36
br label %65
38: ; preds = %30
%39 = call ptr @netdev_priv(ptr noundef nonnull %33) #3
%40 = call i32 @tty_kref_get(ptr noundef nonnull %0) #3
%41 = getelementptr inbounds %struct.ser_device, ptr %39, i64 0, i32 2
store i32 %40, ptr %41, align 8, !tbaa !15
%42 = getelementptr inbounds %struct.ser_device, ptr %39, i64 0, i32 1
store ptr %33, ptr %42, align 8, !tbaa !17
%43 = call i32 @debugfs_init(ptr noundef %39, ptr noundef nonnull %0) #3
%44 = load i32, ptr @N_TTY_BUF_SIZE, align 4, !tbaa !13
%45 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 3
store i32 %44, ptr %45, align 8, !tbaa !18
%46 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 2
store ptr %39, ptr %46, align 8, !tbaa !19
%47 = load i32, ptr @TTY_DO_WRITE_WAKEUP, align 4, !tbaa !13
%48 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 1
%49 = call i32 @set_bit(i32 noundef %47, ptr noundef nonnull %48) #3
%50 = call i32 (...) @rtnl_lock() #3
%51 = call i32 @register_netdevice(ptr noundef nonnull %33) #3
%52 = icmp eq i32 %51, 0
br i1 %52, label %58, label %53
53: ; preds = %38
%54 = call i32 (...) @rtnl_unlock() #3
%55 = call i32 @free_netdev(ptr noundef nonnull %33) #3
%56 = load i32, ptr @ENODEV, align 4, !tbaa !13
%57 = sub nsw i32 0, %56
br label %65
58: ; preds = %38
%59 = call i32 @spin_lock(ptr noundef nonnull @ser_lock) #3
%60 = call i32 @list_add(ptr noundef nonnull %39, ptr noundef nonnull @ser_list) #3
%61 = call i32 @spin_unlock(ptr noundef nonnull @ser_lock) #3
%62 = call i32 (...) @rtnl_unlock() #3
%63 = call i32 @netif_stop_queue(ptr noundef nonnull %33) #3
%64 = call i32 @update_tty_status(ptr noundef nonnull %39) #3
br label %65
65: ; preds = %58, %53, %35, %27, %18, %7
%66 = phi i32 [ %9, %7 ], [ %29, %27 ], [ %57, %53 ], [ 0, %58 ], [ %37, %35 ], [ %20, %18 ]
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @capable(i32 noundef) local_unnamed_addr #2
declare i32 @ser_release(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @alloc_netdev(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @tty_kref_get(ptr noundef) local_unnamed_addr #2
declare i32 @debugfs_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_lock(...) local_unnamed_addr #2
declare i32 @register_netdevice(ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_unlock(...) local_unnamed_addr #2
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #2
declare i32 @update_tty_status(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 32}
!6 = !{!"tty_struct", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !10, i64 16}
!16 = !{!"ser_device", !10, i64 0, !7, i64 8, !10, i64 16}
!17 = !{!16, !7, i64 8}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/net/caif/extr_caif_serial.c_ldisc_open.c'
source_filename = "AnghaBench/linux/drivers/net/caif/extr_caif_serial.c_ldisc_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@CAP_SYS_ADMIN = common local_unnamed_addr global i32 0, align 4
@CAP_SYS_TTY_CONFIG = common local_unnamed_addr global i32 0, align 4
@EPERM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"cf%s\00", align 1
@IFNAMSIZ = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@NET_NAME_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@caifdev_setup = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@N_TTY_BUF_SIZE = common local_unnamed_addr global i32 0, align 4
@TTY_DO_WRITE_WAKEUP = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@ser_lock = common global i32 0, align 4
@ser_list = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ldisc_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ldisc_open(ptr noundef %0) #0 {
%2 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !14
%9 = sub nsw i32 0, %8
br label %65
10: ; preds = %1
%11 = load i32, ptr @CAP_SYS_ADMIN, align 4, !tbaa !14
%12 = tail call i32 @capable(i32 noundef %11) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr @CAP_SYS_TTY_CONFIG, align 4, !tbaa !14
%16 = tail call i32 @capable(i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EPERM, align 4, !tbaa !14
%20 = sub nsw i32 0, %19
br label %65
21: ; preds = %14, %10
%22 = tail call i32 @ser_release(ptr noundef null) #3
%23 = load ptr, ptr %0, align 8, !tbaa !15
%24 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str, ptr noundef %23) #3
%25 = load i32, ptr @IFNAMSIZ, align 4, !tbaa !14
%26 = icmp slt i32 %24, %25
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @EINVAL, align 4, !tbaa !14
%29 = sub nsw i32 0, %28
br label %65
30: ; preds = %21
%31 = load i32, ptr @NET_NAME_UNKNOWN, align 4, !tbaa !14
%32 = load i32, ptr @caifdev_setup, align 4, !tbaa !14
%33 = call ptr @alloc_netdev(i32 noundef 24, ptr noundef nonnull %2, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%37 = sub nsw i32 0, %36
br label %65
38: ; preds = %30
%39 = call ptr @netdev_priv(ptr noundef nonnull %33) #3
%40 = call i32 @tty_kref_get(ptr noundef nonnull %0) #3
%41 = getelementptr inbounds i8, ptr %39, i64 16
store i32 %40, ptr %41, align 8, !tbaa !16
%42 = getelementptr inbounds i8, ptr %39, i64 8
store ptr %33, ptr %42, align 8, !tbaa !18
%43 = call i32 @debugfs_init(ptr noundef %39, ptr noundef nonnull %0) #3
%44 = load i32, ptr @N_TTY_BUF_SIZE, align 4, !tbaa !14
%45 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %44, ptr %45, align 8, !tbaa !19
%46 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %39, ptr %46, align 8, !tbaa !20
%47 = load i32, ptr @TTY_DO_WRITE_WAKEUP, align 4, !tbaa !14
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = call i32 @set_bit(i32 noundef %47, ptr noundef nonnull %48) #3
%50 = call i32 @rtnl_lock() #3
%51 = call i32 @register_netdevice(ptr noundef nonnull %33) #3
%52 = icmp eq i32 %51, 0
br i1 %52, label %58, label %53
53: ; preds = %38
%54 = call i32 @rtnl_unlock() #3
%55 = call i32 @free_netdev(ptr noundef nonnull %33) #3
%56 = load i32, ptr @ENODEV, align 4, !tbaa !14
%57 = sub nsw i32 0, %56
br label %65
58: ; preds = %38
%59 = call i32 @spin_lock(ptr noundef nonnull @ser_lock) #3
%60 = call i32 @list_add(ptr noundef nonnull %39, ptr noundef nonnull @ser_list) #3
%61 = call i32 @spin_unlock(ptr noundef nonnull @ser_lock) #3
%62 = call i32 @rtnl_unlock() #3
%63 = call i32 @netif_stop_queue(ptr noundef nonnull %33) #3
%64 = call i32 @update_tty_status(ptr noundef nonnull %39) #3
br label %65
65: ; preds = %58, %53, %35, %27, %18, %7
%66 = phi i32 [ %9, %7 ], [ %29, %27 ], [ %57, %53 ], [ 0, %58 ], [ %37, %35 ], [ %20, %18 ]
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @capable(i32 noundef) local_unnamed_addr #2
declare i32 @ser_release(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @alloc_netdev(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @tty_kref_get(ptr noundef) local_unnamed_addr #2
declare i32 @debugfs_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_lock(...) local_unnamed_addr #2
declare i32 @register_netdevice(ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_unlock(...) local_unnamed_addr #2
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #2
declare i32 @update_tty_status(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 32}
!7 = !{!"tty_struct", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !11, i64 16}
!17 = !{!"ser_device", !11, i64 0, !8, i64 8, !11, i64 16}
!18 = !{!17, !8, i64 8}
!19 = !{!7, !11, i64 24}
!20 = !{!7, !8, i64 16}
| linux_drivers_net_caif_extr_caif_serial.c_ldisc_open |
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/hw/vga/extr_vt_vga.c_vga_bitblt_one_text_pixels_block.c'
source_filename = "AnghaBench/freebsd/sys/dev/vt/hw/vga/extr_vt_vga.c_vga_bitblt_one_text_pixels_block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i32, i32 }
%struct.TYPE_8__ = type { i32, i32 }
%struct.vt_window = type { %struct.TYPE_12__, ptr, %struct.vt_buf }
%struct.TYPE_12__ = type { %struct.TYPE_11__, %struct.TYPE_10__ }
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_10__ = type { i32, i32 }
%struct.vt_buf = type { i32 }
%struct.vt_font = type { i32, i32 }
%struct.vt_device = type { i32, i32, i64, i64, ptr, i64 }
%struct.vt_mouse_cursor = type { i32, i32, ptr, ptr }
@VT_VGA_PIXELS_BLOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vga_bitblt_one_text_pixels_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vga_bitblt_one_text_pixels_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [16 x i32], align 16
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca %struct.TYPE_13__, align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
%9 = getelementptr inbounds %struct.vt_window, ptr %1, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i32, i64 %12, align 16
%15 = load ptr, ptr %9, align 8, !tbaa !5
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = shl nsw i32 %16, 4
%18 = zext i32 %17 to i64
%19 = alloca i32, i64 %18, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
%20 = getelementptr inbounds %struct.vt_window, ptr %1, i64 0, i32 2
%21 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 64) #5
%22 = shl i32 %11, 2
%23 = call i32 @memset(ptr noundef nonnull %14, i32 noundef 0, i32 noundef %22) #5
%24 = shl i32 %16, 6
%25 = call i32 @memset(ptr noundef nonnull %19, i32 noundef 0, i32 noundef %24) #5
%26 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !17
%28 = call i32 @llvm.umax.i32(i32 %27, i32 %2)
%29 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%30 = add i32 %29, %2
%31 = icmp ult i32 %28, %30
br i1 %31, label %32, label %100
32: ; preds = %4
%33 = getelementptr inbounds %struct.vt_font, ptr %15, i64 0, i32 1
%34 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1, i32 1
%35 = load i32, ptr %1, align 8, !tbaa !19
%36 = icmp ult i32 %28, %35
br i1 %36, label %40, label %100
37: ; preds = %40
%38 = load i32, ptr %1, align 8, !tbaa !19
%39 = icmp ult i32 %96, %38
br i1 %39, label %40, label %100, !llvm.loop !20
40: ; preds = %32, %37
%41 = phi i32 [ %67, %37 ], [ 0, %32 ]
%42 = phi i32 [ %96, %37 ], [ %28, %32 ]
%43 = load i32, ptr %26, align 4, !tbaa !17
%44 = sub i32 %42, %43
%45 = load i32, ptr %33, align 4, !tbaa !22
%46 = udiv i32 %44, %45
%47 = load i32, ptr %34, align 4, !tbaa !23
%48 = sub i32 %3, %47
%49 = load i32, ptr %15, align 4, !tbaa !15
%50 = udiv i32 %48, %49
%51 = call i32 @VTBUF_GET_FIELD(ptr noundef nonnull %20, i32 noundef %50, i32 noundef %46) #5
%52 = call ptr @vtfont_lookup(ptr noundef nonnull %15, i32 noundef %51) #5
%53 = call i32 @VTBUF_ISCURSOR(ptr noundef nonnull %20, i32 noundef %50, i32 noundef %46) #5
%54 = call i32 @vt_determine_colors(i32 noundef %51, i32 noundef %53, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
%55 = load i64, ptr %6, align 8, !tbaa !24
%56 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %55
%57 = load i32, ptr %56, align 4, !tbaa !18
%58 = and i32 %57, 1
%59 = xor i32 %58, 1
%60 = add i32 %59, %41
%61 = load i64, ptr %7, align 8, !tbaa !24
%62 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %61
%63 = load i32, ptr %62, align 4, !tbaa !18
%64 = lshr i32 %63, 1
%65 = and i32 %64, 1
%66 = xor i32 %65, 1
%67 = add i32 %60, %66
%68 = or i32 %57, 1
store i32 %68, ptr %56, align 4, !tbaa !18
%69 = load i32, ptr %62, align 4, !tbaa !18
%70 = or i32 %69, 2
store i32 %70, ptr %62, align 4, !tbaa !18
%71 = load i32, ptr %33, align 4, !tbaa !22
%72 = mul i32 %71, %46
%73 = load i32, ptr %26, align 4, !tbaa !17
%74 = add i32 %73, %72
%75 = sub i32 %42, %74
%76 = add i32 %46, 1
%77 = mul i32 %71, %76
%78 = add i32 %77, %73
%79 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%80 = add i32 %79, %2
%81 = call i32 @min(i32 noundef %78, i32 noundef %80) #5
%82 = load i32, ptr %1, align 8, !tbaa !19
%83 = call i32 @min(i32 noundef %81, i32 noundef %82) #5
%84 = load i32, ptr %33, align 4, !tbaa !22
%85 = mul i32 %84, %46
%86 = load i32, ptr %26, align 4, !tbaa !17
%87 = add i32 %75, %86
%88 = add i32 %87, %85
%89 = sub i32 %83, %88
%90 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%91 = urem i32 %42, %90
%92 = load i32, ptr %15, align 4, !tbaa !15
%93 = load i64, ptr %6, align 8, !tbaa !24
%94 = load i64, ptr %7, align 8, !tbaa !24
%95 = call i32 @vga_copy_bitmap_portion(ptr noundef nonnull %14, ptr noundef nonnull %19, ptr noundef %52, ptr noundef null, i32 noundef %84, i32 noundef %75, i32 noundef %91, i32 noundef %89, i32 noundef 0, i32 noundef 0, i32 noundef %92, i64 noundef %93, i64 noundef %94, i32 noundef 0) #5
%96 = add i32 %89, %42
%97 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%98 = add i32 %97, %2
%99 = icmp ult i32 %96, %98
br i1 %99, label %37, label %100, !llvm.loop !20
100: ; preds = %40, %37, %32, %4
%101 = phi i32 [ 0, %4 ], [ 0, %32 ], [ %67, %37 ], [ %67, %40 ]
%102 = phi i32 [ %30, %4 ], [ %30, %32 ], [ %98, %37 ], [ %98, %40 ]
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
%103 = getelementptr inbounds %struct.TYPE_13__, ptr %8, i64 0, i32 1
store i32 %2, ptr %103, align 4, !tbaa !26
%104 = getelementptr inbounds %struct.TYPE_13__, ptr %8, i64 0, i32 1, i32 1
store i32 %3, ptr %104, align 4, !tbaa !30
store i32 %102, ptr %8, align 4, !tbaa !31
%105 = load i32, ptr %15, align 4, !tbaa !15
%106 = add i32 %105, %3
%107 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 1
store i32 %106, ptr %107, align 4, !tbaa !32
%108 = getelementptr inbounds %struct.vt_device, ptr %0, i64 0, i32 5
%109 = load i64, ptr %108, align 8, !tbaa !33
%110 = icmp eq i64 %109, 0
br i1 %110, label %172, label %111
111: ; preds = %100
%112 = call i64 @vt_is_cursor_in_area(ptr noundef nonnull %0, ptr noundef nonnull %8) #5
%113 = icmp eq i64 %112, 0
br i1 %113, label %172, label %114
114: ; preds = %111
%115 = getelementptr inbounds %struct.vt_device, ptr %0, i64 0, i32 4
%116 = load ptr, ptr %115, align 8, !tbaa !35
%117 = load i32, ptr %0, align 8, !tbaa !36
%118 = load i32, ptr %26, align 4, !tbaa !17
%119 = add i32 %118, %117
%120 = getelementptr inbounds %struct.vt_device, ptr %0, i64 0, i32 1
%121 = load i32, ptr %120, align 4, !tbaa !37
%122 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1, i32 1
%123 = load i32, ptr %122, align 4, !tbaa !23
%124 = add i32 %123, %121
%125 = call i32 @llvm.usub.sat.i32(i32 %2, i32 %119)
%126 = call i32 @llvm.usub.sat.i32(i32 %119, i32 %2)
%127 = load i32, ptr %116, align 8, !tbaa !38
%128 = sub i32 %127, %125
%129 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%130 = sub i32 %2, %119
%131 = add i32 %130, %129
%132 = call i32 @min(i32 noundef %128, i32 noundef %131) #5
%133 = load i32, ptr %1, align 8, !tbaa !19
%134 = sub i32 %133, %119
%135 = call i32 @min(i32 noundef %132, i32 noundef %134) #5
%136 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !18
%137 = call i32 @min(i32 noundef %135, i32 noundef %136) #5
%138 = call i32 @llvm.usub.sat.i32(i32 %3, i32 %124)
%139 = call i32 @llvm.usub.sat.i32(i32 %124, i32 %3)
%140 = getelementptr inbounds %struct.vt_mouse_cursor, ptr %116, i64 0, i32 1
%141 = load i32, ptr %140, align 4, !tbaa !40
%142 = sub i32 %141, %138
%143 = load i32, ptr %15, align 4, !tbaa !15
%144 = sub i32 %3, %124
%145 = add i32 %144, %143
%146 = call i32 @min(i32 noundef %142, i32 noundef %145) #5
%147 = load i32, ptr %15, align 4, !tbaa !15
%148 = call i32 @min(i32 noundef %146, i32 noundef %147) #5
%149 = getelementptr inbounds %struct.vt_mouse_cursor, ptr %116, i64 0, i32 2
%150 = load ptr, ptr %149, align 8, !tbaa !41
%151 = getelementptr inbounds %struct.vt_mouse_cursor, ptr %116, i64 0, i32 3
%152 = load ptr, ptr %151, align 8, !tbaa !42
%153 = load i32, ptr %116, align 8, !tbaa !38
%154 = getelementptr inbounds %struct.vt_device, ptr %0, i64 0, i32 2
%155 = load i64, ptr %154, align 8, !tbaa !43
%156 = getelementptr inbounds %struct.vt_device, ptr %0, i64 0, i32 3
%157 = load i64, ptr %156, align 8, !tbaa !44
%158 = call i32 @vga_copy_bitmap_portion(ptr noundef nonnull %14, ptr noundef nonnull %19, ptr noundef %150, ptr noundef %152, i32 noundef %153, i32 noundef %125, i32 noundef %126, i32 noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %148, i64 noundef %155, i64 noundef %157, i32 noundef 1) #5
%159 = load i64, ptr %154, align 8, !tbaa !43
%160 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %159
%161 = load i32, ptr %160, align 4, !tbaa !18
%162 = and i32 %161, 1
%163 = xor i32 %162, 1
%164 = add i32 %163, %101
%165 = load i64, ptr %156, align 8, !tbaa !44
%166 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %165
%167 = load i32, ptr %166, align 4, !tbaa !18
%168 = lshr i32 %167, 1
%169 = and i32 %168, 1
%170 = xor i32 %169, 1
%171 = add i32 %164, %170
br label %172
172: ; preds = %114, %111, %100
%173 = phi i32 [ %171, %114 ], [ %101, %111 ], [ %101, %100 ]
%174 = icmp eq i32 %173, 2
br i1 %174, label %175, label %180
175: ; preds = %172
%176 = load i64, ptr %6, align 8, !tbaa !24
%177 = load i64, ptr %7, align 8, !tbaa !24
%178 = load i32, ptr %15, align 4, !tbaa !15
%179 = call i32 @vga_bitblt_pixels_block_2colors(ptr noundef nonnull %0, ptr noundef nonnull %14, i64 noundef %176, i64 noundef %177, i32 noundef %2, i32 noundef %3, i32 noundef %178) #5
br label %183
180: ; preds = %172
%181 = load i32, ptr %15, align 4, !tbaa !15
%182 = call i32 @vga_bitblt_pixels_block_ncolors(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %2, i32 noundef %3, i32 noundef %181) #5
br label %183
183: ; preds = %180, %175
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
call void @llvm.stackrestore.p0(ptr %13)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @VTBUF_GET_FIELD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare ptr @vtfont_lookup(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vt_determine_colors(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @VTBUF_ISCURSOR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vga_copy_bitmap_portion(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @vt_is_cursor_in_area(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @vga_bitblt_pixels_block_2colors(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vga_bitblt_pixels_block_ncolors(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.usub.sat.i32(i32, i32) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !13, i64 16}
!6 = !{!"vt_window", !7, i64 0, !13, i64 16, !14, i64 24}
!7 = !{!"TYPE_12__", !8, i64 0, !12, i64 4}
!8 = !{!"TYPE_11__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_10__", !9, i64 0, !9, i64 4}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"vt_buf", !9, i64 0}
!15 = !{!16, !9, i64 0}
!16 = !{!"vt_font", !9, i64 0, !9, i64 4}
!17 = !{!6, !9, i64 4}
!18 = !{!9, !9, i64 0}
!19 = !{!6, !9, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !9, i64 4}
!23 = !{!6, !9, i64 8}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !10, i64 0}
!26 = !{!27, !9, i64 8}
!27 = !{!"TYPE_13__", !28, i64 0, !29, i64 8}
!28 = !{!"TYPE_9__", !9, i64 0, !9, i64 4}
!29 = !{!"TYPE_8__", !9, i64 0, !9, i64 4}
!30 = !{!27, !9, i64 12}
!31 = !{!27, !9, i64 0}
!32 = !{!27, !9, i64 4}
!33 = !{!34, !25, i64 32}
!34 = !{!"vt_device", !9, i64 0, !9, i64 4, !25, i64 8, !25, i64 16, !13, i64 24, !25, i64 32}
!35 = !{!34, !13, i64 24}
!36 = !{!34, !9, i64 0}
!37 = !{!34, !9, i64 4}
!38 = !{!39, !9, i64 0}
!39 = !{!"vt_mouse_cursor", !9, i64 0, !9, i64 4, !13, i64 8, !13, i64 16}
!40 = !{!39, !9, i64 4}
!41 = !{!39, !13, i64 8}
!42 = !{!39, !13, i64 16}
!43 = !{!34, !25, i64 8}
!44 = !{!34, !25, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/hw/vga/extr_vt_vga.c_vga_bitblt_one_text_pixels_block.c'
source_filename = "AnghaBench/freebsd/sys/dev/vt/hw/vga/extr_vt_vga.c_vga_bitblt_one_text_pixels_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i32, i32 }
%struct.TYPE_8__ = type { i32, i32 }
@VT_VGA_PIXELS_BLOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vga_bitblt_one_text_pixels_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vga_bitblt_one_text_pixels_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [16 x i32], align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca %struct.TYPE_13__, align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
%9 = getelementptr inbounds i8, ptr %1, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i32, i64 %12, align 4
%15 = load ptr, ptr %9, align 8, !tbaa !6
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = shl nsw i32 %16, 4
%18 = zext i32 %17 to i64
%19 = alloca i32, i64 %18, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
%20 = getelementptr inbounds i8, ptr %1, i64 24
%21 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 64) #5
%22 = shl i32 %11, 2
%23 = call i32 @memset(ptr noundef nonnull %14, i32 noundef 0, i32 noundef %22) #5
%24 = shl i32 %16, 6
%25 = call i32 @memset(ptr noundef nonnull %19, i32 noundef 0, i32 noundef %24) #5
%26 = getelementptr inbounds i8, ptr %1, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !18
%28 = call i32 @llvm.umax.i32(i32 %27, i32 %2)
%29 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%30 = add i32 %29, %2
%31 = icmp ult i32 %28, %30
br i1 %31, label %32, label %100
32: ; preds = %4
%33 = getelementptr inbounds i8, ptr %15, i64 4
%34 = getelementptr inbounds i8, ptr %1, i64 8
%35 = load i32, ptr %1, align 8, !tbaa !20
%36 = icmp ult i32 %28, %35
br i1 %36, label %40, label %100
37: ; preds = %40
%38 = load i32, ptr %1, align 8, !tbaa !20
%39 = icmp ult i32 %96, %38
br i1 %39, label %40, label %100, !llvm.loop !21
40: ; preds = %32, %37
%41 = phi i32 [ %67, %37 ], [ 0, %32 ]
%42 = phi i32 [ %96, %37 ], [ %28, %32 ]
%43 = load i32, ptr %26, align 4, !tbaa !18
%44 = sub i32 %42, %43
%45 = load i32, ptr %33, align 4, !tbaa !23
%46 = udiv i32 %44, %45
%47 = load i32, ptr %34, align 4, !tbaa !24
%48 = sub i32 %3, %47
%49 = load i32, ptr %15, align 4, !tbaa !16
%50 = udiv i32 %48, %49
%51 = call i32 @VTBUF_GET_FIELD(ptr noundef nonnull %20, i32 noundef %50, i32 noundef %46) #5
%52 = call ptr @vtfont_lookup(ptr noundef nonnull %15, i32 noundef %51) #5
%53 = call i32 @VTBUF_ISCURSOR(ptr noundef nonnull %20, i32 noundef %50, i32 noundef %46) #5
%54 = call i32 @vt_determine_colors(i32 noundef %51, i32 noundef %53, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
%55 = load i64, ptr %6, align 8, !tbaa !25
%56 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %55
%57 = load i32, ptr %56, align 4, !tbaa !19
%58 = and i32 %57, 1
%59 = xor i32 %58, 1
%60 = add i32 %59, %41
%61 = load i64, ptr %7, align 8, !tbaa !25
%62 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %61
%63 = load i32, ptr %62, align 4, !tbaa !19
%64 = lshr i32 %63, 1
%65 = and i32 %64, 1
%66 = xor i32 %65, 1
%67 = add i32 %60, %66
%68 = or i32 %57, 1
store i32 %68, ptr %56, align 4, !tbaa !19
%69 = load i32, ptr %62, align 4, !tbaa !19
%70 = or i32 %69, 2
store i32 %70, ptr %62, align 4, !tbaa !19
%71 = load i32, ptr %33, align 4, !tbaa !23
%72 = mul i32 %71, %46
%73 = load i32, ptr %26, align 4, !tbaa !18
%74 = add i32 %73, %72
%75 = sub i32 %42, %74
%76 = add i32 %46, 1
%77 = mul i32 %71, %76
%78 = add i32 %77, %73
%79 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%80 = add i32 %79, %2
%81 = call i32 @min(i32 noundef %78, i32 noundef %80) #5
%82 = load i32, ptr %1, align 8, !tbaa !20
%83 = call i32 @min(i32 noundef %81, i32 noundef %82) #5
%84 = load i32, ptr %33, align 4, !tbaa !23
%85 = mul i32 %84, %46
%86 = load i32, ptr %26, align 4, !tbaa !18
%87 = add i32 %75, %86
%88 = add i32 %87, %85
%89 = sub i32 %83, %88
%90 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%91 = urem i32 %42, %90
%92 = load i32, ptr %15, align 4, !tbaa !16
%93 = load i64, ptr %6, align 8, !tbaa !25
%94 = load i64, ptr %7, align 8, !tbaa !25
%95 = call i32 @vga_copy_bitmap_portion(ptr noundef nonnull %14, ptr noundef nonnull %19, ptr noundef %52, ptr noundef null, i32 noundef %84, i32 noundef %75, i32 noundef %91, i32 noundef %89, i32 noundef 0, i32 noundef 0, i32 noundef %92, i64 noundef %93, i64 noundef %94, i32 noundef 0) #5
%96 = add i32 %89, %42
%97 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%98 = add i32 %97, %2
%99 = icmp ult i32 %96, %98
br i1 %99, label %37, label %100, !llvm.loop !21
100: ; preds = %40, %37, %32, %4
%101 = phi i32 [ 0, %4 ], [ 0, %32 ], [ %67, %37 ], [ %67, %40 ]
%102 = phi i32 [ %30, %4 ], [ %30, %32 ], [ %98, %37 ], [ %98, %40 ]
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
%103 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %2, ptr %103, align 4, !tbaa !27
%104 = getelementptr inbounds i8, ptr %8, i64 12
store i32 %3, ptr %104, align 4, !tbaa !31
store i32 %102, ptr %8, align 4, !tbaa !32
%105 = load i32, ptr %15, align 4, !tbaa !16
%106 = add i32 %105, %3
%107 = getelementptr inbounds i8, ptr %8, i64 4
store i32 %106, ptr %107, align 4, !tbaa !33
%108 = getelementptr inbounds i8, ptr %0, i64 32
%109 = load i64, ptr %108, align 8, !tbaa !34
%110 = icmp eq i64 %109, 0
br i1 %110, label %172, label %111
111: ; preds = %100
%112 = call i64 @vt_is_cursor_in_area(ptr noundef nonnull %0, ptr noundef nonnull %8) #5
%113 = icmp eq i64 %112, 0
br i1 %113, label %172, label %114
114: ; preds = %111
%115 = getelementptr inbounds i8, ptr %0, i64 24
%116 = load ptr, ptr %115, align 8, !tbaa !36
%117 = load i32, ptr %0, align 8, !tbaa !37
%118 = load i32, ptr %26, align 4, !tbaa !18
%119 = add i32 %118, %117
%120 = getelementptr inbounds i8, ptr %0, i64 4
%121 = load i32, ptr %120, align 4, !tbaa !38
%122 = getelementptr inbounds i8, ptr %1, i64 8
%123 = load i32, ptr %122, align 4, !tbaa !24
%124 = add i32 %123, %121
%125 = call i32 @llvm.usub.sat.i32(i32 %2, i32 %119)
%126 = call i32 @llvm.usub.sat.i32(i32 %119, i32 %2)
%127 = load i32, ptr %116, align 8, !tbaa !39
%128 = sub i32 %127, %125
%129 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%130 = sub i32 %2, %119
%131 = add i32 %130, %129
%132 = call i32 @min(i32 noundef %128, i32 noundef %131) #5
%133 = load i32, ptr %1, align 8, !tbaa !20
%134 = sub i32 %133, %119
%135 = call i32 @min(i32 noundef %132, i32 noundef %134) #5
%136 = load i32, ptr @VT_VGA_PIXELS_BLOCK, align 4, !tbaa !19
%137 = call i32 @min(i32 noundef %135, i32 noundef %136) #5
%138 = call i32 @llvm.usub.sat.i32(i32 %3, i32 %124)
%139 = call i32 @llvm.usub.sat.i32(i32 %124, i32 %3)
%140 = getelementptr inbounds i8, ptr %116, i64 4
%141 = load i32, ptr %140, align 4, !tbaa !41
%142 = sub i32 %141, %138
%143 = load i32, ptr %15, align 4, !tbaa !16
%144 = sub i32 %3, %124
%145 = add i32 %144, %143
%146 = call i32 @min(i32 noundef %142, i32 noundef %145) #5
%147 = load i32, ptr %15, align 4, !tbaa !16
%148 = call i32 @min(i32 noundef %146, i32 noundef %147) #5
%149 = getelementptr inbounds i8, ptr %116, i64 8
%150 = load ptr, ptr %149, align 8, !tbaa !42
%151 = getelementptr inbounds i8, ptr %116, i64 16
%152 = load ptr, ptr %151, align 8, !tbaa !43
%153 = load i32, ptr %116, align 8, !tbaa !39
%154 = getelementptr inbounds i8, ptr %0, i64 8
%155 = load i64, ptr %154, align 8, !tbaa !44
%156 = getelementptr inbounds i8, ptr %0, i64 16
%157 = load i64, ptr %156, align 8, !tbaa !45
%158 = call i32 @vga_copy_bitmap_portion(ptr noundef nonnull %14, ptr noundef nonnull %19, ptr noundef %150, ptr noundef %152, i32 noundef %153, i32 noundef %125, i32 noundef %126, i32 noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %148, i64 noundef %155, i64 noundef %157, i32 noundef 1) #5
%159 = load i64, ptr %154, align 8, !tbaa !44
%160 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %159
%161 = load i32, ptr %160, align 4, !tbaa !19
%162 = and i32 %161, 1
%163 = xor i32 %162, 1
%164 = add i32 %163, %101
%165 = load i64, ptr %156, align 8, !tbaa !45
%166 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %165
%167 = load i32, ptr %166, align 4, !tbaa !19
%168 = lshr i32 %167, 1
%169 = and i32 %168, 1
%170 = xor i32 %169, 1
%171 = add i32 %164, %170
br label %172
172: ; preds = %114, %111, %100
%173 = phi i32 [ %171, %114 ], [ %101, %111 ], [ %101, %100 ]
%174 = icmp eq i32 %173, 2
br i1 %174, label %175, label %180
175: ; preds = %172
%176 = load i64, ptr %6, align 8, !tbaa !25
%177 = load i64, ptr %7, align 8, !tbaa !25
%178 = load i32, ptr %15, align 4, !tbaa !16
%179 = call i32 @vga_bitblt_pixels_block_2colors(ptr noundef nonnull %0, ptr noundef nonnull %14, i64 noundef %176, i64 noundef %177, i32 noundef %2, i32 noundef %3, i32 noundef %178) #5
br label %183
180: ; preds = %172
%181 = load i32, ptr %15, align 4, !tbaa !16
%182 = call i32 @vga_bitblt_pixels_block_ncolors(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %2, i32 noundef %3, i32 noundef %181) #5
br label %183
183: ; preds = %180, %175
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
call void @llvm.stackrestore.p0(ptr %13)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @VTBUF_GET_FIELD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare ptr @vtfont_lookup(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vt_determine_colors(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @VTBUF_ISCURSOR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vga_copy_bitmap_portion(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @vt_is_cursor_in_area(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @vga_bitblt_pixels_block_2colors(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @vga_bitblt_pixels_block_ncolors(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.usub.sat.i32(i32, i32) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !14, i64 16}
!7 = !{!"vt_window", !8, i64 0, !14, i64 16, !15, i64 24}
!8 = !{!"TYPE_12__", !9, i64 0, !13, i64 4}
!9 = !{!"TYPE_11__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"TYPE_10__", !10, i64 0, !10, i64 4}
!14 = !{!"any pointer", !11, i64 0}
!15 = !{!"vt_buf", !10, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"vt_font", !10, i64 0, !10, i64 4}
!18 = !{!7, !10, i64 4}
!19 = !{!10, !10, i64 0}
!20 = !{!7, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!17, !10, i64 4}
!24 = !{!7, !10, i64 8}
!25 = !{!26, !26, i64 0}
!26 = !{!"long", !11, i64 0}
!27 = !{!28, !10, i64 8}
!28 = !{!"TYPE_13__", !29, i64 0, !30, i64 8}
!29 = !{!"TYPE_9__", !10, i64 0, !10, i64 4}
!30 = !{!"TYPE_8__", !10, i64 0, !10, i64 4}
!31 = !{!28, !10, i64 12}
!32 = !{!28, !10, i64 0}
!33 = !{!28, !10, i64 4}
!34 = !{!35, !26, i64 32}
!35 = !{!"vt_device", !10, i64 0, !10, i64 4, !26, i64 8, !26, i64 16, !14, i64 24, !26, i64 32}
!36 = !{!35, !14, i64 24}
!37 = !{!35, !10, i64 0}
!38 = !{!35, !10, i64 4}
!39 = !{!40, !10, i64 0}
!40 = !{!"vt_mouse_cursor", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 16}
!41 = !{!40, !10, i64 4}
!42 = !{!40, !14, i64 8}
!43 = !{!40, !14, i64 16}
!44 = !{!35, !26, i64 8}
!45 = !{!35, !26, i64 16}
| freebsd_sys_dev_vt_hw_vga_extr_vt_vga.c_vga_bitblt_one_text_pixels_block |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_actctx.c_test_dllredirect_section.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_actctx.c_test_dllredirect_section.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
%struct.strsection_header = type { i32, i32 }
@test_dllredirect_section.testlib1W = internal constant [13 x i8] c"testlib1.dll\00", align 1
@test_dllredirect_section.testlib2W = internal constant [13 x i8] c"testlib2.dll\00", align 1
@.str = private unnamed_addr constant [18 x i8] c"testdep1.manifest\00", align 1
@manifest_wndcls1 = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"testdep2.manifest\00", align 1
@manifest_wndcls2 = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"main_wndcls.manifest\00", align 1
@manifest_wndcls_main = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [42 x i8] c"handle == INVALID_HANDLE_VALUE, error %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"ActivateActCtx failed: %u\0A\00", align 1
@ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [8 x i8] c"got %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"got %p, %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"got %u, %u\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"DeactivateActCtx failed: %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_dllredirect_section], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_dllredirect_section() #0 {
%1 = alloca %struct.TYPE_4__, align 8
%2 = alloca %struct.TYPE_4__, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @manifest_wndcls1, align 4, !tbaa !5
%5 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%6 = load i32, ptr @manifest_wndcls2, align 4, !tbaa !5
%7 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%8 = load i32, ptr @manifest_wndcls_main, align 4, !tbaa !5
%9 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str.2, i32 noundef %8, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%10 = tail call i64 @test_create(ptr noundef nonnull @.str.2) #3
%11 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !9
%12 = icmp ne i64 %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 (...) @GetLastError() #3
%15 = tail call i32 (i32, ptr, i32, ...) @ok(i32 noundef %13, ptr noundef nonnull @.str.3, i32 noundef %14) #3
%16 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str) #3
%17 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str.1) #3
%18 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str.2) #3
%19 = call i32 @pActivateActCtx(i64 noundef %10, ptr noundef nonnull %3) #3
%20 = call i32 (...) @GetLastError() #3
%21 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.4, i32 noundef %20) #3
%22 = call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #3
%23 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
store i32 16, ptr %1, align 8, !tbaa !11
store i32 16, ptr %2, align 8, !tbaa !11
%24 = load i32, ptr @ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, align 4, !tbaa !5
%25 = call i32 @pFindActCtxSectionStringW(i32 noundef 0, ptr noundef null, i32 noundef %24, ptr noundef nonnull @test_dllredirect_section.testlib1W, ptr noundef nonnull %1) #3
%26 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %25, ptr noundef nonnull @.str.5, i32 noundef %25) #3
%27 = load i32, ptr @ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, align 4, !tbaa !5
%28 = call i32 @pFindActCtxSectionStringW(i32 noundef 0, ptr noundef null, i32 noundef %27, ptr noundef nonnull @test_dllredirect_section.testlib2W, ptr noundef nonnull %2) #3
%29 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %28, ptr noundef nonnull @.str.5, i32 noundef %28) #3
%30 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%31 = load i64, ptr %30, align 8, !tbaa !13
%32 = inttoptr i64 %31 to ptr
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = icmp eq i32 %33, 4
%35 = zext i1 %34 to i32
%36 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.5, i32 noundef %33) #3
%37 = getelementptr inbounds %struct.strsection_header, ptr %32, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !16
%39 = icmp eq i32 %38, 8
%40 = zext i1 %39 to i32
%41 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %40, ptr noundef nonnull @.str.5, i32 noundef %38) #3
%42 = load i64, ptr %30, align 8, !tbaa !13
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 2
%44 = load i64, ptr %43, align 8, !tbaa !13
%45 = icmp eq i64 %42, %44
%46 = zext i1 %45 to i32
%47 = trunc i64 %42 to i32
%48 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %46, ptr noundef nonnull @.str.6, i32 noundef %47, i64 noundef %44) #3
%49 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%50 = load i32, ptr %49, align 4, !tbaa !17
%51 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1
%52 = load i32, ptr %51, align 4, !tbaa !17
%53 = icmp eq i32 %50, %52
%54 = zext i1 %53 to i32
%55 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.7, i32 noundef %50, i32 noundef %52) #3
%56 = load i32, ptr %3, align 4, !tbaa !5
%57 = call i32 @pDeactivateActCtx(i32 noundef 0, i32 noundef %56) #3
%58 = call i32 (...) @GetLastError() #3
%59 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %57, ptr noundef nonnull @.str.8, i32 noundef %58) #3
%60 = call i32 @pReleaseActCtx(i64 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 16, 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 @create_manifest_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @test_create(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @DeleteFileA(ptr noundef) local_unnamed_addr #2
declare i32 @pActivateActCtx(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pFindActCtxSectionStringW(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pDeactivateActCtx(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pReleaseActCtx(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 = !{!"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 0}
!12 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !6, i64 0}
!15 = !{!"strsection_header", !6, i64 0, !6, i64 4}
!16 = !{!15, !6, i64 4}
!17 = !{!12, !6, i64 4}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_actctx.c_test_dllredirect_section.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_actctx.c_test_dllredirect_section.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i32, i64 }
@test_dllredirect_section.testlib1W = internal constant [13 x i8] c"testlib1.dll\00", align 1
@test_dllredirect_section.testlib2W = internal constant [13 x i8] c"testlib2.dll\00", align 1
@.str = private unnamed_addr constant [18 x i8] c"testdep1.manifest\00", align 1
@manifest_wndcls1 = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"testdep2.manifest\00", align 1
@manifest_wndcls2 = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"main_wndcls.manifest\00", align 1
@manifest_wndcls_main = common local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [42 x i8] c"handle == INVALID_HANDLE_VALUE, error %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"ActivateActCtx failed: %u\0A\00", align 1
@ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [8 x i8] c"got %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"got %p, %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"got %u, %u\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"DeactivateActCtx failed: %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_dllredirect_section], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_dllredirect_section() #0 {
%1 = alloca %struct.TYPE_4__, align 8
%2 = alloca %struct.TYPE_4__, align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @manifest_wndcls1, align 4, !tbaa !6
%5 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%6 = load i32, ptr @manifest_wndcls2, align 4, !tbaa !6
%7 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%8 = load i32, ptr @manifest_wndcls_main, align 4, !tbaa !6
%9 = tail call i32 @create_manifest_file(ptr noundef nonnull @.str.2, i32 noundef %8, i32 noundef -1, ptr noundef null, ptr noundef null) #3
%10 = tail call i64 @test_create(ptr noundef nonnull @.str.2) #3
%11 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !10
%12 = icmp ne i64 %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 @GetLastError() #3
%15 = tail call i32 (i32, ptr, i32, ...) @ok(i32 noundef %13, ptr noundef nonnull @.str.3, i32 noundef %14) #3
%16 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str) #3
%17 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str.1) #3
%18 = tail call i32 @DeleteFileA(ptr noundef nonnull @.str.2) #3
%19 = call i32 @pActivateActCtx(i64 noundef %10, ptr noundef nonnull %3) #3
%20 = call i32 @GetLastError() #3
%21 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.4, i32 noundef %20) #3
%22 = call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #3
%23 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3
store i32 16, ptr %1, align 8, !tbaa !12
store i32 16, ptr %2, align 8, !tbaa !12
%24 = load i32, ptr @ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, align 4, !tbaa !6
%25 = call i32 @pFindActCtxSectionStringW(i32 noundef 0, ptr noundef null, i32 noundef %24, ptr noundef nonnull @test_dllredirect_section.testlib1W, ptr noundef nonnull %1) #3
%26 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %25, ptr noundef nonnull @.str.5, i32 noundef %25) #3
%27 = load i32, ptr @ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, align 4, !tbaa !6
%28 = call i32 @pFindActCtxSectionStringW(i32 noundef 0, ptr noundef null, i32 noundef %27, ptr noundef nonnull @test_dllredirect_section.testlib2W, ptr noundef nonnull %2) #3
%29 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %28, ptr noundef nonnull @.str.5, i32 noundef %28) #3
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load i64, ptr %30, align 8, !tbaa !14
%32 = inttoptr i64 %31 to ptr
%33 = load i32, ptr %32, align 4, !tbaa !15
%34 = icmp eq i32 %33, 4
%35 = zext i1 %34 to i32
%36 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.5, i32 noundef %33) #3
%37 = getelementptr inbounds i8, ptr %32, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !17
%39 = icmp eq i32 %38, 8
%40 = zext i1 %39 to i32
%41 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %40, ptr noundef nonnull @.str.5, i32 noundef %38) #3
%42 = load i64, ptr %30, align 8, !tbaa !14
%43 = getelementptr inbounds i8, ptr %2, i64 8
%44 = load i64, ptr %43, align 8, !tbaa !14
%45 = icmp eq i64 %42, %44
%46 = zext i1 %45 to i32
%47 = trunc i64 %42 to i32
%48 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %46, ptr noundef nonnull @.str.6, i32 noundef %47, i64 noundef %44) #3
%49 = getelementptr inbounds i8, ptr %1, i64 4
%50 = load i32, ptr %49, align 4, !tbaa !18
%51 = getelementptr inbounds i8, ptr %2, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !18
%53 = icmp eq i32 %50, %52
%54 = zext i1 %53 to i32
%55 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.7, i32 noundef %50, i32 noundef %52) #3
%56 = load i32, ptr %3, align 4, !tbaa !6
%57 = call i32 @pDeactivateActCtx(i32 noundef 0, i32 noundef %56) #3
%58 = call i32 @GetLastError() #3
%59 = call i32 (i32, ptr, i32, ...) @ok(i32 noundef %57, ptr noundef nonnull @.str.8, i32 noundef %58) #3
%60 = call i32 @pReleaseActCtx(i64 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 16, 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 @create_manifest_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @test_create(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @DeleteFileA(ptr noundef) local_unnamed_addr #2
declare i32 @pActivateActCtx(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pFindActCtxSectionStringW(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pDeactivateActCtx(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pReleaseActCtx(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 = !{!"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 0}
!13 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !11, i64 8}
!14 = !{!13, !11, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"strsection_header", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 4}
!18 = !{!13, !7, i64 4}
| reactos_modules_rostests_winetests_kernel32_extr_actctx.c_test_dllredirect_section |
; ModuleID = 'AnghaBench/postgres/src/backend/access/spgist/extr_spgxlog.c_spg_redo.c'
source_filename = "AnghaBench/postgres/src/backend/access/spgist/extr_spgxlog.c_spg_redo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XLR_INFO_MASK = dso_local local_unnamed_addr global i32 0, align 4
@opCtx = dso_local local_unnamed_addr global i32 0, align 4
@PANIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"spg_redo: unknown op code %u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @spg_redo(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @XLogRecGetInfo(ptr noundef %0) #2
%3 = load i32, ptr @XLR_INFO_MASK, align 4, !tbaa !5
%4 = xor i32 %3, -1
%5 = and i32 %2, %4
%6 = load i32, ptr @opCtx, align 4, !tbaa !5
%7 = tail call i32 @MemoryContextSwitchTo(i32 noundef %6) #2
switch i32 %5, label %24 [
i32 135, label %8
i32 133, label %10
i32 134, label %12
i32 131, label %14
i32 132, label %16
i32 130, label %18
i32 128, label %20
i32 129, label %22
]
8: ; preds = %1
%9 = tail call i32 @spgRedoAddLeaf(ptr noundef %0) #2
br label %27
10: ; preds = %1
%11 = tail call i32 @spgRedoMoveLeafs(ptr noundef %0) #2
br label %27
12: ; preds = %1
%13 = tail call i32 @spgRedoAddNode(ptr noundef %0) #2
br label %27
14: ; preds = %1
%15 = tail call i32 @spgRedoSplitTuple(ptr noundef %0) #2
br label %27
16: ; preds = %1
%17 = tail call i32 @spgRedoPickSplit(ptr noundef %0) #2
br label %27
18: ; preds = %1
%19 = tail call i32 @spgRedoVacuumLeaf(ptr noundef %0) #2
br label %27
20: ; preds = %1
%21 = tail call i32 @spgRedoVacuumRoot(ptr noundef %0) #2
br label %27
22: ; preds = %1
%23 = tail call i32 @spgRedoVacuumRedirect(ptr noundef %0) #2
br label %27
24: ; preds = %1
%25 = load i32, ptr @PANIC, align 4, !tbaa !5
%26 = tail call i32 @elog(i32 noundef %25, ptr noundef nonnull @.str, i32 noundef %5) #2
br label %27
27: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8
%28 = tail call i32 @MemoryContextSwitchTo(i32 noundef %7) #2
%29 = load i32, ptr @opCtx, align 4, !tbaa !5
%30 = tail call i32 @MemoryContextReset(i32 noundef %29) #2
ret void
}
declare i32 @XLogRecGetInfo(ptr noundef) local_unnamed_addr #1
declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1
declare i32 @spgRedoAddLeaf(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoMoveLeafs(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoAddNode(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoSplitTuple(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoPickSplit(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumLeaf(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumRoot(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumRedirect(ptr noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MemoryContextReset(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/postgres/src/backend/access/spgist/extr_spgxlog.c_spg_redo.c'
source_filename = "AnghaBench/postgres/src/backend/access/spgist/extr_spgxlog.c_spg_redo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XLR_INFO_MASK = common local_unnamed_addr global i32 0, align 4
@opCtx = common local_unnamed_addr global i32 0, align 4
@PANIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"spg_redo: unknown op code %u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @spg_redo(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @XLogRecGetInfo(ptr noundef %0) #2
%3 = load i32, ptr @XLR_INFO_MASK, align 4, !tbaa !6
%4 = xor i32 %3, -1
%5 = and i32 %2, %4
%6 = load i32, ptr @opCtx, align 4, !tbaa !6
%7 = tail call i32 @MemoryContextSwitchTo(i32 noundef %6) #2
switch i32 %5, label %24 [
i32 135, label %8
i32 133, label %10
i32 134, label %12
i32 131, label %14
i32 132, label %16
i32 130, label %18
i32 128, label %20
i32 129, label %22
]
8: ; preds = %1
%9 = tail call i32 @spgRedoAddLeaf(ptr noundef %0) #2
br label %27
10: ; preds = %1
%11 = tail call i32 @spgRedoMoveLeafs(ptr noundef %0) #2
br label %27
12: ; preds = %1
%13 = tail call i32 @spgRedoAddNode(ptr noundef %0) #2
br label %27
14: ; preds = %1
%15 = tail call i32 @spgRedoSplitTuple(ptr noundef %0) #2
br label %27
16: ; preds = %1
%17 = tail call i32 @spgRedoPickSplit(ptr noundef %0) #2
br label %27
18: ; preds = %1
%19 = tail call i32 @spgRedoVacuumLeaf(ptr noundef %0) #2
br label %27
20: ; preds = %1
%21 = tail call i32 @spgRedoVacuumRoot(ptr noundef %0) #2
br label %27
22: ; preds = %1
%23 = tail call i32 @spgRedoVacuumRedirect(ptr noundef %0) #2
br label %27
24: ; preds = %1
%25 = load i32, ptr @PANIC, align 4, !tbaa !6
%26 = tail call i32 @elog(i32 noundef %25, ptr noundef nonnull @.str, i32 noundef %5) #2
br label %27
27: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8
%28 = tail call i32 @MemoryContextSwitchTo(i32 noundef %7) #2
%29 = load i32, ptr @opCtx, align 4, !tbaa !6
%30 = tail call i32 @MemoryContextReset(i32 noundef %29) #2
ret void
}
declare i32 @XLogRecGetInfo(ptr noundef) local_unnamed_addr #1
declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1
declare i32 @spgRedoAddLeaf(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoMoveLeafs(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoAddNode(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoSplitTuple(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoPickSplit(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumLeaf(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumRoot(ptr noundef) local_unnamed_addr #1
declare i32 @spgRedoVacuumRedirect(ptr noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MemoryContextReset(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"}
| postgres_src_backend_access_spgist_extr_spgxlog.c_spg_redo |
; ModuleID = 'AnghaBench/linux/crypto/extr_aead.c_aead_register_instance.c'
source_filename = "AnghaBench/linux/crypto/extr_aead.c_aead_register_instance.c"
target datalayout = "e-m:e-p270:32:32-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 @aead_register_instance(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @aead_prepare_alg(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i32 @aead_crypto_instance(ptr noundef %1) #2
%7 = tail call i32 @crypto_register_instance(ptr noundef %0, i32 noundef %6) #2
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ %7, %5 ], [ %3, %2 ]
ret i32 %9
}
declare i32 @aead_prepare_alg(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_register_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aead_crypto_instance(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/crypto/extr_aead.c_aead_register_instance.c'
source_filename = "AnghaBench/linux/crypto/extr_aead.c_aead_register_instance.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 @aead_register_instance(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @aead_prepare_alg(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i32 @aead_crypto_instance(ptr noundef %1) #2
%7 = tail call i32 @crypto_register_instance(ptr noundef %0, i32 noundef %6) #2
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ %7, %5 ], [ %3, %2 ]
ret i32 %9
}
declare i32 @aead_prepare_alg(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_register_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aead_crypto_instance(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_crypto_extr_aead.c_aead_register_instance |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_check_byte_register.c'
source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_check_byte_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_pmbus_read_byte_data = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pmbus_check_byte_register(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @_pmbus_read_byte_data, align 4, !tbaa !5
%5 = tail call i32 @pmbus_check_register(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef %2) #2
ret i32 %5
}
declare i32 @pmbus_check_register(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_check_byte_register.c'
source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_check_byte_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_pmbus_read_byte_data = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pmbus_check_byte_register(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @_pmbus_read_byte_data, align 4, !tbaa !6
%5 = tail call i32 @pmbus_check_register(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef %2) #2
ret i32 %5
}
declare i32 @pmbus_check_register(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_hwmon_pmbus_extr_pmbus_core.c_pmbus_check_byte_register |
; ModuleID = 'AnghaBench/linux/fs/autofs/extr_inode.c_autofs_clean_ino.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_inode.c_autofs_clean_ino.c"
target datalayout = "e-m:e-p270:32:32-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.autofs_info = type { i32, i32, i32 }
@GLOBAL_ROOT_UID = dso_local local_unnamed_addr global i32 0, align 4
@GLOBAL_ROOT_GID = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @autofs_clean_ino(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GLOBAL_ROOT_UID, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.autofs_info, ptr %0, i64 0, i32 2
store i32 %2, ptr %3, align 4, !tbaa !9
%4 = load i32, ptr @GLOBAL_ROOT_GID, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.autofs_info, ptr %0, i64 0, i32 1
store i32 %4, ptr %5, align 4, !tbaa !11
%6 = load i32, ptr @jiffies, align 4, !tbaa !5
store i32 %6, ptr %0, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"autofs_info", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/autofs/extr_inode.c_autofs_clean_ino.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_inode.c_autofs_clean_ino.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLOBAL_ROOT_UID = common local_unnamed_addr global i32 0, align 4
@GLOBAL_ROOT_GID = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @autofs_clean_ino(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GLOBAL_ROOT_UID, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %2, ptr %3, align 4, !tbaa !10
%4 = load i32, ptr @GLOBAL_ROOT_GID, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %4, ptr %5, align 4, !tbaa !12
%6 = load i32, ptr @jiffies, align 4, !tbaa !6
store i32 %6, ptr %0, align 4, !tbaa !13
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"autofs_info", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 0}
| linux_fs_autofs_extr_inode.c_autofs_clean_ino |
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/stdio/extr_fopen.c___parse_mode.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/stdio/extr_fopen.c___parse_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@O_CREAT = dso_local local_unnamed_addr global i32 0, align 4
@O_TRUNC = dso_local local_unnamed_addr global i32 0, align 4
@O_APPEND = dso_local local_unnamed_addr global i32 0, align 4
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @__parse_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @O_WRONLY, align 4
%3 = load i32, ptr @O_CREAT, align 4
%4 = load i32, ptr @O_APPEND, align 4
%5 = or i32 %2, %4
%6 = or i32 %5, %3
%7 = load i32, ptr @O_TRUNC, align 4
%8 = or i32 %2, %7
%9 = or i32 %8, %3
%10 = load i32, ptr @O_RDONLY, align 4
%11 = xor i32 %2, -1
%12 = load i32, ptr @O_RDWR, align 4
br label %13
13: ; preds = %24, %1
%14 = phi ptr [ %0, %1 ], [ %26, %24 ]
%15 = phi i32 [ 0, %1 ], [ %25, %24 ]
%16 = load i8, ptr %14, align 1, !tbaa !5
switch i8 %16, label %24 [
i8 0, label %17
i8 43, label %21
i8 114, label %18
i8 119, label %19
i8 97, label %20
]
17: ; preds = %13
ret i32 %15
18: ; preds = %13
br label %24
19: ; preds = %13
br label %24
20: ; preds = %13
br label %24
21: ; preds = %13
%22 = and i32 %15, %11
%23 = or i32 %22, %12
br label %24
24: ; preds = %13, %21, %20, %19, %18
%25 = phi i32 [ %15, %13 ], [ %6, %20 ], [ %9, %19 ], [ %10, %18 ], [ %23, %21 ]
%26 = getelementptr inbounds i8, ptr %14, i64 1
br label %13
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/stdio/extr_fopen.c___parse_mode.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/stdio/extr_fopen.c___parse_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@O_CREAT = common local_unnamed_addr global i32 0, align 4
@O_TRUNC = common local_unnamed_addr global i32 0, align 4
@O_APPEND = common local_unnamed_addr global i32 0, align 4
@O_RDWR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @__parse_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @O_WRONLY, align 4
%3 = load i32, ptr @O_CREAT, align 4
%4 = load i32, ptr @O_APPEND, align 4
%5 = or i32 %2, %4
%6 = or i32 %5, %3
%7 = load i32, ptr @O_TRUNC, align 4
%8 = or i32 %2, %7
%9 = or i32 %8, %3
%10 = load i32, ptr @O_RDONLY, align 4
%11 = xor i32 %2, -1
%12 = load i32, ptr @O_RDWR, align 4
br label %13
13: ; preds = %24, %1
%14 = phi ptr [ %0, %1 ], [ %26, %24 ]
%15 = phi i32 [ 0, %1 ], [ %25, %24 ]
%16 = load i8, ptr %14, align 1, !tbaa !6
switch i8 %16, label %24 [
i8 0, label %17
i8 43, label %21
i8 114, label %18
i8 119, label %19
i8 97, label %20
]
17: ; preds = %13
ret i32 %15
18: ; preds = %13
br label %24
19: ; preds = %13
br label %24
20: ; preds = %13
br label %24
21: ; preds = %13
%22 = and i32 %15, %11
%23 = or i32 %22, %12
br label %24
24: ; preds = %13, %21, %20, %19, %18
%25 = phi i32 [ %15, %13 ], [ %6, %20 ], [ %9, %19 ], [ %10, %18 ], [ %23, %21 ]
%26 = getelementptr inbounds i8, ptr %14, i64 1
br label %13
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| How-to-Make-a-Computer-Operating-System_src_sdk_src_libc_src_stdio_extr_fopen.c___parse_mode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_sm_cfg_wait_entry.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_sm_cfg_wait_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_iocfc_sm_cfg_wait_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_iocfc_sm_cfg_wait_entry(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @bfa_iocfc_send_cfg(i32 noundef %2) #2
ret void
}
declare i32 @bfa_iocfc_send_cfg(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 = !{!"bfa_iocfc_s", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_sm_cfg_wait_entry.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_sm_cfg_wait_entry.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 @bfa_iocfc_sm_cfg_wait_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_iocfc_sm_cfg_wait_entry(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @bfa_iocfc_send_cfg(i32 noundef %2) #2
ret void
}
declare i32 @bfa_iocfc_send_cfg(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 = !{!"bfa_iocfc_s", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_scsi_bfa_extr_bfa_core.c_bfa_iocfc_sm_cfg_wait_entry |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_disable_and_clear_legacy_irq.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_disable_and_clear_legacy_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SOC_CORE_BASE_ADDRESS = dso_local local_unnamed_addr global i64 0, align 8
@PCIE_INTR_ENABLE_ADDRESS = dso_local local_unnamed_addr global i64 0, align 8
@PCIE_INTR_CLR_ADDRESS = dso_local local_unnamed_addr global i64 0, align 8
@PCIE_INTR_FIRMWARE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PCIE_INTR_CE_MASK_ALL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ath10k_pci_disable_and_clear_legacy_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !5
%3 = load i64, ptr @PCIE_INTR_ENABLE_ADDRESS, align 8, !tbaa !5
%4 = add nsw i64 %3, %2
%5 = tail call i32 @ath10k_pci_write32(ptr noundef %0, i64 noundef %4, i32 noundef 0) #2
%6 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !5
%7 = load i64, ptr @PCIE_INTR_CLR_ADDRESS, align 8, !tbaa !5
%8 = add nsw i64 %7, %6
%9 = load i32, ptr @PCIE_INTR_FIRMWARE_MASK, align 4, !tbaa !9
%10 = load i32, ptr @PCIE_INTR_CE_MASK_ALL, align 4, !tbaa !9
%11 = or i32 %10, %9
%12 = tail call i32 @ath10k_pci_write32(ptr noundef %0, i64 noundef %8, i32 noundef %11) #2
%13 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !5
%14 = load i64, ptr @PCIE_INTR_ENABLE_ADDRESS, align 8, !tbaa !5
%15 = add nsw i64 %14, %13
%16 = tail call i32 @ath10k_pci_read32(ptr noundef %0, i64 noundef %15) #2
ret void
}
declare i32 @ath10k_pci_write32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath10k_pci_read32(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_disable_and_clear_legacy_irq.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_disable_and_clear_legacy_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOC_CORE_BASE_ADDRESS = common local_unnamed_addr global i64 0, align 8
@PCIE_INTR_ENABLE_ADDRESS = common local_unnamed_addr global i64 0, align 8
@PCIE_INTR_CLR_ADDRESS = common local_unnamed_addr global i64 0, align 8
@PCIE_INTR_FIRMWARE_MASK = common local_unnamed_addr global i32 0, align 4
@PCIE_INTR_CE_MASK_ALL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ath10k_pci_disable_and_clear_legacy_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !6
%3 = load i64, ptr @PCIE_INTR_ENABLE_ADDRESS, align 8, !tbaa !6
%4 = add nsw i64 %3, %2
%5 = tail call i32 @ath10k_pci_write32(ptr noundef %0, i64 noundef %4, i32 noundef 0) #2
%6 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !6
%7 = load i64, ptr @PCIE_INTR_CLR_ADDRESS, align 8, !tbaa !6
%8 = add nsw i64 %7, %6
%9 = load i32, ptr @PCIE_INTR_FIRMWARE_MASK, align 4, !tbaa !10
%10 = load i32, ptr @PCIE_INTR_CE_MASK_ALL, align 4, !tbaa !10
%11 = or i32 %10, %9
%12 = tail call i32 @ath10k_pci_write32(ptr noundef %0, i64 noundef %8, i32 noundef %11) #2
%13 = load i64, ptr @SOC_CORE_BASE_ADDRESS, align 8, !tbaa !6
%14 = load i64, ptr @PCIE_INTR_ENABLE_ADDRESS, align 8, !tbaa !6
%15 = add nsw i64 %14, %13
%16 = tail call i32 @ath10k_pci_read32(ptr noundef %0, i64 noundef %15) #2
ret void
}
declare i32 @ath10k_pci_write32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath10k_pci_read32(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_net_wireless_ath_ath10k_extr_pci.c_ath10k_pci_disable_and_clear_legacy_irq |
; ModuleID = 'AnghaBench/zfs/module/lua/extr_lbaselib.c_ipairsaux.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lbaselib.c_ipairsaux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LUA_TTABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipairsaux], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ipairsaux(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkint(ptr noundef %0, i32 noundef 2) #2
%3 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !5
%4 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %3) #2
%5 = add nsw i32 %2, 1
%6 = tail call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i32 @lua_rawgeti(ptr noundef %0, i32 noundef 1, i32 noundef %5) #2
%8 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, i32 2, i32 1
ret i32 %10
}
declare i32 @luaL_checkint(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_isnil(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/zfs/module/lua/extr_lbaselib.c_ipairsaux.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lbaselib.c_ipairsaux.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUA_TTABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipairsaux], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 1, 3) i32 @ipairsaux(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkint(ptr noundef %0, i32 noundef 2) #2
%3 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !6
%4 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %3) #2
%5 = add nsw i32 %2, 1
%6 = tail call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i32 @lua_rawgeti(ptr noundef %0, i32 noundef 1, i32 noundef %5) #2
%8 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, i32 2, i32 1
ret i32 %10
}
declare i32 @luaL_checkint(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_isnil(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"}
| zfs_module_lua_extr_lbaselib.c_ipairsaux |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_macio_asic.c_macio_device_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_macio_asic.c_macio_device_shutdown.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @macio_device_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @macio_device_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @to_macio_device(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = tail call ptr @to_macio_driver(i64 noundef %3) #2
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1
%8 = load ptr, ptr %4, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 %8(ptr noundef %2) #2
br label %12
12: ; preds = %10, %7, %1
ret void
}
declare ptr @to_macio_device(ptr noundef) local_unnamed_addr #1
declare ptr @to_macio_driver(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 = !{!"device", !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 = !{!"macio_driver", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_macio_asic.c_macio_device_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_macio_asic.c_macio_device_shutdown.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 @macio_device_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @macio_device_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @to_macio_device(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = tail call ptr @to_macio_driver(i64 noundef %3) #2
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1
%8 = load ptr, ptr %4, align 8, !tbaa !11
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 %8(ptr noundef %2) #2
br label %12
12: ; preds = %10, %7, %1
ret void
}
declare ptr @to_macio_device(ptr noundef) local_unnamed_addr #1
declare ptr @to_macio_driver(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 = !{!"device", !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 = !{!"macio_driver", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| fastsocket_kernel_drivers_macintosh_extr_macio_asic.c_macio_device_shutdown |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_crtc_helper_internal.h_drm_dp_aux_register_devnode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_crtc_helper_internal.h_drm_dp_aux_register_devnode.c"
target datalayout = "e-m:e-p270:32:32-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 @drm_dp_aux_register_devnode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @drm_dp_aux_register_devnode(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_crtc_helper_internal.h_drm_dp_aux_register_devnode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_crtc_helper_internal.h_drm_dp_aux_register_devnode.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 @drm_dp_aux_register_devnode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @drm_dp_aux_register_devnode(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_extr_drm_crtc_helper_internal.h_drm_dp_aux_register_devnode |
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_mac.c_e1000_clear_vfta_generic.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_mac.c_e1000_clear_vfta_generic.c"
target datalayout = "e-m:e-p270:32:32-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 [25 x i8] c"e1000_clear_vfta_generic\00", align 1
@E1000_VLAN_FILTER_TBL_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@E1000_VFTA = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @e1000_clear_vfta_generic(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @E1000_VLAN_FILTER_TBL_SIZE, align 8, !tbaa !5
%4 = icmp sgt i64 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %1, %5
%6 = phi i64 [ %10, %5 ], [ 0, %1 ]
%7 = load i32, ptr @E1000_VFTA, align 4, !tbaa !9
%8 = tail call i32 @E1000_WRITE_REG_ARRAY(ptr noundef %0, i32 noundef %7, i64 noundef %6, i32 noundef 0) #2
%9 = tail call i32 @E1000_WRITE_FLUSH(ptr noundef %0) #2
%10 = add nuw nsw i64 %6, 1
%11 = load i64, ptr @E1000_VLAN_FILTER_TBL_SIZE, align 8, !tbaa !5
%12 = icmp slt i64 %10, %11
br i1 %12, label %5, label %13, !llvm.loop !11
13: ; preds = %5, %1
ret void
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i32 @E1000_WRITE_REG_ARRAY(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @E1000_WRITE_FLUSH(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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_mac.c_e1000_clear_vfta_generic.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_mac.c_e1000_clear_vfta_generic.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 [25 x i8] c"e1000_clear_vfta_generic\00", align 1
@E1000_VLAN_FILTER_TBL_SIZE = common local_unnamed_addr global i64 0, align 8
@E1000_VFTA = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @e1000_clear_vfta_generic(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @E1000_VLAN_FILTER_TBL_SIZE, align 8, !tbaa !6
%4 = icmp sgt i64 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %1, %5
%6 = phi i64 [ %10, %5 ], [ 0, %1 ]
%7 = load i32, ptr @E1000_VFTA, align 4, !tbaa !10
%8 = tail call i32 @E1000_WRITE_REG_ARRAY(ptr noundef %0, i32 noundef %7, i64 noundef %6, i32 noundef 0) #2
%9 = tail call i32 @E1000_WRITE_FLUSH(ptr noundef %0) #2
%10 = add nuw nsw i64 %6, 1
%11 = load i64, ptr @E1000_VLAN_FILTER_TBL_SIZE, align 8, !tbaa !6
%12 = icmp slt i64 %10, %11
br i1 %12, label %5, label %13, !llvm.loop !12
13: ; preds = %5, %1
ret void
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i32 @E1000_WRITE_REG_ARRAY(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @E1000_WRITE_FLUSH(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, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_e1000_extr_e1000_mac.c_e1000_clear_vfta_generic |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OMAP_TIMER_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_TIMER_CTRL_ST = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @omap_dm_timer_stop(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OMAP_TIMER_CTRL_REG, align 4, !tbaa !5
%3 = tail call i32 @omap_dm_timer_read_reg(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @OMAP_TIMER_CTRL_ST, align 4, !tbaa !5
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = and i32 %3, -2
%9 = load i32, ptr @OMAP_TIMER_CTRL_REG, align 4, !tbaa !5
%10 = tail call i32 @omap_dm_timer_write_reg(ptr noundef %0, i32 noundef %9, i32 noundef %8) #2
br label %11
11: ; preds = %7, %1
ret void
}
declare i32 @omap_dm_timer_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @omap_dm_timer_write_reg(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/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OMAP_TIMER_CTRL_REG = common local_unnamed_addr global i32 0, align 4
@OMAP_TIMER_CTRL_ST = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @omap_dm_timer_stop(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OMAP_TIMER_CTRL_REG, align 4, !tbaa !6
%3 = tail call i32 @omap_dm_timer_read_reg(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @OMAP_TIMER_CTRL_ST, align 4, !tbaa !6
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = and i32 %3, -2
%9 = load i32, ptr @OMAP_TIMER_CTRL_REG, align 4, !tbaa !6
%10 = tail call i32 @omap_dm_timer_write_reg(ptr noundef %0, i32 noundef %9, i32 noundef %8) #2
br label %11
11: ; preds = %7, %1
ret void
}
declare i32 @omap_dm_timer_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @omap_dm_timer_write_reg(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"}
| fastsocket_kernel_arch_arm_plat-omap_extr_dmtimer.c_omap_dm_timer_stop |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_emc2103.c_pwm1_enable_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_emc2103.c_pwm1_enable_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.emc2103_data = type { i32, i32, ptr }
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@REG_FAN_CONF1 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pwm1_enable_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pwm1_enable_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = getelementptr inbounds %struct.emc2103_data, ptr %7, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%10 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%11 = icmp slt i32 %10, 0
br i1 %11, label %40, label %12
12: ; preds = %4
%13 = getelementptr inbounds %struct.emc2103_data, ptr %7, i64 0, i32 1
%14 = call i32 @mutex_lock(ptr noundef nonnull %13) #3
%15 = load i64, ptr %5, align 8, !tbaa !11
switch i64 %15, label %17 [
i64 0, label %20
i64 3, label %16
]
16: ; preds = %12
br label %20
17: ; preds = %12
%18 = load i64, ptr @EINVAL, align 8, !tbaa !11
%19 = sub i64 0, %18
br label %36
20: ; preds = %12, %16
%21 = phi i32 [ 1, %16 ], [ 0, %12 ]
store i32 %21, ptr %7, align 8, !tbaa !13
%22 = load i32, ptr @REG_FAN_CONF1, align 4, !tbaa !14
%23 = call i32 @read_u8_from_i2c(ptr noundef %9, i32 noundef %22, ptr noundef nonnull %6) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %20
%26 = zext i32 %23 to i64
br label %36
27: ; preds = %20
%28 = load i32, ptr %7, align 8, !tbaa !13
%29 = icmp eq i32 %28, 0
%30 = load i32, ptr %6, align 4
%31 = and i32 %30, -129
%32 = select i1 %29, i32 0, i32 128
%33 = or disjoint i32 %31, %32
store i32 %33, ptr %6, align 4, !tbaa !14
%34 = load i32, ptr @REG_FAN_CONF1, align 4, !tbaa !14
%35 = call i32 @i2c_smbus_write_byte_data(ptr noundef %9, i32 noundef %34, i32 noundef %33) #3
br label %36
36: ; preds = %27, %25, %17
%37 = phi i64 [ %19, %17 ], [ %26, %25 ], [ %3, %27 ]
%38 = call i32 @mutex_unlock(ptr noundef nonnull %13) #3
%39 = trunc i64 %37 to i32
br label %40
40: ; preds = %4, %36
%41 = phi i32 [ %39, %36 ], [ %10, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @read_u8_from_i2c(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"emc2103_data", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_emc2103.c_pwm1_enable_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_emc2103.c_pwm1_enable_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i64 0, align 8
@REG_FAN_CONF1 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pwm1_enable_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pwm1_enable_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%10 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%11 = icmp slt i32 %10, 0
br i1 %11, label %40, label %12
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %7, i64 4
%14 = call i32 @mutex_lock(ptr noundef nonnull %13) #3
%15 = load i64, ptr %5, align 8, !tbaa !12
switch i64 %15, label %17 [
i64 0, label %20
i64 3, label %16
]
16: ; preds = %12
br label %20
17: ; preds = %12
%18 = load i64, ptr @EINVAL, align 8, !tbaa !12
%19 = sub i64 0, %18
br label %36
20: ; preds = %12, %16
%21 = phi i32 [ 1, %16 ], [ 0, %12 ]
store i32 %21, ptr %7, align 8, !tbaa !14
%22 = load i32, ptr @REG_FAN_CONF1, align 4, !tbaa !15
%23 = call i32 @read_u8_from_i2c(ptr noundef %9, i32 noundef %22, ptr noundef nonnull %6) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %20
%26 = zext i32 %23 to i64
br label %36
27: ; preds = %20
%28 = load i32, ptr %7, align 8, !tbaa !14
%29 = icmp eq i32 %28, 0
%30 = load i32, ptr %6, align 4
%31 = and i32 %30, -129
%32 = select i1 %29, i32 0, i32 128
%33 = or disjoint i32 %31, %32
store i32 %33, ptr %6, align 4, !tbaa !15
%34 = load i32, ptr @REG_FAN_CONF1, align 4, !tbaa !15
%35 = call i32 @i2c_smbus_write_byte_data(ptr noundef %9, i32 noundef %34, i32 noundef %33) #3
br label %36
36: ; preds = %27, %25, %17
%37 = phi i64 [ %19, %17 ], [ %26, %25 ], [ %3, %27 ]
%38 = call i32 @mutex_unlock(ptr noundef nonnull %13) #3
%39 = trunc i64 %37 to i32
br label %40
40: ; preds = %4, %36
%41 = phi i32 [ %39, %36 ], [ %10, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @read_u8_from_i2c(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"emc2103_data", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
| linux_drivers_hwmon_extr_emc2103.c_pwm1_enable_store |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ml86v7667.c_ml86v7667_probe.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ml86v7667.c_ml86v7667_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2c_client = type { ptr, i32, i32 }
%struct.ml86v7667_priv = type { %struct.TYPE_8__, %struct.TYPE_9__ }
%struct.TYPE_8__ = type { ptr }
%struct.TYPE_9__ = type { i32 }
@I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@EIO = 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
@ml86v7667_subdev_ops = dso_local global i32 0, align 4
@ml86v7667_ctrl_ops = dso_local global i32 0, align 4
@V4L2_CID_BRIGHTNESS = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_CONTRAST = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_CHROMA_GAIN = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_HUE = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_RED_BALANCE = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_BLUE_BALANCE = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_SHARPNESS = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CID_COLOR_KILLER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"chip found @ 0x%02x (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"failed to probe @ 0x%02x (%s)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ml86v7667_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ml86v7667_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !11
%5 = tail call i32 @i2c_check_functionality(ptr noundef %3, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @EIO, align 4, !tbaa !11
%9 = sub nsw i32 0, %8
br label %59
10: ; preds = %2
%11 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %11, i32 noundef 16, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%17 = sub nsw i32 0, %16
br label %59
18: ; preds = %10
%19 = tail call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %13, ptr noundef nonnull %0, ptr noundef nonnull @ml86v7667_subdev_ops) #2
%20 = getelementptr inbounds %struct.ml86v7667_priv, ptr %13, i64 0, i32 1
%21 = tail call i32 @v4l2_ctrl_handler_init(ptr noundef nonnull %20, i32 noundef 8) #2
%22 = load i32, ptr @V4L2_CID_BRIGHTNESS, align 4, !tbaa !11
%23 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %22, i32 noundef -64, i32 noundef 63, i32 noundef 1, i32 noundef 0) #2
%24 = load i32, ptr @V4L2_CID_CONTRAST, align 4, !tbaa !11
%25 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %24, i32 noundef -8, i32 noundef 7, i32 noundef 1, i32 noundef 0) #2
%26 = load i32, ptr @V4L2_CID_CHROMA_GAIN, align 4, !tbaa !11
%27 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %26, i32 noundef -32, i32 noundef 31, i32 noundef 1, i32 noundef 0) #2
%28 = load i32, ptr @V4L2_CID_HUE, align 4, !tbaa !11
%29 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %28, i32 noundef -128, i32 noundef 127, i32 noundef 1, i32 noundef 0) #2
%30 = load i32, ptr @V4L2_CID_RED_BALANCE, align 4, !tbaa !11
%31 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %30, i32 noundef -4, i32 noundef 3, i32 noundef 1, i32 noundef 0) #2
%32 = load i32, ptr @V4L2_CID_BLUE_BALANCE, align 4, !tbaa !11
%33 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %32, i32 noundef -4, i32 noundef 3, i32 noundef 1, i32 noundef 0) #2
%34 = load i32, ptr @V4L2_CID_SHARPNESS, align 4, !tbaa !11
%35 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %34, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2
%36 = load i32, ptr @V4L2_CID_COLOR_KILLER, align 4, !tbaa !11
%37 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %36, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2
store ptr %20, ptr %13, align 8, !tbaa !12
%38 = load i32, ptr %20, align 8, !tbaa !16
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %50
40: ; preds = %18
%41 = tail call i32 @v4l2_ctrl_handler_setup(ptr noundef nonnull %20) #2
%42 = tail call i32 @ml86v7667_init(ptr noundef nonnull %13) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %40
%45 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%46 = load i32, ptr %45, align 8, !tbaa !17
%47 = load ptr, ptr %0, align 8, !tbaa !5
%48 = load i32, ptr %47, align 4, !tbaa !18
%49 = tail call i32 @v4l_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %48) #2
br label %59
50: ; preds = %40, %18
%51 = phi i32 [ %38, %18 ], [ %42, %40 ]
%52 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %20) #2
%53 = tail call i32 @v4l2_device_unregister_subdev(ptr noundef nonnull %13) #2
%54 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%55 = load i32, ptr %54, align 8, !tbaa !17
%56 = load ptr, ptr %0, align 8, !tbaa !5
%57 = load i32, ptr %56, align 4, !tbaa !18
%58 = tail call i32 @v4l_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %55, i32 noundef %57) #2
br label %59
59: ; preds = %50, %44, %15, %7
%60 = phi i32 [ %51, %50 ], [ 0, %44 ], [ %17, %15 ], [ %9, %7 ]
ret i32 %60
}
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_i2c_subdev_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_new_std(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_setup(ptr noundef) local_unnamed_addr #1
declare i32 @ml86v7667_init(ptr noundef) local_unnamed_addr #1
declare i32 @v4l_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_device_unregister_subdev(ptr noundef) local_unnamed_addr #1
declare i32 @v4l_err(ptr noundef, 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 = !{!"i2c_client", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ml86v7667_priv", !14, i64 0, !15, i64 8}
!14 = !{!"TYPE_8__", !7, i64 0}
!15 = !{!"TYPE_9__", !10, i64 0}
!16 = !{!13, !10, i64 8}
!17 = !{!6, !10, i64 8}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_10__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ml86v7667.c_ml86v7667_probe.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ml86v7667.c_ml86v7667_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4
@EIO = 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
@ml86v7667_subdev_ops = common global i32 0, align 4
@ml86v7667_ctrl_ops = common global i32 0, align 4
@V4L2_CID_BRIGHTNESS = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_CONTRAST = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_CHROMA_GAIN = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_HUE = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_RED_BALANCE = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_BLUE_BALANCE = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_SHARPNESS = common local_unnamed_addr global i32 0, align 4
@V4L2_CID_COLOR_KILLER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"chip found @ 0x%02x (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"failed to probe @ 0x%02x (%s)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ml86v7667_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ml86v7667_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !12
%5 = tail call i32 @i2c_check_functionality(ptr noundef %3, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @EIO, align 4, !tbaa !12
%9 = sub nsw i32 0, %8
br label %59
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %11, i32 noundef 16, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%17 = sub nsw i32 0, %16
br label %59
18: ; preds = %10
%19 = tail call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %13, ptr noundef nonnull %0, ptr noundef nonnull @ml86v7667_subdev_ops) #2
%20 = getelementptr inbounds i8, ptr %13, i64 8
%21 = tail call i32 @v4l2_ctrl_handler_init(ptr noundef nonnull %20, i32 noundef 8) #2
%22 = load i32, ptr @V4L2_CID_BRIGHTNESS, align 4, !tbaa !12
%23 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %22, i32 noundef -64, i32 noundef 63, i32 noundef 1, i32 noundef 0) #2
%24 = load i32, ptr @V4L2_CID_CONTRAST, align 4, !tbaa !12
%25 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %24, i32 noundef -8, i32 noundef 7, i32 noundef 1, i32 noundef 0) #2
%26 = load i32, ptr @V4L2_CID_CHROMA_GAIN, align 4, !tbaa !12
%27 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %26, i32 noundef -32, i32 noundef 31, i32 noundef 1, i32 noundef 0) #2
%28 = load i32, ptr @V4L2_CID_HUE, align 4, !tbaa !12
%29 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %28, i32 noundef -128, i32 noundef 127, i32 noundef 1, i32 noundef 0) #2
%30 = load i32, ptr @V4L2_CID_RED_BALANCE, align 4, !tbaa !12
%31 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %30, i32 noundef -4, i32 noundef 3, i32 noundef 1, i32 noundef 0) #2
%32 = load i32, ptr @V4L2_CID_BLUE_BALANCE, align 4, !tbaa !12
%33 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %32, i32 noundef -4, i32 noundef 3, i32 noundef 1, i32 noundef 0) #2
%34 = load i32, ptr @V4L2_CID_SHARPNESS, align 4, !tbaa !12
%35 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %34, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2
%36 = load i32, ptr @V4L2_CID_COLOR_KILLER, align 4, !tbaa !12
%37 = tail call i32 @v4l2_ctrl_new_std(ptr noundef nonnull %20, ptr noundef nonnull @ml86v7667_ctrl_ops, i32 noundef %36, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2
store ptr %20, ptr %13, align 8, !tbaa !13
%38 = load i32, ptr %20, align 8, !tbaa !17
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %50
40: ; preds = %18
%41 = tail call i32 @v4l2_ctrl_handler_setup(ptr noundef nonnull %20) #2
%42 = tail call i32 @ml86v7667_init(ptr noundef nonnull %13) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %40
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = load i32, ptr %45, align 8, !tbaa !18
%47 = load ptr, ptr %0, align 8, !tbaa !6
%48 = load i32, ptr %47, align 4, !tbaa !19
%49 = tail call i32 @v4l_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %48) #2
br label %59
50: ; preds = %40, %18
%51 = phi i32 [ %38, %18 ], [ %42, %40 ]
%52 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %20) #2
%53 = tail call i32 @v4l2_device_unregister_subdev(ptr noundef nonnull %13) #2
%54 = getelementptr inbounds i8, ptr %0, i64 8
%55 = load i32, ptr %54, align 8, !tbaa !18
%56 = load ptr, ptr %0, align 8, !tbaa !6
%57 = load i32, ptr %56, align 4, !tbaa !19
%58 = tail call i32 @v4l_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %55, i32 noundef %57) #2
br label %59
59: ; preds = %50, %44, %15, %7
%60 = phi i32 [ %51, %50 ], [ 0, %44 ], [ %17, %15 ], [ %9, %7 ]
ret i32 %60
}
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_i2c_subdev_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_new_std(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_setup(ptr noundef) local_unnamed_addr #1
declare i32 @ml86v7667_init(ptr noundef) local_unnamed_addr #1
declare i32 @v4l_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_device_unregister_subdev(ptr noundef) local_unnamed_addr #1
declare i32 @v4l_err(ptr noundef, 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 = !{!"i2c_client", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"ml86v7667_priv", !15, i64 0, !16, i64 8}
!15 = !{!"TYPE_8__", !8, i64 0}
!16 = !{!"TYPE_9__", !11, i64 0}
!17 = !{!14, !11, i64 8}
!18 = !{!7, !11, i64 8}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_10__", !11, i64 0}
| linux_drivers_media_i2c_extr_ml86v7667.c_ml86v7667_probe |
; ModuleID = 'AnghaBench/linux/mm/extr_hugetlb.c_huge_pmd_unshare.c'
source_filename = "AnghaBench/linux/mm/extr_hugetlb.c_huge_pmd_unshare.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @huge_pmd_unshare(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/mm/extr_hugetlb.c_huge_pmd_unshare.c'
source_filename = "AnghaBench/linux/mm/extr_hugetlb.c_huge_pmd_unshare.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @huge_pmd_unshare(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_mm_extr_hugetlb.c_huge_pmd_unshare |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_nic.h_ef4_nic_remove_eventq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_nic.h_ef4_nic_remove_eventq.c"
target datalayout = "e-m:e-p270:32:32-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 @ef4_nic_remove_eventq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ef4_nic_remove_eventq(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = tail call i32 %4(ptr noundef nonnull %0) #1
ret void
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"ef4_channel", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_nic.h_ef4_nic_remove_eventq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_nic.h_ef4_nic_remove_eventq.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 @ef4_nic_remove_eventq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ef4_nic_remove_eventq(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = tail call i32 %4(ptr noundef nonnull %0) #1
ret void
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"ef4_channel", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_net_ethernet_sfc_falcon_extr_nic.h_ef4_nic_remove_eventq |
; ModuleID = 'AnghaBench/linux/mm/extr_memremap.c_dev_pagemap_cleanup.c'
source_filename = "AnghaBench/linux/mm/extr_memremap.c_dev_pagemap_cleanup.c"
target datalayout = "e-m:e-p270:32:32-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.dev_pagemap = type { ptr, i32, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dev_pagemap_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dev_pagemap_cleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.dev_pagemap, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load ptr, ptr %3, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 %6(ptr noundef nonnull %0) #2
br label %15
10: ; preds = %5, %1
%11 = getelementptr inbounds %struct.dev_pagemap, ptr %0, i64 0, i32 2
%12 = tail call i32 @wait_for_completion(ptr noundef nonnull %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !13
%14 = tail call i32 @percpu_ref_exit(ptr noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = load ptr, ptr %0, align 8, !tbaa !13
%17 = getelementptr inbounds %struct.dev_pagemap, ptr %0, i64 0, i32 1
%18 = icmp eq ptr %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %0, align 8, !tbaa !13
br label %20
20: ; preds = %19, %15
ret void
}
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
declare i32 @percpu_ref_exit(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"dev_pagemap", !7, i64 0, !10, i64 8, !10, i64 12, !7, 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 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/mm/extr_memremap.c_dev_pagemap_cleanup.c'
source_filename = "AnghaBench/linux/mm/extr_memremap.c_dev_pagemap_cleanup.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 @dev_pagemap_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dev_pagemap_cleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load ptr, ptr %3, align 8, !tbaa !12
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 %6(ptr noundef nonnull %0) #2
br label %15
10: ; preds = %5, %1
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = tail call i32 @wait_for_completion(ptr noundef nonnull %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !14
%14 = tail call i32 @percpu_ref_exit(ptr noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = load ptr, ptr %0, align 8, !tbaa !14
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = icmp eq ptr %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %0, align 8, !tbaa !14
br label %20
20: ; preds = %19, %15
ret void
}
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
declare i32 @percpu_ref_exit(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"dev_pagemap", !8, i64 0, !11, i64 8, !11, i64 12, !8, 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 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!7, !8, i64 0}
| linux_mm_extr_memremap.c_dev_pagemap_cleanup |
; ModuleID = 'AnghaBench/openssl/test/extr_sysdefaulttest.c_cleanup_tests.c'
source_filename = "AnghaBench/openssl/test/extr_sysdefaulttest.c_cleanup_tests.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ctx = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cleanup_tests() local_unnamed_addr #0 {
%1 = load i32, ptr @ctx, align 4, !tbaa !5
%2 = tail call i32 @SSL_CTX_free(i32 noundef %1) #2
ret void
}
declare i32 @SSL_CTX_free(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/openssl/test/extr_sysdefaulttest.c_cleanup_tests.c'
source_filename = "AnghaBench/openssl/test/extr_sysdefaulttest.c_cleanup_tests.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ctx = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cleanup_tests() local_unnamed_addr #0 {
%1 = load i32, ptr @ctx, align 4, !tbaa !6
%2 = tail call i32 @SSL_CTX_free(i32 noundef %1) #2
ret void
}
declare i32 @SSL_CTX_free(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"}
| openssl_test_extr_sysdefaulttest.c_cleanup_tests |
; ModuleID = 'AnghaBench/Cello/benchmarks/Sudoku/extr_sudoku_c.c_sd_solve.c'
source_filename = "AnghaBench/Cello/benchmarks/Sudoku/extr_sudoku_c.c_sd_solve.c"
target datalayout = "e-m:e-p270:32:32-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 @sd_solve(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [729 x i64], align 16
%4 = alloca [81 x i64], align 16
%5 = alloca [324 x i32], align 16
%6 = alloca [81 x i64], align 16
call void @llvm.lifetime.start.p0(i64 5832, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 648, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 1296, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 648, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(5832) %3, i8 0, i64 5832, i1 false), !tbaa !5
br label %7
7: ; preds = %7, %2
%8 = phi i64 [ 0, %2 ], [ %23, %7 ]
%9 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %8
%10 = getelementptr inbounds i32, ptr %9, i64 4
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %9, align 16, !tbaa !9
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %10, align 16, !tbaa !9
%11 = add nuw nsw i64 %8, 8
%12 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %11
%13 = getelementptr inbounds i32, ptr %12, i64 4
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %12, align 16, !tbaa !9
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %13, align 16, !tbaa !9
%14 = add nuw nsw i64 %8, 16
%15 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %14
%16 = getelementptr inbounds i32, ptr %15, i64 4
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %15, align 16, !tbaa !9
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %16, align 16, !tbaa !9
%17 = add nuw nsw i64 %8, 24
%18 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %17
%19 = getelementptr inbounds i32, ptr %18, i64 4
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %18, align 16, !tbaa !9
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %19, align 16, !tbaa !9
%20 = add nuw nsw i64 %8, 32
%21 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %20
%22 = getelementptr inbounds i32, ptr %21, i64 4
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %21, align 16, !tbaa !9
store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %22, align 16, !tbaa !9
%23 = add nuw nsw i64 %8, 40
%24 = icmp eq i64 %23, 320
br i1 %24, label %25, label %7, !llvm.loop !11
25: ; preds = %7
%26 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 320
store i32 9, ptr %26, align 16, !tbaa !9
%27 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 321
store i32 9, ptr %27, align 4, !tbaa !9
%28 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 322
store i32 9, ptr %28, align 8, !tbaa !9
%29 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 323
store i32 9, ptr %29, align 4, !tbaa !9
br label %32
30: ; preds = %45
%31 = sub nsw i32 81, %47
br label %52
32: ; preds = %25, %45
%33 = phi i64 [ %50, %45 ], [ 0, %25 ]
%34 = phi i32 [ %47, %45 ], [ 0, %25 ]
%35 = getelementptr inbounds i8, ptr %1, i64 %33
%36 = load i8, ptr %35, align 1, !tbaa !15
%37 = add i8 %36, -49
%38 = icmp ult i8 %37, 9
br i1 %38, label %39, label %45
39: ; preds = %32
%40 = zext nneg i8 %37 to i32
%41 = trunc i64 %33 to i32
%42 = mul i32 %41, 9
%43 = add nuw nsw i32 %42, %40
%44 = call i32 @sd_update(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %43, i32 noundef 1) #4
br label %45
45: ; preds = %39, %32
%46 = zext i1 %38 to i32
%47 = add nuw nsw i32 %34, %46
%48 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %33
store i64 -1, ptr %48, align 8, !tbaa !5
%49 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %33
store i64 -1, ptr %49, align 8, !tbaa !5
%50 = add nuw nsw i64 %33, 1
%51 = icmp eq i64 %50, 81
br i1 %51, label %30, label %32, !llvm.loop !16
52: ; preds = %30, %169
%53 = phi i32 [ -1, %169 ], [ 1, %30 ]
%54 = phi i32 [ %166, %169 ], [ 655360, %30 ]
%55 = phi i32 [ %170, %169 ], [ 0, %30 ]
%56 = phi i32 [ %171, %169 ], [ 0, %30 ]
%57 = icmp sgt i32 %56, -1
%58 = icmp slt i32 %56, %31
%59 = select i1 %57, i1 %58, i1 false
br i1 %59, label %60, label %165
60: ; preds = %52, %157
%61 = phi i32 [ %161, %157 ], [ %56, %52 ]
%62 = phi i32 [ %160, %157 ], [ %54, %52 ]
%63 = phi i32 [ %158, %157 ], [ %53, %52 ]
%64 = icmp eq i32 %63, 1
br i1 %64, label %65, label %112
65: ; preds = %60
%66 = ashr i32 %62, 16
%67 = and i32 %62, 65535
%68 = zext nneg i32 %67 to i64
%69 = zext nneg i32 %61 to i64
%70 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %69
store i64 %68, ptr %70, align 8, !tbaa !5
%71 = icmp sgt i32 %66, 1
br i1 %71, label %72, label %100
72: ; preds = %65, %96
%73 = phi i64 [ %98, %96 ], [ 0, %65 ]
%74 = phi i32 [ %97, %96 ], [ %66, %65 ]
%75 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %73
%76 = load i32, ptr %75, align 4, !tbaa !9
%77 = icmp slt i32 %76, %74
br i1 %77, label %78, label %80
78: ; preds = %72
store i64 %73, ptr %70, align 8, !tbaa !5
%79 = icmp slt i32 %76, 2
br i1 %79, label %100, label %80
80: ; preds = %72, %78
%81 = phi i32 [ %76, %78 ], [ %74, %72 ]
%82 = add nuw nsw i64 %73, 1
%83 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %82
%84 = load i32, ptr %83, align 4, !tbaa !9
%85 = icmp slt i32 %84, %81
br i1 %85, label %86, label %88
86: ; preds = %80
store i64 %82, ptr %70, align 8, !tbaa !5
%87 = icmp slt i32 %84, 2
br i1 %87, label %100, label %88
88: ; preds = %86, %80
%89 = phi i32 [ %84, %86 ], [ %81, %80 ]
%90 = add nuw nsw i64 %73, 2
%91 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %90
%92 = load i32, ptr %91, align 4, !tbaa !9
%93 = icmp slt i32 %92, %89
br i1 %93, label %94, label %96
94: ; preds = %88
store i64 %90, ptr %70, align 8, !tbaa !5
%95 = icmp slt i32 %92, 2
br i1 %95, label %100, label %96
96: ; preds = %94, %88
%97 = phi i32 [ %92, %94 ], [ %89, %88 ]
%98 = add nuw nsw i64 %73, 3
%99 = icmp eq i64 %98, 324
br i1 %99, label %100, label %72, !llvm.loop !17
100: ; preds = %78, %86, %94, %96, %65
%101 = phi i32 [ %66, %65 ], [ %76, %78 ], [ %84, %86 ], [ %92, %94 ], [ %97, %96 ]
switch i32 %101, label %102 [
i32 10, label %106
i32 0, label %106
]
102: ; preds = %100
%103 = sext i32 %61 to i64
%104 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %103
%105 = load i64, ptr %104, align 8, !tbaa !5
br label %131
106: ; preds = %100, %100
%107 = add nsw i32 %61, -1
%108 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %69
store i64 -1, ptr %108, align 8, !tbaa !5
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %109
%111 = load i64, ptr %110, align 8, !tbaa !5
br label %117
112: ; preds = %60
%113 = zext nneg i32 %61 to i64
%114 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %113
%115 = load i64, ptr %114, align 8, !tbaa !5
%116 = icmp eq i32 %63, -1
br i1 %116, label %117, label %131
117: ; preds = %106, %112
%118 = phi i64 [ %111, %106 ], [ %115, %112 ]
%119 = phi i64 [ %109, %106 ], [ %113, %112 ]
%120 = phi i32 [ %107, %106 ], [ %61, %112 ]
%121 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %119
%122 = load i64, ptr %121, align 8, !tbaa !5
%123 = load ptr, ptr %0, align 8, !tbaa !18
%124 = shl i64 %118, 32
%125 = ashr exact i64 %124, 32
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8, !tbaa !21
%128 = getelementptr inbounds i32, ptr %127, i64 %122
%129 = load i32, ptr %128, align 4, !tbaa !9
%130 = call i32 @sd_update(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %129, i32 noundef -1) #4
br label %131
131: ; preds = %102, %117, %112
%132 = phi i64 [ %118, %117 ], [ %115, %112 ], [ %105, %102 ]
%133 = phi i64 [ %119, %117 ], [ %113, %112 ], [ %103, %102 ]
%134 = phi i32 [ %120, %117 ], [ %61, %112 ], [ %61, %102 ]
%135 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %133
%136 = load i64, ptr %135, align 8, !tbaa !5
%137 = trunc i64 %136 to i32
%138 = shl i64 %132, 32
%139 = ashr exact i64 %138, 32
br label %140
140: ; preds = %144, %131
%141 = phi i32 [ %137, %131 ], [ %142, %144 ]
%142 = add i32 %141, 1
%143 = icmp slt i32 %142, 9
br i1 %143, label %144, label %157
144: ; preds = %140
%145 = load ptr, ptr %0, align 8, !tbaa !18
%146 = getelementptr inbounds ptr, ptr %145, i64 %139
%147 = load ptr, ptr %146, align 8, !tbaa !21
%148 = sext i32 %142 to i64
%149 = getelementptr inbounds i32, ptr %147, i64 %148
%150 = load i32, ptr %149, align 4, !tbaa !9
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [729 x i64], ptr %3, i64 0, i64 %151
%153 = load i64, ptr %152, align 8, !tbaa !5
%154 = icmp eq i64 %153, 0
br i1 %154, label %155, label %140, !llvm.loop !22
155: ; preds = %144
%156 = call i32 @sd_update(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %150, i32 noundef 1) #4
br label %157
157: ; preds = %140, %155
%158 = phi i32 [ 1, %155 ], [ -1, %140 ]
%159 = phi i64 [ %148, %155 ], [ -1, %140 ]
%160 = phi i32 [ %156, %155 ], [ %62, %140 ]
%161 = add nsw i32 %134, %158
store i64 %159, ptr %135, align 8, !tbaa !5
%162 = icmp sgt i32 %161, -1
%163 = icmp slt i32 %161, %31
%164 = select i1 %162, i1 %163, i1 false
br i1 %164, label %60, label %165, !llvm.loop !23
165: ; preds = %157, %52
%166 = phi i32 [ %54, %52 ], [ %160, %157 ]
%167 = phi i32 [ %56, %52 ], [ %161, %157 ]
%168 = icmp slt i32 %167, 0
br i1 %168, label %172, label %169
169: ; preds = %165
%170 = add nuw nsw i32 %55, 1
%171 = add nsw i32 %167, -1
br label %52
172: ; preds = %165
call void @llvm.lifetime.end.p0(i64 648, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 1296, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 648, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 5832, ptr nonnull %3) #4
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sd_update(ptr noundef, 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = !{!19, !20, i64 0}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!20, !20, i64 0}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
| ; ModuleID = 'AnghaBench/Cello/benchmarks/Sudoku/extr_sudoku_c.c_sd_solve.c'
source_filename = "AnghaBench/Cello/benchmarks/Sudoku/extr_sudoku_c.c_sd_solve.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.memset_pattern = private unnamed_addr constant [4 x i32] [i32 9, i32 9, i32 9, i32 9], align 16
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sd_solve(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [729 x i64], align 8
%4 = alloca [81 x i64], align 8
%5 = alloca [324 x i32], align 4
%6 = alloca [81 x i64], align 8
call void @llvm.lifetime.start.p0(i64 5832, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 648, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 1296, ptr nonnull %5) #5
call void @llvm.lifetime.start.p0(i64 648, ptr nonnull %6) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(5832) %3, i8 0, i64 5832, i1 false), !tbaa !6
call void @memset_pattern16(ptr nonnull %5, ptr nonnull @.memset_pattern, i64 1296), !tbaa !10
br label %9
7: ; preds = %22
%8 = sub nsw i32 81, %24
br label %29
9: ; preds = %2, %22
%10 = phi i64 [ 0, %2 ], [ %27, %22 ]
%11 = phi i32 [ 0, %2 ], [ %24, %22 ]
%12 = getelementptr inbounds i8, ptr %1, i64 %10
%13 = load i8, ptr %12, align 1, !tbaa !12
%14 = add i8 %13, -49
%15 = icmp ult i8 %14, 9
br i1 %15, label %16, label %22
16: ; preds = %9
%17 = zext nneg i8 %14 to i32
%18 = trunc i64 %10 to i32
%19 = mul i32 %18, 9
%20 = add nuw nsw i32 %19, %17
%21 = call i32 @sd_update(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %20, i32 noundef 1) #5
br label %22
22: ; preds = %16, %9
%23 = zext i1 %15 to i32
%24 = add nuw nsw i32 %11, %23
%25 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %10
store i64 -1, ptr %25, align 8, !tbaa !6
%26 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %10
store i64 -1, ptr %26, align 8, !tbaa !6
%27 = add nuw nsw i64 %10, 1
%28 = icmp eq i64 %27, 81
br i1 %28, label %7, label %9, !llvm.loop !13
29: ; preds = %7, %129
%30 = phi i32 [ -1, %129 ], [ 1, %7 ]
%31 = phi i32 [ %126, %129 ], [ 655360, %7 ]
%32 = phi i32 [ %130, %129 ], [ 0, %7 ]
%33 = phi i32 [ %131, %129 ], [ 0, %7 ]
%34 = icmp sgt i32 %33, -1
%35 = icmp slt i32 %33, %8
%36 = select i1 %34, i1 %35, i1 false
br i1 %36, label %37, label %125
37: ; preds = %29, %117
%38 = phi i32 [ %121, %117 ], [ %33, %29 ]
%39 = phi i32 [ %120, %117 ], [ %31, %29 ]
%40 = phi i32 [ %118, %117 ], [ %30, %29 ]
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %72
42: ; preds = %37
%43 = ashr i32 %39, 16
%44 = and i32 %39, 65535
%45 = zext nneg i32 %44 to i64
%46 = zext nneg i32 %38 to i64
%47 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %46
store i64 %45, ptr %47, align 8, !tbaa !6
%48 = icmp sgt i32 %43, 1
br i1 %48, label %49, label %63
49: ; preds = %42, %58
%50 = phi i64 [ %59, %58 ], [ %45, %42 ]
%51 = phi i64 [ %61, %58 ], [ 0, %42 ]
%52 = phi i32 [ %60, %58 ], [ %43, %42 ]
%53 = getelementptr inbounds [324 x i32], ptr %5, i64 0, i64 %51
%54 = load i32, ptr %53, align 4, !tbaa !10
%55 = icmp slt i32 %54, %52
br i1 %55, label %56, label %58
56: ; preds = %49
store i64 %51, ptr %47, align 8, !tbaa !6
%57 = icmp slt i32 %54, 2
br i1 %57, label %63, label %58
58: ; preds = %49, %56
%59 = phi i64 [ %51, %56 ], [ %50, %49 ]
%60 = phi i32 [ %54, %56 ], [ %52, %49 ]
%61 = add nuw nsw i64 %51, 1
%62 = icmp eq i64 %61, 324
br i1 %62, label %63, label %49, !llvm.loop !15
63: ; preds = %58, %56, %42
%64 = phi i64 [ %45, %42 ], [ %59, %58 ], [ %51, %56 ]
%65 = phi i32 [ %43, %42 ], [ %60, %58 ], [ %54, %56 ]
switch i32 %65, label %91 [
i32 10, label %66
i32 0, label %66
]
66: ; preds = %63, %63
%67 = add nsw i32 %38, -1
%68 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %46
store i64 -1, ptr %68, align 8, !tbaa !6
%69 = sext i32 %67 to i64
%70 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %69
%71 = load i64, ptr %70, align 8, !tbaa !6
br label %77
72: ; preds = %37
%73 = zext nneg i32 %38 to i64
%74 = getelementptr inbounds [81 x i64], ptr %6, i64 0, i64 %73
%75 = load i64, ptr %74, align 8, !tbaa !6
%76 = icmp eq i32 %40, -1
br i1 %76, label %77, label %91
77: ; preds = %66, %72
%78 = phi i64 [ %71, %66 ], [ %75, %72 ]
%79 = phi i64 [ %69, %66 ], [ %73, %72 ]
%80 = phi i32 [ %67, %66 ], [ %38, %72 ]
%81 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %79
%82 = load i64, ptr %81, align 8, !tbaa !6
%83 = load ptr, ptr %0, align 8, !tbaa !16
%84 = shl i64 %78, 32
%85 = ashr exact i64 %84, 29
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8, !tbaa !19
%88 = getelementptr inbounds i32, ptr %87, i64 %82
%89 = load i32, ptr %88, align 4, !tbaa !10
%90 = call i32 @sd_update(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %89, i32 noundef -1) #5
br label %91
91: ; preds = %63, %77, %72
%92 = phi i64 [ %78, %77 ], [ %75, %72 ], [ %64, %63 ]
%93 = phi i64 [ %79, %77 ], [ %73, %72 ], [ %46, %63 ]
%94 = phi i32 [ %80, %77 ], [ %38, %72 ], [ %38, %63 ]
%95 = getelementptr inbounds [81 x i64], ptr %4, i64 0, i64 %93
%96 = load i64, ptr %95, align 8, !tbaa !6
%97 = trunc i64 %96 to i32
%98 = shl i64 %92, 32
%99 = ashr exact i64 %98, 29
br label %100
100: ; preds = %104, %91
%101 = phi i32 [ %97, %91 ], [ %102, %104 ]
%102 = add i32 %101, 1
%103 = icmp slt i32 %102, 9
br i1 %103, label %104, label %117
104: ; preds = %100
%105 = load ptr, ptr %0, align 8, !tbaa !16
%106 = getelementptr inbounds i8, ptr %105, i64 %99
%107 = load ptr, ptr %106, align 8, !tbaa !19
%108 = sext i32 %102 to i64
%109 = getelementptr inbounds i32, ptr %107, i64 %108
%110 = load i32, ptr %109, align 4, !tbaa !10
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [729 x i64], ptr %3, i64 0, i64 %111
%113 = load i64, ptr %112, align 8, !tbaa !6
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %100, !llvm.loop !20
115: ; preds = %104
%116 = call i32 @sd_update(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %110, i32 noundef 1) #5
br label %117
117: ; preds = %100, %115
%118 = phi i32 [ 1, %115 ], [ -1, %100 ]
%119 = phi i64 [ %108, %115 ], [ -1, %100 ]
%120 = phi i32 [ %116, %115 ], [ %39, %100 ]
%121 = add nsw i32 %94, %118
store i64 %119, ptr %95, align 8, !tbaa !6
%122 = icmp sgt i32 %121, -1
%123 = icmp slt i32 %121, %8
%124 = select i1 %122, i1 %123, i1 false
br i1 %124, label %37, label %125, !llvm.loop !21
125: ; preds = %117, %29
%126 = phi i32 [ %31, %29 ], [ %120, %117 ]
%127 = phi i32 [ %33, %29 ], [ %121, %117 ]
%128 = icmp slt i32 %127, 0
br i1 %128, label %132, label %129
129: ; preds = %125
%130 = add nuw nsw i32 %32, 1
%131 = add nsw i32 %127, -1
br label %29
132: ; preds = %125
call void @llvm.lifetime.end.p0(i64 648, ptr nonnull %6) #5
call void @llvm.lifetime.end.p0(i64 1296, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 648, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 5832, ptr nonnull %3) #5
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sd_update(ptr noundef, 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
; Function Attrs: nofree nounwind willreturn memory(argmem: readwrite)
declare void @memset_pattern16(ptr nocapture writeonly, ptr nocapture readonly, i64) local_unnamed_addr #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
| Cello_benchmarks_Sudoku_extr_sudoku_c.c_sd_solve |
; ModuleID = 'AnghaBench/disque/src/extr_disque-cli.c_cliVersion.c'
source_filename = "AnghaBench/disque/src/extr_disque-cli.c_cliVersion.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DISQUE_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c" (git:%s\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"-dirty\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cliVersion], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cliVersion() #0 {
%1 = tail call i32 (...) @sdsempty() #2
%2 = load i32, ptr @DISQUE_VERSION, align 4, !tbaa !5
%3 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = tail call i32 (...) @disqueGitSHA1() #2
%5 = tail call i64 @strtoll(i32 noundef %4, ptr noundef null, i32 noundef 16) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %18, label %7
7: ; preds = %0
%8 = tail call i32 (...) @disqueGitSHA1() #2
%9 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %8) #2
%10 = tail call i32 (...) @disqueGitDirty() #2
%11 = tail call i64 @strtoll(i32 noundef %10, ptr noundef null, i32 noundef 10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %7
%14 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %9, ptr noundef nonnull @.str.2) #2
br label %15
15: ; preds = %13, %7
%16 = phi i32 [ %14, %13 ], [ %9, %7 ]
%17 = tail call i32 @sdscat(i32 noundef %16, ptr noundef nonnull @.str.3) #2
br label %18
18: ; preds = %15, %0
%19 = phi i32 [ %17, %15 ], [ %3, %0 ]
ret i32 %19
}
declare i32 @sdscatprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @sdsempty(...) local_unnamed_addr #1
declare i64 @strtoll(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @disqueGitSHA1(...) local_unnamed_addr #1
declare i32 @disqueGitDirty(...) local_unnamed_addr #1
declare i32 @sdscat(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/disque/src/extr_disque-cli.c_cliVersion.c'
source_filename = "AnghaBench/disque/src/extr_disque-cli.c_cliVersion.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DISQUE_VERSION = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c" (git:%s\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"-dirty\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cliVersion], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cliVersion() #0 {
%1 = tail call i32 @sdsempty() #2
%2 = load i32, ptr @DISQUE_VERSION, align 4, !tbaa !6
%3 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = tail call i32 @disqueGitSHA1() #2
%5 = tail call i64 @strtoll(i32 noundef %4, ptr noundef null, i32 noundef 16) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %18, label %7
7: ; preds = %0
%8 = tail call i32 @disqueGitSHA1() #2
%9 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %8) #2
%10 = tail call i32 @disqueGitDirty() #2
%11 = tail call i64 @strtoll(i32 noundef %10, ptr noundef null, i32 noundef 10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %7
%14 = tail call i32 (i32, ptr, ...) @sdscatprintf(i32 noundef %9, ptr noundef nonnull @.str.2) #2
br label %15
15: ; preds = %13, %7
%16 = phi i32 [ %14, %13 ], [ %9, %7 ]
%17 = tail call i32 @sdscat(i32 noundef %16, ptr noundef nonnull @.str.3) #2
br label %18
18: ; preds = %15, %0
%19 = phi i32 [ %17, %15 ], [ %3, %0 ]
ret i32 %19
}
declare i32 @sdscatprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @sdsempty(...) local_unnamed_addr #1
declare i64 @strtoll(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @disqueGitSHA1(...) local_unnamed_addr #1
declare i32 @disqueGitDirty(...) local_unnamed_addr #1
declare i32 @sdscat(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"}
| disque_src_extr_disque-cli.c_cliVersion |
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_witness.c_witness_postfork_child.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_witness.c_witness_postfork_child.c"
target datalayout = "e-m:e-p270:32:32-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 }
@config_debug = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @witness_postfork_child(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @config_debug, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = tail call i32 @ql_new(ptr noundef nonnull %5) #2
store i32 0, ptr %0, align 4, !tbaa !9
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @ql_new(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_witness.c_witness_postfork_child.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_witness.c_witness_postfork_child.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@config_debug = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @witness_postfork_child(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @config_debug, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = tail call i32 @ql_new(ptr noundef nonnull %5) #2
store i32 0, ptr %0, align 4, !tbaa !10
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @ql_new(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
| freebsd_contrib_jemalloc_src_extr_witness.c_witness_postfork_child |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_tracepoint.c_clear_collection_list.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_tracepoint.c_clear_collection_list.c"
target datalayout = "e-m:e-p270:32:32-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.collection_list = type { i32, i32, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @clear_collection_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @clear_collection_list(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.collection_list, ptr %0, i64 0, i32 3
store i64 0, ptr %2, align 8, !tbaa !5
%3 = load i32, ptr %0, align 8, !tbaa !12
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %19
5: ; preds = %1
%6 = getelementptr inbounds %struct.collection_list, ptr %0, i64 0, i32 2
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %15, %7 ]
%9 = load ptr, ptr %6, align 8, !tbaa !13
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @free_agent_expr(ptr noundef %11) #2
%13 = load ptr, ptr %6, align 8, !tbaa !13
%14 = getelementptr inbounds ptr, ptr %13, i64 %8
store ptr null, ptr %14, align 8, !tbaa !14
%15 = add nuw nsw i64 %8, 1
%16 = load i32, ptr %0, align 8, !tbaa !12
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %7, label %19, !llvm.loop !15
19: ; preds = %7, %1
store i32 0, ptr %0, align 8, !tbaa !12
%20 = getelementptr inbounds %struct.collection_list, ptr %0, i64 0, i32 1
%21 = load i32, ptr %20, align 4, !tbaa !17
%22 = tail call i32 @memset(i32 noundef %21, i32 noundef 0, i32 noundef 4) #2
ret void
}
declare i32 @free_agent_expr(ptr noundef) local_unnamed_addr #1
declare i32 @memset(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, !11, i64 16}
!6 = !{!"collection_list", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_tracepoint.c_clear_collection_list.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_tracepoint.c_clear_collection_list.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 @clear_collection_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @clear_collection_list(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %2, align 8, !tbaa !6
%3 = load i32, ptr %0, align 8, !tbaa !13
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %19
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %15, %7 ]
%9 = load ptr, ptr %6, align 8, !tbaa !14
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call i32 @free_agent_expr(ptr noundef %11) #2
%13 = load ptr, ptr %6, align 8, !tbaa !14
%14 = getelementptr inbounds ptr, ptr %13, i64 %8
store ptr null, ptr %14, align 8, !tbaa !15
%15 = add nuw nsw i64 %8, 1
%16 = load i32, ptr %0, align 8, !tbaa !13
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %7, label %19, !llvm.loop !16
19: ; preds = %7, %1
store i32 0, ptr %0, align 8, !tbaa !13
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !18
%22 = tail call i32 @memset(i32 noundef %21, i32 noundef 0, i32 noundef 4) #2
ret void
}
declare i32 @free_agent_expr(ptr noundef) local_unnamed_addr #1
declare i32 @memset(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, !12, i64 16}
!7 = !{!"collection_list", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !8, i64 4}
| freebsd_contrib_gdb_gdb_extr_tracepoint.c_clear_collection_list |
; ModuleID = 'AnghaBench/reactos/dll/win32/msrle32/extr_msrle32.c_DecompressGetPalette.c'
source_filename = "AnghaBench/reactos/dll/win32/msrle32/extr_msrle32.c_DecompressGetPalette.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32, i32 }
%struct.TYPE_10__ = type { i32, i32, i64 }
@.str = private unnamed_addr constant [12 x i8] c"(%p,%p,%p)\0A\00", align 1
@ICERR_BADPARAM = dso_local local_unnamed_addr global i64 0, align 8
@ICERR_OK = dso_local local_unnamed_addr global i64 0, align 8
@ICERR_BADFORMAT = dso_local local_unnamed_addr global i64 0, align 8
@ICERR_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @DecompressGetPalette], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @DecompressGetPalette(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp ne ptr %0, null
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = icmp eq ptr %1, null
%9 = icmp eq ptr %2, null
%10 = or i1 %8, %9
br i1 %10, label %38, label %11
11: ; preds = %3
%12 = tail call i64 @DecompressQuery(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2) #2
%13 = load i64, ptr @ICERR_OK, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %38
15: ; preds = %11
%16 = load i32, ptr %2, align 8, !tbaa !9
%17 = icmp sgt i32 %16, 8
br i1 %17, label %38, label %18
18: ; preds = %15
%19 = load i32, ptr %1, align 4, !tbaa !12
%20 = icmp slt i32 %19, 9
br i1 %20, label %21, label %38
21: ; preds = %18
%22 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = icmp sgt i32 %23, 0
%25 = shl nuw nsw i32 1, %19
%26 = select i1 %24, i32 %23, i32 %25
%27 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
store i32 %26, ptr %27, align 4, !tbaa !15
%28 = ptrtoint ptr %2 to i64
%29 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2
%30 = load i64, ptr %29, align 8, !tbaa !16
%31 = add nsw i64 %30, %28
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 2
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %1, i64 %34
%36 = shl i32 %26, 2
%37 = tail call i32 @memcpy(i64 noundef %31, ptr noundef nonnull %35, i32 noundef %36) #2
br label %38
38: ; preds = %18, %21, %15, %11, %3
%39 = phi ptr [ @ICERR_BADPARAM, %3 ], [ @ICERR_BADFORMAT, %11 ], [ @ICERR_ERROR, %15 ], [ @ICERR_OK, %21 ], [ @ICERR_OK, %18 ]
%40 = load i64, ptr %39, align 8, !tbaa !5
ret i64 %40
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @DecompressQuery(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_10__", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_9__", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!13, !11, i64 4}
!15 = !{!10, !11, i64 4}
!16 = !{!10, !6, i64 8}
!17 = !{!13, !11, i64 8}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msrle32/extr_msrle32.c_DecompressGetPalette.c'
source_filename = "AnghaBench/reactos/dll/win32/msrle32/extr_msrle32.c_DecompressGetPalette.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 [12 x i8] c"(%p,%p,%p)\0A\00", align 1
@ICERR_BADPARAM = common local_unnamed_addr global i64 0, align 8
@ICERR_OK = common local_unnamed_addr global i64 0, align 8
@ICERR_BADFORMAT = common local_unnamed_addr global i64 0, align 8
@ICERR_ERROR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @DecompressGetPalette], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @DecompressGetPalette(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp ne ptr %0, null
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = icmp eq ptr %1, null
%9 = icmp eq ptr %2, null
%10 = or i1 %8, %9
br i1 %10, label %38, label %11
11: ; preds = %3
%12 = tail call i64 @DecompressQuery(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2) #2
%13 = load i64, ptr @ICERR_OK, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %38
15: ; preds = %11
%16 = load i32, ptr %2, align 8, !tbaa !10
%17 = icmp sgt i32 %16, 8
br i1 %17, label %38, label %18
18: ; preds = %15
%19 = load i32, ptr %1, align 4, !tbaa !13
%20 = icmp slt i32 %19, 9
br i1 %20, label %21, label %38
21: ; preds = %18
%22 = getelementptr inbounds i8, ptr %1, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = icmp sgt i32 %23, 0
%25 = shl nuw nsw i32 1, %19
%26 = select i1 %24, i32 %23, i32 %25
%27 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %26, ptr %27, align 4, !tbaa !16
%28 = ptrtoint ptr %2 to i64
%29 = getelementptr inbounds i8, ptr %2, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !17
%31 = add nsw i64 %30, %28
%32 = getelementptr inbounds i8, ptr %1, i64 8
%33 = load i32, ptr %32, align 4, !tbaa !18
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %1, i64 %34
%36 = shl i32 %26, 2
%37 = tail call i32 @memcpy(i64 noundef %31, ptr noundef nonnull %35, i32 noundef %36) #2
br label %38
38: ; preds = %18, %21, %15, %11, %3
%39 = phi ptr [ @ICERR_BADPARAM, %3 ], [ @ICERR_BADFORMAT, %11 ], [ @ICERR_ERROR, %15 ], [ @ICERR_OK, %21 ], [ @ICERR_OK, %18 ]
%40 = load i64, ptr %39, align 8, !tbaa !6
ret i64 %40
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @DecompressQuery(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_10__", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_9__", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!14, !12, i64 4}
!16 = !{!11, !12, i64 4}
!17 = !{!11, !7, i64 8}
!18 = !{!14, !12, i64 8}
| reactos_dll_win32_msrle32_extr_msrle32.c_DecompressGetPalette |
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_trigger.c_ExecASInsertTriggers.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_trigger.c_ExecASInsertTriggers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRIGGER_EVENT_INSERT = dso_local local_unnamed_addr global i32 0, align 4
@NIL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ExecASInsertTriggers(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = load i64, ptr %4, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr @TRIGGER_EVENT_INSERT, align 4, !tbaa !13
%11 = load i32, ptr @NIL, align 4, !tbaa !13
%12 = tail call i32 @AfterTriggerSaveEvent(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %10, i32 noundef 0, ptr noundef null, ptr noundef null, i32 noundef %11, ptr noundef null, ptr noundef %2) #2
br label %13
13: ; preds = %9, %6, %3
ret void
}
declare i32 @AfterTriggerSaveEvent(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_trigger.c_ExecASInsertTriggers.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_trigger.c_ExecASInsertTriggers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRIGGER_EVENT_INSERT = common local_unnamed_addr global i32 0, align 4
@NIL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ExecASInsertTriggers(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = load i64, ptr %4, align 8, !tbaa !11
%8 = icmp eq i64 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr @TRIGGER_EVENT_INSERT, align 4, !tbaa !14
%11 = load i32, ptr @NIL, align 4, !tbaa !14
%12 = tail call i32 @AfterTriggerSaveEvent(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %10, i32 noundef 0, ptr noundef null, ptr noundef null, i32 noundef %11, ptr noundef null, ptr noundef %2) #2
br label %13
13: ; preds = %9, %6, %3
ret void
}
declare i32 @AfterTriggerSaveEvent(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| postgres_src_backend_commands_extr_trigger.c_ExecASInsertTriggers |
; ModuleID = 'AnghaBench/disque/src/extr_ae.c_aeGetSetSize.c'
source_filename = "AnghaBench/disque/src/extr_ae.c_aeGetSetSize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @aeGetSetSize(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/disque/src/extr_ae.c_aeGetSetSize.c'
source_filename = "AnghaBench/disque/src/extr_ae.c_aeGetSetSize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @aeGetSetSize(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| disque_src_extr_ae.c_aeGetSetSize |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_22101.c_shell.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_22101.c_shell.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"read user\00", align 1
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"connection closed by foreign host.\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"read remote\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local void @shell(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca [512 x i8], align 16
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = add nsw i32 %0, 1
br label %5
5: ; preds = %38, %1
%6 = call i32 @FD_SET(i32 noundef 0, ptr noundef nonnull %3) #4
%7 = call i32 @FD_SET(i32 noundef %0, ptr noundef nonnull %3) #4
%8 = call i32 @select(i32 noundef %4, ptr noundef nonnull %3, ptr noundef null, ptr noundef null, ptr noundef null) #4
%9 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef nonnull %3) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %5
%12 = call i32 @read(i32 noundef 0, ptr noundef nonnull %2, i32 noundef 512) #4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = call i32 @perror(ptr noundef nonnull @.str) #4
%16 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%17 = call i32 @exit(i32 noundef %16) #5
unreachable
18: ; preds = %11
%19 = call i32 @write(i32 noundef %0, ptr noundef nonnull %2, i32 noundef %12) #4
br label %20
20: ; preds = %18, %5
%21 = call i64 @FD_ISSET(i32 noundef %0, ptr noundef nonnull %3) #4
%22 = icmp eq i64 %21, 0
br i1 %22, label %38, label %23
23: ; preds = %20
%24 = call i32 @read(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 512) #4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = call i32 @printf(ptr noundef nonnull @.str.1) #4
%28 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%29 = call i32 @exit(i32 noundef %28) #5
unreachable
30: ; preds = %23
%31 = icmp slt i32 %24, 0
br i1 %31, label %32, label %36
32: ; preds = %30
%33 = call i32 @perror(ptr noundef nonnull @.str.2) #4
%34 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%35 = call i32 @exit(i32 noundef %34) #5
unreachable
36: ; preds = %30
%37 = call i32 @write(i32 noundef 1, ptr noundef nonnull %2, i32 noundef %24) #4
br label %38
38: ; preds = %36, %20
br label %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 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_22101.c_shell.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_22101.c_shell.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [10 x i8] c"read user\00", align 1
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"connection closed by foreign host.\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"read remote\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @shell(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca [512 x i8], align 1
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = add nsw i32 %0, 1
br label %5
5: ; preds = %38, %1
%6 = call i32 @FD_SET(i32 noundef 0, ptr noundef nonnull %3) #4
%7 = call i32 @FD_SET(i32 noundef %0, ptr noundef nonnull %3) #4
%8 = call i32 @select(i32 noundef %4, ptr noundef nonnull %3, ptr noundef null, ptr noundef null, ptr noundef null) #4
%9 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef nonnull %3) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %5
%12 = call i32 @read(i32 noundef 0, ptr noundef nonnull %2, i32 noundef 512) #4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = call i32 @perror(ptr noundef nonnull @.str) #4
%16 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%17 = call i32 @exit(i32 noundef %16) #5
unreachable
18: ; preds = %11
%19 = call i32 @write(i32 noundef %0, ptr noundef nonnull %2, i32 noundef %12) #4
br label %20
20: ; preds = %18, %5
%21 = call i64 @FD_ISSET(i32 noundef %0, ptr noundef nonnull %3) #4
%22 = icmp eq i64 %21, 0
br i1 %22, label %38, label %23
23: ; preds = %20
%24 = call i32 @read(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 512) #4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = call i32 @printf(ptr noundef nonnull @.str.1) #4
%28 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%29 = call i32 @exit(i32 noundef %28) #5
unreachable
30: ; preds = %23
%31 = icmp slt i32 %24, 0
br i1 %31, label %32, label %36
32: ; preds = %30
%33 = call i32 @perror(ptr noundef nonnull @.str.2) #4
%34 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%35 = call i32 @exit(i32 noundef %34) #5
unreachable
36: ; preds = %30
%37 = call i32 @write(i32 noundef 1, ptr noundef nonnull %2, i32 noundef %24) #4
br label %38
38: ; preds = %36, %20
br label %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 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| exploitdb_exploits_linux_remote_extr_22101.c_shell |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/renderer/extr_tr_shader.c_NameToGenFunc.c'
source_filename = "AnghaBench/Quake-III-Arena/code/renderer/extr_tr_shader.c_NameToGenFunc.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1
@GF_SIN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"square\00", align 1
@GF_SQUARE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"triangle\00", align 1
@GF_TRIANGLE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"sawtooth\00", align 1
@GF_SAWTOOTH = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"inversesawtooth\00", align 1
@GF_INVERSE_SAWTOOTH = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"noise\00", align 1
@GF_NOISE = dso_local local_unnamed_addr global i32 0, align 4
@ri = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@PRINT_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [51 x i8] c"WARNING: invalid genfunc name '%s' in shader '%s'\0A\00", align 1
@shader = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @NameToGenFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @NameToGenFunc(ptr noundef %0) #0 {
%2 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %24, label %4
4: ; preds = %1
%5 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %24, label %7
7: ; preds = %4
%8 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %24, label %10
10: ; preds = %7
%11 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %10
%14 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %13
%17 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %16
%20 = load ptr, ptr @ri, align 8, !tbaa !5
%21 = load i32, ptr @PRINT_WARNING, align 4, !tbaa !10
%22 = load i32, ptr @shader, align 4, !tbaa !12
%23 = tail call i32 %20(i32 noundef %21, ptr noundef nonnull @.str.6, ptr noundef %0, i32 noundef %22) #2
br label %24
24: ; preds = %16, %13, %10, %7, %4, %1, %19
%25 = phi ptr [ @GF_SIN, %19 ], [ @GF_SIN, %1 ], [ @GF_SQUARE, %4 ], [ @GF_TRIANGLE, %7 ], [ @GF_SAWTOOTH, %10 ], [ @GF_INVERSE_SAWTOOTH, %13 ], [ @GF_NOISE, %16 ]
%26 = load i32, ptr %25, align 4, !tbaa !10
ret i32 %26
}
declare i32 @Q_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/renderer/extr_tr_shader.c_NameToGenFunc.c'
source_filename = "AnghaBench/Quake-III-Arena/code/renderer/extr_tr_shader.c_NameToGenFunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1
@GF_SIN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"square\00", align 1
@GF_SQUARE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"triangle\00", align 1
@GF_TRIANGLE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"sawtooth\00", align 1
@GF_SAWTOOTH = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"inversesawtooth\00", align 1
@GF_INVERSE_SAWTOOTH = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"noise\00", align 1
@GF_NOISE = common local_unnamed_addr global i32 0, align 4
@ri = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@PRINT_WARNING = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [51 x i8] c"WARNING: invalid genfunc name '%s' in shader '%s'\0A\00", align 1
@shader = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @NameToGenFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @NameToGenFunc(ptr noundef %0) #0 {
%2 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %24, label %4
4: ; preds = %1
%5 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %24, label %7
7: ; preds = %4
%8 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %24, label %10
10: ; preds = %7
%11 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %10
%14 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %13
%17 = tail call i32 @Q_stricmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %16
%20 = load ptr, ptr @ri, align 8, !tbaa !6
%21 = load i32, ptr @PRINT_WARNING, align 4, !tbaa !11
%22 = load i32, ptr @shader, align 4, !tbaa !13
%23 = tail call i32 %20(i32 noundef %21, ptr noundef nonnull @.str.6, ptr noundef %0, i32 noundef %22) #2
br label %24
24: ; preds = %16, %13, %10, %7, %4, %1, %19
%25 = phi ptr [ @GF_SIN, %19 ], [ @GF_SIN, %1 ], [ @GF_SQUARE, %4 ], [ @GF_TRIANGLE, %7 ], [ @GF_SAWTOOTH, %10 ], [ @GF_INVERSE_SAWTOOTH, %13 ], [ @GF_NOISE, %16 ]
%26 = load i32, ptr %25, align 4, !tbaa !11
ret i32 %26
}
declare i32 @Q_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_3__", !12, i64 0}
| Quake-III-Arena_code_renderer_extr_tr_shader.c_NameToGenFunc |
; ModuleID = 'AnghaBench/linux/sound/core/oss/extr_pcm_oss.c_snd_interval_refine_max.c'
source_filename = "AnghaBench/linux/sound/core/oss/extr_pcm_oss.c_snd_interval_refine_max.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_interval = type { i32, i32, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_interval_refine_max], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_interval_refine_max(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp ugt i32 %4, %1
br i1 %5, label %6, label %8
6: ; preds = %3
store i32 %1, ptr %0, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.snd_interval, ptr %0, i64 0, i32 1
store i32 %2, ptr %7, align 4, !tbaa !11
br label %17
8: ; preds = %3
%9 = icmp eq i32 %4, %1
br i1 %9, label %10, label %17
10: ; preds = %8
%11 = getelementptr inbounds %struct.snd_interval, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = icmp eq i32 %12, 0
%14 = icmp ne i32 %2, 0
%15 = and i1 %14, %13
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %11, align 4, !tbaa !11
br label %17
17: ; preds = %8, %10, %16, %6
%18 = phi i32 [ %1, %6 ], [ %1, %16 ], [ %1, %10 ], [ %4, %8 ]
%19 = phi i32 [ 1, %6 ], [ 1, %16 ], [ 0, %10 ], [ 0, %8 ]
%20 = getelementptr inbounds %struct.snd_interval, ptr %0, i64 0, i32 2
%21 = load i64, ptr %20, align 8, !tbaa !12
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %17
%24 = getelementptr inbounds %struct.snd_interval, ptr %0, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !11
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = add i32 %18, -1
store i32 %28, ptr %0, align 8, !tbaa !5
store i32 0, ptr %24, align 4, !tbaa !11
br label %29
29: ; preds = %23, %27, %17
%30 = tail call i64 @snd_interval_checkempty(ptr noundef nonnull %0) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = tail call i32 @snd_interval_none(ptr noundef nonnull %0) #2
%34 = load i32, ptr @EINVAL, align 4, !tbaa !13
%35 = sub nsw i32 0, %34
br label %36
36: ; preds = %29, %32
%37 = phi i32 [ %35, %32 ], [ %19, %29 ]
ret i32 %37
}
declare i64 @snd_interval_checkempty(ptr noundef) local_unnamed_addr #1
declare i32 @snd_interval_none(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_interval", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/core/oss/extr_pcm_oss.c_snd_interval_refine_max.c'
source_filename = "AnghaBench/linux/sound/core/oss/extr_pcm_oss.c_snd_interval_refine_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_interval_refine_max], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @snd_interval_refine_max(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp ugt i32 %4, %1
br i1 %5, label %6, label %8
6: ; preds = %3
store i32 %1, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %2, ptr %7, align 4, !tbaa !12
br label %17
8: ; preds = %3
%9 = icmp eq i32 %4, %1
br i1 %9, label %10, label %17
10: ; preds = %8
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
%14 = icmp ne i32 %2, 0
%15 = and i1 %14, %13
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %11, align 4, !tbaa !12
br label %17
17: ; preds = %8, %10, %16, %6
%18 = phi i32 [ %1, %6 ], [ %1, %16 ], [ %1, %10 ], [ %4, %8 ]
%19 = phi i32 [ 1, %6 ], [ 1, %16 ], [ 0, %10 ], [ 0, %8 ]
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %17
%24 = getelementptr inbounds i8, ptr %0, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !12
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = add i32 %18, -1
store i32 %28, ptr %0, align 8, !tbaa !6
store i32 0, ptr %24, align 4, !tbaa !12
br label %29
29: ; preds = %23, %27, %17
%30 = tail call i64 @snd_interval_checkempty(ptr noundef nonnull %0) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = tail call i32 @snd_interval_none(ptr noundef nonnull %0) #2
%34 = load i32, ptr @EINVAL, align 4, !tbaa !14
%35 = sub nsw i32 0, %34
br label %36
36: ; preds = %29, %32
%37 = phi i32 [ %35, %32 ], [ %19, %29 ]
ret i32 %37
}
declare i64 @snd_interval_checkempty(ptr noundef) local_unnamed_addr #1
declare i32 @snd_interval_none(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_interval", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
| linux_sound_core_oss_extr_pcm_oss.c_snd_interval_refine_max |
; ModuleID = 'AnghaBench/linux/fs/jffs2/extr_compr_rtime.c_jffs2_rtime_exit.c'
source_filename = "AnghaBench/linux/fs/jffs2/extr_compr_rtime.c_jffs2_rtime_exit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jffs2_rtime_comp = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @jffs2_rtime_exit() local_unnamed_addr #0 {
%1 = tail call i32 @jffs2_unregister_compressor(ptr noundef nonnull @jffs2_rtime_comp) #2
ret void
}
declare i32 @jffs2_unregister_compressor(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/fs/jffs2/extr_compr_rtime.c_jffs2_rtime_exit.c'
source_filename = "AnghaBench/linux/fs/jffs2/extr_compr_rtime.c_jffs2_rtime_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jffs2_rtime_comp = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @jffs2_rtime_exit() local_unnamed_addr #0 {
%1 = tail call i32 @jffs2_unregister_compressor(ptr noundef nonnull @jffs2_rtime_comp) #2
ret void
}
declare i32 @jffs2_unregister_compressor(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_fs_jffs2_extr_compr_rtime.c_jffs2_rtime_exit |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_sa1100fb.c_sa1100fb_setpalettereg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_sa1100fb.c_sa1100fb_setpalettereg.c"
target datalayout = "e-m:e-p270:32:32-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.sa1100fb_info = type { i32, ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sa1100fb_setpalettereg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sa1100fb_setpalettereg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 %4, ptr noundef %5) #0 {
%7 = load i32, ptr %5, align 8, !tbaa !5
%8 = icmp sgt i32 %7, %0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = lshr i32 %1, 4
%11 = and i32 %10, 3840
%12 = lshr i32 %2, 8
%13 = and i32 %12, 240
%14 = or disjoint i32 %13, %11
%15 = lshr i32 %3, 12
%16 = and i32 %15, 15
%17 = or disjoint i32 %14, %16
%18 = icmp eq i32 %0, 0
br i1 %18, label %19, label %23
19: ; preds = %9
%20 = getelementptr inbounds %struct.sa1100fb_info, ptr %5, i64 0, i32 2
%21 = tail call i32 @palette_pbs(ptr noundef nonnull %20) #2
%22 = or i32 %21, %17
br label %23
23: ; preds = %19, %9
%24 = phi i32 [ %22, %19 ], [ %17, %9 ]
%25 = getelementptr inbounds %struct.sa1100fb_info, ptr %5, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !12
%27 = sext i32 %0 to i64
%28 = getelementptr inbounds i32, ptr %26, i64 %27
store i32 %24, ptr %28, align 4, !tbaa !13
br label %29
29: ; preds = %23, %6
%30 = phi i32 [ 0, %23 ], [ 1, %6 ]
ret i32 %30
}
declare i32 @palette_pbs(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 = !{!"sa1100fb_info", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_sa1100fb.c_sa1100fb_setpalettereg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_sa1100fb.c_sa1100fb_setpalettereg.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 @sa1100fb_setpalettereg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @sa1100fb_setpalettereg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 %4, ptr noundef %5) #0 {
%7 = load i32, ptr %5, align 8, !tbaa !6
%8 = icmp sgt i32 %7, %0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = lshr i32 %1, 4
%11 = and i32 %10, 3840
%12 = lshr i32 %2, 8
%13 = and i32 %12, 240
%14 = or disjoint i32 %13, %11
%15 = lshr i32 %3, 12
%16 = and i32 %15, 15
%17 = or disjoint i32 %14, %16
%18 = icmp eq i32 %0, 0
br i1 %18, label %19, label %23
19: ; preds = %9
%20 = getelementptr inbounds i8, ptr %5, i64 16
%21 = tail call i32 @palette_pbs(ptr noundef nonnull %20) #2
%22 = or i32 %21, %17
br label %23
23: ; preds = %19, %9
%24 = phi i32 [ %22, %19 ], [ %17, %9 ]
%25 = getelementptr inbounds i8, ptr %5, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !13
%27 = sext i32 %0 to i64
%28 = getelementptr inbounds i32, ptr %26, i64 %27
store i32 %24, ptr %28, align 4, !tbaa !14
br label %29
29: ; preds = %23, %6
%30 = phi i32 [ 0, %23 ], [ 1, %6 ]
ret i32 %30
}
declare i32 @palette_pbs(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 = !{!"sa1100fb_info", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_video_extr_sa1100fb.c_sa1100fb_setpalettereg |
; ModuleID = 'AnghaBench/linux/lib/extr_string.c_strreplace.c'
source_filename = "AnghaBench/linux/lib/extr_string.c_strreplace.c"
target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef ptr @strreplace(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) local_unnamed_addr #0 {
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %3, %11
%7 = phi i8 [ %13, %11 ], [ %4, %3 ]
%8 = phi ptr [ %12, %11 ], [ %0, %3 ]
%9 = icmp eq i8 %7, %1
br i1 %9, label %10, label %11
10: ; preds = %6
store i8 %2, ptr %8, align 1, !tbaa !5
br label %11
11: ; preds = %6, %10
%12 = getelementptr inbounds i8, ptr %8, i64 1
%13 = load i8, ptr %12, align 1, !tbaa !5
%14 = icmp eq i8 %13, 0
br i1 %14, label %15, label %6, !llvm.loop !8
15: ; preds = %11, %3
%16 = phi ptr [ %0, %3 ], [ %12, %11 ]
ret ptr %16
}
attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/lib/extr_string.c_strreplace.c'
source_filename = "AnghaBench/linux/lib/extr_string.c_strreplace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define noundef ptr @strreplace(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) local_unnamed_addr #0 {
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %3, %11
%7 = phi i8 [ %13, %11 ], [ %4, %3 ]
%8 = phi ptr [ %12, %11 ], [ %0, %3 ]
%9 = icmp eq i8 %7, %1
br i1 %9, label %10, label %11
10: ; preds = %6
store i8 %2, ptr %8, align 1, !tbaa !6
br label %11
11: ; preds = %6, %10
%12 = getelementptr inbounds i8, ptr %8, i64 1
%13 = load i8, ptr %12, align 1, !tbaa !6
%14 = icmp eq i8 %13, 0
br i1 %14, label %15, label %6, !llvm.loop !9
15: ; preds = %11, %3
%16 = phi ptr [ %0, %3 ], [ %12, %11 ]
ret ptr %16
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| linux_lib_extr_string.c_strreplace |
; ModuleID = 'AnghaBench/Cello/src/extr_File.c_Stream_Description.c'
source_filename = "AnghaBench/Cello/src/extr_File.c_Stream_Description.c"
target datalayout = "e-m:e-p270:32:32-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 [104 x i8] c"The `Stream` class represents an abstract set of operations that can be performed on File-like objects.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @Stream_Description], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @Stream_Description() #0 {
ret ptr @.str
}
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/Cello/src/extr_File.c_Stream_Description.c'
source_filename = "AnghaBench/Cello/src/extr_File.c_Stream_Description.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 [104 x i8] c"The `Stream` class represents an abstract set of operations that can be performed on File-like objects.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @Stream_Description], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @Stream_Description() #0 {
ret ptr @.str
}
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)"}
| Cello_src_extr_File.c_Stream_Description |
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_luaK_jump.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_luaK_jump.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NO_JUMP = dso_local local_unnamed_addr global i32 0, align 4
@OP_JMP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @luaK_jump(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr %0, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = load i32, ptr @NO_JUMP, align 4, !tbaa !10
store i32 %4, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @OP_JMP, align 4, !tbaa !10
%6 = tail call i32 @luaK_codeAsBx(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 0, i32 noundef %4) #3
store i32 %6, ptr %2, align 4, !tbaa !10
%7 = call i32 @luaK_concat(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %3) #3
%8 = load i32, ptr %2, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @luaK_codeAsBx(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_concat(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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_luaK_jump.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_luaK_jump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NO_JUMP = common local_unnamed_addr global i32 0, align 4
@OP_JMP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @luaK_jump(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr %0, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = load i32, ptr @NO_JUMP, align 4, !tbaa !11
store i32 %4, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @OP_JMP, align 4, !tbaa !11
%6 = tail call i32 @luaK_codeAsBx(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 0, i32 noundef %4) #3
store i32 %6, ptr %2, align 4, !tbaa !11
%7 = call i32 @luaK_concat(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %3) #3
%8 = load i32, ptr %2, align 4, !tbaa !11
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @luaK_codeAsBx(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_concat(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, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| Provenance_Cores_FCEU_FCEU_lua_src_extr_lcode.c_luaK_jump |
; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/gigaset/extr_isocdata.c_hdlc_putbyte.c'
source_filename = "AnghaBench/linux/drivers/staging/isdn/gigaset/extr_isocdata.c_hdlc_putbyte.c"
target datalayout = "e-m:e-p270:32:32-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.bc_state = type { i64, ptr, %struct.TYPE_8__, ptr, i32 }
%struct.TYPE_8__ = type { ptr }
@.str = private unnamed_addr constant [37 x i8] c"received oversized packet discarded\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hdlc_putbyte], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @hdlc_putbyte(i8 noundef zeroext %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.bc_state, ptr %1, i64 0, i32 4
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @crc_ccitt_byte(i32 noundef %4, i8 noundef zeroext %0) #2
store i32 %5, ptr %3, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.bc_state, ptr %1, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = icmp eq ptr %7, null
br i1 %8, label %26, label %9
9: ; preds = %2
%10 = load i64, ptr %7, align 8, !tbaa !14
%11 = load i64, ptr %1, align 8, !tbaa !16
%12 = icmp slt i64 %10, %11
br i1 %12, label %24, label %13
13: ; preds = %9
%14 = getelementptr inbounds %struct.bc_state, ptr %1, i64 0, i32 3
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = tail call i32 @dev_warn(i32 noundef %16, ptr noundef nonnull @.str) #2
%18 = getelementptr inbounds %struct.bc_state, ptr %1, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = load i32, ptr %19, align 4, !tbaa !21
%21 = add nsw i32 %20, 1
store i32 %21, ptr %19, align 4, !tbaa !21
%22 = load ptr, ptr %6, align 8, !tbaa !13
%23 = tail call i32 @dev_kfree_skb_any(ptr noundef %22) #2
store ptr null, ptr %6, align 8, !tbaa !13
br label %26
24: ; preds = %9
%25 = tail call i32 @__skb_put_u8(ptr noundef nonnull %7, i8 noundef zeroext %0) #2
br label %26
26: ; preds = %2, %24, %13
ret void
}
declare i32 @crc_ccitt_byte(i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_kfree_skb_any(ptr noundef) local_unnamed_addr #1
declare i32 @__skb_put_u8(ptr noundef, i8 noundef zeroext) 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, !12, i64 32}
!6 = !{!"bc_state", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !12, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_8__", !10, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_9__", !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 24}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_6__", !12, i64 0}
!20 = !{!6, !10, i64 16}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_7__", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/gigaset/extr_isocdata.c_hdlc_putbyte.c'
source_filename = "AnghaBench/linux/drivers/staging/isdn/gigaset/extr_isocdata.c_hdlc_putbyte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [37 x i8] c"received oversized packet discarded\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hdlc_putbyte], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @hdlc_putbyte(i8 noundef zeroext %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 32
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @crc_ccitt_byte(i32 noundef %4, i8 noundef zeroext %0) #2
store i32 %5, ptr %3, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = icmp eq ptr %7, null
br i1 %8, label %26, label %9
9: ; preds = %2
%10 = load i64, ptr %7, align 8, !tbaa !15
%11 = load i64, ptr %1, align 8, !tbaa !17
%12 = icmp slt i64 %10, %11
br i1 %12, label %24, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %1, i64 24
%15 = load ptr, ptr %14, align 8, !tbaa !18
%16 = load i32, ptr %15, align 4, !tbaa !19
%17 = tail call i32 @dev_warn(i32 noundef %16, ptr noundef nonnull @.str) #2
%18 = getelementptr inbounds i8, ptr %1, i64 16
%19 = load ptr, ptr %18, align 8, !tbaa !21
%20 = load i32, ptr %19, align 4, !tbaa !22
%21 = add nsw i32 %20, 1
store i32 %21, ptr %19, align 4, !tbaa !22
%22 = load ptr, ptr %6, align 8, !tbaa !14
%23 = tail call i32 @dev_kfree_skb_any(ptr noundef %22) #2
store ptr null, ptr %6, align 8, !tbaa !14
br label %26
24: ; preds = %9
%25 = tail call i32 @__skb_put_u8(ptr noundef nonnull %7, i8 noundef zeroext %0) #2
br label %26
26: ; preds = %2, %24, %13
ret void
}
declare i32 @crc_ccitt_byte(i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_kfree_skb_any(ptr noundef) local_unnamed_addr #1
declare i32 @__skb_put_u8(ptr noundef, i8 noundef zeroext) 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, !13, i64 32}
!7 = !{!"bc_state", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !13, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_8__", !11, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_9__", !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !11, i64 24}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_6__", !13, i64 0}
!21 = !{!7, !11, i64 16}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_7__", !13, i64 0}
| linux_drivers_staging_isdn_gigaset_extr_isocdata.c_hdlc_putbyte |
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scif_sas_task_request_state_handlers.c_scif_sas_task_request_constructed_start_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scif_sas_task_request_state_handlers.c_scif_sas_task_request_constructed_start_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"
@SCI_BASE_REQUEST_STATE_STARTED = dso_local local_unnamed_addr global i32 0, align 4
@SCI_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @scif_sas_task_request_constructed_start_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @scif_sas_task_request_constructed_start_handler(ptr noundef %0) #0 {
%2 = load i32, ptr @SCI_BASE_REQUEST_STATE_STARTED, align 4, !tbaa !5
%3 = tail call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @SCI_SUCCESS, align 4, !tbaa !5
ret i32 %4
}
declare i32 @sci_base_state_machine_change_state(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/dev/isci/scil/extr_scif_sas_task_request_state_handlers.c_scif_sas_task_request_constructed_start_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scif_sas_task_request_state_handlers.c_scif_sas_task_request_constructed_start_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCI_BASE_REQUEST_STATE_STARTED = common local_unnamed_addr global i32 0, align 4
@SCI_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @scif_sas_task_request_constructed_start_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @scif_sas_task_request_constructed_start_handler(ptr noundef %0) #0 {
%2 = load i32, ptr @SCI_BASE_REQUEST_STATE_STARTED, align 4, !tbaa !6
%3 = tail call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @SCI_SUCCESS, align 4, !tbaa !6
ret i32 %4
}
declare i32 @sci_base_state_machine_change_state(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_dev_isci_scil_extr_scif_sas_task_request_state_handlers.c_scif_sas_task_request_constructed_start_handler |
; ModuleID = 'AnghaBench/RetroArch/cores/libretro-ffmpeg/extr_ffmpeg_fft.c_fft_free.c'
source_filename = "AnghaBench/RetroArch/cores/libretro-ffmpeg/extr_ffmpeg_fft.c_fft_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @fft_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = tail call i32 @fft_context_destroy(ptr noundef nonnull %0) #2
%5 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %6
6: ; preds = %1, %3
ret void
}
declare i32 @fft_context_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/RetroArch/cores/libretro-ffmpeg/extr_ffmpeg_fft.c_fft_free.c'
source_filename = "AnghaBench/RetroArch/cores/libretro-ffmpeg/extr_ffmpeg_fft.c_fft_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @fft_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = tail call i32 @fft_context_destroy(ptr noundef nonnull %0) #2
%5 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %6
6: ; preds = %1, %3
ret void
}
declare i32 @fft_context_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| RetroArch_cores_libretro-ffmpeg_extr_ffmpeg_fft.c_fft_free |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_build.c_p2p_buf_add_listen_channel.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_build.c_p2p_buf_add_listen_channel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@P2P_ATTR_LISTEN_CHANNEL = dso_local local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"P2P: * Listen Channel: Regulatory Class %u Channel %u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @p2p_buf_add_listen_channel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @P2P_ATTR_LISTEN_CHANNEL, align 4, !tbaa !5
%6 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i32 @wpabuf_put_le16(ptr noundef %0, i32 noundef 5) #2
%8 = tail call i32 @wpabuf_put_data(ptr noundef %0, ptr noundef %1, i32 noundef 3) #2
%9 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %2) #2
%10 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %3) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%12 = tail call i32 @wpa_printf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_le16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_build.c_p2p_buf_add_listen_channel.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_build.c_p2p_buf_add_listen_channel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@P2P_ATTR_LISTEN_CHANNEL = common local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"P2P: * Listen Channel: Regulatory Class %u Channel %u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @p2p_buf_add_listen_channel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @P2P_ATTR_LISTEN_CHANNEL, align 4, !tbaa !6
%6 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i32 @wpabuf_put_le16(ptr noundef %0, i32 noundef 5) #2
%8 = tail call i32 @wpabuf_put_data(ptr noundef %0, ptr noundef %1, i32 noundef 3) #2
%9 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %2) #2
%10 = tail call i32 @wpabuf_put_u8(ptr noundef %0, i32 noundef %3) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%12 = tail call i32 @wpa_printf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_le16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_wpa_src_p2p_extr_p2p_build.c_p2p_buf_add_listen_channel |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_show_map.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_show_map.c"
target datalayout = "e-m:e-p270:32:32-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 @pinmux_show_map], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @pinmux_show_map(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_show_map.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_show_map.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 @pinmux_show_map], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @pinmux_show_map(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pinctrl_sprd_extr_..pinmux.h_pinmux_show_map |
; ModuleID = 'AnghaBench/linux/net/rds/extr_rds.h_rds_conn_state.c'
source_filename = "AnghaBench/linux/net/rds/extr_rds.h_rds_conn_state.c"
target datalayout = "e-m:e-p270:32:32-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.rds_connection = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rds_conn_state], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @rds_conn_state(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.rds_connection, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @WARN_ON(i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !13
%7 = tail call i32 @rds_conn_path_state(ptr noundef %6) #2
ret i32 %7
}
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @rds_conn_path_state(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"rds_connection", !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, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/rds/extr_rds.h_rds_conn_state.c'
source_filename = "AnghaBench/linux/net/rds/extr_rds.h_rds_conn_state.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 @rds_conn_state], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @rds_conn_state(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @WARN_ON(i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !14
%7 = tail call i32 @rds_conn_path_state(ptr noundef %6) #2
ret i32 %7
}
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @rds_conn_path_state(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"rds_connection", !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, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
| linux_net_rds_extr_rds.h_rds_conn_state |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_pci.c_ahc_compose_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_pci.c_ahc_compose_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ahc_compose_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @ahc_compose_id(i32 %0, i32 %1, i32 %2, i32 %3) #0 {
ret i32 poison
}
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/drivers/scsi/aic7xxx/extr_aic7xxx_pci.c_ahc_compose_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_pci.c_ahc_compose_id.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 @ahc_compose_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i32 @ahc_compose_id(i32 %0, i32 %1, i32 %2, i32 %3) #0 {
ret i32 poison
}
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_drivers_scsi_aic7xxx_extr_aic7xxx_pci.c_ahc_compose_id |
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_XzEnc.c_XzFilterProps_Init.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_XzEnc.c_XzFilterProps_Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i64, i64 }
@False = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @XzFilterProps_Init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, i8 0, i64 24, i1 false)
%3 = load i32, ptr @False, align 4, !tbaa !5
store i32 %3, ptr %0, align 8, !tbaa !9
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: 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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_XzEnc.c_XzFilterProps_Init.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_XzEnc.c_XzFilterProps_Init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@False = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @XzFilterProps_Init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, i8 0, i64 24, i1 false)
%3 = load i32, ptr @False, align 4, !tbaa !6
store i32 %3, ptr %0, align 8, !tbaa !10
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: 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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"long", !8, i64 0}
| sumatrapdf_ext_lzma_C_extr_XzEnc.c_XzFilterProps_Init |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_SetCRT1Offset.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_SetCRT1Offset.c"
target datalayout = "e-m:e-p270:32:32-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.SiS_Private = type { i16, i64, i32, i32, ptr, i64 }
%struct.TYPE_2__ = type { i16 }
@InterlaceMode = dso_local local_unnamed_addr global i16 0, align 2
@XGI_20 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @SiS_SetCRT1Offset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @SiS_SetCRT1Offset(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 5
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 4
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = zext i16 %3 to i64
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
br label %13
13: ; preds = %4, %8
%14 = phi ptr [ %12, %8 ], [ %0, %4 ]
%15 = load i16, ptr %14, align 2, !tbaa !14
%16 = tail call zeroext i16 @SiS_GetOffset(ptr noundef nonnull %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #2
%17 = lshr i16 %16, 8
%18 = and i16 %17, 15
%19 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 2
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = tail call i32 @SiS_SetRegANDOR(i32 noundef %20, i32 noundef 14, i32 noundef 240, i16 noundef zeroext %18) #2
%22 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 3
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = and i16 %16, 255
%25 = tail call i32 @SiS_SetReg(i32 noundef %23, i32 noundef 19, i16 noundef zeroext %24) #2
%26 = load i16, ptr @InterlaceMode, align 2, !tbaa !14
%27 = and i16 %26, %15
%28 = icmp ne i16 %27, 0
%29 = zext i1 %28 to i16
%30 = lshr i16 %16, %29
%31 = lshr i16 %30, 3
%32 = and i16 %31, 255
%33 = and i16 %30, 7
%34 = icmp eq i16 %33, 0
%35 = select i1 %34, i16 1, i16 2
%36 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 1
%37 = load i64, ptr %36, align 8, !tbaa !17
%38 = load i64, ptr @XGI_20, align 8, !tbaa !18
%39 = icmp eq i64 %37, %38
%40 = add i16 %1, -73
%41 = icmp ult i16 %40, 2
%42 = and i1 %41, %39
%43 = sext i1 %42 to i16
%44 = add nsw i16 %32, %43
%45 = add nsw i16 %44, %35
%46 = load i32, ptr %19, align 8, !tbaa !15
%47 = tail call i32 @SiS_SetReg(i32 noundef %46, i32 noundef 16, i16 noundef zeroext %45) #2
ret void
}
declare zeroext i16 @SiS_GetOffset(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @SiS_SetRegANDOR(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @SiS_SetReg(i32 noundef, i32 noundef, i16 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, !10, i64 32}
!6 = !{!"SiS_Private", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !10, i64 32}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !12, i64 24}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !11, i64 16}
!16 = !{!6, !11, i64 20}
!17 = !{!6, !10, i64 8}
!18 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_SetCRT1Offset.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_SetCRT1Offset.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 { i16 }
@InterlaceMode = common local_unnamed_addr global i16 0, align 2
@XGI_20 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @SiS_SetCRT1Offset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @SiS_SetCRT1Offset(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = zext i16 %3 to i64
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
br label %13
13: ; preds = %4, %8
%14 = phi ptr [ %12, %8 ], [ %0, %4 ]
%15 = load i16, ptr %14, align 2, !tbaa !15
%16 = tail call zeroext i16 @SiS_GetOffset(ptr noundef nonnull %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #2
%17 = lshr i16 %16, 8
%18 = and i16 %17, 15
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = load i32, ptr %19, align 8, !tbaa !16
%21 = tail call i32 @SiS_SetRegANDOR(i32 noundef %20, i32 noundef 14, i32 noundef 240, i16 noundef zeroext %18) #2
%22 = getelementptr inbounds i8, ptr %0, i64 20
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = and i16 %16, 255
%25 = tail call i32 @SiS_SetReg(i32 noundef %23, i32 noundef 19, i16 noundef zeroext %24) #2
%26 = load i16, ptr @InterlaceMode, align 2, !tbaa !15
%27 = and i16 %26, %15
%28 = icmp ne i16 %27, 0
%29 = zext i1 %28 to i16
%30 = lshr i16 %16, %29
%31 = lshr i16 %30, 3
%32 = and i16 %31, 255
%33 = and i16 %30, 7
%34 = icmp eq i16 %33, 0
%35 = select i1 %34, i16 1, i16 2
%36 = getelementptr inbounds i8, ptr %0, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = load i64, ptr @XGI_20, align 8, !tbaa !19
%39 = icmp eq i64 %37, %38
%40 = add i16 %1, -73
%41 = icmp ult i16 %40, 2
%42 = and i1 %41, %39
%43 = sext i1 %42 to i16
%44 = add nsw i16 %32, %43
%45 = add nsw i16 %44, %35
%46 = load i32, ptr %19, align 8, !tbaa !16
%47 = tail call i32 @SiS_SetReg(i32 noundef %46, i32 noundef 16, i16 noundef zeroext %45) #2
ret void
}
declare zeroext i16 @SiS_GetOffset(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @SiS_SetRegANDOR(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @SiS_SetReg(i32 noundef, i32 noundef, i16 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, !11, i64 32}
!7 = !{!"SiS_Private", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !11, i64 32}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !13, i64 24}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !12, i64 16}
!17 = !{!7, !12, i64 20}
!18 = !{!7, !11, i64 8}
!19 = !{!11, !11, i64 0}
| linux_drivers_video_fbdev_sis_extr_init.c_SiS_SetCRT1Offset |
; ModuleID = 'AnghaBench/linux/block/extr_blk-mq.h_blk_mq_get_dispatch_budget.c'
source_filename = "AnghaBench/linux/block/extr_blk-mq.h_blk_mq_get_dispatch_budget.c"
target datalayout = "e-m:e-p270:32:32-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 @blk_mq_get_dispatch_budget], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @blk_mq_get_dispatch_budget(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 %4(ptr noundef nonnull %0) #1
br label %8
8: ; preds = %1, %6
%9 = phi i32 [ %7, %6 ], [ 1, %1 ]
ret i32 %9
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"blk_mq_hw_ctx", !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 = !{!"request_queue", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/block/extr_blk-mq.h_blk_mq_get_dispatch_budget.c'
source_filename = "AnghaBench/linux/block/extr_blk-mq.h_blk_mq_get_dispatch_budget.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 @blk_mq_get_dispatch_budget], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @blk_mq_get_dispatch_budget(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 %4(ptr noundef nonnull %0) #1
br label %8
8: ; preds = %1, %6
%9 = phi i32 [ %7, %6 ], [ 1, %1 ]
ret i32 %9
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"blk_mq_hw_ctx", !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 = !{!"request_queue", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
| linux_block_extr_blk-mq.h_blk_mq_get_dispatch_budget |
; ModuleID = 'AnghaBench/tengine/src/mail/extr_ngx_mail_core_module.c_ngx_mail_core_protocol.c'
source_filename = "AnghaBench/tengine/src/mail/extr_ngx_mail_core_module.c_ngx_mail_core_protocol.c"
target datalayout = "e-m:e-p270:32:32-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_21__ = type { ptr, ptr }
%struct.TYPE_18__ = type { i32 }
%struct.TYPE_14__ = type { i64, ptr }
@NGX_MAIL_MODULE = dso_local local_unnamed_addr global i64 0, align 8
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"unknown protocol \22%V\22\00", align 1
@NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_mail_core_protocol], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ngx_mail_core_protocol(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %0, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = icmp eq ptr %9, null
br i1 %10, label %44, label %11
11: ; preds = %3
%12 = getelementptr inbounds %struct.TYPE_18__, ptr %6, i64 1
%13 = load i64, ptr @NGX_MAIL_MODULE, align 8, !tbaa !16
br label %14
14: ; preds = %11, %37
%15 = phi ptr [ %8, %11 ], [ %38, %37 ]
%16 = phi i64 [ %13, %11 ], [ %39, %37 ]
%17 = phi ptr [ %9, %11 ], [ %42, %37 ]
%18 = phi i64 [ 0, %11 ], [ %40, %37 ]
%19 = load i64, ptr %17, align 8, !tbaa !18
%20 = icmp eq i64 %19, %16
br i1 %20, label %21, label %37
21: ; preds = %14
%22 = getelementptr inbounds %struct.TYPE_14__, ptr %17, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = load ptr, ptr %23, align 8, !tbaa !21
%25 = icmp eq ptr %24, null
br i1 %25, label %37, label %26
26: ; preds = %21
%27 = load i32, ptr %24, align 4, !tbaa !23
%28 = load i32, ptr %12, align 4, !tbaa !27
%29 = tail call i64 @ngx_strcmp(i32 noundef %27, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %26
%32 = load i64, ptr @NGX_MAIL_MODULE, align 8, !tbaa !16
%33 = load ptr, ptr %0, align 8, !tbaa !12
%34 = load ptr, ptr %33, align 8, !tbaa !13
br label %37
35: ; preds = %26
%36 = load ptr, ptr %23, align 8, !tbaa !21
store ptr %36, ptr %2, align 8, !tbaa !29
br label %48
37: ; preds = %31, %21, %14
%38 = phi ptr [ %15, %21 ], [ %34, %31 ], [ %15, %14 ]
%39 = phi i64 [ %16, %21 ], [ %32, %31 ], [ %16, %14 ]
%40 = add i64 %18, 1
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8, !tbaa !15
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %14, !llvm.loop !31
44: ; preds = %37, %3
%45 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !33
%46 = getelementptr inbounds %struct.TYPE_18__, ptr %6, i64 1
%47 = tail call i32 @ngx_conf_log_error(i32 noundef %45, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %46) #2
br label %48
48: ; preds = %44, %35
%49 = phi ptr [ @NGX_CONF_OK, %35 ], [ @NGX_CONF_ERROR, %44 ]
%50 = load ptr, ptr %49, align 8, !tbaa !15
ret ptr %50
}
declare i64 @ngx_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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_21__", !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, !7, i64 0}
!11 = !{!"TYPE_13__", !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_15__", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_14__", !17, i64 0, !7, i64 8}
!20 = !{!19, !7, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_19__", !7, i64 0}
!23 = !{!24, !26, i64 0}
!24 = !{!"TYPE_17__", !25, i64 0}
!25 = !{!"TYPE_16__", !26, i64 0}
!26 = !{!"int", !8, i64 0}
!27 = !{!28, !26, i64 0}
!28 = !{!"TYPE_18__", !26, i64 0}
!29 = !{!30, !7, i64 0}
!30 = !{!"TYPE_20__", !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!26, !26, i64 0}
| ; ModuleID = 'AnghaBench/tengine/src/mail/extr_ngx_mail_core_module.c_ngx_mail_core_protocol.c'
source_filename = "AnghaBench/tengine/src/mail/extr_ngx_mail_core_module.c_ngx_mail_core_protocol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_MAIL_MODULE = common local_unnamed_addr global i64 0, align 8
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"unknown protocol \22%V\22\00", align 1
@NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ngx_mail_core_protocol], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ngx_mail_core_protocol(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #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 !11
%7 = load ptr, ptr %0, align 8, !tbaa !13
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load ptr, ptr %8, align 8, !tbaa !16
%10 = icmp eq ptr %9, null
br i1 %10, label %44, label %11
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %6, i64 4
%13 = load i64, ptr @NGX_MAIL_MODULE, align 8, !tbaa !17
br label %14
14: ; preds = %11, %37
%15 = phi ptr [ %8, %11 ], [ %38, %37 ]
%16 = phi i64 [ %13, %11 ], [ %39, %37 ]
%17 = phi ptr [ %9, %11 ], [ %42, %37 ]
%18 = phi i64 [ 0, %11 ], [ %40, %37 ]
%19 = load i64, ptr %17, align 8, !tbaa !19
%20 = icmp eq i64 %19, %16
br i1 %20, label %21, label %37
21: ; preds = %14
%22 = getelementptr inbounds i8, ptr %17, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !21
%24 = load ptr, ptr %23, align 8, !tbaa !22
%25 = icmp eq ptr %24, null
br i1 %25, label %37, label %26
26: ; preds = %21
%27 = load i32, ptr %24, align 4, !tbaa !24
%28 = load i32, ptr %12, align 4, !tbaa !28
%29 = tail call i64 @ngx_strcmp(i32 noundef %27, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %26
%32 = load i64, ptr @NGX_MAIL_MODULE, align 8, !tbaa !17
%33 = load ptr, ptr %0, align 8, !tbaa !13
%34 = load ptr, ptr %33, align 8, !tbaa !14
br label %37
35: ; preds = %26
%36 = load ptr, ptr %23, align 8, !tbaa !22
store ptr %36, ptr %2, align 8, !tbaa !30
br label %48
37: ; preds = %31, %21, %14
%38 = phi ptr [ %15, %21 ], [ %34, %31 ], [ %15, %14 ]
%39 = phi i64 [ %16, %21 ], [ %32, %31 ], [ %16, %14 ]
%40 = add i64 %18, 1
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8, !tbaa !16
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %14, !llvm.loop !32
44: ; preds = %37, %3
%45 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !34
%46 = getelementptr inbounds i8, ptr %6, i64 4
%47 = tail call i32 @ngx_conf_log_error(i32 noundef %45, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %46) #2
br label %48
48: ; preds = %44, %35
%49 = phi ptr [ @NGX_CONF_OK, %35 ], [ @NGX_CONF_ERROR, %44 ]
%50 = load ptr, ptr %49, align 8, !tbaa !16
ret ptr %50
}
declare i64 @ngx_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_21__", !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, !8, i64 0}
!12 = !{!"TYPE_13__", !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_15__", !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_14__", !18, i64 0, !8, i64 8}
!21 = !{!20, !8, i64 8}
!22 = !{!23, !8, i64 0}
!23 = !{!"TYPE_19__", !8, i64 0}
!24 = !{!25, !27, i64 0}
!25 = !{!"TYPE_17__", !26, i64 0}
!26 = !{!"TYPE_16__", !27, i64 0}
!27 = !{!"int", !9, i64 0}
!28 = !{!29, !27, i64 0}
!29 = !{!"TYPE_18__", !27, i64 0}
!30 = !{!31, !8, i64 0}
!31 = !{!"TYPE_20__", !8, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!27, !27, i64 0}
| tengine_src_mail_extr_ngx_mail_core_module.c_ngx_mail_core_protocol |
; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mmc.c_jz4780_mmc_probe.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mmc.c_jz4780_mmc_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"ingenic,jz4780-mmc\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Ingenic JZ4780 Integrated MMC/SD controller\00", align 1
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jz4780_mmc_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @jz4780_mmc_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %4
%8 = tail call i64 @device_get_unit(i32 noundef %0) #2
%9 = icmp sgt i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %12
12: ; preds = %7, %4, %1, %10
%13 = phi ptr [ @BUS_PROBE_DEFAULT, %10 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ], [ @ENXIO, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !5
ret i32 %14
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @device_get_unit(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mmc.c_jz4780_mmc_probe.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mmc.c_jz4780_mmc_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"ingenic,jz4780-mmc\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Ingenic JZ4780 Integrated MMC/SD controller\00", align 1
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jz4780_mmc_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @jz4780_mmc_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %4
%8 = tail call i64 @device_get_unit(i32 noundef %0) #2
%9 = icmp sgt i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %12
12: ; preds = %7, %4, %1, %10
%13 = phi ptr [ @BUS_PROBE_DEFAULT, %10 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ], [ @ENXIO, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !6
ret i32 %14
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @device_get_unit(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_mips_ingenic_extr_jz4780_mmc.c_jz4780_mmc_probe |
; ModuleID = 'AnghaBench/linux/fs/hostfs/extr_hostfs_user.c_file_create.c'
source_filename = "AnghaBench/linux/fs/hostfs/extr_hostfs_user.c_file_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"
@O_CREAT = dso_local local_unnamed_addr global i32 0, align 4
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @file_create(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @O_CREAT, align 4, !tbaa !5
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = tail call i32 @open64(ptr noundef %0, i32 noundef %5, i32 noundef %1) #2
%7 = icmp slt i32 %6, 0
%8 = load i32, ptr @errno, align 4
%9 = sub nsw i32 0, %8
%10 = select i1 %7, i32 %9, i32 %6
ret i32 %10
}
declare i32 @open64(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/fs/hostfs/extr_hostfs_user.c_file_create.c'
source_filename = "AnghaBench/linux/fs/hostfs/extr_hostfs_user.c_file_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_CREAT = common local_unnamed_addr global i32 0, align 4
@O_RDWR = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @file_create(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @O_CREAT, align 4, !tbaa !6
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = tail call i32 @open64(ptr noundef %0, i32 noundef %5, i32 noundef %1) #2
%7 = icmp slt i32 %6, 0
%8 = load i32, ptr @errno, align 4
%9 = sub nsw i32 0, %8
%10 = select i1 %7, i32 %9, i32 %6
ret i32 %10
}
declare i32 @open64(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_fs_hostfs_extr_hostfs_user.c_file_create |
; ModuleID = 'AnghaBench/linux/drivers/iio/chemical/extr_atlas-ph-sensor.c_atlas_check_ph_calibration.c'
source_filename = "AnghaBench/linux/drivers/iio/chemical/extr_atlas-ph-sensor.c_atlas_check_ph_calibration.c"
target datalayout = "e-m:e-p270:32:32-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.atlas_data = type { i32, ptr }
@ATLAS_REG_PH_CALIB_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@ATLAS_REG_PH_CALIB_STATUS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"device has not been calibrated\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_LOW = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"device missing low point calibration\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_MID = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"device missing mid point calibration\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"device missing high point calibration\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @atlas_check_ph_calibration], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @atlas_check_ph_calibration(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.atlas_data, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS, align 4, !tbaa !12
%7 = call i32 @regmap_read(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %2) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %1
%10 = load i32, ptr %2, align 4, !tbaa !12
%11 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_MASK, align 4, !tbaa !12
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %9
%15 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_LOW, align 4, !tbaa !12
%16 = and i32 %15, %10
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull @.str.1) #3
%20 = load i32, ptr %2, align 4, !tbaa !12
br label %21
21: ; preds = %18, %14
%22 = phi i32 [ %20, %18 ], [ %10, %14 ]
%23 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_MID, align 4, !tbaa !12
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull @.str.2) #3
%28 = load i32, ptr %2, align 4, !tbaa !12
br label %29
29: ; preds = %26, %21
%30 = phi i32 [ %28, %26 ], [ %22, %21 ]
%31 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_HIGH, align 4, !tbaa !12
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29, %9
%35 = phi ptr [ @.str, %9 ], [ @.str.3, %29 ]
%36 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull %35) #3
br label %37
37: ; preds = %34, %29, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"atlas_data", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/chemical/extr_atlas-ph-sensor.c_atlas_check_ph_calibration.c'
source_filename = "AnghaBench/linux/drivers/iio/chemical/extr_atlas-ph-sensor.c_atlas_check_ph_calibration.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATLAS_REG_PH_CALIB_STATUS = common local_unnamed_addr global i32 0, align 4
@ATLAS_REG_PH_CALIB_STATUS_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"device has not been calibrated\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_LOW = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"device missing low point calibration\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_MID = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"device missing mid point calibration\0A\00", align 1
@ATLAS_REG_PH_CALIB_STATUS_HIGH = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"device missing high point calibration\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @atlas_check_ph_calibration], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @atlas_check_ph_calibration(ptr nocapture noundef readonly %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS, align 4, !tbaa !13
%7 = call i32 @regmap_read(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %2) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %1
%10 = load i32, ptr %2, align 4, !tbaa !13
%11 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_MASK, align 4, !tbaa !13
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %9
%15 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_LOW, align 4, !tbaa !13
%16 = and i32 %15, %10
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull @.str.1) #3
%20 = load i32, ptr %2, align 4, !tbaa !13
br label %21
21: ; preds = %18, %14
%22 = phi i32 [ %20, %18 ], [ %10, %14 ]
%23 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_MID, align 4, !tbaa !13
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull @.str.2) #3
%28 = load i32, ptr %2, align 4, !tbaa !13
br label %29
29: ; preds = %26, %21
%30 = phi i32 [ %28, %26 ], [ %22, %21 ]
%31 = load i32, ptr @ATLAS_REG_PH_CALIB_STATUS_HIGH, align 4, !tbaa !13
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29, %9
%35 = phi ptr [ @.str, %9 ], [ @.str.3, %29 ]
%36 = call i32 @dev_warn(ptr noundef %4, ptr noundef nonnull %35) #3
br label %37
37: ; preds = %34, %29, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"atlas_data", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| linux_drivers_iio_chemical_extr_atlas-ph-sensor.c_atlas_check_ph_calibration |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxskrx.h_mlx5e_xsk_update_rx_wakeup.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxskrx.h_mlx5e_xsk_update_rx_wakeup.c"
target datalayout = "e-m:e-p270:32:32-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 @mlx5e_xsk_update_rx_wakeup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @mlx5e_xsk_update_rx_wakeup(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @xsk_umem_uses_need_wakeup(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = tail call i64 @unlikely(i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr %0, align 4, !tbaa !5
br i1 %8, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @xsk_set_rx_need_wakeup(i32 noundef %9) #2
br label %14
12: ; preds = %6
%13 = tail call i32 @xsk_clear_rx_need_wakeup(i32 noundef %9) #2
br label %14
14: ; preds = %10, %12, %2
%15 = phi i32 [ %1, %2 ], [ 0, %12 ], [ 0, %10 ]
ret i32 %15
}
declare i32 @xsk_umem_uses_need_wakeup(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @xsk_set_rx_need_wakeup(i32 noundef) local_unnamed_addr #1
declare i32 @xsk_clear_rx_need_wakeup(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 0}
!6 = !{!"mlx5e_rq", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxskrx.h_mlx5e_xsk_update_rx_wakeup.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxskrx.h_mlx5e_xsk_update_rx_wakeup.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 @mlx5e_xsk_update_rx_wakeup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal noundef i32 @mlx5e_xsk_update_rx_wakeup(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @xsk_umem_uses_need_wakeup(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = tail call i64 @unlikely(i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr %0, align 4, !tbaa !6
br i1 %8, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @xsk_set_rx_need_wakeup(i32 noundef %9) #2
br label %14
12: ; preds = %6
%13 = tail call i32 @xsk_clear_rx_need_wakeup(i32 noundef %9) #2
br label %14
14: ; preds = %10, %12, %2
%15 = phi i32 [ %1, %2 ], [ 0, %12 ], [ 0, %10 ]
ret i32 %15
}
declare i32 @xsk_umem_uses_need_wakeup(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @xsk_set_rx_need_wakeup(i32 noundef) local_unnamed_addr #1
declare i32 @xsk_clear_rx_need_wakeup(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 0}
!7 = !{!"mlx5e_rq", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_enxskrx.h_mlx5e_xsk_update_rx_wakeup |
; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_branding.c__acl_brand.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_branding.c__acl_brand.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @_acl_brand(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_branding.c__acl_brand.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_branding.c__acl_brand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @_acl_brand(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_lib_libc_posix1e_extr_acl_branding.c__acl_brand |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/xd84/extr_matrix.c_read_cols_on_row.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/xd84/extr_matrix.c_read_cols_on_row.c"
target datalayout = "e-m:e-p270:32:32-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_cols_on_row], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_cols_on_row(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i64, ptr %0, i64 %1
%4 = load i64, ptr %3, align 8, !tbaa !5
store i64 0, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @select_row(i64 noundef %1) #2
%6 = tail call i32 @wait_us(i32 noundef 30) #2
%7 = tail call i64 (...) @read_cols() #2
store i64 %7, ptr %3, align 8, !tbaa !5
%8 = icmp ne i64 %4, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @select_row(i64 noundef) local_unnamed_addr #1
declare i32 @wait_us(i32 noundef) local_unnamed_addr #1
declare i64 @read_cols(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/qmk_firmware/keyboards/xd84/extr_matrix.c_read_cols_on_row.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/xd84/extr_matrix.c_read_cols_on_row.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_cols_on_row], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @read_cols_on_row(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i64, ptr %0, i64 %1
%4 = load i64, ptr %3, align 8, !tbaa !6
store i64 0, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @select_row(i64 noundef %1) #2
%6 = tail call i32 @wait_us(i32 noundef 30) #2
%7 = tail call i64 @read_cols() #2
store i64 %7, ptr %3, align 8, !tbaa !6
%8 = icmp ne i64 %4, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @select_row(i64 noundef) local_unnamed_addr #1
declare i32 @wait_us(i32 noundef) local_unnamed_addr #1
declare i64 @read_cols(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| qmk_firmware_keyboards_xd84_extr_matrix.c_read_cols_on_row |
; ModuleID = 'AnghaBench/esp-idf/components/spi_flash/extr_spi_flash_os_func_app.c_esp_flash_app_init_os_functions.c'
source_filename = "AnghaBench/esp-idf/components/spi_flash/extr_spi_flash_os_func_app.c_esp_flash_app_init_os_functions.c"
target datalayout = "e-m:e-p270:32:32-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 }
@esp_flash_spi1_default_os_functions = dso_local global i32 0, align 4
@main_flash_arg = dso_local global i32 0, align 4
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local i32 @esp_flash_app_init_os_functions(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store ptr @esp_flash_spi1_default_os_functions, ptr %2, align 8, !tbaa !5
store ptr @main_flash_arg, ptr %0, align 8, !tbaa !10
%3 = load i32, ptr @ESP_OK, align 4, !tbaa !11
ret i32 %3
}
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, !7, i64 8}
!6 = !{!"TYPE_3__", !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 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/spi_flash/extr_spi_flash_os_func_app.c_esp_flash_app_init_os_functions.c'
source_filename = "AnghaBench/esp-idf/components/spi_flash/extr_spi_flash_os_func_app.c_esp_flash_app_init_os_functions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@esp_flash_spi1_default_os_functions = common global i32 0, align 4
@main_flash_arg = common global i32 0, align 4
@ESP_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define i32 @esp_flash_app_init_os_functions(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
store ptr @esp_flash_spi1_default_os_functions, ptr %2, align 8, !tbaa !6
store ptr @main_flash_arg, ptr %0, align 8, !tbaa !11
%3 = load i32, ptr @ESP_OK, align 4, !tbaa !12
ret i32 %3
}
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, !8, i64 8}
!7 = !{!"TYPE_3__", !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 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| esp-idf_components_spi_flash_extr_spi_flash_os_func_app.c_esp_flash_app_init_os_functions |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_depth.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_depth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @r128_cce_depth(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef nonnull %0, ptr noundef %2) #2
%6 = tail call i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef %4) #2
%7 = tail call i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef %4) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !10
%9 = sub nsw i32 0, %8
%10 = load i32, ptr %1, align 4, !tbaa !12
switch i32 %10, label %19 [
i32 128, label %11
i32 129, label %13
i32 130, label %15
i32 131, label %17
]
11: ; preds = %3
%12 = tail call i32 @r128_cce_dispatch_write_span(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
13: ; preds = %3
%14 = tail call i32 @r128_cce_dispatch_write_pixels(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
15: ; preds = %3
%16 = tail call i32 @r128_cce_dispatch_read_span(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
17: ; preds = %3
%18 = tail call i32 @r128_cce_dispatch_read_pixels(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
19: ; preds = %3, %17, %15, %13, %11
%20 = phi i32 [ %9, %3 ], [ %18, %17 ], [ %16, %15 ], [ %14, %13 ], [ %12, %11 ]
%21 = tail call i32 (...) @COMMIT_RING() #2
ret i32 %20
}
declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1
declare i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_write_span(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_write_pixels(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_read_span(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_read_pixels(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @COMMIT_RING(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_depth.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_depth.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 @r128_cce_depth(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef nonnull %0, ptr noundef %2) #2
%6 = tail call i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef %4) #2
%7 = tail call i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef %4) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !11
%9 = sub nsw i32 0, %8
%10 = load i32, ptr %1, align 4, !tbaa !13
switch i32 %10, label %19 [
i32 128, label %11
i32 129, label %13
i32 130, label %15
i32 131, label %17
]
11: ; preds = %3
%12 = tail call i32 @r128_cce_dispatch_write_span(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
13: ; preds = %3
%14 = tail call i32 @r128_cce_dispatch_write_pixels(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
15: ; preds = %3
%16 = tail call i32 @r128_cce_dispatch_read_span(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
17: ; preds = %3
%18 = tail call i32 @r128_cce_dispatch_read_pixels(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %19
19: ; preds = %3, %17, %15, %13, %11
%20 = phi i32 [ %9, %3 ], [ %18, %17 ], [ %16, %15 ], [ %14, %13 ], [ %12, %11 ]
%21 = tail call i32 @COMMIT_RING() #2
ret i32 %20
}
declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1
declare i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_write_span(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_write_pixels(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_read_span(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r128_cce_dispatch_read_pixels(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @COMMIT_RING(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !12, i64 0}
| linux_drivers_gpu_drm_r128_extr_r128_state.c_r128_cce_depth |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_rx_antenna.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_rx_antenna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RT5390_RF_5370 = dso_local local_unnamed_addr global i64 0, align 8
@RT2860_MCU_CMD_ANTSEL = dso_local local_unnamed_addr global i32 0, align 4
@RT2860_GPIO_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @run_set_rx_antenna], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @run_set_rx_antenna(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
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 = icmp eq i32 %1, 0
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = load i64, ptr @RT5390_RF_5370, align 8, !tbaa !10
%8 = icmp eq i64 %6, %7
br i1 %5, label %25, label %9
9: ; preds = %2
br i1 %8, label %10, label %15
10: ; preds = %9
%11 = call i32 @run_bbp_read(ptr noundef nonnull %0, i32 noundef 152, ptr noundef nonnull %4) #3
%12 = load i32, ptr %4, align 4, !tbaa !11
%13 = and i32 %12, -129
%14 = call i32 @run_bbp_write(ptr noundef nonnull %0, i32 noundef 152, i32 noundef %13) #3
br label %40
15: ; preds = %9
%16 = load i32, ptr @RT2860_MCU_CMD_ANTSEL, align 4, !tbaa !11
%17 = tail call i32 @run_mcu_cmd(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #3
%18 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !11
%19 = call i32 @run_read(ptr noundef nonnull %0, i32 noundef %18, ptr noundef nonnull %3) #3
%20 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !11
%21 = load i32, ptr %3, align 4, !tbaa !11
%22 = and i32 %21, -2057
%23 = or disjoint i32 %22, 8
%24 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %23) #3
br label %40
25: ; preds = %2
br i1 %8, label %26, label %31
26: ; preds = %25
%27 = call i32 @run_bbp_read(ptr noundef nonnull %0, i32 noundef 152, ptr noundef nonnull %4) #3
%28 = load i32, ptr %4, align 4, !tbaa !11
%29 = or i32 %28, 128
%30 = call i32 @run_bbp_write(ptr noundef nonnull %0, i32 noundef 152, i32 noundef %29) #3
br label %40
31: ; preds = %25
%32 = load i32, ptr @RT2860_MCU_CMD_ANTSEL, align 4, !tbaa !11
%33 = tail call i32 @run_mcu_cmd(ptr noundef nonnull %0, i32 noundef %32, i32 noundef 1) #3
%34 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !11
%35 = call i32 @run_read(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull %3) #3
%36 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !11
%37 = load i32, ptr %3, align 4, !tbaa !11
%38 = and i32 %37, -2057
%39 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38) #3
br label %40
40: ; preds = %26, %31, %10, %15
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 @run_bbp_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @run_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @run_mcu_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @run_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @run_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"run_softc", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_rx_antenna.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_rx_antenna.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RT5390_RF_5370 = common local_unnamed_addr global i64 0, align 8
@RT2860_MCU_CMD_ANTSEL = common local_unnamed_addr global i32 0, align 4
@RT2860_GPIO_CTRL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @run_set_rx_antenna], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @run_set_rx_antenna(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
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 = icmp eq i32 %1, 0
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = load i64, ptr @RT5390_RF_5370, align 8, !tbaa !11
%8 = icmp eq i64 %6, %7
br i1 %5, label %25, label %9
9: ; preds = %2
br i1 %8, label %10, label %15
10: ; preds = %9
%11 = call i32 @run_bbp_read(ptr noundef nonnull %0, i32 noundef 152, ptr noundef nonnull %4) #3
%12 = load i32, ptr %4, align 4, !tbaa !12
%13 = and i32 %12, -129
%14 = call i32 @run_bbp_write(ptr noundef nonnull %0, i32 noundef 152, i32 noundef %13) #3
br label %40
15: ; preds = %9
%16 = load i32, ptr @RT2860_MCU_CMD_ANTSEL, align 4, !tbaa !12
%17 = tail call i32 @run_mcu_cmd(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #3
%18 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !12
%19 = call i32 @run_read(ptr noundef nonnull %0, i32 noundef %18, ptr noundef nonnull %3) #3
%20 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !12
%21 = load i32, ptr %3, align 4, !tbaa !12
%22 = and i32 %21, -2057
%23 = or disjoint i32 %22, 8
%24 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %23) #3
br label %40
25: ; preds = %2
br i1 %8, label %26, label %31
26: ; preds = %25
%27 = call i32 @run_bbp_read(ptr noundef nonnull %0, i32 noundef 152, ptr noundef nonnull %4) #3
%28 = load i32, ptr %4, align 4, !tbaa !12
%29 = or i32 %28, 128
%30 = call i32 @run_bbp_write(ptr noundef nonnull %0, i32 noundef 152, i32 noundef %29) #3
br label %40
31: ; preds = %25
%32 = load i32, ptr @RT2860_MCU_CMD_ANTSEL, align 4, !tbaa !12
%33 = tail call i32 @run_mcu_cmd(ptr noundef nonnull %0, i32 noundef %32, i32 noundef 1) #3
%34 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !12
%35 = call i32 @run_read(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull %3) #3
%36 = load i32, ptr @RT2860_GPIO_CTRL, align 4, !tbaa !12
%37 = load i32, ptr %3, align 4, !tbaa !12
%38 = and i32 %37, -2057
%39 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38) #3
br label %40
40: ; preds = %26, %31, %10, %15
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 @run_bbp_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @run_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @run_mcu_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @run_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @run_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"run_softc", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| freebsd_sys_dev_usb_wlan_extr_if_run.c_run_set_rx_antenna |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_cpu_has_vmx_ple.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_cpu_has_vmx_ple.c"
target datalayout = "e-m:e-p270:32:32-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 }
@vmcs_config = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@SECONDARY_EXEC_PAUSE_LOOP_EXITING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_has_vmx_ple], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @cpu_has_vmx_ple() #0 {
%1 = load i32, ptr @vmcs_config, align 4, !tbaa !5
%2 = load i32, ptr @SECONDARY_EXEC_PAUSE_LOOP_EXITING, align 4, !tbaa !10
%3 = and i32 %2, %1
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_cpu_has_vmx_ple.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_cpu_has_vmx_ple.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 }
@vmcs_config = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@SECONDARY_EXEC_PAUSE_LOOP_EXITING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cpu_has_vmx_ple], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @cpu_has_vmx_ple() #0 {
%1 = load i32, ptr @vmcs_config, align 4, !tbaa !6
%2 = load i32, ptr @SECONDARY_EXEC_PAUSE_LOOP_EXITING, align 4, !tbaa !11
%3 = and i32 %2, %1
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| fastsocket_kernel_arch_x86_kvm_extr_vmx.c_cpu_has_vmx_ple |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_ndis.c_l2_packet_init_bridge.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_ndis.c_l2_packet_init_bridge.c"
target datalayout = "e-m:e-p270:32:32-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 @l2_packet_init_bridge(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr @l2_packet_init(ptr noundef %0, ptr noundef %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
ret ptr %8
}
declare ptr @l2_packet_init(ptr noundef, ptr noundef, i16 noundef zeroext, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_ndis.c_l2_packet_init_bridge.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_ndis.c_l2_packet_init_bridge.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 @l2_packet_init_bridge(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr @l2_packet_init(ptr noundef %0, ptr noundef %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
ret ptr %8
}
declare ptr @l2_packet_init(ptr noundef, ptr noundef, i16 noundef zeroext, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_wpa_src_l2_packet_extr_l2_packet_ndis.c_l2_packet_init_bridge |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap/extr_omapfb_main.c_omapfb_pan_display.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap/extr_omapfb_main.c_omapfb_pan_display.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fb_info = type { %struct.fb_var_screeninfo, ptr }
%struct.fb_var_screeninfo = type { i64, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @omapfb_pan_display], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @omapfb_pan_display(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.fb_info, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @omapfb_rqueue_lock(ptr noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !14
%8 = load i64, ptr %1, align 8, !tbaa !15
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %1, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = icmp eq i64 %12, %14
br i1 %15, label %27, label %16
16: ; preds = %10, %2
%17 = tail call i32 @memcpy(ptr noundef %5, ptr noundef nonnull %1, i32 noundef 16) #2
%18 = load <2 x i64>, ptr %0, align 8, !tbaa !18
store <2 x i64> %18, ptr %5, align 8, !tbaa !18
%19 = tail call i64 @set_fb_var(ptr noundef nonnull %1, ptr noundef nonnull %5) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %16
%22 = load i32, ptr @EINVAL, align 4, !tbaa !19
%23 = sub nsw i32 0, %22
br label %27
24: ; preds = %16
%25 = tail call i32 @memcpy(ptr noundef nonnull %1, ptr noundef nonnull %5, i32 noundef 16) #2
%26 = tail call i32 @ctrl_change_mode(ptr noundef nonnull %1) #2
br label %27
27: ; preds = %21, %24, %10
%28 = phi i32 [ 0, %10 ], [ %23, %21 ], [ 0, %24 ]
%29 = tail call i32 @omapfb_rqueue_unlock(ptr noundef %5) #2
ret i32 %28
}
declare i32 @omapfb_rqueue_lock(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @set_fb_var(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ctrl_change_mode(ptr noundef) local_unnamed_addr #1
declare i32 @omapfb_rqueue_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"fb_info", !7, i64 0, !11, i64 16}
!7 = !{!"fb_var_screeninfo", !8, i64 0, !8, 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, !11, i64 0}
!13 = !{!"omapfb_plane_struct", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!6, !8, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!6, !8, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !9, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap/extr_omapfb_main.c_omapfb_pan_display.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap/extr_omapfb_main.c_omapfb_pan_display.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @omapfb_pan_display], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @omapfb_pan_display(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = tail call i32 @omapfb_rqueue_lock(ptr noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !15
%8 = load i64, ptr %1, align 8, !tbaa !16
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !18
%15 = icmp eq i64 %12, %14
br i1 %15, label %27, label %16
16: ; preds = %10, %2
%17 = tail call i32 @memcpy(ptr noundef %5, ptr noundef nonnull %1, i32 noundef 16) #2
%18 = load <2 x i64>, ptr %0, align 8, !tbaa !19
store <2 x i64> %18, ptr %5, align 8, !tbaa !19
%19 = tail call i64 @set_fb_var(ptr noundef nonnull %1, ptr noundef nonnull %5) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %16
%22 = load i32, ptr @EINVAL, align 4, !tbaa !20
%23 = sub nsw i32 0, %22
br label %27
24: ; preds = %16
%25 = tail call i32 @memcpy(ptr noundef nonnull %1, ptr noundef nonnull %5, i32 noundef 16) #2
%26 = tail call i32 @ctrl_change_mode(ptr noundef nonnull %1) #2
br label %27
27: ; preds = %21, %24, %10
%28 = phi i32 [ 0, %10 ], [ %23, %21 ], [ 0, %24 ]
%29 = tail call i32 @omapfb_rqueue_unlock(ptr noundef %5) #2
ret i32 %28
}
declare i32 @omapfb_rqueue_lock(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @set_fb_var(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ctrl_change_mode(ptr noundef) local_unnamed_addr #1
declare i32 @omapfb_rqueue_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"fb_info", !8, i64 0, !12, i64 16}
!8 = !{!"fb_var_screeninfo", !9, i64 0, !9, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"omapfb_plane_struct", !12, i64 0}
!15 = !{!8, !9, i64 0}
!16 = !{!7, !9, i64 0}
!17 = !{!8, !9, i64 8}
!18 = !{!7, !9, i64 8}
!19 = !{!9, !9, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"int", !10, i64 0}
| linux_drivers_video_fbdev_omap_extr_omapfb_main.c_omapfb_pan_display |
; ModuleID = 'AnghaBench/linux/drivers/iio/extr_industrialio-core.c_iio_read_channel_info_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/extr_industrialio-core.c_iio_read_channel_info_avail.c"
target datalayout = "e-m:e-p270:32:32-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.iio_dev_attr = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iio_read_channel_info_avail], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iio_read_channel_info_avail(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #3
%8 = tail call ptr @to_iio_dev_attr(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%9 = load ptr, ptr %7, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = getelementptr inbounds %struct.iio_dev_attr, ptr %8, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = load i32, ptr %8, align 4, !tbaa !15
%14 = call i32 %10(ptr noundef nonnull %7, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %13) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %29, label %16
16: ; preds = %3
switch i32 %14, label %26 [
i32 129, label %17
i32 128, label %22
]
17: ; preds = %16
%18 = load ptr, ptr %4, align 8, !tbaa !16
%19 = load i32, ptr %6, align 4, !tbaa !17
%20 = load i32, ptr %5, align 4, !tbaa !17
%21 = call i32 @iio_format_avail_list(ptr noundef %2, ptr noundef %18, i32 noundef %19, i32 noundef %20) #3
br label %29
22: ; preds = %16
%23 = load ptr, ptr %4, align 8, !tbaa !16
%24 = load i32, ptr %6, align 4, !tbaa !17
%25 = call i32 @iio_format_avail_range(ptr noundef %2, ptr noundef %23, i32 noundef %24) #3
br label %29
26: ; preds = %16
%27 = load i32, ptr @EINVAL, align 4, !tbaa !17
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %3, %26, %22, %17
%30 = phi i32 [ %28, %26 ], [ %25, %22 ], [ %21, %17 ], [ %14, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #2
declare ptr @to_iio_dev_attr(ptr noundef) local_unnamed_addr #2
declare i32 @iio_format_avail_list(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @iio_format_avail_range(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, !7, i64 0}
!6 = !{!"iio_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !14, i64 4}
!13 = !{!"iio_dev_attr", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/extr_industrialio-core.c_iio_read_channel_info_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/extr_industrialio-core.c_iio_read_channel_info_avail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iio_read_channel_info_avail], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iio_read_channel_info_avail(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #3
%8 = tail call ptr @to_iio_dev_attr(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%9 = load ptr, ptr %7, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = getelementptr inbounds i8, ptr %8, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = load i32, ptr %8, align 4, !tbaa !16
%14 = call i32 %10(ptr noundef nonnull %7, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %13) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %29, label %16
16: ; preds = %3
switch i32 %14, label %26 [
i32 129, label %17
i32 128, label %22
]
17: ; preds = %16
%18 = load ptr, ptr %4, align 8, !tbaa !17
%19 = load i32, ptr %6, align 4, !tbaa !18
%20 = load i32, ptr %5, align 4, !tbaa !18
%21 = call i32 @iio_format_avail_list(ptr noundef %2, ptr noundef %18, i32 noundef %19, i32 noundef %20) #3
br label %29
22: ; preds = %16
%23 = load ptr, ptr %4, align 8, !tbaa !17
%24 = load i32, ptr %6, align 4, !tbaa !18
%25 = call i32 @iio_format_avail_range(ptr noundef %2, ptr noundef %23, i32 noundef %24) #3
br label %29
26: ; preds = %16
%27 = load i32, ptr @EINVAL, align 4, !tbaa !18
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %3, %26, %22, %17
%30 = phi i32 [ %28, %26 ], [ %25, %22 ], [ %21, %17 ], [ %14, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #2
declare ptr @to_iio_dev_attr(ptr noundef) local_unnamed_addr #2
declare i32 @iio_format_avail_list(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @iio_format_avail_range(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, !8, i64 0}
!7 = !{!"iio_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!14, !15, i64 4}
!14 = !{!"iio_dev_attr", !15, i64 0, !15, i64 4}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !15, i64 0}
| linux_drivers_iio_extr_industrialio-core.c_iio_read_channel_info_avail |
; ModuleID = 'AnghaBench/php-src/ext/hash/sha3/generic32lc/extr_KeccakSponge.inc_KeccakWidth200_SpongeAbsorbLastFewBits.c'
source_filename = "AnghaBench/php-src/ext/hash/sha3/generic32lc/extr_KeccakSponge.inc_KeccakWidth200_SpongeAbsorbLastFewBits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32 }
@SnP_width = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @SpongeAbsorbLastFewBits(ptr nocapture noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = sdiv i32 %3, 8
%5 = zext i8 %1 to i32
%6 = icmp eq i8 %1, 0
br i1 %6, label %33, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %33
11: ; preds = %7
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i32 @SnP_AddByte(i32 noundef %13, i32 noundef %5, i32 noundef %15) #2
%17 = icmp slt i8 %1, 0
br i1 %17, label %20, label %18
18: ; preds = %11
%19 = add nsw i32 %4, -1
br label %27
20: ; preds = %11
%21 = load i32, ptr %14, align 4, !tbaa !12
%22 = add nsw i32 %4, -1
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %12, align 4, !tbaa !11
%26 = tail call i32 @SnP_Permute(i32 noundef %25) #2
br label %27
27: ; preds = %18, %24, %20
%28 = phi i32 [ %19, %18 ], [ %22, %24 ], [ %22, %20 ]
%29 = load i32, ptr %12, align 4, !tbaa !11
%30 = tail call i32 @SnP_AddByte(i32 noundef %29, i32 noundef 128, i32 noundef %28) #2
%31 = load i32, ptr %12, align 4, !tbaa !11
%32 = tail call i32 @SnP_Permute(i32 noundef %31) #2
store i32 0, ptr %14, align 4, !tbaa !12
store i32 1, ptr %8, align 4, !tbaa !10
br label %33
33: ; preds = %7, %2, %27
%34 = phi i32 [ 0, %27 ], [ 1, %2 ], [ 1, %7 ]
ret i32 %34
}
declare i32 @SnP_AddByte(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SnP_Permute(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, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/php-src/ext/hash/sha3/generic32lc/extr_KeccakSponge.inc_KeccakWidth200_SpongeAbsorbLastFewBits.c'
source_filename = "AnghaBench/php-src/ext/hash/sha3/generic32lc/extr_KeccakSponge.inc_KeccakWidth200_SpongeAbsorbLastFewBits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SnP_width = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @SpongeAbsorbLastFewBits(ptr nocapture noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = sdiv i32 %3, 8
%5 = zext i8 %1 to i32
%6 = icmp eq i8 %1, 0
br i1 %6, label %33, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %33
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call i32 @SnP_AddByte(i32 noundef %13, i32 noundef %5, i32 noundef %15) #2
%17 = icmp slt i8 %1, 0
br i1 %17, label %20, label %18
18: ; preds = %11
%19 = add nsw i32 %4, -1
br label %27
20: ; preds = %11
%21 = load i32, ptr %14, align 4, !tbaa !13
%22 = add nsw i32 %4, -1
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %12, align 4, !tbaa !12
%26 = tail call i32 @SnP_Permute(i32 noundef %25) #2
br label %27
27: ; preds = %18, %24, %20
%28 = phi i32 [ %19, %18 ], [ %22, %24 ], [ %22, %20 ]
%29 = load i32, ptr %12, align 4, !tbaa !12
%30 = tail call i32 @SnP_AddByte(i32 noundef %29, i32 noundef 128, i32 noundef %28) #2
%31 = load i32, ptr %12, align 4, !tbaa !12
%32 = tail call i32 @SnP_Permute(i32 noundef %31) #2
store <2 x i32> <i32 1, i32 0>, ptr %8, align 4, !tbaa !14
br label %33
33: ; preds = %7, %2, %27
%34 = phi i32 [ 0, %27 ], [ 1, %2 ], [ 1, %7 ]
ret i32 %34
}
declare i32 @SnP_AddByte(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SnP_Permute(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, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 12}
!13 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
| php-src_ext_hash_sha3_generic32lc_extr_KeccakSponge.inc_KeccakWidth200_SpongeAbsorbLastFewBits |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_ctrl_initgain_byrssi_driver.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_ctrl_initgain_byrssi_driver.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i32, i32 }
%struct.r8192_priv = type { i32, ptr }
@_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig = internal unnamed_addr global i32 0, align 4
@dm_digtable = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@UFWP = dso_local local_unnamed_addr global i32 0, align 4
@bMaskByte1 = dso_local local_unnamed_addr global i32 0, align 4
@DM_STA_DIG_OFF = dso_local local_unnamed_addr global i32 0, align 4
@RTLLIB_LINKED = dso_local local_unnamed_addr global i64 0, align 8
@DIG_STA_CONNECT = dso_local local_unnamed_addr global i32 0, align 4
@DIG_STA_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_rtl92e_dm_ctrl_initgain_byrssi_driver(ptr noundef %0) #0 {
%2 = tail call ptr @rtllib_priv(ptr noundef %0) #2
%3 = load i32, ptr @dm_digtable, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %43, label %5
5: ; preds = %1
%6 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 3), align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %5
store i32 0, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !12
br label %12
9: ; preds = %5
%10 = load i32, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !12
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %25
12: ; preds = %9, %8
%13 = load i32, ptr @UFWP, align 4, !tbaa !12
%14 = load i32, ptr @bMaskByte1, align 4, !tbaa !12
%15 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef 8) #2
%16 = load i32, ptr @UFWP, align 4, !tbaa !12
%17 = load i32, ptr @bMaskByte1, align 4, !tbaa !12
%18 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %16, i32 noundef %17, i32 noundef 8) #2
%19 = load i32, ptr @UFWP, align 4, !tbaa !12
%20 = load i32, ptr @bMaskByte1, align 4, !tbaa !12
%21 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %19, i32 noundef %20, i32 noundef 8) #2
%22 = load i32, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !12
%23 = add nsw i32 %22, 1
store i32 %23, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !12
%24 = load i32, ptr @DM_STA_DIG_OFF, align 4, !tbaa !12
store i32 %24, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 5), align 4, !tbaa !13
br label %25
25: ; preds = %12, %9
%26 = getelementptr inbounds %struct.r8192_priv, ptr %2, i64 0, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !14
%28 = load i64, ptr %27, align 8, !tbaa !17
%29 = load i64, ptr @RTLLIB_LINKED, align 8, !tbaa !19
%30 = icmp eq i64 %28, %29
%31 = load i32, ptr @DIG_STA_CONNECT, align 4
%32 = load i32, ptr @DIG_STA_DISCONNECT, align 4
%33 = select i1 %30, i32 %31, i32 %32
store i32 %33, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 1), align 4, !tbaa !20
%34 = load i32, ptr %2, align 8, !tbaa !21
store i32 %34, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 4), align 8, !tbaa !22
%35 = tail call i32 @_rtl92e_dm_initial_gain(ptr noundef %0) #2
%36 = tail call i32 @_rtl92e_dm_pd_th(ptr noundef %0) #2
%37 = tail call i32 @_rtl92e_dm_cs_ratio(ptr noundef %0) #2
%38 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 3), align 8, !tbaa !11
%39 = icmp eq i64 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %25
store i64 0, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 3), align 8, !tbaa !11
br label %41
41: ; preds = %40, %25
%42 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 1), align 4, !tbaa !20
store i32 %42, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @dm_digtable, i64 0, i32 2), align 8, !tbaa !23
br label %43
43: ; preds = %1, %41
ret void
}
declare ptr @rtllib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl92e_set_bb_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_initial_gain(ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_pd_th(ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_cs_ratio(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_4__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 28}
!14 = !{!15, !16, i64 8}
!15 = !{!"r8192_priv", !7, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_3__", !10, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !7, i64 4}
!21 = !{!15, !7, i64 0}
!22 = !{!6, !7, i64 24}
!23 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_ctrl_initgain_byrssi_driver.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_ctrl_initgain_byrssi_driver.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i32, i32, i64, i32, i32 }
@_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig = internal unnamed_addr global i32 0, align 4
@dm_digtable = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@UFWP = common local_unnamed_addr global i32 0, align 4
@bMaskByte1 = common local_unnamed_addr global i32 0, align 4
@DM_STA_DIG_OFF = common local_unnamed_addr global i32 0, align 4
@RTLLIB_LINKED = common local_unnamed_addr global i64 0, align 8
@DIG_STA_CONNECT = common local_unnamed_addr global i32 0, align 4
@DIG_STA_DISCONNECT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_rtl92e_dm_ctrl_initgain_byrssi_driver(ptr noundef %0) #0 {
%2 = tail call ptr @rtllib_priv(ptr noundef %0) #2
%3 = load i32, ptr @dm_digtable, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %43, label %5
5: ; preds = %1
%6 = load i64, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 16), align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %5
store i32 0, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !13
br label %12
9: ; preds = %5
%10 = load i32, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !13
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %25
12: ; preds = %9, %8
%13 = load i32, ptr @UFWP, align 4, !tbaa !13
%14 = load i32, ptr @bMaskByte1, align 4, !tbaa !13
%15 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef 8) #2
%16 = load i32, ptr @UFWP, align 4, !tbaa !13
%17 = load i32, ptr @bMaskByte1, align 4, !tbaa !13
%18 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %16, i32 noundef %17, i32 noundef 8) #2
%19 = load i32, ptr @UFWP, align 4, !tbaa !13
%20 = load i32, ptr @bMaskByte1, align 4, !tbaa !13
%21 = tail call i32 @rtl92e_set_bb_reg(ptr noundef %0, i32 noundef %19, i32 noundef %20, i32 noundef 8) #2
%22 = load i32, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !13
%23 = add nsw i32 %22, 1
store i32 %23, ptr @_rtl92e_dm_ctrl_initgain_byrssi_driver.fw_dig, align 4, !tbaa !13
%24 = load i32, ptr @DM_STA_DIG_OFF, align 4, !tbaa !13
store i32 %24, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 28), align 4, !tbaa !14
br label %25
25: ; preds = %12, %9
%26 = getelementptr inbounds i8, ptr %2, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = load i64, ptr @RTLLIB_LINKED, align 8, !tbaa !20
%30 = icmp eq i64 %28, %29
%31 = load i32, ptr @DIG_STA_CONNECT, align 4
%32 = load i32, ptr @DIG_STA_DISCONNECT, align 4
%33 = select i1 %30, i32 %31, i32 %32
store i32 %33, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 4), align 4, !tbaa !21
%34 = load i32, ptr %2, align 8, !tbaa !22
store i32 %34, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 24), align 8, !tbaa !23
%35 = tail call i32 @_rtl92e_dm_initial_gain(ptr noundef %0) #2
%36 = tail call i32 @_rtl92e_dm_pd_th(ptr noundef %0) #2
%37 = tail call i32 @_rtl92e_dm_cs_ratio(ptr noundef %0) #2
%38 = load i64, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 16), align 8, !tbaa !12
%39 = icmp eq i64 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %25
store i64 0, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 16), align 8, !tbaa !12
br label %41
41: ; preds = %40, %25
%42 = load i32, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 4), align 4, !tbaa !21
store i32 %42, ptr getelementptr inbounds (i8, ptr @dm_digtable, i64 8), align 8, !tbaa !24
br label %43
43: ; preds = %1, %41
ret void
}
declare ptr @rtllib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl92e_set_bb_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_initial_gain(ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_pd_th(ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92e_dm_cs_ratio(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_4__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 28}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 28}
!15 = !{!16, !17, i64 8}
!16 = !{!"r8192_priv", !8, i64 0, !17, i64 8}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_3__", !11, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !8, i64 4}
!22 = !{!16, !8, i64 0}
!23 = !{!7, !8, i64 24}
!24 = !{!7, !8, i64 8}
| linux_drivers_staging_rtl8192e_rtl8192e_extr_rtl_dm.c__rtl92e_dm_ctrl_initgain_byrssi_driver |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_init_gamma_tables.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_init_gamma_tables.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.dispc_device = type { ptr, ptr, ptr }
%struct.TYPE_6__ = type { %struct.dispc_gamma_desc }
%struct.dispc_gamma_desc = type { i32 }
@mgr_desc = dso_local local_unnamed_addr global ptr null, align 8
@OMAP_DSS_CHANNEL_LCD2 = dso_local local_unnamed_addr global i32 0, align 4
@FEAT_MGR_LCD2 = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_DSS_CHANNEL_LCD3 = dso_local local_unnamed_addr global i32 0, align 4
@FEAT_MGR_LCD3 = 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
@llvm.compiler.used = appending global [1 x ptr] [ptr @dispc_init_gamma_tables], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dispc_init_gamma_tables(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.dispc_device, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = icmp eq i32 %4, 0
br i1 %5, label %51, label %6
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !13
%8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %51
10: ; preds = %6
%11 = getelementptr inbounds %struct.dispc_device, ptr %0, i64 0, i32 1
br label %12
12: ; preds = %10, %45
%13 = phi i64 [ 0, %10 ], [ %46, %45 ]
%14 = load ptr, ptr @mgr_desc, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 %13
%16 = load i32, ptr @OMAP_DSS_CHANNEL_LCD2, align 4, !tbaa !15
%17 = zext i32 %16 to i64
%18 = icmp eq i64 %13, %17
br i1 %18, label %19, label %23
19: ; preds = %12
%20 = load i32, ptr @FEAT_MGR_LCD2, align 4, !tbaa !15
%21 = tail call i32 @dispc_has_feature(ptr noundef nonnull %0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %45, label %23
23: ; preds = %19, %12
%24 = load i32, ptr @OMAP_DSS_CHANNEL_LCD3, align 4, !tbaa !15
%25 = zext i32 %24 to i64
%26 = icmp eq i64 %13, %25
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load i32, ptr @FEAT_MGR_LCD3, align 4, !tbaa !15
%29 = tail call i32 @dispc_has_feature(ptr noundef nonnull %0, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %45, label %31
31: ; preds = %27, %23
%32 = load ptr, ptr %11, align 8, !tbaa !16
%33 = load i32, ptr %15, align 4, !tbaa !17
%34 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15
%35 = tail call ptr @devm_kmalloc_array(ptr noundef %32, i32 noundef %33, i32 noundef 4, i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %42, label %37
37: ; preds = %31
%38 = load ptr, ptr %0, align 8, !tbaa !13
%39 = getelementptr inbounds ptr, ptr %38, i64 %13
store ptr %35, ptr %39, align 8, !tbaa !14
%40 = trunc i64 %13 to i32
%41 = tail call i32 @dispc_mgr_set_gamma(ptr noundef nonnull %0, i32 noundef %40, ptr noundef null, i32 noundef 0) #2
br label %45
42: ; preds = %31
%43 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%44 = sub nsw i32 0, %43
br label %51
45: ; preds = %37, %19, %27
%46 = add nuw nsw i64 %13, 1
%47 = load ptr, ptr %0, align 8, !tbaa !13
%48 = tail call i32 @ARRAY_SIZE(ptr noundef %47) #2
%49 = sext i32 %48 to i64
%50 = icmp slt i64 %46, %49
br i1 %50, label %12, label %51, !llvm.loop !19
51: ; preds = %45, %6, %42, %1
%52 = phi i32 [ %44, %42 ], [ 0, %1 ], [ 0, %6 ], [ 0, %45 ]
ret i32 %52
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @dispc_has_feature(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kmalloc_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dispc_mgr_set_gamma(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"dispc_device", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!6, !7, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"dispc_gamma_desc", !12, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_init_gamma_tables.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_init_gamma_tables.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { %struct.dispc_gamma_desc }
%struct.dispc_gamma_desc = type { i32 }
@mgr_desc = common local_unnamed_addr global ptr null, align 8
@OMAP_DSS_CHANNEL_LCD2 = common local_unnamed_addr global i32 0, align 4
@FEAT_MGR_LCD2 = common local_unnamed_addr global i32 0, align 4
@OMAP_DSS_CHANNEL_LCD3 = common local_unnamed_addr global i32 0, align 4
@FEAT_MGR_LCD3 = 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
@llvm.used = appending global [1 x ptr] [ptr @dispc_init_gamma_tables], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dispc_init_gamma_tables(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = icmp eq i32 %4, 0
br i1 %5, label %51, label %6
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !14
%8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %51
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 8
br label %12
12: ; preds = %10, %45
%13 = phi i64 [ 0, %10 ], [ %46, %45 ]
%14 = load ptr, ptr @mgr_desc, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 %13
%16 = load i32, ptr @OMAP_DSS_CHANNEL_LCD2, align 4, !tbaa !16
%17 = zext i32 %16 to i64
%18 = icmp eq i64 %13, %17
br i1 %18, label %19, label %23
19: ; preds = %12
%20 = load i32, ptr @FEAT_MGR_LCD2, align 4, !tbaa !16
%21 = tail call i32 @dispc_has_feature(ptr noundef nonnull %0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %45, label %23
23: ; preds = %19, %12
%24 = load i32, ptr @OMAP_DSS_CHANNEL_LCD3, align 4, !tbaa !16
%25 = zext i32 %24 to i64
%26 = icmp eq i64 %13, %25
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load i32, ptr @FEAT_MGR_LCD3, align 4, !tbaa !16
%29 = tail call i32 @dispc_has_feature(ptr noundef nonnull %0, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %45, label %31
31: ; preds = %27, %23
%32 = load ptr, ptr %11, align 8, !tbaa !17
%33 = load i32, ptr %15, align 4, !tbaa !18
%34 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%35 = tail call ptr @devm_kmalloc_array(ptr noundef %32, i32 noundef %33, i32 noundef 4, i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %42, label %37
37: ; preds = %31
%38 = load ptr, ptr %0, align 8, !tbaa !14
%39 = getelementptr inbounds ptr, ptr %38, i64 %13
store ptr %35, ptr %39, align 8, !tbaa !15
%40 = trunc nuw nsw i64 %13 to i32
%41 = tail call i32 @dispc_mgr_set_gamma(ptr noundef nonnull %0, i32 noundef %40, ptr noundef null, i32 noundef 0) #2
br label %45
42: ; preds = %31
%43 = load i32, ptr @ENOMEM, align 4, !tbaa !16
%44 = sub nsw i32 0, %43
br label %51
45: ; preds = %37, %19, %27
%46 = add nuw nsw i64 %13, 1
%47 = load ptr, ptr %0, align 8, !tbaa !14
%48 = tail call i32 @ARRAY_SIZE(ptr noundef %47) #2
%49 = sext i32 %48 to i64
%50 = icmp slt i64 %46, %49
br i1 %50, label %12, label %51, !llvm.loop !20
51: ; preds = %45, %6, %42, %1
%52 = phi i32 [ %44, %42 ], [ 0, %1 ], [ 0, %6 ], [ 0, %45 ]
ret i32 %52
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @dispc_has_feature(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kmalloc_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dispc_mgr_set_gamma(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"dispc_device", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!7, !8, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"dispc_gamma_desc", !13, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_omapdrm_dss_extr_dispc.c_dispc_init_gamma_tables |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_splice_mem_rsv_.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_splice_mem_rsv_.c"
target datalayout = "e-m:e-p270:32:32-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 @fdt_splice_mem_rsv_], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fdt_splice_mem_rsv_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = shl i32 %2, 2
%6 = shl i32 %3, 2
%7 = tail call i32 @fdt_splice_(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %19
9: ; preds = %4
%10 = sub nsw i32 %3, %2
%11 = shl i32 %10, 2
%12 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%13 = sext i32 %11 to i64
%14 = add nsw i64 %12, %13
%15 = tail call i32 @fdt_set_off_dt_struct(ptr noundef %0, i64 noundef %14) #2
%16 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%17 = add nsw i64 %16, %13
%18 = tail call i32 @fdt_set_off_dt_strings(ptr noundef %0, i64 noundef %17) #2
br label %19
19: ; preds = %4, %9
ret i32 %7
}
declare i32 @fdt_splice_(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fdt_set_off_dt_struct(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1
declare i32 @fdt_set_off_dt_strings(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_splice_mem_rsv_.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_splice_mem_rsv_.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 @fdt_splice_mem_rsv_], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fdt_splice_mem_rsv_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = shl i32 %2, 2
%6 = shl i32 %3, 2
%7 = tail call i32 @fdt_splice_(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %19
9: ; preds = %4
%10 = sub nsw i32 %3, %2
%11 = shl i32 %10, 2
%12 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%13 = sext i32 %11 to i64
%14 = add nsw i64 %12, %13
%15 = tail call i32 @fdt_set_off_dt_struct(ptr noundef %0, i64 noundef %14) #2
%16 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%17 = add nsw i64 %16, %13
%18 = tail call i32 @fdt_set_off_dt_strings(ptr noundef %0, i64 noundef %17) #2
br label %19
19: ; preds = %4, %9
ret i32 %7
}
declare i32 @fdt_splice_(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fdt_set_off_dt_struct(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1
declare i32 @fdt_set_off_dt_strings(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_contrib_libfdt_extr_fdt_rw.c_fdt_splice_mem_rsv_ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.