IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_vesa.c_vesa_load_palette.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_vesa.c_vesa_load_palette.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32 }
@vesa_adp = dso_local local_unnamed_addr global ptr null, align 8
@V_ADP_DAC8 = dso_local local_unnamed_addr global i32 0, align 4
@prevvidsw = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vesa_load_palette], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vesa_load_palette(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr @vesa_adp, align 8, !tbaa !5
%4 = icmp eq ptr %3, %0
br i1 %4, label %5, label %18
5: ; preds = %2
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = tail call i64 @VESA_MODE(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %5
%11 = load i32, ptr %0, align 4, !tbaa !12
%12 = load i32, ptr @V_ADP_DAC8, align 4, !tbaa !13
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i32 6, i32 8
%16 = tail call i64 @vesa_bios_load_palette(i32 noundef 0, i32 noundef 256, ptr noundef %1, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %10, %5, %2
%19 = load ptr, ptr @prevvidsw, align 8, !tbaa !5
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = tail call i32 %20(ptr noundef %0, ptr noundef %1) #2
br label %22
22: ; preds = %10, %18
%23 = phi i32 [ %21, %18 ], [ 0, %10 ]
ret i32 %23
}
declare i64 @VESA_MODE(i32 noundef) local_unnamed_addr #1
declare i64 @vesa_bios_load_palette(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"TYPE_6__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_7__", !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_vesa.c_vesa_load_palette.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_vesa.c_vesa_load_palette.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vesa_adp = common local_unnamed_addr global ptr null, align 8
@V_ADP_DAC8 = common local_unnamed_addr global i32 0, align 4
@prevvidsw = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @vesa_load_palette], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vesa_load_palette(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr @vesa_adp, align 8, !tbaa !6
%4 = icmp eq ptr %3, %0
br i1 %4, label %5, label %18
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i64 @VESA_MODE(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %5
%11 = load i32, ptr %0, align 4, !tbaa !13
%12 = load i32, ptr @V_ADP_DAC8, align 4, !tbaa !14
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i32 6, i32 8
%16 = tail call i64 @vesa_bios_load_palette(i32 noundef 0, i32 noundef 256, ptr noundef %1, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %10, %5, %2
%19 = load ptr, ptr @prevvidsw, align 8, !tbaa !6
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = tail call i32 %20(ptr noundef %0, ptr noundef %1) #2
br label %22
22: ; preds = %10, %18
%23 = phi i32 [ %21, %18 ], [ 0, %10 ]
ret i32 %23
}
declare i64 @VESA_MODE(i32 noundef) local_unnamed_addr #1
declare i64 @vesa_bios_load_palette(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_7__", !7, i64 0}
|
freebsd_sys_dev_fb_extr_vesa.c_vesa_load_palette
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-sony.c_sony_init_output_report.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-sony.c_sony_init_output_report.c"
target datalayout = "e-m:e-p270:32:32-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.sony_sc = type { ptr, i32, i32 }
@sony_state_worker = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sony_init_output_report], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @sony_init_output_report(ptr noundef %0, ptr noundef %1) #0 {
store ptr %1, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.sony_sc, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !11
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = getelementptr inbounds %struct.sony_sc, ptr %0, i64 0, i32 2
%8 = load i32, ptr @sony_state_worker, align 4, !tbaa !12
%9 = tail call i32 @INIT_WORK(ptr noundef nonnull %7, i32 noundef %8) #2
br label %10
10: ; preds = %6, %2
store i32 1, ptr %3, align 8, !tbaa !11
ret void
}
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sony_sc", !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 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-sony.c_sony_init_output_report.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-sony.c_sony_init_output_report.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sony_state_worker = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sony_init_output_report], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @sony_init_output_report(ptr noundef %0, ptr noundef %1) #0 {
store ptr %1, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !12
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = load i32, ptr @sony_state_worker, align 4, !tbaa !13
%9 = tail call i32 @INIT_WORK(ptr noundef nonnull %7, i32 noundef %8) #2
br label %10
10: ; preds = %6, %2
store i32 1, ptr %3, align 8, !tbaa !12
ret void
}
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sony_sc", !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 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
|
linux_drivers_hid_extr_hid-sony.c_sony_init_output_report
|
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_e_j1f.c_qonef.c'
source_filename = "AnghaBench/freebsd/lib/msun/src/extr_e_j1f.c_qonef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@qr8 = dso_local local_unnamed_addr global ptr null, align 8
@qs8 = dso_local local_unnamed_addr global ptr null, align 8
@qr5 = dso_local local_unnamed_addr global ptr null, align 8
@qs5 = dso_local local_unnamed_addr global ptr null, align 8
@qr3 = dso_local local_unnamed_addr global ptr null, align 8
@qs3 = dso_local local_unnamed_addr global ptr null, align 8
@qr2 = dso_local local_unnamed_addr global ptr null, align 8
@qs2 = dso_local local_unnamed_addr global ptr null, align 8
@one = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qonef], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal float @qonef(float noundef %0) #0 {
%2 = tail call i32 @GET_FLOAT_WORD(i32 noundef undef, float noundef %0) #4
%3 = load ptr, ptr @qs2, align 8, !tbaa !5
%4 = load ptr, ptr @qr2, align 8, !tbaa !5
%5 = load float, ptr @one, align 4, !tbaa !9
%6 = fmul float %0, %0
%7 = fdiv float %5, %6
%8 = load float, ptr %4, align 4, !tbaa !9
%9 = getelementptr inbounds float, ptr %4, i64 1
%10 = load float, ptr %9, align 4, !tbaa !9
%11 = getelementptr inbounds float, ptr %4, i64 2
%12 = load float, ptr %11, align 4, !tbaa !9
%13 = getelementptr inbounds float, ptr %4, i64 3
%14 = load float, ptr %13, align 4, !tbaa !9
%15 = getelementptr inbounds float, ptr %4, i64 4
%16 = load float, ptr %15, align 4, !tbaa !9
%17 = getelementptr inbounds float, ptr %4, i64 5
%18 = load float, ptr %17, align 4, !tbaa !9
%19 = load float, ptr %3, align 4, !tbaa !9
%20 = getelementptr inbounds float, ptr %3, i64 1
%21 = load float, ptr %20, align 4, !tbaa !9
%22 = getelementptr inbounds float, ptr %3, i64 2
%23 = load float, ptr %22, align 4, !tbaa !9
%24 = getelementptr inbounds float, ptr %3, i64 3
%25 = load float, ptr %24, align 4, !tbaa !9
%26 = getelementptr inbounds float, ptr %3, i64 4
%27 = load float, ptr %26, align 4, !tbaa !9
%28 = getelementptr inbounds float, ptr %3, i64 5
%29 = load float, ptr %28, align 4, !tbaa !9
%30 = tail call float @llvm.fmuladd.f32(float %7, float %29, float %27)
%31 = insertelement <2 x float> poison, float %7, i64 0
%32 = shufflevector <2 x float> %31, <2 x float> poison, <2 x i32> zeroinitializer
%33 = insertelement <2 x float> poison, float %18, i64 0
%34 = insertelement <2 x float> %33, float %30, i64 1
%35 = insertelement <2 x float> poison, float %16, i64 0
%36 = insertelement <2 x float> %35, float %25, i64 1
%37 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %32, <2 x float> %34, <2 x float> %36)
%38 = insertelement <2 x float> poison, float %14, i64 0
%39 = insertelement <2 x float> %38, float %23, i64 1
%40 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %32, <2 x float> %37, <2 x float> %39)
%41 = insertelement <2 x float> poison, float %12, i64 0
%42 = insertelement <2 x float> %41, float %21, i64 1
%43 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %32, <2 x float> %40, <2 x float> %42)
%44 = insertelement <2 x float> poison, float %10, i64 0
%45 = insertelement <2 x float> %44, float %19, i64 1
%46 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %32, <2 x float> %43, <2 x float> %45)
%47 = insertelement <2 x float> poison, float %8, i64 0
%48 = insertelement <2 x float> %47, float %5, i64 1
%49 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %32, <2 x float> %46, <2 x float> %48)
%50 = extractelement <2 x float> %49, i64 0
%51 = extractelement <2 x float> %49, i64 1
%52 = fdiv float %50, %51
%53 = fadd float %52, 3.750000e-01
%54 = fdiv float %53, %0
ret float %54
}
declare i32 @GET_FLOAT_WORD(i32 noundef, float noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #3
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_e_j1f.c_qonef.c'
source_filename = "AnghaBench/freebsd/lib/msun/src/extr_e_j1f.c_qonef.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@qr8 = common local_unnamed_addr global ptr null, align 8
@qs8 = common local_unnamed_addr global ptr null, align 8
@qr5 = common local_unnamed_addr global ptr null, align 8
@qs5 = common local_unnamed_addr global ptr null, align 8
@qr3 = common local_unnamed_addr global ptr null, align 8
@qs3 = common local_unnamed_addr global ptr null, align 8
@qr2 = common local_unnamed_addr global ptr null, align 8
@qs2 = common local_unnamed_addr global ptr null, align 8
@one = common local_unnamed_addr global float 0.000000e+00, align 4
@llvm.used = appending global [1 x ptr] [ptr @qonef], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal float @qonef(float noundef %0) #0 {
%2 = tail call i32 @GET_FLOAT_WORD(i32 noundef undef, float noundef %0) #3
%3 = load ptr, ptr @qs2, align 8, !tbaa !6
%4 = load ptr, ptr @qr2, align 8, !tbaa !6
%5 = load float, ptr @one, align 4, !tbaa !10
%6 = fmul float %0, %0
%7 = fdiv float %5, %6
%8 = load float, ptr %4, align 4, !tbaa !10
%9 = getelementptr inbounds i8, ptr %4, i64 4
%10 = load float, ptr %9, align 4, !tbaa !10
%11 = getelementptr inbounds i8, ptr %4, i64 8
%12 = load float, ptr %11, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %4, i64 12
%14 = load float, ptr %13, align 4, !tbaa !10
%15 = getelementptr inbounds i8, ptr %4, i64 16
%16 = load float, ptr %15, align 4, !tbaa !10
%17 = getelementptr inbounds i8, ptr %4, i64 20
%18 = load float, ptr %17, align 4, !tbaa !10
%19 = tail call float @llvm.fmuladd.f32(float %7, float %18, float %16)
%20 = tail call float @llvm.fmuladd.f32(float %7, float %19, float %14)
%21 = tail call float @llvm.fmuladd.f32(float %7, float %20, float %12)
%22 = tail call float @llvm.fmuladd.f32(float %7, float %21, float %10)
%23 = tail call float @llvm.fmuladd.f32(float %7, float %22, float %8)
%24 = load float, ptr %3, align 4, !tbaa !10
%25 = getelementptr inbounds i8, ptr %3, i64 4
%26 = load float, ptr %25, align 4, !tbaa !10
%27 = getelementptr inbounds i8, ptr %3, i64 8
%28 = load float, ptr %27, align 4, !tbaa !10
%29 = getelementptr inbounds i8, ptr %3, i64 12
%30 = load float, ptr %29, align 4, !tbaa !10
%31 = getelementptr inbounds i8, ptr %3, i64 16
%32 = load float, ptr %31, align 4, !tbaa !10
%33 = getelementptr inbounds i8, ptr %3, i64 20
%34 = load float, ptr %33, align 4, !tbaa !10
%35 = tail call float @llvm.fmuladd.f32(float %7, float %34, float %32)
%36 = tail call float @llvm.fmuladd.f32(float %7, float %35, float %30)
%37 = tail call float @llvm.fmuladd.f32(float %7, float %36, float %28)
%38 = tail call float @llvm.fmuladd.f32(float %7, float %37, float %26)
%39 = tail call float @llvm.fmuladd.f32(float %7, float %38, float %24)
%40 = tail call float @llvm.fmuladd.f32(float %7, float %39, float %5)
%41 = fdiv float %23, %40
%42 = fadd float %41, 3.750000e-01
%43 = fdiv float %42, %0
ret float %43
}
declare i32 @GET_FLOAT_WORD(i32 noundef, float noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !8, i64 0}
|
freebsd_lib_msun_src_extr_e_j1f.c_qonef
|
; ModuleID = 'AnghaBench/libevent/test/extr_test-fdleak.c_server_event_cb.c'
source_filename = "AnghaBench/libevent/test/extr_test-fdleak.c_server_event_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BEV_EVENT_ERROR = dso_local local_unnamed_addr global i16 0, align 2
@.str = private unnamed_addr constant [23 x i8] c"Error from bufferevent\00", align 1
@BEV_EVENT_EOF = dso_local local_unnamed_addr global i16 0, align 2
@num_requests = dso_local local_unnamed_addr global i64 0, align 8
@MAX_REQUESTS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_event_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @server_event_cb(ptr noundef %0, i16 noundef signext %1, ptr nocapture readnone %2) #0 {
%4 = load i16, ptr @BEV_EVENT_ERROR, align 2, !tbaa !5
%5 = and i16 %4, %1
%6 = icmp eq i16 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = tail call i32 @my_perror(ptr noundef nonnull @.str) #3
%9 = tail call i32 @exit(i32 noundef 1) #4
unreachable
10: ; preds = %3
%11 = load i16, ptr @BEV_EVENT_EOF, align 2, !tbaa !5
%12 = and i16 %11, %1
%13 = icmp eq i16 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %10
%15 = tail call i32 @bufferevent_free(ptr noundef %0) #3
%16 = load i64, ptr @num_requests, align 8, !tbaa !9
%17 = load i64, ptr @MAX_REQUESTS, align 8, !tbaa !9
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = tail call i32 @bufferevent_get_base(ptr noundef %0) #3
%21 = tail call i32 @event_base_loopbreak(i32 noundef %20) #3
br label %22
22: ; preds = %10, %19, %14
ret void
}
declare i32 @my_perror(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @bufferevent_free(ptr noundef) local_unnamed_addr #1
declare i32 @event_base_loopbreak(i32 noundef) local_unnamed_addr #1
declare i32 @bufferevent_get_base(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/libevent/test/extr_test-fdleak.c_server_event_cb.c'
source_filename = "AnghaBench/libevent/test/extr_test-fdleak.c_server_event_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BEV_EVENT_ERROR = common local_unnamed_addr global i16 0, align 2
@.str = private unnamed_addr constant [23 x i8] c"Error from bufferevent\00", align 1
@BEV_EVENT_EOF = common local_unnamed_addr global i16 0, align 2
@num_requests = common local_unnamed_addr global i64 0, align 8
@MAX_REQUESTS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @server_event_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @server_event_cb(ptr noundef %0, i16 noundef signext %1, ptr nocapture readnone %2) #0 {
%4 = load i16, ptr @BEV_EVENT_ERROR, align 2, !tbaa !6
%5 = and i16 %4, %1
%6 = icmp eq i16 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = tail call i32 @my_perror(ptr noundef nonnull @.str) #3
%9 = tail call i32 @exit(i32 noundef 1) #4
unreachable
10: ; preds = %3
%11 = load i16, ptr @BEV_EVENT_EOF, align 2, !tbaa !6
%12 = and i16 %11, %1
%13 = icmp eq i16 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %10
%15 = tail call i32 @bufferevent_free(ptr noundef %0) #3
%16 = load i64, ptr @num_requests, align 8, !tbaa !10
%17 = load i64, ptr @MAX_REQUESTS, align 8, !tbaa !10
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = tail call i32 @bufferevent_get_base(ptr noundef %0) #3
%21 = tail call i32 @event_base_loopbreak(i32 noundef %20) #3
br label %22
22: ; preds = %10, %19, %14
ret void
}
declare i32 @my_perror(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @bufferevent_free(ptr noundef) local_unnamed_addr #1
declare i32 @event_base_loopbreak(i32 noundef) local_unnamed_addr #1
declare i32 @bufferevent_get_base(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
|
libevent_test_extr_test-fdleak.c_server_event_cb
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/extr_pcm_memory.c_snd_pcm_lib_free_vmalloc_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/extr_pcm_memory.c_snd_pcm_lib_free_vmalloc_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_pcm_lib_free_vmalloc_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %11
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !9
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @vfree(ptr noundef %9) #2
store ptr null, ptr %8, align 8, !tbaa !12
br label %11
11: ; preds = %7, %4
%12 = phi i32 [ %6, %4 ], [ 0, %7 ]
ret i32 %12
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i32 @vfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_pcm_substream", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"snd_pcm_runtime", !11, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/extr_pcm_memory.c_snd_pcm_lib_free_vmalloc_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/extr_pcm_memory.c_snd_pcm_lib_free_vmalloc_buffer.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 range(i32 -2147483647, -2147483648) i32 @snd_pcm_lib_free_vmalloc_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %11
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @vfree(ptr noundef %9) #2
store ptr null, ptr %8, align 8, !tbaa !13
br label %11
11: ; preds = %7, %4
%12 = phi i32 [ %6, %4 ], [ 0, %7 ]
ret i32 %12
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i32 @vfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_pcm_substream", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"snd_pcm_runtime", !12, i64 0}
|
fastsocket_kernel_sound_core_extr_pcm_memory.c_snd_pcm_lib_free_vmalloc_buffer
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_WRAP_R.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_WRAP_R.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A5XX_TEX_SAMP_0_WRAP_R__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A5XX_TEX_SAMP_0_WRAP_R__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_0_WRAP_R], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A5XX_TEX_SAMP_0_WRAP_R(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_TEX_SAMP_0_WRAP_R__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_TEX_SAMP_0_WRAP_R__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_WRAP_R.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_WRAP_R.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A5XX_TEX_SAMP_0_WRAP_R__SHIFT = common local_unnamed_addr global i32 0, align 4
@A5XX_TEX_SAMP_0_WRAP_R__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_0_WRAP_R], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A5XX_TEX_SAMP_0_WRAP_R(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_TEX_SAMP_0_WRAP_R__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_TEX_SAMP_0_WRAP_R__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_TEX_SAMP_0_WRAP_R
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_hb.c_hb_current_job.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_hb.c_hb_current_job.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @hb_current_job(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_hb.c_hb_current_job.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_hb.c_hb_current_job.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @hb_current_job(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
HandBrake_libhb_extr_hb.c_hb_current_job
|
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainMemberNodes.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainMemberNodes.c"
target datalayout = "e-m:e-p270:32:32-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 [17 x i8] c"Subplans Removed\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Member\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ExplainMemberNodes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ExplainMemberNodes(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = icmp slt i32 %1, %2
br i1 %6, label %7, label %10
7: ; preds = %5
%8 = sub nsw i32 %2, %1
%9 = tail call i32 @ExplainPropertyInteger(ptr noundef nonnull @.str, ptr noundef null, i32 noundef %8, ptr noundef %4) #2
br label %10
10: ; preds = %7, %5
%11 = icmp sgt i32 %1, 0
br i1 %11, label %12, label %21
12: ; preds = %10
%13 = zext nneg i32 %1 to i64
br label %14
14: ; preds = %12, %14
%15 = phi i64 [ 0, %12 ], [ %19, %14 ]
%16 = getelementptr inbounds ptr, ptr %0, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !5
%18 = tail call i32 @ExplainNode(ptr noundef %17, ptr noundef %3, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef %4) #2
%19 = add nuw nsw i64 %15, 1
%20 = icmp eq i64 %19, %13
br i1 %20, label %21, label %14, !llvm.loop !9
21: ; preds = %14, %10
ret void
}
declare i32 @ExplainPropertyInteger(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ExplainNode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainMemberNodes.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_explain.c_ExplainMemberNodes.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 [17 x i8] c"Subplans Removed\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Member\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ExplainMemberNodes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ExplainMemberNodes(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = icmp slt i32 %1, %2
br i1 %6, label %7, label %10
7: ; preds = %5
%8 = sub nsw i32 %2, %1
%9 = tail call i32 @ExplainPropertyInteger(ptr noundef nonnull @.str, ptr noundef null, i32 noundef %8, ptr noundef %4) #2
br label %10
10: ; preds = %7, %5
%11 = icmp sgt i32 %1, 0
br i1 %11, label %12, label %21
12: ; preds = %10
%13 = zext nneg i32 %1 to i64
br label %14
14: ; preds = %12, %14
%15 = phi i64 [ 0, %12 ], [ %19, %14 ]
%16 = getelementptr inbounds ptr, ptr %0, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !6
%18 = tail call i32 @ExplainNode(ptr noundef %17, ptr noundef %3, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef %4) #2
%19 = add nuw nsw i64 %15, 1
%20 = icmp eq i64 %19, %13
br i1 %20, label %21, label %14, !llvm.loop !10
21: ; preds = %14, %10
ret void
}
declare i32 @ExplainPropertyInteger(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ExplainNode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
postgres_src_backend_commands_extr_explain.c_ExplainMemberNodes
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/paride/extr_on20.c_on20_log_adapter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/paride/extr_on20.c_on20_log_adapter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64, i32, i32 }
@.str = private unnamed_addr constant [6 x i8] c"4-bit\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"8-bit\00", align 1
@reltable.on20_log_adapter = private unnamed_addr constant [2 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.on20_log_adapter to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.on20_log_adapter to i64)) to i32)], align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"%s: on20 %s, OnSpec 90c20 at 0x%x, \00", align 1
@ON20_VERSION = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [24 x i8] c"mode %d (%s), delay %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @on20_log_adapter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @on20_log_adapter(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr @ON20_VERSION, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @printk(ptr noundef nonnull @.str.2, i64 noundef %4, ptr noundef %5, i32 noundef %7) #3
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = shl i64 %10, 2
%12 = call ptr @llvm.load.relative.i64(ptr @reltable.on20_log_adapter, i64 %11)
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !15
%15 = tail call i32 @printk(ptr noundef nonnull @.str.3, i64 noundef %10, ptr noundef %12, i32 noundef %14) #3
ret void
}
declare i32 @printk(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !10, i64 20}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !10, i64 16}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/paride/extr_on20.c_on20_log_adapter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/paride/extr_on20.c_on20_log_adapter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"4-bit\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"8-bit\00", align 1
@__const.on20_log_adapter.mode_string = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 8
@.str.2 = private unnamed_addr constant [36 x i8] c"%s: on20 %s, OnSpec 90c20 at 0x%x, \00", align 1
@ON20_VERSION = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [24 x i8] c"mode %d (%s), delay %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @on20_log_adapter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @on20_log_adapter(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr @ON20_VERSION, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @printk(ptr noundef nonnull @.str.2, i64 noundef %4, ptr noundef %5, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = getelementptr inbounds [2 x ptr], ptr @__const.on20_log_adapter.mode_string, i64 0, i64 %10
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i32, ptr %13, align 8, !tbaa !16
%15 = tail call i32 @printk(ptr noundef nonnull @.str.3, i64 noundef %10, ptr noundef %12, i32 noundef %14) #2
ret void
}
declare i32 @printk(ptr noundef, 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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !11, i64 20}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !11, i64 16}
|
fastsocket_kernel_drivers_block_paride_extr_on20.c_on20_log_adapter
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_src_pad_code.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_src_pad_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"
@CAMSS_8x16 = dso_local local_unnamed_addr global i64 0, align 8
@MEDIA_BUS_FMT_YUYV8_1_5X8 = dso_local local_unnamed_addr constant i32 0, align 4
@MEDIA_BUS_FMT_YVYU8_1_5X8 = dso_local local_unnamed_addr constant i32 0, align 4
@MEDIA_BUS_FMT_UYVY8_1_5X8 = dso_local local_unnamed_addr constant i32 0, align 4
@MEDIA_BUS_FMT_VYUY8_1_5X8 = dso_local local_unnamed_addr constant i32 0, align 4
@CAMSS_8x96 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vfe_src_pad_code], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vfe_src_pad_code(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [2 x i32], align 4
%6 = alloca [2 x i32], align 4
%7 = alloca [2 x i32], align 4
%8 = alloca [2 x i32], align 4
%9 = alloca [5 x i32], align 16
%10 = alloca [5 x i32], align 16
%11 = alloca [5 x i32], align 16
%12 = alloca [5 x i32], align 16
%13 = tail call ptr @to_vfe(ptr noundef %0) #3
%14 = load ptr, ptr %13, align 8, !tbaa !5
%15 = load i64, ptr %14, align 8, !tbaa !10
%16 = load i64, ptr @CAMSS_8x16, align 8, !tbaa !13
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %38
18: ; preds = %4
switch i32 %1, label %35 [
i32 129, label %19
i32 128, label %23
i32 131, label %27
i32 130, label %31
]
19: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 129, ptr %5, align 4, !tbaa !14
%20 = getelementptr inbounds i32, ptr %5, i64 1
store i32 0, ptr %20, align 4, !tbaa !14
%21 = call i32 @ARRAY_SIZE(ptr noundef nonnull %5) #3
%22 = call i32 @vfe_find_code(ptr noundef nonnull %5, i32 noundef %21, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %61
23: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i32 128, ptr %6, align 4, !tbaa !14
%24 = getelementptr inbounds i32, ptr %6, i64 1
store i32 0, ptr %24, align 4, !tbaa !14
%25 = call i32 @ARRAY_SIZE(ptr noundef nonnull %6) #3
%26 = call i32 @vfe_find_code(ptr noundef nonnull %6, i32 noundef %25, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br label %61
27: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store i32 131, ptr %7, align 4, !tbaa !14
%28 = getelementptr inbounds i32, ptr %7, i64 1
store i32 0, ptr %28, align 4, !tbaa !14
%29 = call i32 @ARRAY_SIZE(ptr noundef nonnull %7) #3
%30 = call i32 @vfe_find_code(ptr noundef nonnull %7, i32 noundef %29, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
br label %61
31: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i32 130, ptr %8, align 4, !tbaa !14
%32 = getelementptr inbounds i32, ptr %8, i64 1
store i32 0, ptr %32, align 4, !tbaa !14
%33 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3
%34 = call i32 @vfe_find_code(ptr noundef nonnull %8, i32 noundef %33, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %61
35: ; preds = %18
%36 = icmp eq i32 %2, 0
%37 = select i1 %36, i32 %1, i32 0
br label %61
38: ; preds = %4
%39 = load i64, ptr @CAMSS_8x96, align 8, !tbaa !13
%40 = icmp eq i64 %15, %39
br i1 %40, label %41, label %61
41: ; preds = %38
switch i32 %1, label %58 [
i32 129, label %42
i32 128, label %46
i32 131, label %50
i32 130, label %54
]
42: ; preds = %41
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #3
store <4 x i32> <i32 129, i32 128, i32 131, i32 130>, ptr %9, align 16, !tbaa !14
%43 = getelementptr inbounds i32, ptr %9, i64 4
store i32 0, ptr %43, align 16, !tbaa !14
%44 = call i32 @ARRAY_SIZE(ptr noundef nonnull %9) #3
%45 = call i32 @vfe_find_code(ptr noundef nonnull %9, i32 noundef %44, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #3
br label %61
46: ; preds = %41
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %10) #3
store <4 x i32> <i32 128, i32 129, i32 131, i32 130>, ptr %10, align 16, !tbaa !14
%47 = getelementptr inbounds i32, ptr %10, i64 4
store i32 0, ptr %47, align 16, !tbaa !14
%48 = call i32 @ARRAY_SIZE(ptr noundef nonnull %10) #3
%49 = call i32 @vfe_find_code(ptr noundef nonnull %10, i32 noundef %48, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10) #3
br label %61
50: ; preds = %41
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %11) #3
store <4 x i32> <i32 131, i32 129, i32 128, i32 130>, ptr %11, align 16, !tbaa !14
%51 = getelementptr inbounds i32, ptr %11, i64 4
store i32 0, ptr %51, align 16, !tbaa !14
%52 = call i32 @ARRAY_SIZE(ptr noundef nonnull %11) #3
%53 = call i32 @vfe_find_code(ptr noundef nonnull %11, i32 noundef %52, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %11) #3
br label %61
54: ; preds = %41
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %12) #3
store <4 x i32> <i32 130, i32 129, i32 128, i32 131>, ptr %12, align 16, !tbaa !14
%55 = getelementptr inbounds i32, ptr %12, i64 4
store i32 0, ptr %55, align 16, !tbaa !14
%56 = call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #3
%57 = call i32 @vfe_find_code(ptr noundef nonnull %12, i32 noundef %56, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %12) #3
br label %61
58: ; preds = %41
%59 = icmp eq i32 %2, 0
%60 = select i1 %59, i32 %1, i32 0
br label %61
61: ; preds = %38, %58, %35, %54, %50, %46, %42, %31, %27, %23, %19
%62 = phi i32 [ %34, %31 ], [ %30, %27 ], [ %26, %23 ], [ %22, %19 ], [ %57, %54 ], [ %53, %50 ], [ %49, %46 ], [ %45, %42 ], [ %37, %35 ], [ %60, %58 ], [ 0, %38 ]
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_vfe(ptr noundef) local_unnamed_addr #2
declare i32 @vfe_find_code(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vfe_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_src_pad_code.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_src_pad_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CAMSS_8x16 = common local_unnamed_addr global i64 0, align 8
@MEDIA_BUS_FMT_YUYV8_1_5X8 = common local_unnamed_addr global i32 0, align 4
@MEDIA_BUS_FMT_YVYU8_1_5X8 = common local_unnamed_addr global i32 0, align 4
@MEDIA_BUS_FMT_UYVY8_1_5X8 = common local_unnamed_addr global i32 0, align 4
@MEDIA_BUS_FMT_VYUY8_1_5X8 = common local_unnamed_addr global i32 0, align 4
@CAMSS_8x96 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vfe_src_pad_code], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vfe_src_pad_code(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [2 x i32], align 4
%6 = alloca [2 x i32], align 4
%7 = alloca [2 x i32], align 4
%8 = alloca [2 x i32], align 4
%9 = alloca [5 x i32], align 16
%10 = alloca [5 x i32], align 16
%11 = alloca [5 x i32], align 16
%12 = alloca [5 x i32], align 16
%13 = tail call ptr @to_vfe(ptr noundef %0) #3
%14 = load ptr, ptr %13, align 8, !tbaa !6
%15 = load i64, ptr %14, align 8, !tbaa !11
%16 = load i64, ptr @CAMSS_8x16, align 8, !tbaa !14
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %42
18: ; preds = %4
switch i32 %1, label %39 [
i32 129, label %19
i32 128, label %24
i32 131, label %29
i32 130, label %34
]
19: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 129, ptr %5, align 4, !tbaa !15
%20 = getelementptr inbounds i8, ptr %5, i64 4
%21 = load i32, ptr @MEDIA_BUS_FMT_YUYV8_1_5X8, align 4, !tbaa !15
store i32 %21, ptr %20, align 4, !tbaa !15
%22 = call i32 @ARRAY_SIZE(ptr noundef nonnull %5) #3
%23 = call i32 @vfe_find_code(ptr noundef nonnull %5, i32 noundef %22, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %69
24: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i32 128, ptr %6, align 4, !tbaa !15
%25 = getelementptr inbounds i8, ptr %6, i64 4
%26 = load i32, ptr @MEDIA_BUS_FMT_YVYU8_1_5X8, align 4, !tbaa !15
store i32 %26, ptr %25, align 4, !tbaa !15
%27 = call i32 @ARRAY_SIZE(ptr noundef nonnull %6) #3
%28 = call i32 @vfe_find_code(ptr noundef nonnull %6, i32 noundef %27, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br label %69
29: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store i32 131, ptr %7, align 4, !tbaa !15
%30 = getelementptr inbounds i8, ptr %7, i64 4
%31 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_1_5X8, align 4, !tbaa !15
store i32 %31, ptr %30, align 4, !tbaa !15
%32 = call i32 @ARRAY_SIZE(ptr noundef nonnull %7) #3
%33 = call i32 @vfe_find_code(ptr noundef nonnull %7, i32 noundef %32, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
br label %69
34: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i32 130, ptr %8, align 4, !tbaa !15
%35 = getelementptr inbounds i8, ptr %8, i64 4
%36 = load i32, ptr @MEDIA_BUS_FMT_VYUY8_1_5X8, align 4, !tbaa !15
store i32 %36, ptr %35, align 4, !tbaa !15
%37 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3
%38 = call i32 @vfe_find_code(ptr noundef nonnull %8, i32 noundef %37, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %69
39: ; preds = %18
%40 = icmp eq i32 %2, 0
%41 = select i1 %40, i32 %1, i32 0
br label %69
42: ; preds = %4
%43 = load i64, ptr @CAMSS_8x96, align 8, !tbaa !14
%44 = icmp eq i64 %15, %43
br i1 %44, label %45, label %69
45: ; preds = %42
switch i32 %1, label %66 [
i32 129, label %46
i32 128, label %51
i32 131, label %56
i32 130, label %61
]
46: ; preds = %45
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #3
store <4 x i32> <i32 129, i32 128, i32 131, i32 130>, ptr %9, align 16, !tbaa !15
%47 = getelementptr inbounds i8, ptr %9, i64 16
%48 = load i32, ptr @MEDIA_BUS_FMT_YUYV8_1_5X8, align 4, !tbaa !15
store i32 %48, ptr %47, align 16, !tbaa !15
%49 = call i32 @ARRAY_SIZE(ptr noundef nonnull %9) #3
%50 = call i32 @vfe_find_code(ptr noundef nonnull %9, i32 noundef %49, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #3
br label %69
51: ; preds = %45
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %10) #3
store <4 x i32> <i32 128, i32 129, i32 131, i32 130>, ptr %10, align 16, !tbaa !15
%52 = getelementptr inbounds i8, ptr %10, i64 16
%53 = load i32, ptr @MEDIA_BUS_FMT_YVYU8_1_5X8, align 4, !tbaa !15
store i32 %53, ptr %52, align 16, !tbaa !15
%54 = call i32 @ARRAY_SIZE(ptr noundef nonnull %10) #3
%55 = call i32 @vfe_find_code(ptr noundef nonnull %10, i32 noundef %54, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10) #3
br label %69
56: ; preds = %45
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %11) #3
store <4 x i32> <i32 131, i32 129, i32 128, i32 130>, ptr %11, align 16, !tbaa !15
%57 = getelementptr inbounds i8, ptr %11, i64 16
%58 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_1_5X8, align 4, !tbaa !15
store i32 %58, ptr %57, align 16, !tbaa !15
%59 = call i32 @ARRAY_SIZE(ptr noundef nonnull %11) #3
%60 = call i32 @vfe_find_code(ptr noundef nonnull %11, i32 noundef %59, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %11) #3
br label %69
61: ; preds = %45
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %12) #3
store <4 x i32> <i32 130, i32 129, i32 128, i32 131>, ptr %12, align 16, !tbaa !15
%62 = getelementptr inbounds i8, ptr %12, i64 16
%63 = load i32, ptr @MEDIA_BUS_FMT_VYUY8_1_5X8, align 4, !tbaa !15
store i32 %63, ptr %62, align 16, !tbaa !15
%64 = call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #3
%65 = call i32 @vfe_find_code(ptr noundef nonnull %12, i32 noundef %64, i32 noundef %2, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %12) #3
br label %69
66: ; preds = %45
%67 = icmp eq i32 %2, 0
%68 = select i1 %67, i32 %1, i32 0
br label %69
69: ; preds = %42, %66, %39, %61, %56, %51, %46, %34, %29, %24, %19
%70 = phi i32 [ %38, %34 ], [ %33, %29 ], [ %28, %24 ], [ %23, %19 ], [ %65, %61 ], [ %60, %56 ], [ %55, %51 ], [ %50, %46 ], [ %41, %39 ], [ %68, %66 ], [ 0, %42 ]
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_vfe(ptr noundef) local_unnamed_addr #2
declare i32 @vfe_find_code(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vfe_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
|
linux_drivers_media_platform_qcom_camss_extr_camss-vfe.c_vfe_src_pad_code
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_mock_gtt.c_mock_cleanup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_mock_gtt.c_mock_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mock_cleanup], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @mock_cleanup(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_mock_gtt.c_mock_cleanup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_mock_gtt.c_mock_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 @mock_cleanup], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @mock_cleanup(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_gpu_drm_i915_selftests_extr_mock_gtt.c_mock_cleanup
|
; ModuleID = 'AnghaBench/linux/net/xdp/extr_xsk.c___xsk_rcv_zc.c'
source_filename = "AnghaBench/linux/net/xdp/extr_xsk.c___xsk_rcv_zc.c"
target datalayout = "e-m:e-p270:32:32-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.xdp_sock = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__xsk_rcv_zc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__xsk_rcv_zc(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.xdp_sock, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i64, ptr %1, align 8, !tbaa !10
%7 = trunc i64 %6 to i32
%8 = tail call i32 @xskq_produce_batch_desc(i32 noundef %5, i32 noundef %7, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !13
%12 = add nsw i32 %11, 1
store i32 %12, ptr %0, align 4, !tbaa !13
br label %13
13: ; preds = %10, %3
ret i32 %8
}
declare i32 @xskq_produce_batch_desc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"xdp_sock", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"xdp_buff", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/xdp/extr_xsk.c___xsk_rcv_zc.c'
source_filename = "AnghaBench/linux/net/xdp/extr_xsk.c___xsk_rcv_zc.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 @__xsk_rcv_zc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__xsk_rcv_zc(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i64, ptr %1, align 8, !tbaa !11
%7 = trunc i64 %6 to i32
%8 = tail call i32 @xskq_produce_batch_desc(i32 noundef %5, i32 noundef %7, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !14
%12 = add nsw i32 %11, 1
store i32 %12, ptr %0, align 4, !tbaa !14
br label %13
13: ; preds = %10, %3
ret i32 %8
}
declare i32 @xskq_produce_batch_desc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"xdp_sock", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"xdp_buff", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !8, i64 0}
|
linux_net_xdp_extr_xsk.c___xsk_rcv_zc
|
; ModuleID = 'AnghaBench/linux/sound/firewire/tascam/extr_tascam-transaction.c_async_midi_port_callback.c'
source_filename = "AnghaBench/linux/sound/firewire/tascam/extr_tascam-transaction.c_async_midi_port_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_fw_async_midi_port = type { i32, i32, i32, i64, i32, i32 }
@RCODE_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @async_midi_port_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @async_midi_port_callback(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture readnone %2, i64 %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds %struct.snd_fw_async_midi_port, ptr %4, i64 0, i32 5
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call ptr @READ_ONCE(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %30, label %10
10: ; preds = %5
%11 = load i32, ptr @RCODE_COMPLETE, align 4, !tbaa !11
%12 = icmp eq i32 %11, %1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = getelementptr inbounds %struct.snd_fw_async_midi_port, ptr %4, i64 0, i32 4
%15 = load i32, ptr %14, align 8, !tbaa !12
%16 = tail call i32 @snd_rawmidi_transmit_ack(ptr noundef nonnull %8, i32 noundef %15) #2
br label %23
17: ; preds = %10
%18 = tail call i32 @rcode_is_permanent_error(i32 noundef %1) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = getelementptr inbounds %struct.snd_fw_async_midi_port, ptr %4, i64 0, i32 3
store i64 0, ptr %21, align 8, !tbaa !13
br label %23
22: ; preds = %17
store i32 1, ptr %4, align 8, !tbaa !14
br label %23
23: ; preds = %20, %22, %13
%24 = getelementptr inbounds %struct.snd_fw_async_midi_port, ptr %4, i64 0, i32 1
store i32 1, ptr %24, align 4, !tbaa !15
%25 = tail call i32 @snd_rawmidi_transmit_empty(ptr noundef nonnull %8) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = getelementptr inbounds %struct.snd_fw_async_midi_port, ptr %4, i64 0, i32 2
%29 = tail call i32 @schedule_work(ptr noundef nonnull %28) #2
br label %30
30: ; preds = %23, %27, %5
ret void
}
declare ptr @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @snd_rawmidi_transmit_ack(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcode_is_permanent_error(i32 noundef) local_unnamed_addr #1
declare i32 @snd_rawmidi_transmit_empty(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(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 28}
!6 = !{!"snd_fw_async_midi_port", !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 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/linux/sound/firewire/tascam/extr_tascam-transaction.c_async_midi_port_callback.c'
source_filename = "AnghaBench/linux/sound/firewire/tascam/extr_tascam-transaction.c_async_midi_port_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCODE_COMPLETE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @async_midi_port_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @async_midi_port_callback(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture readnone %2, i64 %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds i8, ptr %4, i64 28
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call ptr @READ_ONCE(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %30, label %10
10: ; preds = %5
%11 = load i32, ptr @RCODE_COMPLETE, align 4, !tbaa !12
%12 = icmp eq i32 %11, %1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %4, i64 24
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = tail call i32 @snd_rawmidi_transmit_ack(ptr noundef nonnull %8, i32 noundef %15) #2
br label %23
17: ; preds = %10
%18 = tail call i32 @rcode_is_permanent_error(i32 noundef %1) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %4, i64 16
store i64 0, ptr %21, align 8, !tbaa !14
br label %23
22: ; preds = %17
store i32 1, ptr %4, align 8, !tbaa !15
br label %23
23: ; preds = %20, %22, %13
%24 = getelementptr inbounds i8, ptr %4, i64 4
store i32 1, ptr %24, align 4, !tbaa !16
%25 = tail call i32 @snd_rawmidi_transmit_empty(ptr noundef nonnull %8) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = getelementptr inbounds i8, ptr %4, i64 8
%29 = tail call i32 @schedule_work(ptr noundef nonnull %28) #2
br label %30
30: ; preds = %23, %27, %5
ret void
}
declare ptr @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @snd_rawmidi_transmit_ack(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcode_is_permanent_error(i32 noundef) local_unnamed_addr #1
declare i32 @snd_rawmidi_transmit_empty(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(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 28}
!7 = !{!"snd_fw_async_midi_port", !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 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 4}
|
linux_sound_firewire_tascam_extr_tascam-transaction.c_async_midi_port_callback
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/fstat/extr_fstat.c_addr_to_string.c'
source_filename = "AnghaBench/freebsd/usr.bin/fstat/extr_fstat.c_addr_to_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
%struct.sockaddr_in6 = type { i32, %struct.TYPE_3__ }
@INET6_ADDRSTRLEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@INADDR_ANY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @addr_to_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @addr_to_string(ptr noundef %0, ptr noundef returned %1, i32 noundef %2) #0 {
%4 = load i32, ptr @INET6_ADDRSTRLEN, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %7, label %49 [
i32 128, label %8
i32 130, label %17
i32 129, label %32
]
8: ; preds = %3
%9 = load ptr, ptr %0, align 8, !tbaa !9
%10 = tail call i32 @strlen(ptr noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %51
14: ; preds = %8
%15 = load ptr, ptr %0, align 8, !tbaa !9
%16 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef %15, i32 noundef %2) #2
br label %51
17: ; preds = %3
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %0, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = load i32, ptr @INADDR_ANY, align 4, !tbaa !5
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = tail call i32 @ntohs(i32 noundef 130) #2
%24 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %23) #2
br label %51
25: ; preds = %17
%26 = call ptr @inet_ntop(i32 noundef 130, ptr noundef nonnull %18, ptr noundef nonnull %6, i32 noundef %4) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %51, label %28
28: ; preds = %25
%29 = load i32, ptr %0, align 4, !tbaa !15
%30 = call i32 @ntohs(i32 noundef %29) #2
%31 = call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull %6, i32 noundef %30) #2
br label %51
32: ; preds = %3
%33 = getelementptr inbounds %struct.sockaddr_in6, ptr %0, i64 0, i32 1
%34 = tail call i32 @IN6_IS_ADDR_UNSPECIFIED(ptr noundef nonnull %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = load i32, ptr %0, align 4, !tbaa !16
%38 = tail call i32 @ntohs(i32 noundef %37) #2
%39 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef %38) #2
br label %51
40: ; preds = %32
%41 = call ptr @inet_ntop(i32 noundef 129, ptr noundef nonnull %33, ptr noundef nonnull %6, i32 noundef %4) #2
%42 = icmp eq ptr %41, null
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = load i32, ptr %0, align 4, !tbaa !16
%45 = call i32 @ntohs(i32 noundef %44) #2
%46 = call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %6, i32 noundef %45) #2
br label %51
47: ; preds = %40
%48 = call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %51
49: ; preds = %3
%50 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %2) #2
br label %51
51: ; preds = %36, %47, %43, %22, %28, %25, %12, %14, %49
ret ptr %1
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IN6_IS_ADDR_UNSPECIFIED(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"sockaddr_un", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"sockaddr_in", !6, i64 0, !14, i64 4}
!14 = !{!"TYPE_3__", !6, i64 0}
!15 = !{!13, !6, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"sockaddr_in6", !6, i64 0, !14, i64 4}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/fstat/extr_fstat.c_addr_to_string.c'
source_filename = "AnghaBench/freebsd/usr.bin/fstat/extr_fstat.c_addr_to_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INET6_ADDRSTRLEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@INADDR_ANY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @addr_to_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @addr_to_string(ptr noundef %0, ptr noundef returned %1, i32 noundef %2) #0 {
%4 = load i32, ptr @INET6_ADDRSTRLEN, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %7, label %49 [
i32 128, label %8
i32 130, label %17
i32 129, label %32
]
8: ; preds = %3
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = tail call i32 @strlen(ptr noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %51
14: ; preds = %8
%15 = load ptr, ptr %0, align 8, !tbaa !10
%16 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef %15, i32 noundef %2) #2
br label %51
17: ; preds = %3
%18 = getelementptr inbounds i8, ptr %0, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = load i32, ptr @INADDR_ANY, align 4, !tbaa !6
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = tail call i32 @ntohs(i32 noundef 130) #2
%24 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %23) #2
br label %51
25: ; preds = %17
%26 = call ptr @inet_ntop(i32 noundef 130, ptr noundef nonnull %18, ptr noundef nonnull %6, i32 noundef %4) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %51, label %28
28: ; preds = %25
%29 = load i32, ptr %0, align 4, !tbaa !16
%30 = call i32 @ntohs(i32 noundef %29) #2
%31 = call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull %6, i32 noundef %30) #2
br label %51
32: ; preds = %3
%33 = getelementptr inbounds i8, ptr %0, i64 4
%34 = tail call i32 @IN6_IS_ADDR_UNSPECIFIED(ptr noundef nonnull %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = load i32, ptr %0, align 4, !tbaa !17
%38 = tail call i32 @ntohs(i32 noundef %37) #2
%39 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef %38) #2
br label %51
40: ; preds = %32
%41 = call ptr @inet_ntop(i32 noundef 129, ptr noundef nonnull %33, ptr noundef nonnull %6, i32 noundef %4) #2
%42 = icmp eq ptr %41, null
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = load i32, ptr %0, align 4, !tbaa !17
%45 = call i32 @ntohs(i32 noundef %44) #2
%46 = call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %6, i32 noundef %45) #2
br label %51
47: ; preds = %40
%48 = call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %51
49: ; preds = %3
%50 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %2) #2
br label %51
51: ; preds = %36, %47, %43, %22, %28, %25, %12, %14, %49
ret ptr %1
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IN6_IS_ADDR_UNSPECIFIED(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sockaddr_un", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"sockaddr_in", !7, i64 0, !15, i64 4}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!14, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"sockaddr_in6", !7, i64 0, !15, i64 4}
|
freebsd_usr.bin_fstat_extr_fstat.c_addr_to_string
|
; ModuleID = 'AnghaBench/linux/net/atm/extr_svc.c_svc_create.c'
source_filename = "AnghaBench/linux/net/atm/extr_svc.c_svc_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_6__ = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_4__ = type { ptr }
@init_net = dso_local global i32 0, align 4
@EAFNOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@svc_proto_ops = dso_local global i32 0, align 4
@AF_ATMSVC = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @svc_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @svc_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @net_eq(ptr noundef %0, ptr noundef nonnull @init_net) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %20
10: ; preds = %4
store ptr @svc_proto_ops, ptr %1, align 8, !tbaa !9
%11 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !12
%12 = tail call i32 @vcc_create(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %11, i32 noundef %3) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !12
%16 = tail call ptr @ATM_SD(ptr noundef nonnull %1) #2
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i64 0, i32 1
store ptr %15, ptr %17, align 8, !tbaa !13
%18 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !12
%19 = tail call ptr @ATM_SD(ptr noundef nonnull %1) #2
store ptr %18, ptr %19, align 8, !tbaa !17
br label %20
20: ; preds = %10, %14, %7
%21 = phi i32 [ 0, %14 ], [ %9, %7 ], [ %12, %10 ]
ret i32 %21
}
declare i32 @net_eq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vcc_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ATM_SD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"socket", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_6__", !15, i64 0, !16, i64 8}
!15 = !{!"TYPE_5__", !11, i64 0}
!16 = !{!"TYPE_4__", !11, i64 0}
!17 = !{!14, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/atm/extr_svc.c_svc_create.c'
source_filename = "AnghaBench/linux/net/atm/extr_svc.c_svc_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@init_net = common global i32 0, align 4
@EAFNOSUPPORT = common local_unnamed_addr global i32 0, align 4
@svc_proto_ops = common global i32 0, align 4
@AF_ATMSVC = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @svc_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @svc_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @net_eq(ptr noundef %0, ptr noundef nonnull @init_net) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %20
10: ; preds = %4
store ptr @svc_proto_ops, ptr %1, align 8, !tbaa !10
%11 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !13
%12 = tail call i32 @vcc_create(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %11, i32 noundef %3) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !13
%16 = tail call ptr @ATM_SD(ptr noundef nonnull %1) #2
%17 = getelementptr inbounds i8, ptr %16, i64 8
store ptr %15, ptr %17, align 8, !tbaa !14
%18 = load ptr, ptr @AF_ATMSVC, align 8, !tbaa !13
%19 = tail call ptr @ATM_SD(ptr noundef nonnull %1) #2
store ptr %18, ptr %19, align 8, !tbaa !18
br label %20
20: ; preds = %10, %14, %7
%21 = phi i32 [ 0, %14 ], [ %9, %7 ], [ %12, %10 ]
ret i32 %21
}
declare i32 @net_eq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vcc_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ATM_SD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"socket", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"TYPE_6__", !16, i64 0, !17, i64 8}
!16 = !{!"TYPE_5__", !12, i64 0}
!17 = !{!"TYPE_4__", !12, i64 0}
!18 = !{!15, !12, i64 0}
|
linux_net_atm_extr_svc.c_svc_create
|
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_expires_le.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_expires_le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cputime_zero = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @expires_le], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @expires_le(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @cputime_zero, align 4, !tbaa !5
%4 = tail call i32 @cputime_eq(i32 noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i64 @cputime_le(i32 noundef %0, i32 noundef %1) #2
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %6, %2
%11 = phi i32 [ 0, %2 ], [ %9, %6 ]
ret i32 %11
}
declare i32 @cputime_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @cputime_le(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_expires_le.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_expires_le.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cputime_zero = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @expires_le], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @expires_le(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @cputime_zero, align 4, !tbaa !6
%4 = tail call i32 @cputime_eq(i32 noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i64 @cputime_le(i32 noundef %0, i32 noundef %1) #2
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %6, %2
%11 = phi i32 [ 0, %2 ], [ %9, %6 ]
ret i32 %11
}
declare i32 @cputime_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @cputime_le(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_kernel_extr_posix-cpu-timers.c_expires_le
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Pack.c_PackAddDataEx.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Pack.c_PackAddDataEx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i32, ptr, i32, i32 }
@VALUE_DATA = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @PackAddDataEx(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #0 {
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
%10 = icmp eq ptr %1, null
%11 = or i1 %10, %9
%12 = icmp eq i64 %5, 0
%13 = or i1 %11, %12
br i1 %13, label %51, label %14
14: ; preds = %6
%15 = tail call ptr @NewDataValue(ptr noundef nonnull %2, i64 noundef %3) #2
%16 = load i32, ptr @VALUE_DATA, align 4, !tbaa !5
%17 = tail call ptr @GetElement(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %34, label %19
19: ; preds = %14
%20 = load i64, ptr %17, align 8, !tbaa !9
%21 = icmp ult i64 %20, %5
br i1 %21, label %31, label %22
22: ; preds = %19
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %17, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !13
%25 = getelementptr inbounds ptr, ptr %24, i64 %4
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = load i32, ptr @VALUE_DATA, align 4, !tbaa !5
%28 = tail call i32 @FreeValue(ptr noundef %26, i32 noundef %27) #2
%29 = load ptr, ptr %23, align 8, !tbaa !13
%30 = getelementptr inbounds ptr, ptr %29, i64 %4
store ptr %15, ptr %30, align 8, !tbaa !14
br label %48
31: ; preds = %19
%32 = load i32, ptr @VALUE_DATA, align 4, !tbaa !5
%33 = tail call i32 @FreeValue(ptr noundef %15, i32 noundef %32) #2
br label %48
34: ; preds = %14
%35 = tail call ptr @ZeroMallocEx(i32 noundef 32, i32 noundef 1) #2
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %35, i64 0, i32 4
%37 = load i32, ptr %36, align 4, !tbaa !15
%38 = tail call i32 @StrCpy(i32 noundef %37, i32 noundef 4, ptr noundef nonnull %1) #2
store i64 %5, ptr %35, align 8, !tbaa !9
%39 = load i32, ptr @VALUE_DATA, align 4, !tbaa !5
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %35, i64 0, i32 3
store i32 %39, ptr %40, align 8, !tbaa !16
%41 = trunc i64 %5 to i32
%42 = shl i32 %41, 3
%43 = tail call ptr @ZeroMallocEx(i32 noundef %42, i32 noundef 1) #2
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %35, i64 0, i32 2
store ptr %43, ptr %44, align 8, !tbaa !13
%45 = getelementptr inbounds ptr, ptr %43, i64 %4
store ptr %15, ptr %45, align 8, !tbaa !14
%46 = tail call i32 @AddElement(ptr noundef nonnull %0, ptr noundef nonnull %35) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %34, %22, %31
%49 = phi ptr [ %17, %22 ], [ %17, %31 ], [ %35, %34 ]
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %49, i64 0, i32 1
store i32 1, ptr %50, align 8, !tbaa !17
br label %51
51: ; preds = %34, %6, %48
%52 = phi ptr [ %49, %48 ], [ null, %6 ], [ null, %34 ]
ret ptr %52
}
declare ptr @NewDataValue(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @GetElement(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FreeValue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ZeroMallocEx(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @StrCpy(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AddElement(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !6, i64 28}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !6, i64 28}
!16 = !{!10, !6, i64 24}
!17 = !{!10, !6, i64 8}
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Pack.c_PackAddDataEx.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Pack.c_PackAddDataEx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VALUE_DATA = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @PackAddDataEx(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #0 {
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
%10 = icmp eq ptr %1, null
%11 = or i1 %10, %9
%12 = icmp eq i64 %5, 0
%13 = or i1 %11, %12
br i1 %13, label %51, label %14
14: ; preds = %6
%15 = tail call ptr @NewDataValue(ptr noundef nonnull %2, i64 noundef %3) #2
%16 = load i32, ptr @VALUE_DATA, align 4, !tbaa !6
%17 = tail call ptr @GetElement(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %34, label %19
19: ; preds = %14
%20 = load i64, ptr %17, align 8, !tbaa !10
%21 = icmp ult i64 %20, %5
br i1 %21, label %31, label %22
22: ; preds = %19
%23 = getelementptr inbounds i8, ptr %17, i64 16
%24 = load ptr, ptr %23, align 8, !tbaa !14
%25 = getelementptr inbounds ptr, ptr %24, i64 %4
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = load i32, ptr @VALUE_DATA, align 4, !tbaa !6
%28 = tail call i32 @FreeValue(ptr noundef %26, i32 noundef %27) #2
%29 = load ptr, ptr %23, align 8, !tbaa !14
%30 = getelementptr inbounds ptr, ptr %29, i64 %4
store ptr %15, ptr %30, align 8, !tbaa !15
br label %48
31: ; preds = %19
%32 = load i32, ptr @VALUE_DATA, align 4, !tbaa !6
%33 = tail call i32 @FreeValue(ptr noundef %15, i32 noundef %32) #2
br label %48
34: ; preds = %14
%35 = tail call ptr @ZeroMallocEx(i32 noundef 32, i32 noundef 1) #2
%36 = getelementptr inbounds i8, ptr %35, i64 28
%37 = load i32, ptr %36, align 4, !tbaa !16
%38 = tail call i32 @StrCpy(i32 noundef %37, i32 noundef 4, ptr noundef nonnull %1) #2
store i64 %5, ptr %35, align 8, !tbaa !10
%39 = load i32, ptr @VALUE_DATA, align 4, !tbaa !6
%40 = getelementptr inbounds i8, ptr %35, i64 24
store i32 %39, ptr %40, align 8, !tbaa !17
%41 = trunc i64 %5 to i32
%42 = shl i32 %41, 3
%43 = tail call ptr @ZeroMallocEx(i32 noundef %42, i32 noundef 1) #2
%44 = getelementptr inbounds i8, ptr %35, i64 16
store ptr %43, ptr %44, align 8, !tbaa !14
%45 = getelementptr inbounds ptr, ptr %43, i64 %4
store ptr %15, ptr %45, align 8, !tbaa !15
%46 = tail call i32 @AddElement(ptr noundef nonnull %0, ptr noundef nonnull %35) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %34, %22, %31
%49 = phi ptr [ %17, %22 ], [ %17, %31 ], [ %35, %34 ]
%50 = getelementptr inbounds i8, ptr %49, i64 8
store i32 1, ptr %50, align 8, !tbaa !18
br label %51
51: ; preds = %34, %6, %48
%52 = phi ptr [ %49, %48 ], [ null, %6 ], [ null, %34 ]
ret ptr %52
}
declare ptr @NewDataValue(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @GetElement(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FreeValue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ZeroMallocEx(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @StrCpy(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AddElement(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0, !7, i64 8, !13, i64 16, !7, i64 24, !7, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !7, i64 28}
!17 = !{!11, !7, i64 24}
!18 = !{!11, !7, i64 8}
|
SoftEtherVPN_src_Mayaqua_extr_Pack.c_PackAddDataEx
|
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_vcmd.c_BotVoiceChatCommand.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_vcmd.c_BotVoiceChatCommand.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, i64 }
@MAX_MESSAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@SAY_ALL = dso_local local_unnamed_addr global i32 0, align 4
@voiceCommands = dso_local local_unnamed_addr global ptr null, align 8
@qtrue = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @BotVoiceChatCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MAX_MESSAGE_SIZE, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = tail call i32 (...) @TeamPlayIsOn() #3
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @SAY_ALL, align 4
%10 = icmp eq i32 %9, %1
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %89, label %12
12: ; preds = %3
%13 = call i32 @Q_strncpyz(ptr noundef nonnull %6, ptr noundef %2, i32 noundef %4) #3
br label %14
14: ; preds = %14, %12
%15 = phi ptr [ %6, %12 ], [ %18, %14 ]
%16 = load i8, ptr %15, align 1, !tbaa !9
%17 = icmp sgt i8 %16, 32
%18 = getelementptr inbounds i8, ptr %15, i64 1
br i1 %17, label %14, label %19, !llvm.loop !10
19: ; preds = %14
%20 = icmp eq i8 %16, 0
br i1 %20, label %46, label %23
21: ; preds = %23
%22 = icmp ugt i8 %26, 32
br i1 %22, label %34, label %30
23: ; preds = %19, %23
%24 = phi ptr [ %25, %23 ], [ %15, %19 ]
%25 = getelementptr inbounds i8, ptr %24, i64 1
store i8 0, ptr %24, align 1, !tbaa !9
%26 = load i8, ptr %25, align 1, !tbaa !9
%27 = icmp ne i8 %26, 0
%28 = icmp slt i8 %26, 33
%29 = and i1 %27, %28
br i1 %29, label %23, label %21, !llvm.loop !12
30: ; preds = %34, %21
%31 = phi i8 [ %26, %21 ], [ %37, %34 ]
%32 = phi ptr [ %25, %21 ], [ %36, %34 ]
%33 = icmp eq i8 %31, 0
br i1 %33, label %46, label %39
34: ; preds = %21, %34
%35 = phi ptr [ %36, %34 ], [ %25, %21 ]
%36 = getelementptr inbounds i8, ptr %35, i64 1
%37 = load i8, ptr %36, align 1, !tbaa !9
%38 = icmp sgt i8 %37, 32
br i1 %38, label %34, label %30, !llvm.loop !13
39: ; preds = %30, %39
%40 = phi ptr [ %41, %39 ], [ %32, %30 ]
%41 = getelementptr inbounds i8, ptr %40, i64 1
store i8 0, ptr %40, align 1, !tbaa !9
%42 = load i8, ptr %41, align 1, !tbaa !9
%43 = icmp ne i8 %42, 0
%44 = icmp slt i8 %42, 33
%45 = and i1 %43, %44
br i1 %45, label %39, label %46, !llvm.loop !14
46: ; preds = %39, %19, %30
%47 = phi ptr [ %25, %30 ], [ %15, %19 ], [ %25, %39 ]
%48 = phi ptr [ %32, %30 ], [ %15, %19 ], [ %41, %39 ]
%49 = call i32 @atoi(ptr nocapture noundef nonnull %47)
br label %50
50: ; preds = %50, %46
%51 = phi ptr [ %48, %46 ], [ %54, %50 ]
%52 = load i8, ptr %51, align 1, !tbaa !9
%53 = icmp sgt i8 %52, 32
%54 = getelementptr inbounds i8, ptr %51, i64 1
br i1 %53, label %50, label %55, !llvm.loop !15
55: ; preds = %50
%56 = icmp eq i8 %52, 0
br i1 %56, label %64, label %57
57: ; preds = %55, %57
%58 = phi ptr [ %59, %57 ], [ %51, %55 ]
%59 = getelementptr inbounds i8, ptr %58, i64 1
store i8 0, ptr %58, align 1, !tbaa !9
%60 = load i8, ptr %59, align 1, !tbaa !9
%61 = icmp ne i8 %60, 0
%62 = icmp slt i8 %60, 33
%63 = and i1 %61, %62
br i1 %63, label %57, label %64, !llvm.loop !16
64: ; preds = %57, %55
%65 = phi ptr [ %51, %55 ], [ %59, %57 ]
%66 = call i32 @BotSameTeam(ptr noundef %0, i32 noundef %49) #3
%67 = icmp eq i32 %66, 0
br i1 %67, label %89, label %68
68: ; preds = %64
%69 = load ptr, ptr @voiceCommands, align 8, !tbaa !17
%70 = getelementptr inbounds %struct.TYPE_2__, ptr %69, i64 0, i32 1
%71 = load i64, ptr %70, align 8, !tbaa !19
%72 = icmp eq i64 %71, 0
br i1 %72, label %89, label %79
73: ; preds = %79
%74 = add nuw i64 %80, 1
%75 = load ptr, ptr @voiceCommands, align 8, !tbaa !17
%76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i64 %74, i32 1
%77 = load i64, ptr %76, align 8, !tbaa !19
%78 = icmp eq i64 %77, 0
br i1 %78, label %89, label %79, !llvm.loop !22
79: ; preds = %68, %73
%80 = phi i64 [ %74, %73 ], [ 0, %68 ]
%81 = phi i64 [ %77, %73 ], [ %71, %68 ]
%82 = call i32 @Q_stricmp(ptr noundef nonnull %65, i64 noundef %81) #3
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %73
84: ; preds = %79
%85 = load ptr, ptr @voiceCommands, align 8, !tbaa !17
%86 = getelementptr inbounds %struct.TYPE_2__, ptr %85, i64 %80
%87 = load ptr, ptr %86, align 8, !tbaa !23
%88 = call i32 %87(ptr noundef %0, i32 noundef %49, i32 noundef %1) #3
br label %89
89: ; preds = %73, %68, %64, %3, %84
%90 = phi ptr [ @qtrue, %84 ], [ @qfalse, %3 ], [ @qfalse, %64 ], [ @qfalse, %68 ], [ @qfalse, %73 ]
%91 = load i32, ptr %90, align 4, !tbaa !5
ret i32 %91
}
declare i32 @TeamPlayIsOn(...) local_unnamed_addr #1
declare i32 @Q_strncpyz(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @BotSameTeam(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Q_stricmp(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 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!20, !21, i64 8}
!20 = !{!"TYPE_2__", !18, i64 0, !21, i64 8}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !11}
!23 = !{!20, !18, i64 0}
|
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_vcmd.c_BotVoiceChatCommand.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_vcmd.c_BotVoiceChatCommand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i64 }
@MAX_MESSAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@qfalse = common local_unnamed_addr global i32 0, align 4
@SAY_ALL = common local_unnamed_addr global i32 0, align 4
@voiceCommands = common local_unnamed_addr global ptr null, align 8
@qtrue = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @BotVoiceChatCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MAX_MESSAGE_SIZE, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = tail call i32 @TeamPlayIsOn() #3
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @SAY_ALL, align 4
%10 = icmp eq i32 %9, %1
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %89, label %12
12: ; preds = %3
%13 = call i32 @Q_strncpyz(ptr noundef nonnull %6, ptr noundef %2, i32 noundef %4) #3
br label %14
14: ; preds = %14, %12
%15 = phi ptr [ %6, %12 ], [ %18, %14 ]
%16 = load i8, ptr %15, align 1, !tbaa !10
%17 = icmp sgt i8 %16, 32
%18 = getelementptr inbounds i8, ptr %15, i64 1
br i1 %17, label %14, label %19, !llvm.loop !11
19: ; preds = %14
%20 = icmp eq i8 %16, 0
br i1 %20, label %46, label %23
21: ; preds = %23
%22 = icmp ugt i8 %26, 32
br i1 %22, label %34, label %30
23: ; preds = %19, %23
%24 = phi ptr [ %25, %23 ], [ %15, %19 ]
%25 = getelementptr inbounds i8, ptr %24, i64 1
store i8 0, ptr %24, align 1, !tbaa !10
%26 = load i8, ptr %25, align 1, !tbaa !10
%27 = icmp ne i8 %26, 0
%28 = icmp slt i8 %26, 33
%29 = and i1 %27, %28
br i1 %29, label %23, label %21, !llvm.loop !13
30: ; preds = %34, %21
%31 = phi i8 [ %26, %21 ], [ %37, %34 ]
%32 = phi ptr [ %25, %21 ], [ %36, %34 ]
%33 = icmp eq i8 %31, 0
br i1 %33, label %46, label %39
34: ; preds = %21, %34
%35 = phi ptr [ %36, %34 ], [ %25, %21 ]
%36 = getelementptr inbounds i8, ptr %35, i64 1
%37 = load i8, ptr %36, align 1, !tbaa !10
%38 = icmp sgt i8 %37, 32
br i1 %38, label %34, label %30, !llvm.loop !14
39: ; preds = %30, %39
%40 = phi ptr [ %41, %39 ], [ %32, %30 ]
%41 = getelementptr inbounds i8, ptr %40, i64 1
store i8 0, ptr %40, align 1, !tbaa !10
%42 = load i8, ptr %41, align 1, !tbaa !10
%43 = icmp ne i8 %42, 0
%44 = icmp slt i8 %42, 33
%45 = and i1 %43, %44
br i1 %45, label %39, label %46, !llvm.loop !15
46: ; preds = %39, %19, %30
%47 = phi ptr [ %25, %30 ], [ %15, %19 ], [ %25, %39 ]
%48 = phi ptr [ %32, %30 ], [ %15, %19 ], [ %41, %39 ]
%49 = call i32 @atoi(ptr nocapture noundef nonnull %47)
br label %50
50: ; preds = %50, %46
%51 = phi ptr [ %48, %46 ], [ %54, %50 ]
%52 = load i8, ptr %51, align 1, !tbaa !10
%53 = icmp sgt i8 %52, 32
%54 = getelementptr inbounds i8, ptr %51, i64 1
br i1 %53, label %50, label %55, !llvm.loop !16
55: ; preds = %50
%56 = icmp eq i8 %52, 0
br i1 %56, label %64, label %57
57: ; preds = %55, %57
%58 = phi ptr [ %59, %57 ], [ %51, %55 ]
%59 = getelementptr inbounds i8, ptr %58, i64 1
store i8 0, ptr %58, align 1, !tbaa !10
%60 = load i8, ptr %59, align 1, !tbaa !10
%61 = icmp ne i8 %60, 0
%62 = icmp slt i8 %60, 33
%63 = and i1 %61, %62
br i1 %63, label %57, label %64, !llvm.loop !17
64: ; preds = %57, %55
%65 = phi ptr [ %51, %55 ], [ %59, %57 ]
%66 = call i32 @BotSameTeam(ptr noundef %0, i32 noundef %49) #3
%67 = icmp eq i32 %66, 0
br i1 %67, label %89, label %68
68: ; preds = %64
%69 = load ptr, ptr @voiceCommands, align 8, !tbaa !18
%70 = getelementptr inbounds i8, ptr %69, i64 8
%71 = load i64, ptr %70, align 8, !tbaa !20
%72 = icmp eq i64 %71, 0
br i1 %72, label %89, label %79
73: ; preds = %79
%74 = add nuw nsw i64 %80, 1
%75 = load ptr, ptr @voiceCommands, align 8, !tbaa !18
%76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i64 %74, i32 1
%77 = load i64, ptr %76, align 8, !tbaa !20
%78 = icmp eq i64 %77, 0
br i1 %78, label %89, label %79, !llvm.loop !23
79: ; preds = %68, %73
%80 = phi i64 [ %74, %73 ], [ 0, %68 ]
%81 = phi i64 [ %77, %73 ], [ %71, %68 ]
%82 = call i32 @Q_stricmp(ptr noundef nonnull %65, i64 noundef %81) #3
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %73
84: ; preds = %79
%85 = load ptr, ptr @voiceCommands, align 8, !tbaa !18
%86 = getelementptr inbounds %struct.TYPE_2__, ptr %85, i64 %80
%87 = load ptr, ptr %86, align 8, !tbaa !24
%88 = call i32 %87(ptr noundef %0, i32 noundef %49, i32 noundef %1) #3
br label %89
89: ; preds = %73, %68, %64, %3, %84
%90 = phi ptr [ @qtrue, %84 ], [ @qfalse, %3 ], [ @qfalse, %64 ], [ @qfalse, %68 ], [ @qfalse, %73 ]
%91 = load i32, ptr %90, align 4, !tbaa !6
ret i32 %91
}
declare i32 @TeamPlayIsOn(...) local_unnamed_addr #1
declare i32 @Q_strncpyz(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @BotSameTeam(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Q_stricmp(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 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = !{!19, !19, i64 0}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!21, !22, i64 8}
!21 = !{!"TYPE_2__", !19, i64 0, !22, i64 8}
!22 = !{!"long", !8, i64 0}
!23 = distinct !{!23, !12}
!24 = !{!21, !19, i64 0}
|
Quake-III-Arena_code_game_extr_ai_vcmd.c_BotVoiceChatCommand
|
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_rmdirrace.c_func1.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_rmdirrace.c_func1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DIRNAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @func1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias noundef ptr @func1(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 %9, label %4
4: ; preds = %1, %4
%5 = load i32, ptr @DIRNAME, align 4, !tbaa !5
%6 = tail call i32 @rump_sys_mkdir(i32 noundef %5, i32 noundef 493) #2
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %4, !llvm.loop !9
9: ; preds = %4, %1
ret ptr null
}
declare i32 @rump_sys_mkdir(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_rmdirrace.c_func1.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_rmdirrace.c_func1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIRNAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @func1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noalias noundef ptr @func1(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 %9, label %4
4: ; preds = %1, %4
%5 = load i32, ptr @DIRNAME, align 4, !tbaa !6
%6 = tail call i32 @rump_sys_mkdir(i32 noundef %5, i32 noundef 493) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %4, !llvm.loop !10
9: ; preds = %4, %1
ret ptr null
}
declare i32 @rump_sys_mkdir(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
freebsd_contrib_netbsd-tests_fs_vfs_extr_t_rmdirrace.c_func1
|
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_g_team.c_Team_ResetFlags.c'
source_filename = "AnghaBench/lab/engine/code/game/extr_g_team.c_Team_ResetFlags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
@g_gametype = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@GT_CTF = dso_local local_unnamed_addr global i64 0, align 8
@TEAM_RED = dso_local local_unnamed_addr global i32 0, align 4
@TEAM_BLUE = dso_local local_unnamed_addr global i32 0, align 4
@GT_1FCTF = dso_local local_unnamed_addr global i64 0, align 8
@TEAM_FREE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @Team_ResetFlags() local_unnamed_addr #0 {
%1 = load i64, i64* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @g_gametype, i64 0, i32 0), align 8, !tbaa !5
%2 = load i64, i64* @GT_CTF, align 8, !tbaa !10
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %9
4: ; preds = %0
%5 = load i32, i32* @TEAM_RED, align 4, !tbaa !11
%6 = tail call i32 @Team_ResetFlag(i32 noundef %5) #2
%7 = load i32, i32* @TEAM_BLUE, align 4, !tbaa !11
%8 = tail call i32 @Team_ResetFlag(i32 noundef %7) #2
br label %9
9: ; preds = %4, %0
ret void
}
declare i32 @Team_ResetFlag(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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/lab/engine/code/game/extr_g_team.c_Team_ResetFlags.c'
source_filename = "AnghaBench/lab/engine/code/game/extr_g_team.c_Team_ResetFlags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@g_gametype = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@GT_CTF = common local_unnamed_addr global i64 0, align 8
@TEAM_RED = common local_unnamed_addr global i32 0, align 4
@TEAM_BLUE = common local_unnamed_addr global i32 0, align 4
@GT_1FCTF = common local_unnamed_addr global i64 0, align 8
@TEAM_FREE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @Team_ResetFlags() local_unnamed_addr #0 {
%1 = load i64, ptr @g_gametype, align 8, !tbaa !6
%2 = load i64, ptr @GT_CTF, align 8, !tbaa !11
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %9
4: ; preds = %0
%5 = load i32, ptr @TEAM_RED, align 4, !tbaa !12
%6 = tail call i32 @Team_ResetFlag(i32 noundef %5) #2
%7 = load i32, ptr @TEAM_BLUE, align 4, !tbaa !12
%8 = tail call i32 @Team_ResetFlag(i32 noundef %7) #2
br label %9
9: ; preds = %4, %0
ret void
}
declare i32 @Team_ResetFlag(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"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}
|
lab_engine_code_game_extr_g_team.c_Team_ResetFlags
|
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lbaselib.c_luaB_select.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lbaselib.c_luaB_select.c"
target datalayout = "e-m:e-p270:32:32-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_TSTRING = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"index out of range\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @luaB_select], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @luaB_select(ptr noundef %0) #0 {
%2 = tail call i32 @lua_gettop(ptr noundef %0) #3
%3 = tail call i64 @lua_type(ptr noundef %0, i32 noundef 1) #3
%4 = load i64, ptr @LUA_TSTRING, align 8, !tbaa !5
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %13
6: ; preds = %1
%7 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef 1) #3
%8 = load i8, ptr %7, align 1, !tbaa !9
%9 = icmp eq i8 %8, 35
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = add nsw i32 %2, -1
%12 = tail call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %11) #3
br label %23
13: ; preds = %6, %1
%14 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #3
%15 = icmp slt i32 %14, 0
%16 = add nsw i32 %14, %2
%17 = tail call i32 @llvm.smin.i32(i32 %14, i32 %2)
%18 = select i1 %15, i32 %16, i32 %17
%19 = icmp sgt i32 %18, 0
%20 = zext i1 %19 to i32
%21 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef %20, i32 noundef 1, ptr noundef nonnull @.str) #3
%22 = sub nsw i32 %2, %18
br label %23
23: ; preds = %13, %10
%24 = phi i32 [ 1, %10 ], [ %22, %13 ]
ret i32 %24
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_argcheck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lbaselib.c_luaB_select.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lbaselib.c_luaB_select.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUA_TSTRING = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"index out of range\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @luaB_select], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @luaB_select(ptr noundef %0) #0 {
%2 = tail call i32 @lua_gettop(ptr noundef %0) #3
%3 = tail call i64 @lua_type(ptr noundef %0, i32 noundef 1) #3
%4 = load i64, ptr @LUA_TSTRING, align 8, !tbaa !6
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %13
6: ; preds = %1
%7 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef 1) #3
%8 = load i8, ptr %7, align 1, !tbaa !10
%9 = icmp eq i8 %8, 35
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = add nsw i32 %2, -1
%12 = tail call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %11) #3
br label %23
13: ; preds = %6, %1
%14 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #3
%15 = icmp slt i32 %14, 0
%16 = add nsw i32 %14, %2
%17 = tail call i32 @llvm.smin.i32(i32 %14, i32 %2)
%18 = select i1 %15, i32 %16, i32 %17
%19 = icmp sgt i32 %18, 0
%20 = zext i1 %19 to i32
%21 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef %20, i32 noundef 1, ptr noundef nonnull @.str) #3
%22 = sub nsw i32 %2, %18
br label %23
23: ; preds = %13, %10
%24 = phi i32 [ 1, %10 ], [ %22, %13 ]
ret i32 %24
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_argcheck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
|
skynet_3rd_lua_extr_lbaselib.c_luaB_select
|
; ModuleID = 'AnghaBench/linux/tools/firmware/extr_ihex2fw.c_main.c'
source_filename = "AnghaBench/linux/tools/firmware/extr_ihex2fw.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"wsj\00", align 1
@wide_records = dso_local local_unnamed_addr global i32 0, align 4
@sort_records = dso_local local_unnamed_addr global i32 0, align 4
@include_jump = dso_local local_unnamed_addr global i32 0, align 4
@optind = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"Failed to open source file: %s\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@PROT_READ = dso_local local_unnamed_addr global i32 0, align 4
@MAP_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@MAP_FAILED = dso_local local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@O_TRUNC = dso_local local_unnamed_addr global i32 0, align 4
@O_CREAT = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [36 x i8] c"Failed to open destination file: %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
br label %4
4: ; preds = %10, %2
%5 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #5
switch i32 %5, label %8 [
i32 -1, label %12
i32 119, label %10
i32 115, label %6
i32 106, label %7
]
6: ; preds = %4
br label %10
7: ; preds = %4
br label %10
8: ; preds = %4
%9 = tail call i32 (...) @usage() #5
br label %78
10: ; preds = %4, %7, %6
%11 = phi ptr [ @include_jump, %7 ], [ @sort_records, %6 ], [ @wide_records, %4 ]
store i32 1, ptr %11, align 4, !tbaa !5
br label %4, !llvm.loop !9
12: ; preds = %4
%13 = load i32, ptr @optind, align 4, !tbaa !5
%14 = add nsw i32 %13, 2
%15 = icmp eq i32 %14, %0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 (...) @usage() #5
br label %78
18: ; preds = %12
%19 = sext i32 %13 to i64
%20 = getelementptr inbounds ptr, ptr %1, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !11
%22 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %21, ptr noundef nonnull dereferenceable(2) @.str.1)
%23 = icmp eq i32 %22, 0
br i1 %23, label %34, label %24
24: ; preds = %18
%25 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%26 = tail call i32 (ptr, i32, ...) @open(ptr noundef %21, i32 noundef %25) #5
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %34
28: ; preds = %24
%29 = load i32, ptr @stderr, align 4, !tbaa !5
%30 = load i32, ptr @errno, align 4, !tbaa !5
%31 = tail call ptr @strerror(i32 noundef %30) #5
%32 = tail call i32 @fprintf(i32 noundef %29, ptr noundef nonnull @.str.2, ptr noundef %31) #5
%33 = tail call i32 (...) @usage() #5
br label %78
34: ; preds = %18, %24
%35 = phi i32 [ %26, %24 ], [ 0, %18 ]
%36 = call i64 @fstat(i32 noundef %35, ptr noundef nonnull %3) #5
%37 = icmp eq i64 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = call i32 @perror(ptr noundef nonnull @.str.3) #5
br label %78
40: ; preds = %34
%41 = load i32, ptr %3, align 4, !tbaa !13
%42 = load i32, ptr @PROT_READ, align 4, !tbaa !5
%43 = load i32, ptr @MAP_SHARED, align 4, !tbaa !5
%44 = call ptr @mmap(ptr noundef null, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %35, i32 noundef 0) #5
%45 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !11
%46 = icmp eq ptr %44, %45
br i1 %46, label %47, label %49
47: ; preds = %40
%48 = call i32 @perror(ptr noundef nonnull @.str.4) #5
br label %78
49: ; preds = %40
%50 = load i32, ptr @optind, align 4, !tbaa !5
%51 = sext i32 %50 to i64
%52 = getelementptr ptr, ptr %1, i64 %51
%53 = getelementptr ptr, ptr %52, i64 1
%54 = load ptr, ptr %53, align 8, !tbaa !11
%55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(2) @.str.1)
%56 = icmp eq i32 %55, 0
br i1 %56, label %71, label %57
57: ; preds = %49
%58 = load i32, ptr @O_TRUNC, align 4, !tbaa !5
%59 = load i32, ptr @O_CREAT, align 4, !tbaa !5
%60 = or i32 %59, %58
%61 = load i32, ptr @O_WRONLY, align 4, !tbaa !5
%62 = or i32 %60, %61
%63 = call i32 (ptr, i32, ...) @open(ptr noundef %54, i32 noundef %62, i32 noundef 420) #5
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %71
65: ; preds = %57
%66 = load i32, ptr @stderr, align 4, !tbaa !5
%67 = load i32, ptr @errno, align 4, !tbaa !5
%68 = call ptr @strerror(i32 noundef %67) #5
%69 = call i32 @fprintf(i32 noundef %66, ptr noundef nonnull @.str.5, ptr noundef %68) #5
%70 = call i32 (...) @usage() #5
br label %78
71: ; preds = %49, %57
%72 = phi i32 [ %63, %57 ], [ 1, %49 ]
%73 = load i32, ptr %3, align 4, !tbaa !13
%74 = call i64 @process_ihex(ptr noundef %44, i32 noundef %73) #5
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %71
%77 = call i32 @output_records(i32 noundef %72) #5
br label %78
78: ; preds = %71, %76, %65, %47, %38, %28, %16, %8
%79 = phi i32 [ %9, %8 ], [ %17, %16 ], [ %33, %28 ], [ 1, %38 ], [ 1, %47 ], [ %70, %65 ], [ %77, %76 ], [ 1, %71 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
ret i32 %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #4
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @process_ihex(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @output_records(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"stat", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/tools/firmware/extr_ihex2fw.c_main.c'
source_filename = "AnghaBench/linux/tools/firmware/extr_ihex2fw.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"wsj\00", align 1
@wide_records = common local_unnamed_addr global i32 0, align 4
@sort_records = common local_unnamed_addr global i32 0, align 4
@include_jump = common local_unnamed_addr global i32 0, align 4
@optind = common local_unnamed_addr global i32 0, align 4
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"Failed to open source file: %s\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@PROT_READ = common local_unnamed_addr global i32 0, align 4
@MAP_SHARED = common local_unnamed_addr global i32 0, align 4
@MAP_FAILED = common local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@O_TRUNC = common local_unnamed_addr global i32 0, align 4
@O_CREAT = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [36 x i8] c"Failed to open destination file: %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
br label %4
4: ; preds = %10, %2
%5 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #4
switch i32 %5, label %8 [
i32 -1, label %12
i32 119, label %10
i32 115, label %6
i32 106, label %7
]
6: ; preds = %4
br label %10
7: ; preds = %4
br label %10
8: ; preds = %4
%9 = tail call i32 @usage() #4
br label %86
10: ; preds = %4, %7, %6
%11 = phi ptr [ @include_jump, %7 ], [ @sort_records, %6 ], [ @wide_records, %4 ]
store i32 1, ptr %11, align 4, !tbaa !6
br label %4, !llvm.loop !10
12: ; preds = %4
%13 = load i32, ptr @optind, align 4, !tbaa !6
%14 = add nsw i32 %13, 2
%15 = icmp eq i32 %14, %0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @usage() #4
br label %86
18: ; preds = %12
%19 = sext i32 %13 to i64
%20 = getelementptr inbounds ptr, ptr %1, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !12
%22 = load i8, ptr %21, align 1
%23 = icmp eq i8 %22, 45
br i1 %23, label %24, label %28
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %21, i64 1
%26 = load i8, ptr %25, align 1
%27 = icmp eq i8 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %18, %24
%29 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%30 = tail call i32 (ptr, i32, ...) @open(ptr noundef nonnull %21, i32 noundef %29) #4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %38
32: ; preds = %28
%33 = load i32, ptr @stderr, align 4, !tbaa !6
%34 = load i32, ptr @errno, align 4, !tbaa !6
%35 = tail call ptr @strerror(i32 noundef %34) #4
%36 = tail call i32 @fprintf(i32 noundef %33, ptr noundef nonnull @.str.2, ptr noundef %35) #4
%37 = tail call i32 @usage() #4
br label %86
38: ; preds = %24, %28
%39 = phi i32 [ %30, %28 ], [ 0, %24 ]
%40 = call i64 @fstat(i32 noundef %39, ptr noundef nonnull %3) #4
%41 = icmp eq i64 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %38
%43 = call i32 @perror(ptr noundef nonnull @.str.3) #4
br label %86
44: ; preds = %38
%45 = load i32, ptr %3, align 4, !tbaa !14
%46 = load i32, ptr @PROT_READ, align 4, !tbaa !6
%47 = load i32, ptr @MAP_SHARED, align 4, !tbaa !6
%48 = call ptr @mmap(ptr noundef null, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %39, i32 noundef 0) #4
%49 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !12
%50 = icmp eq ptr %48, %49
br i1 %50, label %51, label %53
51: ; preds = %44
%52 = call i32 @perror(ptr noundef nonnull @.str.4) #4
br label %86
53: ; preds = %44
%54 = load i32, ptr @optind, align 4, !tbaa !6
%55 = sext i32 %54 to i64
%56 = getelementptr ptr, ptr %1, i64 %55
%57 = getelementptr i8, ptr %56, i64 8
%58 = load ptr, ptr %57, align 8, !tbaa !12
%59 = load i8, ptr %58, align 1
%60 = icmp eq i8 %59, 45
br i1 %60, label %61, label %65
61: ; preds = %53
%62 = getelementptr inbounds i8, ptr %58, i64 1
%63 = load i8, ptr %62, align 1
%64 = icmp eq i8 %63, 0
br i1 %64, label %79, label %65
65: ; preds = %53, %61
%66 = load i32, ptr @O_TRUNC, align 4, !tbaa !6
%67 = load i32, ptr @O_CREAT, align 4, !tbaa !6
%68 = or i32 %67, %66
%69 = load i32, ptr @O_WRONLY, align 4, !tbaa !6
%70 = or i32 %68, %69
%71 = call i32 (ptr, i32, ...) @open(ptr noundef nonnull %58, i32 noundef %70, i32 noundef 420) #4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %79
73: ; preds = %65
%74 = load i32, ptr @stderr, align 4, !tbaa !6
%75 = load i32, ptr @errno, align 4, !tbaa !6
%76 = call ptr @strerror(i32 noundef %75) #4
%77 = call i32 @fprintf(i32 noundef %74, ptr noundef nonnull @.str.5, ptr noundef %76) #4
%78 = call i32 @usage() #4
br label %86
79: ; preds = %61, %65
%80 = phi i32 [ %71, %65 ], [ 1, %61 ]
%81 = load i32, ptr %3, align 4, !tbaa !14
%82 = call i64 @process_ihex(ptr noundef %48, i32 noundef %81) #4
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %79
%85 = call i32 @output_records(i32 noundef %80) #4
br label %86
86: ; preds = %79, %84, %73, %51, %42, %32, %16, %8
%87 = phi i32 [ %9, %8 ], [ %17, %16 ], [ %37, %32 ], [ 1, %42 ], [ 1, %51 ], [ %78, %73 ], [ %85, %84 ], [ 1, %79 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %87
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @process_ihex(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @output_records(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"stat", !7, i64 0}
|
linux_tools_firmware_extr_ihex2fw.c_main
|
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_unit_set_invocation_id.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_set_invocation_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"
%struct.TYPE_8__ = type { ptr, i32, ptr }
@id128_hash_ops = dso_local global i32 0, align 4
@SD_ID128_NULL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @unit_set_invocation_id(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = tail call i64 @sd_id128_equal(i32 noundef %5, i32 noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %36
8: ; preds = %2
%9 = load i32, ptr %4, align 8, !tbaa !5
%10 = tail call i64 @sd_id128_is_null(i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !11
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i32 @hashmap_remove_value(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %0) #2
br label %17
17: ; preds = %12, %8
%18 = tail call i64 @sd_id128_is_null(i32 noundef %1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !11
%23 = tail call i32 @hashmap_ensure_allocated(ptr noundef %22, ptr noundef nonnull @id128_hash_ops) #2
%24 = icmp slt i32 %23, 0
br i1 %24, label %32, label %25
25: ; preds = %20
store i32 %1, ptr %4, align 8, !tbaa !5
%26 = load ptr, ptr %0, align 8, !tbaa !14
%27 = tail call i32 @sd_id128_to_string(i32 noundef %1, ptr noundef %26) #2
%28 = load ptr, ptr %21, align 8, !tbaa !11
%29 = load i32, ptr %28, align 4, !tbaa !12
%30 = tail call i32 @hashmap_put(i32 noundef %29, ptr noundef nonnull %4, ptr noundef nonnull %0) #2
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %17, %25, %20
%33 = phi i32 [ %23, %20 ], [ %30, %25 ], [ 0, %17 ]
%34 = load i32, ptr @SD_ID128_NULL, align 4, !tbaa !15
store i32 %34, ptr %4, align 8, !tbaa !5
%35 = load ptr, ptr %0, align 8, !tbaa !14
store i64 0, ptr %35, align 8, !tbaa !16
br label %36
36: ; preds = %25, %2, %32
%37 = phi i32 [ %33, %32 ], [ 0, %2 ], [ 0, %25 ]
ret i32 %37
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @sd_id128_equal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sd_id128_is_null(i32 noundef) local_unnamed_addr #1
declare i32 @hashmap_remove_value(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sd_id128_to_string(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_put(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, !10, i64 8}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !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 = !{!6, !7, i64 16}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_7__", !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_unit_set_invocation_id.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_set_invocation_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@id128_hash_ops = common global i32 0, align 4
@SD_ID128_NULL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @unit_set_invocation_id(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = tail call i64 @sd_id128_equal(i32 noundef %5, i32 noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %36
8: ; preds = %2
%9 = load i32, ptr %4, align 8, !tbaa !6
%10 = tail call i64 @sd_id128_is_null(i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call i32 @hashmap_remove_value(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %0) #2
br label %17
17: ; preds = %12, %8
%18 = tail call i64 @sd_id128_is_null(i32 noundef %1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %0, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = tail call i32 @hashmap_ensure_allocated(ptr noundef %22, ptr noundef nonnull @id128_hash_ops) #2
%24 = icmp slt i32 %23, 0
br i1 %24, label %32, label %25
25: ; preds = %20
store i32 %1, ptr %4, align 8, !tbaa !6
%26 = load ptr, ptr %0, align 8, !tbaa !15
%27 = tail call i32 @sd_id128_to_string(i32 noundef %1, ptr noundef %26) #2
%28 = load ptr, ptr %21, align 8, !tbaa !12
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = tail call i32 @hashmap_put(i32 noundef %29, ptr noundef nonnull %4, ptr noundef nonnull %0) #2
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %17, %25, %20
%33 = phi i32 [ %23, %20 ], [ %30, %25 ], [ 0, %17 ]
%34 = load i32, ptr @SD_ID128_NULL, align 4, !tbaa !16
store i32 %34, ptr %4, align 8, !tbaa !6
%35 = load ptr, ptr %0, align 8, !tbaa !15
store i64 0, ptr %35, align 8, !tbaa !17
br label %36
36: ; preds = %25, %2, %32
%37 = phi i32 [ %33, %32 ], [ 0, %2 ], [ 0, %25 ]
ret i32 %37
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @sd_id128_equal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sd_id128_is_null(i32 noundef) local_unnamed_addr #1
declare i32 @hashmap_remove_value(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sd_id128_to_string(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hashmap_put(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, !11, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !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 = !{!7, !8, i64 16}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_7__", !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
|
systemd_src_core_extr_unit.c_unit_set_invocation_id
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_irq.c_dispatch_port_event.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_irq.c_dispatch_port_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ib_event = type { i32, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"port %d %s.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dispatch_port_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dispatch_port_event(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ib_event, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = tail call i32 @ehca_info(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %3) #3
%7 = getelementptr inbounds %struct.ib_event, ptr %5, i64 0, i32 2
store ptr %0, ptr %7, align 8, !tbaa !5
store i32 %2, ptr %5, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.ib_event, ptr %5, i64 0, i32 1
store i32 %1, ptr %8, align 4, !tbaa !13
%9 = call i32 @ib_dispatch_event(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ehca_info(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ib_dispatch_event(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, !11, i64 8}
!6 = !{!"ib_event", !7, i64 0, !10, i64 4, !11, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_irq.c_dispatch_port_event.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_irq.c_dispatch_port_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ib_event = type { i32, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"port %d %s.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dispatch_port_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dispatch_port_event(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ib_event, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = tail call i32 @ehca_info(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %3) #3
%7 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %0, ptr %7, align 8, !tbaa !6
store i32 %2, ptr %5, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %1, ptr %8, align 4, !tbaa !14
%9 = call i32 @ib_dispatch_event(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ehca_info(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ib_dispatch_event(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, !12, i64 8}
!7 = !{!"ib_event", !8, i64 0, !11, i64 4, !12, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
|
fastsocket_kernel_drivers_infiniband_hw_ehca_extr_ehca_irq.c_dispatch_port_event
|
; ModuleID = 'AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_desc.c'
source_filename = "AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IDLESTATE_DESC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @cpuidle_state_desc(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @IDLESTATE_DESC, align 4, !tbaa !5
%4 = tail call ptr @cpuidle_state_get_one_string(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2
ret ptr %4
}
declare ptr @cpuidle_state_get_one_string(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/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_desc.c'
source_filename = "AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IDLESTATE_DESC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cpuidle_state_desc(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @IDLESTATE_DESC, align 4, !tbaa !6
%4 = tail call ptr @cpuidle_state_get_one_string(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2
ret ptr %4
}
declare ptr @cpuidle_state_get_one_string(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_tools_power_cpupower_lib_extr_cpuidle.c_cpuidle_state_desc
|
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_create_got_section.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_create_got_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._bfd_sparc_elf_link_hash_table = type { ptr, i64, i32, ptr, ptr }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c".got\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c".rela.got\00", align 1
@SEC_ALLOC = dso_local local_unnamed_addr global i32 0, align 4
@SEC_LOAD = dso_local local_unnamed_addr global i32 0, align 4
@SEC_HAS_CONTENTS = dso_local local_unnamed_addr global i32 0, align 4
@SEC_IN_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@SEC_LINKER_CREATED = dso_local local_unnamed_addr global i32 0, align 4
@SEC_READONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c".got.plt\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_got_section], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @create_got_section(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @_bfd_elf_create_got_section(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %39, label %5
5: ; preds = %2
%6 = tail call ptr @_bfd_sparc_elf_hash_table(ptr noundef %1) #2
%7 = tail call ptr @bfd_get_section_by_name(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = getelementptr inbounds %struct._bfd_sparc_elf_link_hash_table, ptr %6, i64 0, i32 4
store ptr %7, ptr %8, align 8, !tbaa !5
%9 = icmp ne ptr %7, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @BFD_ASSERT(i32 noundef %10) #2
%12 = load i32, ptr @SEC_ALLOC, align 4, !tbaa !12
%13 = load i32, ptr @SEC_LOAD, align 4, !tbaa !12
%14 = or i32 %13, %12
%15 = load i32, ptr @SEC_HAS_CONTENTS, align 4, !tbaa !12
%16 = or i32 %14, %15
%17 = load i32, ptr @SEC_IN_MEMORY, align 4, !tbaa !12
%18 = or i32 %16, %17
%19 = load i32, ptr @SEC_LINKER_CREATED, align 4, !tbaa !12
%20 = or i32 %18, %19
%21 = load i32, ptr @SEC_READONLY, align 4, !tbaa !12
%22 = or i32 %20, %21
%23 = tail call ptr @bfd_make_section_with_flags(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %22) #2
%24 = getelementptr inbounds %struct._bfd_sparc_elf_link_hash_table, ptr %6, i64 0, i32 3
store ptr %23, ptr %24, align 8, !tbaa !13
%25 = icmp eq ptr %23, null
br i1 %25, label %39, label %26
26: ; preds = %5
%27 = getelementptr inbounds %struct._bfd_sparc_elf_link_hash_table, ptr %6, i64 0, i32 2
%28 = load i32, ptr %27, align 8, !tbaa !14
%29 = tail call i32 @bfd_set_section_alignment(ptr noundef %0, ptr noundef nonnull %23, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %26
%32 = getelementptr inbounds %struct._bfd_sparc_elf_link_hash_table, ptr %6, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = tail call ptr @bfd_get_section_by_name(ptr noundef %0, ptr noundef nonnull @.str.2) #2
store ptr %36, ptr %6, align 8, !tbaa !16
%37 = icmp eq ptr %36, null
br i1 %37, label %39, label %38
38: ; preds = %35, %31
br label %39
39: ; preds = %35, %5, %26, %2, %38
%40 = phi ptr [ @TRUE, %38 ], [ @FALSE, %2 ], [ @FALSE, %26 ], [ @FALSE, %5 ], [ @FALSE, %35 ]
%41 = load i32, ptr %40, align 4, !tbaa !12
ret i32 %41
}
declare i32 @_bfd_elf_create_got_section(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @_bfd_sparc_elf_hash_table(ptr noundef) local_unnamed_addr #1
declare ptr @bfd_get_section_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BFD_ASSERT(i32 noundef) local_unnamed_addr #1
declare ptr @bfd_make_section_with_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_section_alignment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"_bfd_sparc_elf_link_hash_table", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_create_got_section.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_create_got_section.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
@.str = private unnamed_addr constant [5 x i8] c".got\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c".rela.got\00", align 1
@SEC_ALLOC = common local_unnamed_addr global i32 0, align 4
@SEC_LOAD = common local_unnamed_addr global i32 0, align 4
@SEC_HAS_CONTENTS = common local_unnamed_addr global i32 0, align 4
@SEC_IN_MEMORY = common local_unnamed_addr global i32 0, align 4
@SEC_LINKER_CREATED = common local_unnamed_addr global i32 0, align 4
@SEC_READONLY = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c".got.plt\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @create_got_section], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @create_got_section(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @_bfd_elf_create_got_section(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %39, label %5
5: ; preds = %2
%6 = tail call ptr @_bfd_sparc_elf_hash_table(ptr noundef %1) #2
%7 = tail call ptr @bfd_get_section_by_name(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = getelementptr inbounds i8, ptr %6, i64 32
store ptr %7, ptr %8, align 8, !tbaa !6
%9 = icmp ne ptr %7, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @BFD_ASSERT(i32 noundef %10) #2
%12 = load i32, ptr @SEC_ALLOC, align 4, !tbaa !13
%13 = load i32, ptr @SEC_LOAD, align 4, !tbaa !13
%14 = or i32 %13, %12
%15 = load i32, ptr @SEC_HAS_CONTENTS, align 4, !tbaa !13
%16 = or i32 %14, %15
%17 = load i32, ptr @SEC_IN_MEMORY, align 4, !tbaa !13
%18 = or i32 %16, %17
%19 = load i32, ptr @SEC_LINKER_CREATED, align 4, !tbaa !13
%20 = or i32 %18, %19
%21 = load i32, ptr @SEC_READONLY, align 4, !tbaa !13
%22 = or i32 %20, %21
%23 = tail call ptr @bfd_make_section_with_flags(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %6, i64 24
store ptr %23, ptr %24, align 8, !tbaa !14
%25 = icmp eq ptr %23, null
br i1 %25, label %39, label %26
26: ; preds = %5
%27 = getelementptr inbounds i8, ptr %6, i64 16
%28 = load i32, ptr %27, align 8, !tbaa !15
%29 = tail call i32 @bfd_set_section_alignment(ptr noundef %0, ptr noundef nonnull %23, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %26
%32 = getelementptr inbounds i8, ptr %6, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = tail call ptr @bfd_get_section_by_name(ptr noundef %0, ptr noundef nonnull @.str.2) #2
store ptr %36, ptr %6, align 8, !tbaa !17
%37 = icmp eq ptr %36, null
br i1 %37, label %39, label %38
38: ; preds = %35, %31
br label %39
39: ; preds = %35, %5, %26, %2, %38
%40 = phi ptr [ @TRUE, %38 ], [ @FALSE, %2 ], [ @FALSE, %26 ], [ @FALSE, %5 ], [ @FALSE, %35 ]
%41 = load i32, ptr %40, align 4, !tbaa !13
ret i32 %41
}
declare i32 @_bfd_elf_create_got_section(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @_bfd_sparc_elf_hash_table(ptr noundef) local_unnamed_addr #1
declare ptr @bfd_get_section_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BFD_ASSERT(i32 noundef) local_unnamed_addr #1
declare ptr @bfd_make_section_with_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_section_alignment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 32}
!7 = !{!"_bfd_sparc_elf_link_hash_table", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !8, i64 24}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !8, i64 0}
|
freebsd_contrib_binutils_bfd_extr_elfxx-sparc.c_create_got_section
|
; ModuleID = 'AnghaBench/radare2/libr/anal/extr_esil_trace.c_cmp_strings_by_leading_number.c'
source_filename = "AnghaBench/radare2/libr/anal/extr_esil_trace.c_cmp_strings_by_leading_number.c"
target datalayout = "e-m:e-p270:32:32-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 @cmp_strings_by_leading_number], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cmp_strings_by_leading_number(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @sdbkv_key(ptr noundef %0) #2
%4 = tail call ptr @sdbkv_key(ptr noundef %1) #2
br label %5
5: ; preds = %5, %2
%6 = phi i64 [ %15, %5 ], [ -1, %2 ]
%7 = phi i32 [ %14, %5 ], [ 0, %2 ]
%8 = phi i64 [ %13, %5 ], [ 0, %2 ]
%9 = getelementptr inbounds i8, ptr %3, i64 %8
%10 = load i8, ptr %9, align 1, !tbaa !5
%11 = add i8 %10, -48
%12 = icmp ult i8 %11, 10
%13 = add nuw i64 %8, 1
%14 = add nuw i32 %7, 1
%15 = add nsw i64 %6, 1
br i1 %12, label %5, label %16, !llvm.loop !8
16: ; preds = %5, %16
%17 = phi i64 [ %22, %16 ], [ 0, %5 ]
%18 = getelementptr inbounds i8, ptr %4, i64 %17
%19 = load i8, ptr %18, align 1, !tbaa !5
%20 = add i8 %19, -48
%21 = icmp ult i8 %20, 10
%22 = add nuw i64 %17, 1
br i1 %21, label %16, label %23, !llvm.loop !10
23: ; preds = %16
%24 = trunc i64 %8 to i32
%25 = trunc i64 %17 to i32
%26 = icmp eq i32 %24, 0
br i1 %26, label %75, label %27
27: ; preds = %23
%28 = icmp eq i32 %25, 0
br i1 %28, label %75, label %29
29: ; preds = %27
%30 = icmp ugt i32 %24, %25
br i1 %30, label %75, label %31
31: ; preds = %29
%32 = icmp ugt i32 %25, %24
br i1 %32, label %75, label %33
33: ; preds = %31
%34 = zext i32 %7 to i64
br label %45
35: ; preds = %52
%36 = add nuw nsw i64 %46, 1
%37 = icmp eq i64 %36, %34
br i1 %37, label %38, label %45, !llvm.loop !11
38: ; preds = %35
%39 = shl i64 %8, 32
%40 = add i64 %39, -4294967296
%41 = ashr exact i64 %40, 32
%42 = getelementptr inbounds i8, ptr %3, i64 %41
%43 = load i8, ptr %42, align 1, !tbaa !5
%44 = icmp eq i8 %43, 0
br i1 %44, label %69, label %59
45: ; preds = %33, %35
%46 = phi i64 [ 0, %33 ], [ %36, %35 ]
%47 = getelementptr inbounds i8, ptr %3, i64 %46
%48 = load i8, ptr %47, align 1, !tbaa !5
%49 = getelementptr inbounds i8, ptr %4, i64 %46
%50 = load i8, ptr %49, align 1, !tbaa !5
%51 = icmp slt i8 %48, %50
br i1 %51, label %75, label %52
52: ; preds = %45
%53 = icmp sgt i8 %48, %50
br i1 %53, label %75, label %35
54: ; preds = %67
%55 = add i64 %60, 1
%56 = getelementptr inbounds i8, ptr %3, i64 %55
%57 = load i8, ptr %56, align 1, !tbaa !5
%58 = icmp eq i8 %57, 0
br i1 %58, label %69, label %59, !llvm.loop !12
59: ; preds = %38, %54
%60 = phi i64 [ %55, %54 ], [ %6, %38 ]
%61 = phi i8 [ %57, %54 ], [ %43, %38 ]
%62 = getelementptr inbounds i8, ptr %4, i64 %60
%63 = load i8, ptr %62, align 1, !tbaa !5
%64 = icmp eq i8 %63, 0
%65 = icmp sgt i8 %61, %63
%66 = or i1 %64, %65
br i1 %66, label %75, label %67
67: ; preds = %59
%68 = icmp slt i8 %61, %63
br i1 %68, label %75, label %54
69: ; preds = %54, %38
%70 = phi i64 [ %41, %38 ], [ %55, %54 ]
%71 = getelementptr inbounds i8, ptr %4, i64 %70
%72 = load i8, ptr %71, align 1, !tbaa !5
%73 = icmp ne i8 %72, 0
%74 = sext i1 %73 to i32
br label %75
75: ; preds = %52, %45, %67, %59, %69, %31, %29, %27, %23
%76 = phi i32 [ 1, %23 ], [ -1, %27 ], [ 1, %29 ], [ -1, %31 ], [ %74, %69 ], [ -1, %67 ], [ 1, %59 ], [ 1, %52 ], [ -1, %45 ]
ret i32 %76
}
declare ptr @sdbkv_key(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
|
; ModuleID = 'AnghaBench/radare2/libr/anal/extr_esil_trace.c_cmp_strings_by_leading_number.c'
source_filename = "AnghaBench/radare2/libr/anal/extr_esil_trace.c_cmp_strings_by_leading_number.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 @cmp_strings_by_leading_number], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 2) i32 @cmp_strings_by_leading_number(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @sdbkv_key(ptr noundef %0) #2
%4 = tail call ptr @sdbkv_key(ptr noundef %1) #2
br label %5
5: ; preds = %5, %2
%6 = phi i64 [ %15, %5 ], [ -1, %2 ]
%7 = phi i32 [ %14, %5 ], [ 0, %2 ]
%8 = phi i64 [ %13, %5 ], [ 0, %2 ]
%9 = getelementptr inbounds i8, ptr %3, i64 %8
%10 = load i8, ptr %9, align 1, !tbaa !6
%11 = add i8 %10, -48
%12 = icmp ult i8 %11, 10
%13 = add nuw nsw i64 %8, 1
%14 = add nuw i32 %7, 1
%15 = add nsw i64 %6, 1
br i1 %12, label %5, label %16, !llvm.loop !9
16: ; preds = %5, %16
%17 = phi i64 [ %22, %16 ], [ 0, %5 ]
%18 = getelementptr inbounds i8, ptr %4, i64 %17
%19 = load i8, ptr %18, align 1, !tbaa !6
%20 = add i8 %19, -48
%21 = icmp ult i8 %20, 10
%22 = add nuw nsw i64 %17, 1
br i1 %21, label %16, label %23, !llvm.loop !11
23: ; preds = %16
%24 = icmp eq i64 %8, 0
br i1 %24, label %73, label %25
25: ; preds = %23
%26 = icmp eq i64 %17, 0
br i1 %26, label %73, label %27
27: ; preds = %25
%28 = icmp ugt i64 %8, %17
br i1 %28, label %73, label %29
29: ; preds = %27
%30 = icmp ugt i64 %17, %8
br i1 %30, label %73, label %31
31: ; preds = %29
%32 = zext i32 %7 to i64
br label %43
33: ; preds = %50
%34 = add nuw nsw i64 %44, 1
%35 = icmp eq i64 %34, %32
br i1 %35, label %36, label %43, !llvm.loop !12
36: ; preds = %33
%37 = shl i64 %8, 32
%38 = add i64 %37, -4294967296
%39 = ashr exact i64 %38, 32
%40 = getelementptr inbounds i8, ptr %3, i64 %39
%41 = load i8, ptr %40, align 1, !tbaa !6
%42 = icmp eq i8 %41, 0
br i1 %42, label %67, label %57
43: ; preds = %31, %33
%44 = phi i64 [ 0, %31 ], [ %34, %33 ]
%45 = getelementptr inbounds i8, ptr %3, i64 %44
%46 = load i8, ptr %45, align 1, !tbaa !6
%47 = getelementptr inbounds i8, ptr %4, i64 %44
%48 = load i8, ptr %47, align 1, !tbaa !6
%49 = icmp slt i8 %46, %48
br i1 %49, label %73, label %50
50: ; preds = %43
%51 = icmp sgt i8 %46, %48
br i1 %51, label %73, label %33
52: ; preds = %65
%53 = add nsw i64 %58, 1
%54 = getelementptr inbounds i8, ptr %3, i64 %53
%55 = load i8, ptr %54, align 1, !tbaa !6
%56 = icmp eq i8 %55, 0
br i1 %56, label %67, label %57, !llvm.loop !13
57: ; preds = %36, %52
%58 = phi i64 [ %53, %52 ], [ %6, %36 ]
%59 = phi i8 [ %55, %52 ], [ %41, %36 ]
%60 = getelementptr inbounds i8, ptr %4, i64 %58
%61 = load i8, ptr %60, align 1, !tbaa !6
%62 = icmp eq i8 %61, 0
%63 = icmp sgt i8 %59, %61
%64 = or i1 %62, %63
br i1 %64, label %73, label %65
65: ; preds = %57
%66 = icmp slt i8 %59, %61
br i1 %66, label %73, label %52
67: ; preds = %52, %36
%68 = phi i64 [ %39, %36 ], [ %53, %52 ]
%69 = getelementptr inbounds i8, ptr %4, i64 %68
%70 = load i8, ptr %69, align 1, !tbaa !6
%71 = icmp ne i8 %70, 0
%72 = sext i1 %71 to i32
br label %73
73: ; preds = %50, %43, %65, %57, %67, %29, %27, %25, %23
%74 = phi i32 [ 1, %23 ], [ -1, %25 ], [ 1, %27 ], [ -1, %29 ], [ %72, %67 ], [ -1, %65 ], [ 1, %57 ], [ 1, %50 ], [ -1, %43 ]
ret i32 %74
}
declare ptr @sdbkv_key(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
|
radare2_libr_anal_extr_esil_trace.c_cmp_strings_by_leading_number
|
; ModuleID = 'AnghaBench/freebsd/tools/tools/net80211/w00t/ap/extr_ap.c_send_assoc.c'
source_filename = "AnghaBench/freebsd/tools/tools/net80211/w00t/ap/extr_ap.c_send_assoc.c"
target datalayout = "e-m:e-p270:32:32-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_frame = type { ptr, i32, i32 }
@IEEE80211_FC0_TYPE_MGT = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_FC0_SUBTYPE_ASSOC_RESP = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_CAPINFO_ESS = dso_local local_unnamed_addr global i8 0, align 1
@.str = private unnamed_addr constant [24 x i8] c"sending assoc response\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @send_assoc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [4096 x i8], align 16
call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4096) #3
%5 = call i32 @fill_basic(ptr noundef nonnull %3, ptr noundef %0) #3
%6 = getelementptr inbounds %struct.ieee80211_frame, ptr %3, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = call i32 @memcpy(i32 noundef %7, ptr noundef %1, i32 noundef 6) #3
%9 = getelementptr inbounds %struct.ieee80211_frame, ptr %3, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !11
%11 = load ptr, ptr %0, align 8, !tbaa !12
%12 = call i32 @memcpy(i32 noundef %10, ptr noundef %11, i32 noundef 6) #3
%13 = load i32, ptr @IEEE80211_FC0_TYPE_MGT, align 4, !tbaa !14
%14 = load ptr, ptr %3, align 16, !tbaa !15
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !14
%17 = load i32, ptr @IEEE80211_FC0_SUBTYPE_ASSOC_RESP, align 4, !tbaa !14
%18 = or i32 %17, %16
store i32 %18, ptr %14, align 4, !tbaa !14
%19 = getelementptr inbounds %struct.ieee80211_frame, ptr %3, i64 1
%20 = load i8, ptr @IEEE80211_CAPINFO_ESS, align 1, !tbaa !16
%21 = load i8, ptr %19, align 16, !tbaa !16
%22 = or i8 %21, %20
store i8 %22, ptr %19, align 16, !tbaa !16
%23 = getelementptr inbounds i8, ptr %3, i64 22
%24 = getelementptr inbounds i8, ptr %3, i64 26
store <4 x i8> <i8 1, i8 4, i8 -126, i8 -124>, ptr %23, align 2, !tbaa !16
%25 = getelementptr inbounds i8, ptr %3, i64 27
store i8 11, ptr %24, align 2, !tbaa !16
store i8 22, ptr %25, align 1, !tbaa !16
%26 = call i32 @printf(ptr noundef nonnull @.str) #3
%27 = call i32 @send_frame(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 28) #3
call void @llvm.lifetime.end.p0(i64 4096, 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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fill_basic(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @send_frame(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, !10, i64 12}
!6 = !{!"ieee80211_frame", !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 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"params", !7, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!8, !8, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/tools/tools/net80211/w00t/ap/extr_ap.c_send_assoc.c'
source_filename = "AnghaBench/freebsd/tools/tools/net80211/w00t/ap/extr_ap.c_send_assoc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE80211_FC0_TYPE_MGT = common local_unnamed_addr global i32 0, align 4
@IEEE80211_FC0_SUBTYPE_ASSOC_RESP = common local_unnamed_addr global i32 0, align 4
@IEEE80211_CAPINFO_ESS = common local_unnamed_addr global i8 0, align 1
@.str = private unnamed_addr constant [24 x i8] c"sending assoc response\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @send_assoc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [4096 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4096) #3
%5 = call i32 @fill_basic(ptr noundef nonnull %3, ptr noundef %0) #3
%6 = getelementptr inbounds i8, ptr %3, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = call i32 @memcpy(i32 noundef %7, ptr noundef %1, i32 noundef 6) #3
%9 = getelementptr inbounds i8, ptr %3, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = load ptr, ptr %0, align 8, !tbaa !13
%12 = call i32 @memcpy(i32 noundef %10, ptr noundef %11, i32 noundef 6) #3
%13 = load i32, ptr @IEEE80211_FC0_TYPE_MGT, align 4, !tbaa !15
%14 = load ptr, ptr %3, align 8, !tbaa !16
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !15
%17 = load i32, ptr @IEEE80211_FC0_SUBTYPE_ASSOC_RESP, align 4, !tbaa !15
%18 = or i32 %17, %16
store i32 %18, ptr %14, align 4, !tbaa !15
%19 = getelementptr inbounds i8, ptr %3, i64 16
%20 = load i8, ptr @IEEE80211_CAPINFO_ESS, align 1, !tbaa !17
%21 = load i8, ptr %19, align 1, !tbaa !17
%22 = or i8 %21, %20
store i8 %22, ptr %19, align 1, !tbaa !17
%23 = getelementptr inbounds i8, ptr %3, i64 22
%24 = getelementptr inbounds i8, ptr %3, i64 26
store <4 x i8> <i8 1, i8 4, i8 -126, i8 -124>, ptr %23, align 1, !tbaa !17
%25 = getelementptr inbounds i8, ptr %3, i64 27
store i8 11, ptr %24, align 1, !tbaa !17
store i8 22, ptr %25, align 1, !tbaa !17
%26 = call i32 @printf(ptr noundef nonnull @.str) #3
%27 = call i32 @send_frame(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 28) #3
call void @llvm.lifetime.end.p0(i64 4096, 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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fill_basic(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @send_frame(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, !11, i64 12}
!7 = !{!"ieee80211_frame", !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 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"params", !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!9, !9, i64 0}
|
freebsd_tools_tools_net80211_w00t_ap_extr_ap.c_send_assoc
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib3000mc.c_dib3000mc_get_tuner_i2c_master.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib3000mc.c_dib3000mc_get_tuner_i2c_master.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DIBX000_I2C_INTERFACE_TUNER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @dib3000mc_get_tuner_i2c_master(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @DIBX000_I2C_INTERFACE_TUNER, align 4, !tbaa !10
%5 = tail call ptr @dibx000_get_i2c_adapter(ptr noundef %3, i32 noundef %4, i32 noundef %1) #2
ret ptr %5
}
declare ptr @dibx000_get_i2c_adapter(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 = !{!"dvb_frontend", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib3000mc.c_dib3000mc_get_tuner_i2c_master.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib3000mc.c_dib3000mc_get_tuner_i2c_master.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIBX000_I2C_INTERFACE_TUNER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @dib3000mc_get_tuner_i2c_master(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @DIBX000_I2C_INTERFACE_TUNER, align 4, !tbaa !11
%5 = tail call ptr @dibx000_get_i2c_adapter(ptr noundef %3, i32 noundef %4, i32 noundef %1) #2
ret ptr %5
}
declare ptr @dibx000_get_i2c_adapter(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 = !{!"dvb_frontend", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
linux_drivers_media_dvb-frontends_extr_dib3000mc.c_dib3000mc_get_tuner_i2c_master
|
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_auth_zone_set_fallback.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_auth_zone_set_fallback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"auth zone fallback, expected yes or no, got %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @auth_zone_set_fallback(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str.1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @log_err(ptr noundef nonnull @.str.2, ptr noundef %1) #2
br label %14
10: ; preds = %5, %2
%11 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
store i32 %13, ptr %0, align 4, !tbaa !5
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ 0, %8 ], [ 1, %10 ]
ret i32 %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"auth_zone", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_auth_zone_set_fallback.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_auth_zone_set_fallback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"auth zone fallback, expected yes or no, got %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @auth_zone_set_fallback(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str.1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @log_err(ptr noundef nonnull @.str.2, ptr noundef %1) #2
br label %14
10: ; preds = %5, %2
%11 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
store i32 %13, ptr %0, align 4, !tbaa !6
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ 0, %8 ], [ 1, %10 ]
ret i32 %15
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"auth_zone", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_unbound_services_extr_authzone.c_auth_zone_set_fallback
|
; ModuleID = 'AnghaBench/linux/drivers/staging/ralink-gdma/extr_ralink-gdma.c_gdma_dma_maxburst.c'
source_filename = "AnghaBench/linux/drivers/staging/ralink-gdma/extr_ralink-gdma.c_gdma_dma_maxburst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GDMA_TRANSFER_SIZE_4BYTE = dso_local local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_8BYTE = dso_local local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_16BYTE = dso_local local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_32BYTE = dso_local local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_64BYTE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gdma_dma_maxburst], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @gdma_dma_maxburst(i32 noundef %0) #0 {
%2 = icmp slt i32 %0, 2
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ult i32 %0, 4
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = icmp ult i32 %0, 8
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = icmp ult i32 %0, 16
%9 = select i1 %8, ptr @GDMA_TRANSFER_SIZE_32BYTE, ptr @GDMA_TRANSFER_SIZE_64BYTE
br label %10
10: ; preds = %7, %5, %3, %1
%11 = phi ptr [ @GDMA_TRANSFER_SIZE_4BYTE, %1 ], [ @GDMA_TRANSFER_SIZE_8BYTE, %3 ], [ @GDMA_TRANSFER_SIZE_16BYTE, %5 ], [ %9, %7 ]
%12 = load i32, ptr %11, align 4, !tbaa !5
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/ralink-gdma/extr_ralink-gdma.c_gdma_dma_maxburst.c'
source_filename = "AnghaBench/linux/drivers/staging/ralink-gdma/extr_ralink-gdma.c_gdma_dma_maxburst.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GDMA_TRANSFER_SIZE_4BYTE = common local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_8BYTE = common local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_16BYTE = common local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_32BYTE = common local_unnamed_addr global i32 0, align 4
@GDMA_TRANSFER_SIZE_64BYTE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gdma_dma_maxburst], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @gdma_dma_maxburst(i32 noundef %0) #0 {
%2 = icmp slt i32 %0, 2
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ult i32 %0, 4
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = icmp ult i32 %0, 8
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = icmp ult i32 %0, 16
%9 = select i1 %8, ptr @GDMA_TRANSFER_SIZE_32BYTE, ptr @GDMA_TRANSFER_SIZE_64BYTE
br label %10
10: ; preds = %7, %5, %3, %1
%11 = phi ptr [ @GDMA_TRANSFER_SIZE_4BYTE, %1 ], [ @GDMA_TRANSFER_SIZE_8BYTE, %3 ], [ @GDMA_TRANSFER_SIZE_16BYTE, %5 ], [ %9, %7 ]
%12 = load i32, ptr %11, align 4, !tbaa !6
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_staging_ralink-gdma_extr_ralink-gdma.c_gdma_dma_maxburst
|
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_dma-iommu.c_iommu_dma_map_page.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_dma-iommu.c_iommu_dma_map_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DMA_ATTR_SKIP_CPU_SYNC = dso_local local_unnamed_addr global i64 0, align 8
@DMA_MAPPING_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @iommu_dma_map_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @iommu_dma_map_page(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = tail call i64 @page_to_phys(ptr noundef %1) #2
%8 = add i64 %7, %2
%9 = tail call i32 @dev_is_dma_coherent(ptr noundef %0) #2
%10 = tail call i32 @dma_info_to_prot(i32 noundef %4, i32 noundef %9, i64 noundef %5) #2
%11 = tail call i64 @__iommu_dma_map(ptr noundef %0, i64 noundef %8, i64 noundef %3, i32 noundef %10) #2
%12 = icmp eq i32 %9, 0
br i1 %12, label %13, label %22
13: ; preds = %6
%14 = load i64, ptr @DMA_ATTR_SKIP_CPU_SYNC, align 8, !tbaa !5
%15 = and i64 %14, %5
%16 = icmp ne i64 %15, 0
%17 = load i64, ptr @DMA_MAPPING_ERROR, align 8
%18 = icmp eq i64 %11, %17
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %22, label %20
20: ; preds = %13
%21 = tail call i32 @arch_sync_dma_for_device(ptr noundef %0, i64 noundef %8, i64 noundef %3, i32 noundef %4) #2
br label %22
22: ; preds = %20, %13, %6
ret i64 %11
}
declare i64 @page_to_phys(ptr noundef) local_unnamed_addr #1
declare i32 @dev_is_dma_coherent(ptr noundef) local_unnamed_addr #1
declare i32 @dma_info_to_prot(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @__iommu_dma_map(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arch_sync_dma_for_device(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_dma-iommu.c_iommu_dma_map_page.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_dma-iommu.c_iommu_dma_map_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_ATTR_SKIP_CPU_SYNC = common local_unnamed_addr global i64 0, align 8
@DMA_MAPPING_ERROR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @iommu_dma_map_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @iommu_dma_map_page(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = tail call i64 @page_to_phys(ptr noundef %1) #2
%8 = add i64 %7, %2
%9 = tail call i32 @dev_is_dma_coherent(ptr noundef %0) #2
%10 = tail call i32 @dma_info_to_prot(i32 noundef %4, i32 noundef %9, i64 noundef %5) #2
%11 = tail call i64 @__iommu_dma_map(ptr noundef %0, i64 noundef %8, i64 noundef %3, i32 noundef %10) #2
%12 = icmp eq i32 %9, 0
br i1 %12, label %13, label %22
13: ; preds = %6
%14 = load i64, ptr @DMA_ATTR_SKIP_CPU_SYNC, align 8, !tbaa !6
%15 = and i64 %14, %5
%16 = icmp ne i64 %15, 0
%17 = load i64, ptr @DMA_MAPPING_ERROR, align 8
%18 = icmp eq i64 %11, %17
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %22, label %20
20: ; preds = %13
%21 = tail call i32 @arch_sync_dma_for_device(ptr noundef %0, i64 noundef %8, i64 noundef %3, i32 noundef %4) #2
br label %22
22: ; preds = %20, %13, %6
ret i64 %11
}
declare i64 @page_to_phys(ptr noundef) local_unnamed_addr #1
declare i32 @dev_is_dma_coherent(ptr noundef) local_unnamed_addr #1
declare i32 @dma_info_to_prot(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @__iommu_dma_map(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arch_sync_dma_for_device(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_iommu_extr_dma-iommu.c_iommu_dma_map_page
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_nchan.c_chan_mark_dead.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_nchan.c_chan_mark_dead.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SSH_CHANNEL_ZOMBIE = 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 @chan_mark_dead(ptr nocapture noundef readnone %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SSH_CHANNEL_ZOMBIE, align 4, !tbaa !5
store i32 %3, ptr %1, align 4, !tbaa !9
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 0}
!10 = !{!"TYPE_3__", !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_nchan.c_chan_mark_dead.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_nchan.c_chan_mark_dead.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSH_CHANNEL_ZOMBIE = 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 @chan_mark_dead(ptr nocapture noundef readnone %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SSH_CHANNEL_ZOMBIE, align 4, !tbaa !6
store i32 %3, ptr %1, align 4, !tbaa !10
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 0}
!11 = !{!"TYPE_3__", !7, i64 0}
|
freebsd_crypto_openssh_extr_nchan.c_chan_mark_dead
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_main.c_cleanup_link_status_change_wq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_main.c_cleanup_link_status_change_wq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cleanup_link_status_change_wq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cleanup_link_status_change_wq(ptr noundef %0) #0 {
%2 = tail call ptr @GET_LIO(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1
%7 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %6) #2
%8 = load i64, ptr %2, align 8, !tbaa !5
%9 = tail call i32 @destroy_workqueue(i64 noundef %8) #2
br label %10
10: ; preds = %5, %1
ret void
}
declare ptr @GET_LIO(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_workqueue(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, !8, i64 0}
!6 = !{!"lio", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_main.c_cleanup_link_status_change_wq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_lio_main.c_cleanup_link_status_change_wq.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 @cleanup_link_status_change_wq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cleanup_link_status_change_wq(ptr noundef %0) #0 {
%2 = tail call ptr @GET_LIO(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %6) #2
%8 = load i64, ptr %2, align 8, !tbaa !6
%9 = tail call i32 @destroy_workqueue(i64 noundef %8) #2
br label %10
10: ; preds = %5, %1
ret void
}
declare ptr @GET_LIO(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @destroy_workqueue(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, !9, i64 0}
!7 = !{!"lio", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !10, i64 0}
|
linux_drivers_net_ethernet_cavium_liquidio_extr_lio_main.c_cleanup_link_status_change_wq
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__resume.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__resume.c"
target datalayout = "e-m:e-p270:32:32-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 @perf_evlist__resume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @perf_evlist__resume(ptr noundef %0) #0 {
%2 = tail call i32 @perf_evlist__set_paused(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @perf_evlist__set_paused(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__resume.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__resume.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 @perf_evlist__resume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @perf_evlist__resume(ptr noundef %0) #0 {
%2 = tail call i32 @perf_evlist__set_paused(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @perf_evlist__set_paused(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_tools_perf_util_extr_evlist.c_perf_evlist__resume
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-input.c_match_keycode.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-input.c_match_keycode.c"
target datalayout = "e-m:e-p270:32:32-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.hid_usage = type { i64, i32 }
@EV_KEY = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @match_keycode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @match_keycode(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @EV_KEY, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = getelementptr inbounds %struct.hid_usage, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = icmp eq i32 %9, %2
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %3
%13 = phi i32 [ 0, %3 ], [ %11, %7 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hid_usage", !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 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-input.c_match_keycode.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-input.c_match_keycode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EV_KEY = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @match_keycode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @match_keycode(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @EV_KEY, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = icmp eq i32 %9, %2
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %3
%13 = phi i32 [ 0, %3 ], [ %11, %7 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hid_usage", !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 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
|
linux_drivers_hid_extr_hid-input.c_match_keycode
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/mixart/extr_mixart_hwdep.c_mixart_hwdep_dsp_status.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/mixart/extr_mixart_hwdep.c_mixart_hwdep_dsp_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_hwdep_dsp_status = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [7 x i8] c"miXart\00", align 1
@MIXART_HARDW_FILES_MAX_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@MIXART_MOTHERBOARD_ELF_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@MIXART_DRIVER_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mixart_hwdep_dsp_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mixart_hwdep_dsp_status(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.snd_hwdep_dsp_status, ptr %1, i64 0, i32 3
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @strcpy(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr @MIXART_HARDW_FILES_MAX_INDEX, align 4, !tbaa !13
%8 = getelementptr inbounds %struct.snd_hwdep_dsp_status, ptr %1, i64 0, i32 2
store i32 %7, ptr %8, align 4, !tbaa !14
%9 = load i32, ptr %3, align 4, !tbaa !15
%10 = load i32, ptr @MIXART_MOTHERBOARD_ELF_INDEX, align 4, !tbaa !13
%11 = shl nuw i32 1, %10
%12 = and i32 %11, %9
%13 = icmp eq i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !17
br label %15
15: ; preds = %14, %2
%16 = load i32, ptr @MIXART_DRIVER_VERSION, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.snd_hwdep_dsp_status, ptr %1, i64 0, i32 1
store i32 %16, ptr %17, align 4, !tbaa !18
ret i32 0
}
declare i32 @strcpy(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 = !{!"snd_hwdep", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 12}
!11 = !{!"snd_hwdep_dsp_status", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"mixart_mgr", !12, i64 0}
!17 = !{!11, !12, i64 0}
!18 = !{!11, !12, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/mixart/extr_mixart_hwdep.c_mixart_hwdep_dsp_status.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/mixart/extr_mixart_hwdep.c_mixart_hwdep_dsp_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"miXart\00", align 1
@MIXART_HARDW_FILES_MAX_INDEX = common local_unnamed_addr global i32 0, align 4
@MIXART_MOTHERBOARD_ELF_INDEX = common local_unnamed_addr global i32 0, align 4
@MIXART_DRIVER_VERSION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mixart_hwdep_dsp_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mixart_hwdep_dsp_status(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @strcpy(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr @MIXART_HARDW_FILES_MAX_INDEX, align 4, !tbaa !14
%8 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %7, ptr %8, align 4, !tbaa !15
%9 = load i32, ptr %3, align 4, !tbaa !16
%10 = load i32, ptr @MIXART_MOTHERBOARD_ELF_INDEX, align 4, !tbaa !14
%11 = shl nuw i32 1, %10
%12 = and i32 %11, %9
%13 = icmp eq i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !18
br label %15
15: ; preds = %14, %2
%16 = load i32, ptr @MIXART_DRIVER_VERSION, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %16, ptr %17, align 4, !tbaa !19
ret i32 0
}
declare i32 @strcpy(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 = !{!"snd_hwdep", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 12}
!12 = !{!"snd_hwdep_dsp_status", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!17, !13, i64 0}
!17 = !{!"mixart_mgr", !13, i64 0}
!18 = !{!12, !13, i64 0}
!19 = !{!12, !13, i64 4}
|
fastsocket_kernel_sound_pci_mixart_extr_mixart_hwdep.c_mixart_hwdep_dsp_status
|
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_get.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@path_content = dso_local local_unnamed_addr global ptr null, align 8
@path_default_shader_preset = dso_local local_unnamed_addr global ptr null, align 8
@path_main_basename = dso_local local_unnamed_addr global ptr null, align 8
@path_core_options_file = dso_local local_unnamed_addr global ptr null, align 8
@subsystem_path = dso_local local_unnamed_addr global ptr null, align 8
@path_config_file = dso_local local_unnamed_addr global ptr null, align 8
@path_config_append_file = dso_local local_unnamed_addr global ptr null, align 8
@path_libretro = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @path_get(i32 noundef %0) local_unnamed_addr #0 {
switch i32 %0, label %27 [
i32 134, label %2
i32 131, label %4
i32 137, label %6
i32 132, label %8
i32 128, label %13
i32 136, label %15
i32 135, label %20
i32 133, label %25
]
2: ; preds = %1
%3 = load ptr, ptr @path_content, align 8, !tbaa !5
br label %27
4: ; preds = %1
%5 = load ptr, ptr @path_default_shader_preset, align 8, !tbaa !5
br label %27
6: ; preds = %1
%7 = load ptr, ptr @path_main_basename, align 8, !tbaa !5
br label %27
8: ; preds = %1
%9 = tail call i32 @path_is_empty(i32 noundef 132) #2
%10 = icmp eq i32 %9, 0
%11 = load ptr, ptr @path_core_options_file, align 8
%12 = select i1 %10, ptr %11, ptr null
br label %27
13: ; preds = %1
%14 = load ptr, ptr @subsystem_path, align 8, !tbaa !5
br label %27
15: ; preds = %1
%16 = tail call i32 @path_is_empty(i32 noundef 136) #2
%17 = icmp eq i32 %16, 0
%18 = load ptr, ptr @path_config_file, align 8
%19 = select i1 %17, ptr %18, ptr null
br label %27
20: ; preds = %1
%21 = tail call i32 @path_is_empty(i32 noundef 135) #2
%22 = icmp eq i32 %21, 0
%23 = load ptr, ptr @path_config_append_file, align 8
%24 = select i1 %22, ptr %23, ptr null
br label %27
25: ; preds = %1
%26 = load ptr, ptr @path_libretro, align 8, !tbaa !5
br label %27
27: ; preds = %20, %15, %8, %1, %25, %13, %6, %4, %2
%28 = phi ptr [ %26, %25 ], [ %14, %13 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ null, %1 ], [ %12, %8 ], [ %19, %15 ], [ %24, %20 ]
ret ptr %28
}
declare i32 @path_is_empty(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"}
|
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_get.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@path_content = common local_unnamed_addr global ptr null, align 8
@path_default_shader_preset = common local_unnamed_addr global ptr null, align 8
@path_main_basename = common local_unnamed_addr global ptr null, align 8
@path_core_options_file = common local_unnamed_addr global ptr null, align 8
@subsystem_path = common local_unnamed_addr global ptr null, align 8
@path_config_file = common local_unnamed_addr global ptr null, align 8
@path_config_append_file = common local_unnamed_addr global ptr null, align 8
@path_libretro = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @path_get(i32 noundef %0) local_unnamed_addr #0 {
switch i32 %0, label %27 [
i32 134, label %2
i32 131, label %4
i32 137, label %6
i32 132, label %8
i32 128, label %13
i32 136, label %15
i32 135, label %20
i32 133, label %25
]
2: ; preds = %1
%3 = load ptr, ptr @path_content, align 8, !tbaa !6
br label %27
4: ; preds = %1
%5 = load ptr, ptr @path_default_shader_preset, align 8, !tbaa !6
br label %27
6: ; preds = %1
%7 = load ptr, ptr @path_main_basename, align 8, !tbaa !6
br label %27
8: ; preds = %1
%9 = tail call i32 @path_is_empty(i32 noundef 132) #2
%10 = icmp eq i32 %9, 0
%11 = load ptr, ptr @path_core_options_file, align 8
%12 = select i1 %10, ptr %11, ptr null
br label %27
13: ; preds = %1
%14 = load ptr, ptr @subsystem_path, align 8, !tbaa !6
br label %27
15: ; preds = %1
%16 = tail call i32 @path_is_empty(i32 noundef 136) #2
%17 = icmp eq i32 %16, 0
%18 = load ptr, ptr @path_config_file, align 8
%19 = select i1 %17, ptr %18, ptr null
br label %27
20: ; preds = %1
%21 = tail call i32 @path_is_empty(i32 noundef 135) #2
%22 = icmp eq i32 %21, 0
%23 = load ptr, ptr @path_config_append_file, align 8
%24 = select i1 %22, ptr %23, ptr null
br label %27
25: ; preds = %1
%26 = load ptr, ptr @path_libretro, align 8, !tbaa !6
br label %27
27: ; preds = %20, %15, %8, %1, %25, %13, %6, %4, %2
%28 = phi ptr [ %26, %25 ], [ %14, %13 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ null, %1 ], [ %12, %8 ], [ %19, %15 ], [ %24, %20 ]
ret ptr %28
}
declare i32 @path_is_empty(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"}
|
RetroArch_griffin_extr_..retroarch.c_path_get
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_main.c_qlcnic_request_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_main.c_qlcnic_request_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.qlcnic_adapter = type { i32, i32, i32, ptr, ptr, i32, ptr, ptr }
%struct.net_device = type { ptr, i32 }
%struct.qlcnic_host_tx_ring = type { i32, i32 }
%struct.qlcnic_host_sds_ring = type { i32, i32 }
@QLCNIC_INTERRUPT_TEST = dso_local local_unnamed_addr global i64 0, align 8
@qlcnic_tmp_intr = dso_local local_unnamed_addr global i32 0, align 4
@IRQF_SHARED = dso_local local_unnamed_addr global i64 0, align 8
@QLCNIC_MSIX_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@qlcnic_msix_intr = dso_local local_unnamed_addr global i32 0, align 4
@QLCNIC_MSI_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@qlcnic_msi_intr = dso_local local_unnamed_addr global i32 0, align 4
@qlcnic_intr = dso_local local_unnamed_addr global i32 0, align 4
@qlcnic_83xx_intr = dso_local local_unnamed_addr global i32 0, align 4
@QLCNIC_LOOPBACK_TEST = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"qlcnic\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s-tx-0-rx-%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s-rx-%d\00", align 1
@QLCNIC_TX_INTR_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@qlcnic_msix_tx_intr = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"%s-tx-%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_request_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qlcnic_request_irq(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 7
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 4
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load i64, ptr @QLCNIC_INTERRUPT_TEST, align 8, !tbaa !16
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %1
%12 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @qlcnic_tmp_intr, align 4
%15 = select i1 %13, i32 undef, i32 %14
%16 = tail call i32 @QLCNIC_IS_MSI_FAMILY(ptr noundef nonnull %0) #2
%17 = icmp eq i32 %16, 0
%18 = load i64, ptr @IRQF_SHARED, align 8
%19 = select i1 %17, i64 %18, i64 0
br label %41
20: ; preds = %1
%21 = load i32, ptr %0, align 8, !tbaa !17
%22 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !18
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %20
%26 = load i32, ptr @qlcnic_msix_intr, align 4, !tbaa !18
br label %41
27: ; preds = %20
%28 = load i32, ptr @QLCNIC_MSI_ENABLED, align 4, !tbaa !18
%29 = and i32 %28, %21
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = load i32, ptr @qlcnic_msi_intr, align 4, !tbaa !18
br label %41
33: ; preds = %27
%34 = load i64, ptr @IRQF_SHARED, align 8, !tbaa !16
%35 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = load i32, ptr @qlcnic_intr, align 4, !tbaa !18
br label %41
39: ; preds = %33
%40 = load i32, ptr @qlcnic_83xx_intr, align 4, !tbaa !18
br label %41
41: ; preds = %11, %25, %37, %39, %31
%42 = phi i64 [ 0, %25 ], [ 0, %31 ], [ %34, %37 ], [ %34, %39 ], [ %19, %11 ]
%43 = phi i32 [ %26, %25 ], [ %32, %31 ], [ %38, %37 ], [ %40, %39 ], [ %15, %11 ]
%44 = getelementptr inbounds %struct.net_device, ptr %3, i64 0, i32 1
%45 = load i32, ptr %44, align 8, !tbaa !19
%46 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 5
store i32 %45, ptr %46, align 8, !tbaa !21
%47 = load ptr, ptr %6, align 8, !tbaa !12
%48 = load i64, ptr %47, align 8, !tbaa !13
%49 = load i64, ptr @QLCNIC_LOOPBACK_TEST, align 8, !tbaa !16
%50 = icmp eq i64 %48, %49
br i1 %50, label %139, label %51
51: ; preds = %41
%52 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %51
%55 = tail call i64 @qlcnic_83xx_check(ptr noundef nonnull %0) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %103, label %57
57: ; preds = %54
%58 = load i32, ptr %0, align 8, !tbaa !17
%59 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !18
%60 = and i32 %59, %58
%61 = icmp eq i32 %60, 0
br i1 %61, label %103, label %62
62: ; preds = %57, %51
%63 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 1
%64 = load i32, ptr %63, align 4, !tbaa !22
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %103
66: ; preds = %62
%67 = add nsw i32 %64, -1
%68 = zext nneg i32 %67 to i64
%69 = zext nneg i32 %64 to i64
br label %73
70: ; preds = %97
%71 = add nuw nsw i64 %74, 1
%72 = icmp eq i64 %71, %69
br i1 %72, label %103, label %73, !llvm.loop !23
73: ; preds = %66, %70
%74 = phi i64 [ 0, %66 ], [ %71, %70 ]
%75 = load ptr, ptr %5, align 8, !tbaa !25
%76 = getelementptr inbounds %struct.qlcnic_host_tx_ring, ptr %75, i64 %74
%77 = tail call i64 @qlcnic_82xx_check(ptr noundef %0) #2
%78 = icmp ne i64 %77, 0
%79 = icmp eq i64 %74, %68
%80 = select i1 %78, i1 %79, i1 false
br i1 %80, label %81, label %92
81: ; preds = %73
%82 = load i32, ptr %0, align 8, !tbaa !17
%83 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !18
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
%86 = load i32, ptr %76, align 4, !tbaa !27
br i1 %85, label %87, label %89
87: ; preds = %81
%88 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %86, i32 noundef 4, ptr noundef nonnull @.str) #2
br label %97
89: ; preds = %81
%90 = load ptr, ptr %3, align 8, !tbaa !29
%91 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %86, i32 noundef 4, ptr noundef nonnull @.str.1, ptr noundef %90, i32 noundef %67) #2
br label %97
92: ; preds = %73
%93 = load i32, ptr %76, align 4, !tbaa !27
%94 = load ptr, ptr %3, align 8, !tbaa !29
%95 = trunc i64 %74 to i32
%96 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %93, i32 noundef 4, ptr noundef nonnull @.str.2, ptr noundef %94, i32 noundef %95) #2
br label %97
97: ; preds = %87, %89, %92
%98 = getelementptr inbounds %struct.qlcnic_host_sds_ring, ptr %76, i64 0, i32 1
%99 = load i32, ptr %98, align 4, !tbaa !30
%100 = load i32, ptr %76, align 4, !tbaa !27
%101 = tail call i32 @request_irq(i32 noundef %99, i32 noundef %43, i64 noundef %42, i32 noundef %100, ptr noundef nonnull %76) #2
%102 = icmp eq i32 %101, 0
br i1 %102, label %70, label %139
103: ; preds = %70, %62, %57, %54
%104 = tail call i64 @qlcnic_83xx_check(ptr noundef %0) #2
%105 = icmp eq i64 %104, 0
br i1 %105, label %139, label %106
106: ; preds = %103
%107 = load i32, ptr %0, align 8, !tbaa !17
%108 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !18
%109 = and i32 %108, %107
%110 = icmp eq i32 %109, 0
br i1 %110, label %139, label %111
111: ; preds = %106
%112 = load i32, ptr @QLCNIC_TX_INTR_SHARED, align 4, !tbaa !18
%113 = and i32 %112, %107
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %139
115: ; preds = %111
%116 = load i32, ptr @qlcnic_msix_tx_intr, align 4, !tbaa !18
%117 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 3
%118 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 2
%119 = load i32, ptr %118, align 8, !tbaa !31
%120 = icmp sgt i32 %119, 0
br i1 %120, label %126, label %139
121: ; preds = %126
%122 = add nuw nsw i64 %127, 1
%123 = load i32, ptr %118, align 8, !tbaa !31
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %122, %124
br i1 %125, label %126, label %139, !llvm.loop !32
126: ; preds = %115, %121
%127 = phi i64 [ %122, %121 ], [ 0, %115 ]
%128 = load ptr, ptr %117, align 8, !tbaa !33
%129 = getelementptr inbounds %struct.qlcnic_host_tx_ring, ptr %128, i64 %127
%130 = load i32, ptr %129, align 4, !tbaa !34
%131 = load ptr, ptr %3, align 8, !tbaa !29
%132 = trunc i64 %127 to i32
%133 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %130, i32 noundef 4, ptr noundef nonnull @.str.3, ptr noundef %131, i32 noundef %132) #2
%134 = getelementptr inbounds %struct.qlcnic_host_tx_ring, ptr %128, i64 %127, i32 1
%135 = load i32, ptr %134, align 4, !tbaa !36
%136 = load i32, ptr %129, align 4, !tbaa !34
%137 = tail call i32 @request_irq(i32 noundef %135, i32 noundef %116, i64 noundef %42, i32 noundef %136, ptr noundef nonnull %129) #2
%138 = icmp eq i32 %137, 0
br i1 %138, label %121, label %139
139: ; preds = %97, %126, %121, %115, %41, %111, %106, %103
%140 = phi i32 [ 0, %103 ], [ 0, %106 ], [ 0, %111 ], [ 0, %41 ], [ 0, %115 ], [ %137, %126 ], [ 0, %121 ], [ %101, %97 ]
ret i32 %140
}
declare i64 @qlcnic_82xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @QLCNIC_IS_MSI_FAMILY(ptr noundef) local_unnamed_addr #1
declare i64 @qlcnic_83xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @request_irq(i32 noundef, i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 48}
!6 = !{!"qlcnic_adapter", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !10, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 40}
!12 = !{!6, !10, i64 24}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !7, i64 8}
!20 = !{!"net_device", !10, i64 0, !7, i64 8}
!21 = !{!6, !7, i64 32}
!22 = !{!6, !7, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !10, i64 0}
!26 = !{!"qlcnic_recv_context", !10, i64 0}
!27 = !{!28, !7, i64 0}
!28 = !{!"qlcnic_host_sds_ring", !7, i64 0, !7, i64 4}
!29 = !{!20, !10, i64 0}
!30 = !{!28, !7, i64 4}
!31 = !{!6, !7, i64 8}
!32 = distinct !{!32, !24}
!33 = !{!6, !10, i64 16}
!34 = !{!35, !7, i64 0}
!35 = !{!"qlcnic_host_tx_ring", !7, i64 0, !7, i64 4}
!36 = !{!35, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_main.c_qlcnic_request_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_main.c_qlcnic_request_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.qlcnic_host_tx_ring = type { i32, i32 }
@QLCNIC_INTERRUPT_TEST = common local_unnamed_addr global i64 0, align 8
@qlcnic_tmp_intr = common local_unnamed_addr global i32 0, align 4
@IRQF_SHARED = common local_unnamed_addr global i64 0, align 8
@QLCNIC_MSIX_ENABLED = common local_unnamed_addr global i32 0, align 4
@qlcnic_msix_intr = common local_unnamed_addr global i32 0, align 4
@QLCNIC_MSI_ENABLED = common local_unnamed_addr global i32 0, align 4
@qlcnic_msi_intr = common local_unnamed_addr global i32 0, align 4
@qlcnic_intr = common local_unnamed_addr global i32 0, align 4
@qlcnic_83xx_intr = common local_unnamed_addr global i32 0, align 4
@QLCNIC_LOOPBACK_TEST = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"qlcnic\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s-tx-0-rx-%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s-rx-%d\00", align 1
@QLCNIC_TX_INTR_SHARED = common local_unnamed_addr global i32 0, align 4
@qlcnic_msix_tx_intr = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"%s-tx-%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @qlcnic_request_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qlcnic_request_irq(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 40
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = load i64, ptr @QLCNIC_INTERRUPT_TEST, align 8, !tbaa !17
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %1
%12 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @qlcnic_tmp_intr, align 4
%15 = select i1 %13, i32 undef, i32 %14
%16 = tail call i32 @QLCNIC_IS_MSI_FAMILY(ptr noundef nonnull %0) #2
%17 = icmp eq i32 %16, 0
%18 = load i64, ptr @IRQF_SHARED, align 8
%19 = select i1 %17, i64 %18, i64 0
br label %41
20: ; preds = %1
%21 = load i32, ptr %0, align 8, !tbaa !18
%22 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !19
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %20
%26 = load i32, ptr @qlcnic_msix_intr, align 4, !tbaa !19
br label %41
27: ; preds = %20
%28 = load i32, ptr @QLCNIC_MSI_ENABLED, align 4, !tbaa !19
%29 = and i32 %28, %21
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = load i32, ptr @qlcnic_msi_intr, align 4, !tbaa !19
br label %41
33: ; preds = %27
%34 = load i64, ptr @IRQF_SHARED, align 8, !tbaa !17
%35 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = load i32, ptr @qlcnic_intr, align 4, !tbaa !19
br label %41
39: ; preds = %33
%40 = load i32, ptr @qlcnic_83xx_intr, align 4, !tbaa !19
br label %41
41: ; preds = %11, %25, %37, %39, %31
%42 = phi i64 [ 0, %25 ], [ 0, %31 ], [ %34, %37 ], [ %34, %39 ], [ %19, %11 ]
%43 = phi i32 [ %26, %25 ], [ %32, %31 ], [ %38, %37 ], [ %40, %39 ], [ %15, %11 ]
%44 = getelementptr inbounds i8, ptr %3, i64 8
%45 = load i32, ptr %44, align 8, !tbaa !20
%46 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %45, ptr %46, align 8, !tbaa !22
%47 = load ptr, ptr %6, align 8, !tbaa !13
%48 = load i64, ptr %47, align 8, !tbaa !14
%49 = load i64, ptr @QLCNIC_LOOPBACK_TEST, align 8, !tbaa !17
%50 = icmp eq i64 %48, %49
br i1 %50, label %139, label %51
51: ; preds = %41
%52 = tail call i64 @qlcnic_82xx_check(ptr noundef nonnull %0) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %51
%55 = tail call i64 @qlcnic_83xx_check(ptr noundef nonnull %0) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %103, label %57
57: ; preds = %54
%58 = load i32, ptr %0, align 8, !tbaa !18
%59 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !19
%60 = and i32 %59, %58
%61 = icmp eq i32 %60, 0
br i1 %61, label %103, label %62
62: ; preds = %57, %51
%63 = getelementptr inbounds i8, ptr %0, i64 4
%64 = load i32, ptr %63, align 4, !tbaa !23
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %103
66: ; preds = %62
%67 = add nsw i32 %64, -1
%68 = zext nneg i32 %67 to i64
%69 = zext nneg i32 %64 to i64
br label %73
70: ; preds = %97
%71 = add nuw nsw i64 %74, 1
%72 = icmp eq i64 %71, %69
br i1 %72, label %103, label %73, !llvm.loop !24
73: ; preds = %66, %70
%74 = phi i64 [ 0, %66 ], [ %71, %70 ]
%75 = load ptr, ptr %5, align 8, !tbaa !26
%76 = getelementptr inbounds %struct.qlcnic_host_tx_ring, ptr %75, i64 %74
%77 = tail call i64 @qlcnic_82xx_check(ptr noundef %0) #2
%78 = icmp ne i64 %77, 0
%79 = icmp eq i64 %74, %68
%80 = select i1 %78, i1 %79, i1 false
br i1 %80, label %81, label %92
81: ; preds = %73
%82 = load i32, ptr %0, align 8, !tbaa !18
%83 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !19
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
%86 = load i32, ptr %76, align 4, !tbaa !28
br i1 %85, label %87, label %89
87: ; preds = %81
%88 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %86, i32 noundef 4, ptr noundef nonnull @.str) #2
br label %97
89: ; preds = %81
%90 = load ptr, ptr %3, align 8, !tbaa !30
%91 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %86, i32 noundef 4, ptr noundef nonnull @.str.1, ptr noundef %90, i32 noundef %67) #2
br label %97
92: ; preds = %73
%93 = load i32, ptr %76, align 4, !tbaa !28
%94 = load ptr, ptr %3, align 8, !tbaa !30
%95 = trunc nuw nsw i64 %74 to i32
%96 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %93, i32 noundef 4, ptr noundef nonnull @.str.2, ptr noundef %94, i32 noundef %95) #2
br label %97
97: ; preds = %87, %89, %92
%98 = getelementptr inbounds i8, ptr %76, i64 4
%99 = load i32, ptr %98, align 4, !tbaa !31
%100 = load i32, ptr %76, align 4, !tbaa !28
%101 = tail call i32 @request_irq(i32 noundef %99, i32 noundef %43, i64 noundef %42, i32 noundef %100, ptr noundef nonnull %76) #2
%102 = icmp eq i32 %101, 0
br i1 %102, label %70, label %139
103: ; preds = %70, %62, %57, %54
%104 = tail call i64 @qlcnic_83xx_check(ptr noundef %0) #2
%105 = icmp eq i64 %104, 0
br i1 %105, label %139, label %106
106: ; preds = %103
%107 = load i32, ptr %0, align 8, !tbaa !18
%108 = load i32, ptr @QLCNIC_MSIX_ENABLED, align 4, !tbaa !19
%109 = and i32 %108, %107
%110 = icmp eq i32 %109, 0
br i1 %110, label %139, label %111
111: ; preds = %106
%112 = load i32, ptr @QLCNIC_TX_INTR_SHARED, align 4, !tbaa !19
%113 = and i32 %112, %107
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %139
115: ; preds = %111
%116 = load i32, ptr @qlcnic_msix_tx_intr, align 4, !tbaa !19
%117 = getelementptr inbounds i8, ptr %0, i64 16
%118 = getelementptr inbounds i8, ptr %0, i64 8
%119 = load i32, ptr %118, align 8, !tbaa !32
%120 = icmp sgt i32 %119, 0
br i1 %120, label %126, label %139
121: ; preds = %126
%122 = add nuw nsw i64 %127, 1
%123 = load i32, ptr %118, align 8, !tbaa !32
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %122, %124
br i1 %125, label %126, label %139, !llvm.loop !33
126: ; preds = %115, %121
%127 = phi i64 [ %122, %121 ], [ 0, %115 ]
%128 = load ptr, ptr %117, align 8, !tbaa !34
%129 = getelementptr inbounds %struct.qlcnic_host_tx_ring, ptr %128, i64 %127
%130 = load i32, ptr %129, align 4, !tbaa !35
%131 = load ptr, ptr %3, align 8, !tbaa !30
%132 = trunc nuw nsw i64 %127 to i32
%133 = tail call i32 (i32, i32, ptr, ...) @snprintf(i32 noundef %130, i32 noundef 4, ptr noundef nonnull @.str.3, ptr noundef %131, i32 noundef %132) #2
%134 = getelementptr inbounds i8, ptr %129, i64 4
%135 = load i32, ptr %134, align 4, !tbaa !37
%136 = load i32, ptr %129, align 4, !tbaa !35
%137 = tail call i32 @request_irq(i32 noundef %135, i32 noundef %116, i64 noundef %42, i32 noundef %136, ptr noundef nonnull %129) #2
%138 = icmp eq i32 %137, 0
br i1 %138, label %121, label %139
139: ; preds = %97, %126, %121, %115, %41, %111, %106, %103
%140 = phi i32 [ 0, %103 ], [ 0, %106 ], [ 0, %111 ], [ 0, %41 ], [ 0, %115 ], [ %137, %126 ], [ 0, %121 ], [ %101, %97 ]
ret i32 %140
}
declare i64 @qlcnic_82xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @QLCNIC_IS_MSI_FAMILY(ptr noundef) local_unnamed_addr #1
declare i64 @qlcnic_83xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @request_irq(i32 noundef, i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 48}
!7 = !{!"qlcnic_adapter", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !11, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 40}
!13 = !{!7, !11, i64 24}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!7, !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !8, i64 8}
!21 = !{!"net_device", !11, i64 0, !8, i64 8}
!22 = !{!7, !8, i64 32}
!23 = !{!7, !8, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !11, i64 0}
!27 = !{!"qlcnic_recv_context", !11, i64 0}
!28 = !{!29, !8, i64 0}
!29 = !{!"qlcnic_host_sds_ring", !8, i64 0, !8, i64 4}
!30 = !{!21, !11, i64 0}
!31 = !{!29, !8, i64 4}
!32 = !{!7, !8, i64 8}
!33 = distinct !{!33, !25}
!34 = !{!7, !11, i64 16}
!35 = !{!36, !8, i64 0}
!36 = !{!"qlcnic_host_tx_ring", !8, i64 0, !8, i64 4}
!37 = !{!36, !8, i64 4}
|
fastsocket_kernel_drivers_net_qlcnic_extr_qlcnic_main.c_qlcnic_request_irq
|
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_shade.c_RB_StageIteratorGeneric.c'
source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_shade.c_RB_StageIteratorGeneric.c"
target datalayout = "e-m:e-p270:32:32-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_28__ = type { ptr, i64, ptr, i64, i64, i64, i32, i32 }
%struct.TYPE_22__ = type { %struct.TYPE_25__, i64, ptr, %struct.TYPE_23__ }
%struct.TYPE_25__ = type { i32, i64 }
%struct.TYPE_23__ = type { i32 }
%struct.TYPE_21__ = type { i64 }
%struct.TYPE_29__ = type { i64 }
%struct.TYPE_27__ = type { i64, i64, i32, i32, i64, i64, i32 }
%struct.TYPE_26__ = type { i64, i32 }
@tess = dso_local global %struct.TYPE_28__ zeroinitializer, align 8
@backEnd = dso_local local_unnamed_addr global %struct.TYPE_22__ zeroinitializer, align 8
@r_logFile = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [39 x i8] c"--- RB_StageIteratorGeneric( %s ) ---\0A\00", align 1
@CT_TWO_SIDED = dso_local local_unnamed_addr global i64 0, align 8
@CT_FRONT_SIDED = dso_local local_unnamed_addr global i64 0, align 8
@VPF_DEPTHSHADOW = dso_local local_unnamed_addr global i32 0, align 4
@CT_BACK_SIDED = dso_local local_unnamed_addr global i64 0, align 8
@GL_POLYGON_OFFSET_FILL = dso_local local_unnamed_addr global i32 0, align 4
@VPF_SHADOWMAP = dso_local local_unnamed_addr global i32 0, align 4
@SS_OPAQUE = dso_local local_unnamed_addr global i64 0, align 8
@glRefConfig = dso_local local_unnamed_addr global %struct.TYPE_21__ zeroinitializer, align 8
@r_shadows = dso_local local_unnamed_addr global ptr null, align 8
@SURF_NODLIGHT = dso_local local_unnamed_addr global i32 0, align 4
@SURF_SKY = dso_local local_unnamed_addr global i32 0, align 4
@r_lightmap = dso_local local_unnamed_addr global ptr null, align 8
@tr = dso_local local_unnamed_addr global %struct.TYPE_29__ zeroinitializer, align 8
@LIGHTDEF_LIGHTTYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@r_dlightMode = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @RB_StageIteratorGeneric() local_unnamed_addr #0 {
%1 = load i32, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 7), align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
%3 = load i32, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 6), align 8
%4 = icmp eq i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %184, label %6
6: ; preds = %0
%7 = load i64, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 5), align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 (...) @RB_DeformTessGeometry() #2
br label %11
11: ; preds = %9, %6
%12 = tail call i32 @RB_CalcShaderVertexAttribs(ptr noundef nonnull @tess) #2
%13 = load i64, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 5), align 8, !tbaa !12
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %11
%16 = tail call i32 @RB_UpdateTessVao(i32 noundef %12) #2
br label %20
17: ; preds = %11
%18 = load i32, ptr getelementptr inbounds (%struct.TYPE_22__, ptr @backEnd, i64 0, i32 3), align 8, !tbaa !13
%19 = add nsw i32 %18, 1
store i32 %19, ptr getelementptr inbounds (%struct.TYPE_22__, ptr @backEnd, i64 0, i32 3), align 8, !tbaa !13
br label %20
20: ; preds = %17, %15
%21 = load ptr, ptr @r_logFile, align 8, !tbaa !17
%22 = load i64, ptr %21, align 8, !tbaa !18
%23 = icmp eq i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = load ptr, ptr @tess, align 8, !tbaa !20
%26 = getelementptr inbounds %struct.TYPE_27__, ptr %25, i64 0, i32 6
%27 = load i32, ptr %26, align 8, !tbaa !21
%28 = tail call i32 @va(ptr noundef nonnull @.str, i32 noundef %27) #2
%29 = tail call i32 @GLimp_LogComment(i32 noundef %28) #2
br label %30
30: ; preds = %24, %20
%31 = load ptr, ptr @tess, align 8, !tbaa !20
%32 = load i64, ptr %31, align 8, !tbaa !23
%33 = load i64, ptr @CT_TWO_SIDED, align 8, !tbaa !24
%34 = icmp eq i64 %32, %33
br i1 %34, label %55, label %35
35: ; preds = %30
%36 = load i64, ptr @CT_FRONT_SIDED, align 8, !tbaa !24
%37 = icmp eq i64 %32, %36
%38 = load i32, ptr @backEnd, align 8, !tbaa !25
%39 = load i32, ptr @VPF_DEPTHSHADOW, align 4, !tbaa !26
%40 = and i32 %39, %38
%41 = icmp ne i32 %40, 0
%42 = xor i1 %37, %41
%43 = load i64, ptr getelementptr inbounds (%struct.TYPE_22__, ptr @backEnd, i64 0, i32 0, i32 1), align 8, !tbaa !27
%44 = icmp ne i64 %43, 0
%45 = xor i1 %44, %42
%46 = load ptr, ptr getelementptr inbounds (%struct.TYPE_22__, ptr @backEnd, i64 0, i32 2), align 8, !tbaa !28
%47 = icmp eq ptr %46, null
br i1 %47, label %52, label %48
48: ; preds = %35
%49 = load i64, ptr %46, align 8, !tbaa !29
%50 = icmp ne i64 %49, 0
%51 = xor i1 %45, %50
br i1 %51, label %55, label %53
52: ; preds = %35
br i1 %45, label %55, label %53
53: ; preds = %48, %52
%54 = load i64, ptr @CT_BACK_SIDED, align 8, !tbaa !24
br label %55
55: ; preds = %52, %48, %30, %53
%56 = phi i64 [ %54, %53 ], [ %32, %30 ], [ %36, %48 ], [ %36, %52 ]
%57 = tail call i32 @GL_Cull(i64 noundef %56) #2
%58 = load ptr, ptr @tess, align 8, !tbaa !20
%59 = getelementptr inbounds %struct.TYPE_27__, ptr %58, i64 0, i32 4
%60 = load i64, ptr %59, align 8, !tbaa !31
%61 = icmp eq i64 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %55
%63 = load i32, ptr @GL_POLYGON_OFFSET_FILL, align 4, !tbaa !26
%64 = tail call i32 @qglEnable(i32 noundef %63) #2
br label %65
65: ; preds = %62, %55
%66 = load i64, ptr getelementptr inbounds (%struct.TYPE_22__, ptr @backEnd, i64 0, i32 1), align 8, !tbaa !32
%67 = icmp eq i64 %66, 0
br i1 %67, label %74, label %68
68: ; preds = %65
%69 = tail call i32 @RB_IterateStagesGeneric(ptr noundef nonnull @tess) #2
%70 = load ptr, ptr @tess, align 8, !tbaa !20
%71 = getelementptr inbounds %struct.TYPE_27__, ptr %70, i64 0, i32 4
%72 = load i64, ptr %71, align 8, !tbaa !31
%73 = icmp eq i64 %72, 0
br i1 %73, label %184, label %181
74: ; preds = %65
%75 = load i32, ptr @backEnd, align 8, !tbaa !25
%76 = load i32, ptr @VPF_SHADOWMAP, align 4, !tbaa !26
%77 = and i32 %76, %75
%78 = icmp eq i32 %77, 0
br i1 %78, label %93, label %79
79: ; preds = %74
%80 = load ptr, ptr @tess, align 8, !tbaa !20
%81 = getelementptr inbounds %struct.TYPE_27__, ptr %80, i64 0, i32 1
%82 = load i64, ptr %81, align 8, !tbaa !33
%83 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !24
%84 = icmp eq i64 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = tail call i32 @RB_RenderShadowmap(ptr noundef nonnull @tess) #2
%87 = load ptr, ptr @tess, align 8, !tbaa !20
br label %88
88: ; preds = %85, %79
%89 = phi ptr [ %87, %85 ], [ %80, %79 ]
%90 = getelementptr inbounds %struct.TYPE_27__, ptr %89, i64 0, i32 4
%91 = load i64, ptr %90, align 8, !tbaa !31
%92 = icmp eq i64 %91, 0
br i1 %92, label %184, label %181
93: ; preds = %74
%94 = tail call i32 @RB_IterateStagesGeneric(ptr noundef nonnull @tess) #2
%95 = load i64, ptr @glRefConfig, align 8, !tbaa !34
%96 = icmp eq i64 %95, 0
br i1 %96, label %120, label %97
97: ; preds = %93
%98 = load ptr, ptr @r_shadows, align 8, !tbaa !17
%99 = load i32, ptr %98, align 4, !tbaa !36
%100 = icmp eq i32 %99, 4
%101 = load i64, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 4), align 8
%102 = icmp ne i64 %101, 0
%103 = select i1 %100, i1 %102, i1 false
br i1 %103, label %104, label %120
104: ; preds = %97
%105 = load ptr, ptr @tess, align 8, !tbaa !20
%106 = getelementptr inbounds %struct.TYPE_27__, ptr %105, i64 0, i32 1
%107 = load i64, ptr %106, align 8, !tbaa !33
%108 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !24
%109 = icmp sgt i64 %107, %108
br i1 %109, label %120, label %110
110: ; preds = %104
%111 = getelementptr inbounds %struct.TYPE_27__, ptr %105, i64 0, i32 2
%112 = load i32, ptr %111, align 8, !tbaa !38
%113 = load i32, ptr @SURF_NODLIGHT, align 4, !tbaa !26
%114 = load i32, ptr @SURF_SKY, align 4, !tbaa !26
%115 = or i32 %114, %113
%116 = and i32 %115, %112
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %120
118: ; preds = %110
%119 = tail call i32 (...) @ProjectPshadowVBOGLSL() #2
br label %120
120: ; preds = %118, %110, %104, %97, %93
%121 = load i64, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 3), align 8, !tbaa !39
%122 = icmp eq i64 %121, 0
br i1 %122, label %165, label %123
123: ; preds = %120
%124 = load ptr, ptr @tess, align 8, !tbaa !20
%125 = getelementptr inbounds %struct.TYPE_27__, ptr %124, i64 0, i32 1
%126 = load i64, ptr %125, align 8, !tbaa !33
%127 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !24
%128 = icmp sgt i64 %126, %127
br i1 %128, label %165, label %129
129: ; preds = %123
%130 = load ptr, ptr @r_lightmap, align 8, !tbaa !17
%131 = load i64, ptr %130, align 8, !tbaa !40
%132 = icmp eq i64 %131, 0
br i1 %132, label %133, label %165
133: ; preds = %129
%134 = getelementptr inbounds %struct.TYPE_27__, ptr %124, i64 0, i32 2
%135 = load i32, ptr %134, align 8, !tbaa !38
%136 = load i32, ptr @SURF_NODLIGHT, align 4, !tbaa !26
%137 = load i32, ptr @SURF_SKY, align 4, !tbaa !26
%138 = or i32 %137, %136
%139 = and i32 %138, %135
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %165
141: ; preds = %133
%142 = getelementptr inbounds %struct.TYPE_27__, ptr %124, i64 0, i32 3
%143 = load i32, ptr %142, align 4, !tbaa !42
%144 = icmp eq i32 %143, 1
br i1 %144, label %145, label %163
145: ; preds = %141
%146 = load ptr, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 2), align 8, !tbaa !43
%147 = load ptr, ptr %146, align 8, !tbaa !17
%148 = load i64, ptr %147, align 8, !tbaa !44
%149 = load i64, ptr @tr, align 8, !tbaa !46
%150 = icmp eq i64 %148, %149
br i1 %150, label %151, label %163
151: ; preds = %145
%152 = getelementptr inbounds %struct.TYPE_26__, ptr %147, i64 0, i32 1
%153 = load i32, ptr %152, align 8, !tbaa !48
%154 = load i32, ptr @LIGHTDEF_LIGHTTYPE_MASK, align 4, !tbaa !26
%155 = and i32 %154, %153
%156 = icmp eq i32 %155, 0
br i1 %156, label %163, label %157
157: ; preds = %151
%158 = load ptr, ptr @r_dlightMode, align 8, !tbaa !17
%159 = load i64, ptr %158, align 8, !tbaa !49
%160 = icmp eq i64 %159, 0
br i1 %160, label %163, label %161
161: ; preds = %157
%162 = tail call i32 (...) @ForwardDlight() #2
br label %165
163: ; preds = %157, %151, %145, %141
%164 = tail call i32 (...) @ProjectDlightTexture() #2
br label %165
165: ; preds = %161, %163, %133, %129, %123, %120
%166 = load i64, ptr getelementptr inbounds (%struct.TYPE_28__, ptr @tess, i64 0, i32 1), align 8, !tbaa !51
%167 = icmp eq i64 %166, 0
%168 = load ptr, ptr @tess, align 8, !tbaa !20
br i1 %167, label %176, label %169
169: ; preds = %165
%170 = getelementptr inbounds %struct.TYPE_27__, ptr %168, i64 0, i32 5
%171 = load i64, ptr %170, align 8, !tbaa !52
%172 = icmp eq i64 %171, 0
br i1 %172, label %176, label %173
173: ; preds = %169
%174 = tail call i32 (...) @RB_FogPass() #2
%175 = load ptr, ptr @tess, align 8, !tbaa !20
br label %176
176: ; preds = %173, %169, %165
%177 = phi ptr [ %175, %173 ], [ %168, %169 ], [ %168, %165 ]
%178 = getelementptr inbounds %struct.TYPE_27__, ptr %177, i64 0, i32 4
%179 = load i64, ptr %178, align 8, !tbaa !31
%180 = icmp eq i64 %179, 0
br i1 %180, label %184, label %181
181: ; preds = %176, %88, %68
%182 = load i32, ptr @GL_POLYGON_OFFSET_FILL, align 4, !tbaa !26
%183 = tail call i32 @qglDisable(i32 noundef %182) #2
br label %184
184: ; preds = %181, %176, %88, %68, %0
ret void
}
declare i32 @RB_DeformTessGeometry(...) local_unnamed_addr #1
declare i32 @RB_CalcShaderVertexAttribs(ptr noundef) local_unnamed_addr #1
declare i32 @RB_UpdateTessVao(i32 noundef) local_unnamed_addr #1
declare i32 @GLimp_LogComment(i32 noundef) local_unnamed_addr #1
declare i32 @va(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GL_Cull(i64 noundef) local_unnamed_addr #1
declare i32 @qglEnable(i32 noundef) local_unnamed_addr #1
declare i32 @RB_IterateStagesGeneric(ptr noundef) local_unnamed_addr #1
declare i32 @qglDisable(i32 noundef) local_unnamed_addr #1
declare i32 @RB_RenderShadowmap(ptr noundef) local_unnamed_addr #1
declare i32 @ProjectPshadowVBOGLSL(...) local_unnamed_addr #1
declare i32 @ForwardDlight(...) local_unnamed_addr #1
declare i32 @ProjectDlightTexture(...) local_unnamed_addr #1
declare i32 @RB_FogPass(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 52}
!6 = !{!"TYPE_28__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !11, i64 48, !11, i64 52}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 40}
!13 = !{!14, !11, i64 32}
!14 = !{!"TYPE_22__", !15, i64 0, !10, i64 16, !7, i64 24, !16, i64 32}
!15 = !{!"TYPE_25__", !11, i64 0, !10, i64 8}
!16 = !{!"TYPE_23__", !11, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_18__", !10, i64 0}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !11, i64 40}
!22 = !{!"TYPE_27__", !10, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !10, i64 32, !11, i64 40}
!23 = !{!22, !10, i64 0}
!24 = !{!10, !10, i64 0}
!25 = !{!14, !11, i64 0}
!26 = !{!11, !11, i64 0}
!27 = !{!14, !10, i64 8}
!28 = !{!14, !7, i64 24}
!29 = !{!30, !10, i64 0}
!30 = !{!"TYPE_24__", !10, i64 0}
!31 = !{!22, !10, i64 24}
!32 = !{!14, !10, i64 16}
!33 = !{!22, !10, i64 8}
!34 = !{!35, !10, i64 0}
!35 = !{!"TYPE_21__", !10, i64 0}
!36 = !{!37, !11, i64 0}
!37 = !{!"TYPE_30__", !11, i64 0}
!38 = !{!22, !11, i64 16}
!39 = !{!6, !10, i64 24}
!40 = !{!41, !10, i64 0}
!41 = !{!"TYPE_19__", !10, i64 0}
!42 = !{!22, !11, i64 20}
!43 = !{!6, !7, i64 16}
!44 = !{!45, !10, i64 0}
!45 = !{!"TYPE_26__", !10, i64 0, !11, i64 8}
!46 = !{!47, !10, i64 0}
!47 = !{!"TYPE_29__", !10, i64 0}
!48 = !{!45, !11, i64 8}
!49 = !{!50, !10, i64 0}
!50 = !{!"TYPE_20__", !10, i64 0}
!51 = !{!6, !10, i64 8}
!52 = !{!22, !10, i64 32}
|
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_shade.c_RB_StageIteratorGeneric.c'
source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_shade.c_RB_StageIteratorGeneric.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_28__ = type { ptr, i64, ptr, i64, i64, i64, i32, i32 }
%struct.TYPE_22__ = type { %struct.TYPE_25__, i64, ptr, %struct.TYPE_23__ }
%struct.TYPE_25__ = type { i32, i64 }
%struct.TYPE_23__ = type { i32 }
%struct.TYPE_21__ = type { i64 }
%struct.TYPE_29__ = type { i64 }
@tess = common global %struct.TYPE_28__ zeroinitializer, align 8
@backEnd = common local_unnamed_addr global %struct.TYPE_22__ zeroinitializer, align 8
@r_logFile = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [39 x i8] c"--- RB_StageIteratorGeneric( %s ) ---\0A\00", align 1
@CT_TWO_SIDED = common local_unnamed_addr global i64 0, align 8
@CT_FRONT_SIDED = common local_unnamed_addr global i64 0, align 8
@VPF_DEPTHSHADOW = common local_unnamed_addr global i32 0, align 4
@CT_BACK_SIDED = common local_unnamed_addr global i64 0, align 8
@GL_POLYGON_OFFSET_FILL = common local_unnamed_addr global i32 0, align 4
@VPF_SHADOWMAP = common local_unnamed_addr global i32 0, align 4
@SS_OPAQUE = common local_unnamed_addr global i64 0, align 8
@glRefConfig = common local_unnamed_addr global %struct.TYPE_21__ zeroinitializer, align 8
@r_shadows = common local_unnamed_addr global ptr null, align 8
@SURF_NODLIGHT = common local_unnamed_addr global i32 0, align 4
@SURF_SKY = common local_unnamed_addr global i32 0, align 4
@r_lightmap = common local_unnamed_addr global ptr null, align 8
@tr = common local_unnamed_addr global %struct.TYPE_29__ zeroinitializer, align 8
@LIGHTDEF_LIGHTTYPE_MASK = common local_unnamed_addr global i32 0, align 4
@r_dlightMode = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @RB_StageIteratorGeneric() local_unnamed_addr #0 {
%1 = load i32, ptr getelementptr inbounds (i8, ptr @tess, i64 52), align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
%3 = load i32, ptr getelementptr inbounds (i8, ptr @tess, i64 48), align 8
%4 = icmp eq i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %184, label %6
6: ; preds = %0
%7 = load i64, ptr getelementptr inbounds (i8, ptr @tess, i64 40), align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @RB_DeformTessGeometry() #2
br label %11
11: ; preds = %9, %6
%12 = tail call i32 @RB_CalcShaderVertexAttribs(ptr noundef nonnull @tess) #2
%13 = load i64, ptr getelementptr inbounds (i8, ptr @tess, i64 40), align 8, !tbaa !13
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %11
%16 = tail call i32 @RB_UpdateTessVao(i32 noundef %12) #2
br label %20
17: ; preds = %11
%18 = load i32, ptr getelementptr inbounds (i8, ptr @backEnd, i64 32), align 8, !tbaa !14
%19 = add nsw i32 %18, 1
store i32 %19, ptr getelementptr inbounds (i8, ptr @backEnd, i64 32), align 8, !tbaa !14
br label %20
20: ; preds = %17, %15
%21 = load ptr, ptr @r_logFile, align 8, !tbaa !18
%22 = load i64, ptr %21, align 8, !tbaa !19
%23 = icmp eq i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = load ptr, ptr @tess, align 8, !tbaa !21
%26 = getelementptr inbounds i8, ptr %25, i64 40
%27 = load i32, ptr %26, align 8, !tbaa !22
%28 = tail call i32 @va(ptr noundef nonnull @.str, i32 noundef %27) #2
%29 = tail call i32 @GLimp_LogComment(i32 noundef %28) #2
br label %30
30: ; preds = %24, %20
%31 = load ptr, ptr @tess, align 8, !tbaa !21
%32 = load i64, ptr %31, align 8, !tbaa !24
%33 = load i64, ptr @CT_TWO_SIDED, align 8, !tbaa !25
%34 = icmp eq i64 %32, %33
br i1 %34, label %55, label %35
35: ; preds = %30
%36 = load i64, ptr @CT_FRONT_SIDED, align 8, !tbaa !25
%37 = icmp eq i64 %32, %36
%38 = load i32, ptr @backEnd, align 8, !tbaa !26
%39 = load i32, ptr @VPF_DEPTHSHADOW, align 4, !tbaa !27
%40 = and i32 %39, %38
%41 = icmp ne i32 %40, 0
%42 = xor i1 %37, %41
%43 = load i64, ptr getelementptr inbounds (i8, ptr @backEnd, i64 8), align 8, !tbaa !28
%44 = icmp ne i64 %43, 0
%45 = xor i1 %44, %42
%46 = load ptr, ptr getelementptr inbounds (i8, ptr @backEnd, i64 24), align 8, !tbaa !29
%47 = icmp eq ptr %46, null
br i1 %47, label %52, label %48
48: ; preds = %35
%49 = load i64, ptr %46, align 8, !tbaa !30
%50 = icmp ne i64 %49, 0
%51 = xor i1 %45, %50
br i1 %51, label %55, label %53
52: ; preds = %35
br i1 %45, label %55, label %53
53: ; preds = %48, %52
%54 = load i64, ptr @CT_BACK_SIDED, align 8, !tbaa !25
br label %55
55: ; preds = %52, %48, %30, %53
%56 = phi i64 [ %54, %53 ], [ %32, %30 ], [ %36, %48 ], [ %36, %52 ]
%57 = tail call i32 @GL_Cull(i64 noundef %56) #2
%58 = load ptr, ptr @tess, align 8, !tbaa !21
%59 = getelementptr inbounds i8, ptr %58, i64 24
%60 = load i64, ptr %59, align 8, !tbaa !32
%61 = icmp eq i64 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %55
%63 = load i32, ptr @GL_POLYGON_OFFSET_FILL, align 4, !tbaa !27
%64 = tail call i32 @qglEnable(i32 noundef %63) #2
br label %65
65: ; preds = %62, %55
%66 = load i64, ptr getelementptr inbounds (i8, ptr @backEnd, i64 16), align 8, !tbaa !33
%67 = icmp eq i64 %66, 0
br i1 %67, label %74, label %68
68: ; preds = %65
%69 = tail call i32 @RB_IterateStagesGeneric(ptr noundef nonnull @tess) #2
%70 = load ptr, ptr @tess, align 8, !tbaa !21
%71 = getelementptr inbounds i8, ptr %70, i64 24
%72 = load i64, ptr %71, align 8, !tbaa !32
%73 = icmp eq i64 %72, 0
br i1 %73, label %184, label %181
74: ; preds = %65
%75 = load i32, ptr @backEnd, align 8, !tbaa !26
%76 = load i32, ptr @VPF_SHADOWMAP, align 4, !tbaa !27
%77 = and i32 %76, %75
%78 = icmp eq i32 %77, 0
br i1 %78, label %93, label %79
79: ; preds = %74
%80 = load ptr, ptr @tess, align 8, !tbaa !21
%81 = getelementptr inbounds i8, ptr %80, i64 8
%82 = load i64, ptr %81, align 8, !tbaa !34
%83 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !25
%84 = icmp eq i64 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = tail call i32 @RB_RenderShadowmap(ptr noundef nonnull @tess) #2
%87 = load ptr, ptr @tess, align 8, !tbaa !21
br label %88
88: ; preds = %85, %79
%89 = phi ptr [ %87, %85 ], [ %80, %79 ]
%90 = getelementptr inbounds i8, ptr %89, i64 24
%91 = load i64, ptr %90, align 8, !tbaa !32
%92 = icmp eq i64 %91, 0
br i1 %92, label %184, label %181
93: ; preds = %74
%94 = tail call i32 @RB_IterateStagesGeneric(ptr noundef nonnull @tess) #2
%95 = load i64, ptr @glRefConfig, align 8, !tbaa !35
%96 = icmp eq i64 %95, 0
br i1 %96, label %120, label %97
97: ; preds = %93
%98 = load ptr, ptr @r_shadows, align 8, !tbaa !18
%99 = load i32, ptr %98, align 4, !tbaa !37
%100 = icmp eq i32 %99, 4
%101 = load i64, ptr getelementptr inbounds (i8, ptr @tess, i64 32), align 8
%102 = icmp ne i64 %101, 0
%103 = select i1 %100, i1 %102, i1 false
br i1 %103, label %104, label %120
104: ; preds = %97
%105 = load ptr, ptr @tess, align 8, !tbaa !21
%106 = getelementptr inbounds i8, ptr %105, i64 8
%107 = load i64, ptr %106, align 8, !tbaa !34
%108 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !25
%109 = icmp sgt i64 %107, %108
br i1 %109, label %120, label %110
110: ; preds = %104
%111 = getelementptr inbounds i8, ptr %105, i64 16
%112 = load i32, ptr %111, align 8, !tbaa !39
%113 = load i32, ptr @SURF_NODLIGHT, align 4, !tbaa !27
%114 = load i32, ptr @SURF_SKY, align 4, !tbaa !27
%115 = or i32 %114, %113
%116 = and i32 %115, %112
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %120
118: ; preds = %110
%119 = tail call i32 @ProjectPshadowVBOGLSL() #2
br label %120
120: ; preds = %118, %110, %104, %97, %93
%121 = load i64, ptr getelementptr inbounds (i8, ptr @tess, i64 24), align 8, !tbaa !40
%122 = icmp eq i64 %121, 0
br i1 %122, label %165, label %123
123: ; preds = %120
%124 = load ptr, ptr @tess, align 8, !tbaa !21
%125 = getelementptr inbounds i8, ptr %124, i64 8
%126 = load i64, ptr %125, align 8, !tbaa !34
%127 = load i64, ptr @SS_OPAQUE, align 8, !tbaa !25
%128 = icmp sgt i64 %126, %127
br i1 %128, label %165, label %129
129: ; preds = %123
%130 = load ptr, ptr @r_lightmap, align 8, !tbaa !18
%131 = load i64, ptr %130, align 8, !tbaa !41
%132 = icmp eq i64 %131, 0
br i1 %132, label %133, label %165
133: ; preds = %129
%134 = getelementptr inbounds i8, ptr %124, i64 16
%135 = load i32, ptr %134, align 8, !tbaa !39
%136 = load i32, ptr @SURF_NODLIGHT, align 4, !tbaa !27
%137 = load i32, ptr @SURF_SKY, align 4, !tbaa !27
%138 = or i32 %137, %136
%139 = and i32 %138, %135
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %165
141: ; preds = %133
%142 = getelementptr inbounds i8, ptr %124, i64 20
%143 = load i32, ptr %142, align 4, !tbaa !43
%144 = icmp eq i32 %143, 1
br i1 %144, label %145, label %163
145: ; preds = %141
%146 = load ptr, ptr getelementptr inbounds (i8, ptr @tess, i64 16), align 8, !tbaa !44
%147 = load ptr, ptr %146, align 8, !tbaa !18
%148 = load i64, ptr %147, align 8, !tbaa !45
%149 = load i64, ptr @tr, align 8, !tbaa !47
%150 = icmp eq i64 %148, %149
br i1 %150, label %151, label %163
151: ; preds = %145
%152 = getelementptr inbounds i8, ptr %147, i64 8
%153 = load i32, ptr %152, align 8, !tbaa !49
%154 = load i32, ptr @LIGHTDEF_LIGHTTYPE_MASK, align 4, !tbaa !27
%155 = and i32 %154, %153
%156 = icmp eq i32 %155, 0
br i1 %156, label %163, label %157
157: ; preds = %151
%158 = load ptr, ptr @r_dlightMode, align 8, !tbaa !18
%159 = load i64, ptr %158, align 8, !tbaa !50
%160 = icmp eq i64 %159, 0
br i1 %160, label %163, label %161
161: ; preds = %157
%162 = tail call i32 @ForwardDlight() #2
br label %165
163: ; preds = %157, %151, %145, %141
%164 = tail call i32 @ProjectDlightTexture() #2
br label %165
165: ; preds = %161, %163, %133, %129, %123, %120
%166 = load i64, ptr getelementptr inbounds (i8, ptr @tess, i64 8), align 8, !tbaa !52
%167 = icmp eq i64 %166, 0
%168 = load ptr, ptr @tess, align 8, !tbaa !21
br i1 %167, label %176, label %169
169: ; preds = %165
%170 = getelementptr inbounds i8, ptr %168, i64 32
%171 = load i64, ptr %170, align 8, !tbaa !53
%172 = icmp eq i64 %171, 0
br i1 %172, label %176, label %173
173: ; preds = %169
%174 = tail call i32 @RB_FogPass() #2
%175 = load ptr, ptr @tess, align 8, !tbaa !21
br label %176
176: ; preds = %173, %169, %165
%177 = phi ptr [ %175, %173 ], [ %168, %169 ], [ %168, %165 ]
%178 = getelementptr inbounds i8, ptr %177, i64 24
%179 = load i64, ptr %178, align 8, !tbaa !32
%180 = icmp eq i64 %179, 0
br i1 %180, label %184, label %181
181: ; preds = %176, %88, %68
%182 = load i32, ptr @GL_POLYGON_OFFSET_FILL, align 4, !tbaa !27
%183 = tail call i32 @qglDisable(i32 noundef %182) #2
br label %184
184: ; preds = %181, %176, %88, %68, %0
ret void
}
declare i32 @RB_DeformTessGeometry(...) local_unnamed_addr #1
declare i32 @RB_CalcShaderVertexAttribs(ptr noundef) local_unnamed_addr #1
declare i32 @RB_UpdateTessVao(i32 noundef) local_unnamed_addr #1
declare i32 @GLimp_LogComment(i32 noundef) local_unnamed_addr #1
declare i32 @va(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GL_Cull(i64 noundef) local_unnamed_addr #1
declare i32 @qglEnable(i32 noundef) local_unnamed_addr #1
declare i32 @RB_IterateStagesGeneric(ptr noundef) local_unnamed_addr #1
declare i32 @qglDisable(i32 noundef) local_unnamed_addr #1
declare i32 @RB_RenderShadowmap(ptr noundef) local_unnamed_addr #1
declare i32 @ProjectPshadowVBOGLSL(...) local_unnamed_addr #1
declare i32 @ForwardDlight(...) local_unnamed_addr #1
declare i32 @ProjectDlightTexture(...) local_unnamed_addr #1
declare i32 @RB_FogPass(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 52}
!7 = !{!"TYPE_28__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !12, i64 52}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !11, i64 40}
!14 = !{!15, !12, i64 32}
!15 = !{!"TYPE_22__", !16, i64 0, !11, i64 16, !8, i64 24, !17, i64 32}
!16 = !{!"TYPE_25__", !12, i64 0, !11, i64 8}
!17 = !{!"TYPE_23__", !12, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_18__", !11, i64 0}
!21 = !{!7, !8, i64 0}
!22 = !{!23, !12, i64 40}
!23 = !{!"TYPE_27__", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !12, i64 40}
!24 = !{!23, !11, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!15, !12, i64 0}
!27 = !{!12, !12, i64 0}
!28 = !{!15, !11, i64 8}
!29 = !{!15, !8, i64 24}
!30 = !{!31, !11, i64 0}
!31 = !{!"TYPE_24__", !11, i64 0}
!32 = !{!23, !11, i64 24}
!33 = !{!15, !11, i64 16}
!34 = !{!23, !11, i64 8}
!35 = !{!36, !11, i64 0}
!36 = !{!"TYPE_21__", !11, i64 0}
!37 = !{!38, !12, i64 0}
!38 = !{!"TYPE_30__", !12, i64 0}
!39 = !{!23, !12, i64 16}
!40 = !{!7, !11, i64 24}
!41 = !{!42, !11, i64 0}
!42 = !{!"TYPE_19__", !11, i64 0}
!43 = !{!23, !12, i64 20}
!44 = !{!7, !8, i64 16}
!45 = !{!46, !11, i64 0}
!46 = !{!"TYPE_26__", !11, i64 0, !12, i64 8}
!47 = !{!48, !11, i64 0}
!48 = !{!"TYPE_29__", !11, i64 0}
!49 = !{!46, !12, i64 8}
!50 = !{!51, !11, i64 0}
!51 = !{!"TYPE_20__", !11, i64 0}
!52 = !{!7, !11, i64 8}
!53 = !{!23, !11, i64 32}
|
lab_engine_code_renderergl2_extr_tr_shade.c_RB_StageIteratorGeneric
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_isrd.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_isrd.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local i32 @isrd(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3
%5 = call i32 @FD_SET(i32 noundef %0, ptr noundef nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%6 = call i32 @select(i32 noundef 1, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef nonnull %3) #3
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
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 @FD_ZERO(ptr noundef) local_unnamed_addr #2
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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_isrd.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_isrd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @isrd(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%4 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3
%5 = call i32 @FD_SET(i32 noundef %0, ptr noundef nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%6 = call i32 @select(i32 noundef 1, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef nonnull %3) #3
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
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 @FD_ZERO(ptr noundef) local_unnamed_addr #2
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
; 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)"}
|
exploitdb_exploits_windows_remote_extr_159.c_isrd
|
; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_irq.c_cxl_afu_decode_psl_serr.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_irq.c_cxl_afu_decode_psl_serr.c"
target datalayout = "e-m:e-p270:32:32-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 [53 x i8] c"PSL Slice error received. Check AFU for root cause.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"PSL_SERR_An: 0x%016llx\0A\00", align 1
@CXL_PSL_SERR_An_afuto = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"AFU MMIO Timeout\0A\00", align 1
@CXL_PSL_SERR_An_afudis = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [48 x i8] c"MMIO targeted Accelerator that was not enabled\0A\00", align 1
@CXL_PSL_SERR_An_afuov = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [19 x i8] c"AFU CTAG Overflow\0A\00", align 1
@CXL_PSL_SERR_An_badsrc = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"Bad Interrupt Source\0A\00", align 1
@CXL_PSL_SERR_An_badctx = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [20 x i8] c"Bad Context Handle\0A\00", align 1
@CXL_PSL_SERR_An_llcmdis = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [23 x i8] c"LLCMD to Disabled AFU\0A\00", align 1
@CXL_PSL_SERR_An_llcmdto = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [22 x i8] c"LLCMD Timeout to AFU\0A\00", align 1
@CXL_PSL_SERR_An_afupar = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [23 x i8] c"AFU MMIO Parity Error\0A\00", align 1
@CXL_PSL_SERR_An_afudup = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [31 x i8] c"AFU MMIO Duplicate CTAG Error\0A\00", align 1
@CXL_PSL_SERR_An_AE = dso_local local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [53 x i8] c"AFU asserted JDONE with JERROR in AFU Directed Mode\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @cxl_afu_decode_psl_serr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%5 = load i32, ptr @CXL_PSL_SERR_An_afuto, align 4, !tbaa !5
%6 = and i32 %5, %1
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.2) #2
br label %10
10: ; preds = %8, %2
%11 = load i32, ptr @CXL_PSL_SERR_An_afudis, align 4, !tbaa !5
%12 = and i32 %11, %1
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.3) #2
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr @CXL_PSL_SERR_An_afuov, align 4, !tbaa !5
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.4) #2
br label %22
22: ; preds = %20, %16
%23 = load i32, ptr @CXL_PSL_SERR_An_badsrc, align 4, !tbaa !5
%24 = and i32 %23, %1
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.5) #2
br label %28
28: ; preds = %26, %22
%29 = load i32, ptr @CXL_PSL_SERR_An_badctx, align 4, !tbaa !5
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.6) #2
br label %34
34: ; preds = %32, %28
%35 = load i32, ptr @CXL_PSL_SERR_An_llcmdis, align 4, !tbaa !5
%36 = and i32 %35, %1
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.7) #2
br label %40
40: ; preds = %38, %34
%41 = load i32, ptr @CXL_PSL_SERR_An_llcmdto, align 4, !tbaa !5
%42 = and i32 %41, %1
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.8) #2
br label %46
46: ; preds = %44, %40
%47 = load i32, ptr @CXL_PSL_SERR_An_afupar, align 4, !tbaa !5
%48 = and i32 %47, %1
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.9) #2
br label %52
52: ; preds = %50, %46
%53 = load i32, ptr @CXL_PSL_SERR_An_afudup, align 4, !tbaa !5
%54 = and i32 %53, %1
%55 = icmp eq i32 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %52
%57 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.10) #2
br label %58
58: ; preds = %56, %52
%59 = load i32, ptr @CXL_PSL_SERR_An_AE, align 4, !tbaa !5
%60 = and i32 %59, %1
%61 = icmp eq i32 %60, 0
br i1 %61, label %64, label %62
62: ; preds = %58
%63 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.11) #2
br label %64
64: ; preds = %62, %58
ret void
}
declare i32 @dev_crit(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_irq.c_cxl_afu_decode_psl_serr.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_irq.c_cxl_afu_decode_psl_serr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [53 x i8] c"PSL Slice error received. Check AFU for root cause.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"PSL_SERR_An: 0x%016llx\0A\00", align 1
@CXL_PSL_SERR_An_afuto = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"AFU MMIO Timeout\0A\00", align 1
@CXL_PSL_SERR_An_afudis = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [48 x i8] c"MMIO targeted Accelerator that was not enabled\0A\00", align 1
@CXL_PSL_SERR_An_afuov = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [19 x i8] c"AFU CTAG Overflow\0A\00", align 1
@CXL_PSL_SERR_An_badsrc = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"Bad Interrupt Source\0A\00", align 1
@CXL_PSL_SERR_An_badctx = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [20 x i8] c"Bad Context Handle\0A\00", align 1
@CXL_PSL_SERR_An_llcmdis = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [23 x i8] c"LLCMD to Disabled AFU\0A\00", align 1
@CXL_PSL_SERR_An_llcmdto = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [22 x i8] c"LLCMD Timeout to AFU\0A\00", align 1
@CXL_PSL_SERR_An_afupar = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [23 x i8] c"AFU MMIO Parity Error\0A\00", align 1
@CXL_PSL_SERR_An_afudup = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [31 x i8] c"AFU MMIO Duplicate CTAG Error\0A\00", align 1
@CXL_PSL_SERR_An_AE = common local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [53 x i8] c"AFU asserted JDONE with JERROR in AFU Directed Mode\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @cxl_afu_decode_psl_serr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%5 = load i32, ptr @CXL_PSL_SERR_An_afuto, align 4, !tbaa !6
%6 = and i32 %5, %1
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.2) #2
br label %10
10: ; preds = %8, %2
%11 = load i32, ptr @CXL_PSL_SERR_An_afudis, align 4, !tbaa !6
%12 = and i32 %11, %1
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.3) #2
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr @CXL_PSL_SERR_An_afuov, align 4, !tbaa !6
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.4) #2
br label %22
22: ; preds = %20, %16
%23 = load i32, ptr @CXL_PSL_SERR_An_badsrc, align 4, !tbaa !6
%24 = and i32 %23, %1
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.5) #2
br label %28
28: ; preds = %26, %22
%29 = load i32, ptr @CXL_PSL_SERR_An_badctx, align 4, !tbaa !6
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.6) #2
br label %34
34: ; preds = %32, %28
%35 = load i32, ptr @CXL_PSL_SERR_An_llcmdis, align 4, !tbaa !6
%36 = and i32 %35, %1
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.7) #2
br label %40
40: ; preds = %38, %34
%41 = load i32, ptr @CXL_PSL_SERR_An_llcmdto, align 4, !tbaa !6
%42 = and i32 %41, %1
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.8) #2
br label %46
46: ; preds = %44, %40
%47 = load i32, ptr @CXL_PSL_SERR_An_afupar, align 4, !tbaa !6
%48 = and i32 %47, %1
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.9) #2
br label %52
52: ; preds = %50, %46
%53 = load i32, ptr @CXL_PSL_SERR_An_afudup, align 4, !tbaa !6
%54 = and i32 %53, %1
%55 = icmp eq i32 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %52
%57 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.10) #2
br label %58
58: ; preds = %56, %52
%59 = load i32, ptr @CXL_PSL_SERR_An_AE, align 4, !tbaa !6
%60 = and i32 %59, %1
%61 = icmp eq i32 %60, 0
br i1 %61, label %64, label %62
62: ; preds = %58
%63 = tail call i32 (ptr, ptr, ...) @dev_crit(ptr noundef %0, ptr noundef nonnull @.str.11) #2
br label %64
64: ; preds = %62, %58
ret void
}
declare i32 @dev_crit(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_misc_cxl_extr_irq.c_cxl_afu_decode_psl_serr
|
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_bitblt_copyarea.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_bitblt_copyarea.c"
target datalayout = "e-m:e-p270:32:32-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_copyarea = type { i32, i32, i32, i32, i32, i32 }
%struct.fb_info = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@s1d13xxxfb_bitblt_lock = dso_local global i32 0, align 4
@S1DREG_BBLT_SRC_START0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_SRC_START1 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_SRC_START2 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START1 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START2 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_WIDTH0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_WIDTH1 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_HEIGHT0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_HEIGHT1 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"(copyarea) negative rop\0A\00", align 1
@S1DREG_BBLT_OP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"(copyarea) positive rop\0A\00", align 1
@S1DREG_BBLT_CTL0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_CTL1 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_MEM_OFF0 = dso_local local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_MEM_OFF1 = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"(copyarea) dx=%d, dy=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"(copyarea) sx=%d, sy=%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"(copyarea) width=%d, height=%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"(copyarea) stride=%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"(copyarea) bpp=%d=0x0%d, mem_offset1=%d, mem_offset2=%d\0A\00", align 1
@S1DREG_BBLT_CC_EXP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s1d13xxxfb_bitblt_copyarea], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @s1d13xxxfb_bitblt_copyarea(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.fb_copyarea, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.fb_copyarea, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.fb_copyarea, ptr %1, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = getelementptr inbounds %struct.fb_copyarea, ptr %1, i64 0, i32 4
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds %struct.fb_copyarea, ptr %1, i64 0, i32 5
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = tail call i32 @spin_lock(ptr noundef nonnull @s1d13xxxfb_bitblt_lock) #2
%15 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = ashr i32 %16, 3
%18 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = mul nsw i32 %17, %19
%21 = icmp sgt i32 %9, %5
br i1 %21, label %26, label %22
22: ; preds = %2
%23 = icmp ne i32 %9, %5
%24 = icmp slt i32 %7, %3
%25 = select i1 %23, i1 true, i1 %24
br i1 %25, label %36, label %26
26: ; preds = %22, %2
%27 = add i32 %13, -1
%28 = add i32 %27, %9
%29 = mul nsw i32 %20, %28
%30 = add i32 %11, -1
%31 = add i32 %30, %7
%32 = mul nsw i32 %17, %31
%33 = add nsw i32 %29, %32
%34 = add i32 %27, %5
%35 = add i32 %30, %3
br label %40
36: ; preds = %22
%37 = mul nsw i32 %20, %9
%38 = mul nsw i32 %17, %7
%39 = add nsw i32 %37, %38
br label %40
40: ; preds = %36, %26
%41 = phi i32 [ %3, %36 ], [ %35, %26 ]
%42 = phi i32 [ %5, %36 ], [ %34, %26 ]
%43 = phi i1 [ false, %36 ], [ true, %26 ]
%44 = phi i32 [ %39, %36 ], [ %33, %26 ]
%45 = mul nsw i32 %20, %42
%46 = mul nsw i32 %17, %41
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %0, align 4, !tbaa !19
%49 = load i32, ptr @S1DREG_BBLT_SRC_START0, align 4, !tbaa !20
%50 = and i32 %47, 255
%51 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %48, i32 noundef %49, i32 noundef %50) #2
%52 = load i32, ptr %0, align 4, !tbaa !19
%53 = load i32, ptr @S1DREG_BBLT_SRC_START1, align 4, !tbaa !20
%54 = lshr i32 %47, 8
%55 = and i32 %54, 255
%56 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %52, i32 noundef %53, i32 noundef %55) #2
%57 = load i32, ptr %0, align 4, !tbaa !19
%58 = load i32, ptr @S1DREG_BBLT_SRC_START2, align 4, !tbaa !20
%59 = lshr i32 %47, 16
%60 = and i32 %59, 255
%61 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %57, i32 noundef %58, i32 noundef %60) #2
%62 = load i32, ptr %0, align 4, !tbaa !19
%63 = load i32, ptr @S1DREG_BBLT_DST_START0, align 4, !tbaa !20
%64 = and i32 %44, 255
%65 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %62, i32 noundef %63, i32 noundef %64) #2
%66 = load i32, ptr %0, align 4, !tbaa !19
%67 = load i32, ptr @S1DREG_BBLT_DST_START1, align 4, !tbaa !20
%68 = lshr i32 %44, 8
%69 = and i32 %68, 255
%70 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %66, i32 noundef %67, i32 noundef %69) #2
%71 = load i32, ptr %0, align 4, !tbaa !19
%72 = load i32, ptr @S1DREG_BBLT_DST_START2, align 4, !tbaa !20
%73 = lshr i32 %44, 16
%74 = and i32 %73, 255
%75 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %71, i32 noundef %72, i32 noundef %74) #2
%76 = load i32, ptr %0, align 4, !tbaa !19
%77 = load i32, ptr @S1DREG_BBLT_WIDTH0, align 4, !tbaa !20
%78 = and i32 %11, 255
%79 = add nsw i32 %78, -1
%80 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %76, i32 noundef %77, i32 noundef %79) #2
%81 = load i32, ptr %0, align 4, !tbaa !19
%82 = load i32, ptr @S1DREG_BBLT_WIDTH1, align 4, !tbaa !20
%83 = ashr i32 %11, 8
%84 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %81, i32 noundef %82, i32 noundef %83) #2
%85 = load i32, ptr %0, align 4, !tbaa !19
%86 = load i32, ptr @S1DREG_BBLT_HEIGHT0, align 4, !tbaa !20
%87 = and i32 %13, 255
%88 = add nsw i32 %87, -1
%89 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %85, i32 noundef %86, i32 noundef %88) #2
%90 = load i32, ptr %0, align 4, !tbaa !19
%91 = load i32, ptr @S1DREG_BBLT_HEIGHT1, align 4, !tbaa !20
%92 = ashr i32 %13, 8
%93 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %90, i32 noundef %91, i32 noundef %92) #2
br i1 %43, label %94, label %99
94: ; preds = %40
%95 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str) #2
%96 = load i32, ptr %0, align 4, !tbaa !19
%97 = load i32, ptr @S1DREG_BBLT_OP, align 4, !tbaa !20
%98 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %96, i32 noundef %97, i32 noundef 3) #2
br label %104
99: ; preds = %40
%100 = load i32, ptr %0, align 4, !tbaa !19
%101 = load i32, ptr @S1DREG_BBLT_OP, align 4, !tbaa !20
%102 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %100, i32 noundef %101, i32 noundef 2) #2
%103 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.1) #2
br label %104
104: ; preds = %99, %94
%105 = load i32, ptr %0, align 4, !tbaa !19
%106 = load i32, ptr @S1DREG_BBLT_CTL0, align 4, !tbaa !20
%107 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %105, i32 noundef %106, i32 noundef 0) #2
%108 = load i32, ptr %0, align 4, !tbaa !19
%109 = load i32, ptr @S1DREG_BBLT_CTL1, align 4, !tbaa !20
%110 = ashr i32 %16, 4
%111 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %108, i32 noundef %109, i32 noundef %110) #2
%112 = load i32, ptr %0, align 4, !tbaa !19
%113 = load i32, ptr @S1DREG_BBLT_MEM_OFF0, align 4, !tbaa !20
%114 = lshr i32 %20, 1
%115 = and i32 %114, 255
%116 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %112, i32 noundef %113, i32 noundef %115) #2
%117 = load i32, ptr %0, align 4, !tbaa !19
%118 = load i32, ptr @S1DREG_BBLT_MEM_OFF1, align 4, !tbaa !20
%119 = ashr i32 %20, 9
%120 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %117, i32 noundef %118, i32 noundef %119) #2
%121 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.2, i32 noundef %7, i32 noundef %9) #2
%122 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.3, i32 noundef %3, i32 noundef %5) #2
%123 = add nsw i32 %11, -1
%124 = add nsw i32 %13, -1
%125 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.4, i32 noundef %123, i32 noundef %124) #2
%126 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.5, i32 noundef %20) #2
%127 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.6, i32 noundef %17, i32 noundef %110, i32 noundef %115, i32 noundef %119) #2
%128 = load i32, ptr %0, align 4, !tbaa !19
%129 = load i32, ptr @S1DREG_BBLT_CC_EXP, align 4, !tbaa !20
%130 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %128, i32 noundef %129, i32 noundef 12) #2
%131 = load i32, ptr %0, align 4, !tbaa !19
%132 = load i32, ptr @S1DREG_BBLT_CTL0, align 4, !tbaa !20
%133 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %131, i32 noundef %132, i32 noundef 128) #2
%134 = tail call i32 @bltbit_wait_bitclear(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 8000) #2
%135 = tail call i32 @spin_unlock(ptr noundef nonnull @s1d13xxxfb_bitblt_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @s1d13xxxfb_writereg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dbg_blit(ptr noundef, ...) local_unnamed_addr #1
declare i32 @bltbit_wait_bitclear(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_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 = !{!"fb_copyarea", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!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 8}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 20}
!15 = !{!16, !7, i64 4}
!16 = !{!"fb_info", !7, i64 0, !17, i64 4}
!17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!18 = !{!16, !7, i64 8}
!19 = !{!16, !7, i64 0}
!20 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_bitblt_copyarea.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_bitblt_copyarea.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@s1d13xxxfb_bitblt_lock = common global i32 0, align 4
@S1DREG_BBLT_SRC_START0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_SRC_START1 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_SRC_START2 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START1 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_DST_START2 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_WIDTH0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_WIDTH1 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_HEIGHT0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_HEIGHT1 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"(copyarea) negative rop\0A\00", align 1
@S1DREG_BBLT_OP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"(copyarea) positive rop\0A\00", align 1
@S1DREG_BBLT_CTL0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_CTL1 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_MEM_OFF0 = common local_unnamed_addr global i32 0, align 4
@S1DREG_BBLT_MEM_OFF1 = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"(copyarea) dx=%d, dy=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"(copyarea) sx=%d, sy=%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"(copyarea) width=%d, height=%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"(copyarea) stride=%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"(copyarea) bpp=%d=0x0%d, mem_offset1=%d, mem_offset2=%d\0A\00", align 1
@S1DREG_BBLT_CC_EXP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s1d13xxxfb_bitblt_copyarea], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @s1d13xxxfb_bitblt_copyarea(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = getelementptr inbounds i8, ptr %1, i64 20
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = tail call i32 @spin_lock(ptr noundef nonnull @s1d13xxxfb_bitblt_lock) #2
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = ashr i32 %16, 3
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = mul nsw i32 %17, %19
%21 = icmp sgt i32 %9, %5
br i1 %21, label %26, label %22
22: ; preds = %2
%23 = icmp ne i32 %9, %5
%24 = icmp slt i32 %7, %3
%25 = select i1 %23, i1 true, i1 %24
br i1 %25, label %36, label %26
26: ; preds = %22, %2
%27 = add i32 %13, -1
%28 = add i32 %27, %9
%29 = mul nsw i32 %20, %28
%30 = add i32 %11, -1
%31 = add i32 %30, %7
%32 = mul nsw i32 %17, %31
%33 = add nsw i32 %29, %32
%34 = add i32 %27, %5
%35 = add i32 %30, %3
br label %40
36: ; preds = %22
%37 = mul nsw i32 %20, %9
%38 = mul nsw i32 %17, %7
%39 = add nsw i32 %37, %38
br label %40
40: ; preds = %36, %26
%41 = phi i32 [ %3, %36 ], [ %35, %26 ]
%42 = phi i32 [ %5, %36 ], [ %34, %26 ]
%43 = phi i1 [ false, %36 ], [ true, %26 ]
%44 = phi i32 [ %39, %36 ], [ %33, %26 ]
%45 = mul nsw i32 %20, %42
%46 = mul nsw i32 %17, %41
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %0, align 4, !tbaa !20
%49 = load i32, ptr @S1DREG_BBLT_SRC_START0, align 4, !tbaa !21
%50 = and i32 %47, 255
%51 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %48, i32 noundef %49, i32 noundef %50) #2
%52 = load i32, ptr %0, align 4, !tbaa !20
%53 = load i32, ptr @S1DREG_BBLT_SRC_START1, align 4, !tbaa !21
%54 = lshr i32 %47, 8
%55 = and i32 %54, 255
%56 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %52, i32 noundef %53, i32 noundef %55) #2
%57 = load i32, ptr %0, align 4, !tbaa !20
%58 = load i32, ptr @S1DREG_BBLT_SRC_START2, align 4, !tbaa !21
%59 = lshr i32 %47, 16
%60 = and i32 %59, 255
%61 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %57, i32 noundef %58, i32 noundef %60) #2
%62 = load i32, ptr %0, align 4, !tbaa !20
%63 = load i32, ptr @S1DREG_BBLT_DST_START0, align 4, !tbaa !21
%64 = and i32 %44, 255
%65 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %62, i32 noundef %63, i32 noundef %64) #2
%66 = load i32, ptr %0, align 4, !tbaa !20
%67 = load i32, ptr @S1DREG_BBLT_DST_START1, align 4, !tbaa !21
%68 = lshr i32 %44, 8
%69 = and i32 %68, 255
%70 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %66, i32 noundef %67, i32 noundef %69) #2
%71 = load i32, ptr %0, align 4, !tbaa !20
%72 = load i32, ptr @S1DREG_BBLT_DST_START2, align 4, !tbaa !21
%73 = lshr i32 %44, 16
%74 = and i32 %73, 255
%75 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %71, i32 noundef %72, i32 noundef %74) #2
%76 = load i32, ptr %0, align 4, !tbaa !20
%77 = load i32, ptr @S1DREG_BBLT_WIDTH0, align 4, !tbaa !21
%78 = and i32 %11, 255
%79 = add nsw i32 %78, -1
%80 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %76, i32 noundef %77, i32 noundef %79) #2
%81 = load i32, ptr %0, align 4, !tbaa !20
%82 = load i32, ptr @S1DREG_BBLT_WIDTH1, align 4, !tbaa !21
%83 = ashr i32 %11, 8
%84 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %81, i32 noundef %82, i32 noundef %83) #2
%85 = load i32, ptr %0, align 4, !tbaa !20
%86 = load i32, ptr @S1DREG_BBLT_HEIGHT0, align 4, !tbaa !21
%87 = and i32 %13, 255
%88 = add nsw i32 %87, -1
%89 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %85, i32 noundef %86, i32 noundef %88) #2
%90 = load i32, ptr %0, align 4, !tbaa !20
%91 = load i32, ptr @S1DREG_BBLT_HEIGHT1, align 4, !tbaa !21
%92 = ashr i32 %13, 8
%93 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %90, i32 noundef %91, i32 noundef %92) #2
br i1 %43, label %94, label %99
94: ; preds = %40
%95 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str) #2
%96 = load i32, ptr %0, align 4, !tbaa !20
%97 = load i32, ptr @S1DREG_BBLT_OP, align 4, !tbaa !21
%98 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %96, i32 noundef %97, i32 noundef 3) #2
br label %104
99: ; preds = %40
%100 = load i32, ptr %0, align 4, !tbaa !20
%101 = load i32, ptr @S1DREG_BBLT_OP, align 4, !tbaa !21
%102 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %100, i32 noundef %101, i32 noundef 2) #2
%103 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.1) #2
br label %104
104: ; preds = %99, %94
%105 = load i32, ptr %0, align 4, !tbaa !20
%106 = load i32, ptr @S1DREG_BBLT_CTL0, align 4, !tbaa !21
%107 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %105, i32 noundef %106, i32 noundef 0) #2
%108 = load i32, ptr %0, align 4, !tbaa !20
%109 = load i32, ptr @S1DREG_BBLT_CTL1, align 4, !tbaa !21
%110 = ashr i32 %16, 4
%111 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %108, i32 noundef %109, i32 noundef %110) #2
%112 = load i32, ptr %0, align 4, !tbaa !20
%113 = load i32, ptr @S1DREG_BBLT_MEM_OFF0, align 4, !tbaa !21
%114 = lshr i32 %20, 1
%115 = and i32 %114, 255
%116 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %112, i32 noundef %113, i32 noundef %115) #2
%117 = load i32, ptr %0, align 4, !tbaa !20
%118 = load i32, ptr @S1DREG_BBLT_MEM_OFF1, align 4, !tbaa !21
%119 = ashr i32 %20, 9
%120 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %117, i32 noundef %118, i32 noundef %119) #2
%121 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.2, i32 noundef %7, i32 noundef %9) #2
%122 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.3, i32 noundef %3, i32 noundef %5) #2
%123 = add nsw i32 %11, -1
%124 = add nsw i32 %13, -1
%125 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.4, i32 noundef %123, i32 noundef %124) #2
%126 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.5, i32 noundef %20) #2
%127 = tail call i32 (ptr, ...) @dbg_blit(ptr noundef nonnull @.str.6, i32 noundef %17, i32 noundef %110, i32 noundef %115, i32 noundef %119) #2
%128 = load i32, ptr %0, align 4, !tbaa !20
%129 = load i32, ptr @S1DREG_BBLT_CC_EXP, align 4, !tbaa !21
%130 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %128, i32 noundef %129, i32 noundef 12) #2
%131 = load i32, ptr %0, align 4, !tbaa !20
%132 = load i32, ptr @S1DREG_BBLT_CTL0, align 4, !tbaa !21
%133 = tail call i32 @s1d13xxxfb_writereg(i32 noundef %131, i32 noundef %132, i32 noundef 128) #2
%134 = tail call i32 @bltbit_wait_bitclear(ptr noundef nonnull %0, i32 noundef 128, i32 noundef 8000) #2
%135 = tail call i32 @spin_unlock(ptr noundef nonnull @s1d13xxxfb_bitblt_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @s1d13xxxfb_writereg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dbg_blit(ptr noundef, ...) local_unnamed_addr #1
declare i32 @bltbit_wait_bitclear(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_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 = !{!"fb_copyarea", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!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 8}
!13 = !{!7, !8, i64 12}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 20}
!16 = !{!17, !8, i64 4}
!17 = !{!"fb_info", !8, i64 0, !18, i64 4}
!18 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!19 = !{!17, !8, i64 8}
!20 = !{!17, !8, i64 0}
!21 = !{!8, !8, i64 0}
|
linux_drivers_video_fbdev_extr_s1d13xxxfb.c_s1d13xxxfb_bitblt_copyarea
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxv.c_yo_block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxv.c_yo_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @yo_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @yo_block(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, i32 %3, ptr noundef %4) #0 {
%6 = alloca [16 x i32], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #3
%7 = call i32 @yao_subblock(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %1, ptr noundef %4) #3
%8 = getelementptr inbounds i32, ptr %0, i64 4
%9 = getelementptr inbounds i32, ptr %4, i64 8
%10 = call i32 @yao_subblock(ptr noundef nonnull %8, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %9) #3
%11 = getelementptr inbounds i32, ptr %0, i64 8
%12 = getelementptr inbounds i32, ptr %4, i64 16
%13 = call i32 @yao_subblock(ptr noundef nonnull %11, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %12) #3
%14 = getelementptr inbounds i32, ptr %0, i64 12
%15 = getelementptr inbounds i32, ptr %4, i64 24
%16 = call i32 @yao_subblock(ptr noundef nonnull %14, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %15) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #3
ret i32 32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @yao_subblock(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxv.c_yo_block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxv.c_yo_block.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 @yo_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @yo_block(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, i32 %3, ptr noundef %4) #0 {
%6 = alloca [16 x i32], align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #3
%7 = call i32 @yao_subblock(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %1, ptr noundef %4) #3
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = getelementptr inbounds i8, ptr %4, i64 32
%10 = call i32 @yao_subblock(ptr noundef nonnull %8, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %9) #3
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = getelementptr inbounds i8, ptr %4, i64 64
%13 = call i32 @yao_subblock(ptr noundef nonnull %11, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %12) #3
%14 = getelementptr inbounds i8, ptr %0, i64 48
%15 = getelementptr inbounds i8, ptr %4, i64 96
%16 = call i32 @yao_subblock(ptr noundef nonnull %14, ptr noundef nonnull %6, i32 noundef %1, ptr noundef nonnull %15) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #3
ret i32 32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @yao_subblock(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
FFmpeg_libavcodec_extr_dxv.c_yo_block
|
; ModuleID = 'AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_msg_event.c'
source_filename = "AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_msg_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Msg status bits %#llx\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_msg_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @perf_msg_event(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @ntb_msg_read_sts(ptr noundef %2) #2
%4 = tail call i32 @dev_dbg(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = tail call i32 @perf_cmd_recv(ptr noundef nonnull %0) #2
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntb_msg_read_sts(ptr noundef) local_unnamed_addr #1
declare i32 @perf_cmd_recv(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 = !{!"perf_ctx", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_msg_event.c'
source_filename = "AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_msg_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i8] c"Msg status bits %#llx\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @perf_msg_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @perf_msg_event(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @ntb_msg_read_sts(ptr noundef %2) #2
%4 = tail call i32 @dev_dbg(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = tail call i32 @perf_cmd_recv(ptr noundef nonnull %0) #2
ret void
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntb_msg_read_sts(ptr noundef) local_unnamed_addr #1
declare i32 @perf_cmd_recv(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 = !{!"perf_ctx", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_ntb_test_extr_ntb_perf.c_perf_msg_event
|
; ModuleID = 'AnghaBench/openssl/crypto/extr_cversion.c_OpenSSL_version_num.c'
source_filename = "AnghaBench/openssl/crypto/extr_cversion.c_OpenSSL_version_num.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OPENSSL_VERSION_NUMBER = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i64 @OpenSSL_version_num() local_unnamed_addr #0 {
%1 = load i64, ptr @OPENSSL_VERSION_NUMBER, align 8, !tbaa !5
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/openssl/crypto/extr_cversion.c_OpenSSL_version_num.c'
source_filename = "AnghaBench/openssl/crypto/extr_cversion.c_OpenSSL_version_num.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OPENSSL_VERSION_NUMBER = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i64 @OpenSSL_version_num() local_unnamed_addr #0 {
%1 = load i64, ptr @OPENSSL_VERSION_NUMBER, align 8, !tbaa !6
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
openssl_crypto_extr_cversion.c_OpenSSL_version_num
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/extr_drm_modes.c_drm_mode_duplicate.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_modes.c_drm_mode_duplicate.c"
target datalayout = "e-m:e-p270:32:32-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 @drm_mode_duplicate(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @drm_mode_create(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @drm_mode_copy(ptr noundef nonnull %3, ptr noundef %1) #2
br label %7
7: ; preds = %2, %5
ret ptr %3
}
declare ptr @drm_mode_create(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_copy(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/freebsd/sys/dev/drm2/extr_drm_modes.c_drm_mode_duplicate.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_modes.c_drm_mode_duplicate.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 @drm_mode_duplicate(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @drm_mode_create(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @drm_mode_copy(ptr noundef nonnull %3, ptr noundef %1) #2
br label %7
7: ; preds = %2, %5
ret ptr %3
}
declare ptr @drm_mode_create(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_copy(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)"}
|
freebsd_sys_dev_drm2_extr_drm_modes.c_drm_mode_duplicate
|
; ModuleID = 'AnghaBench/sqlcipher/src/extr_select.c_explainTempTable.c'
source_filename = "AnghaBench/sqlcipher/src/extr_select.c_explainTempTable.c"
target datalayout = "e-m:e-p270:32:32-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 @explainTempTable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @explainTempTable(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = tail call i32 @ExplainQueryPlan(ptr noundef %1) #2
ret void
}
declare i32 @ExplainQueryPlan(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/sqlcipher/src/extr_select.c_explainTempTable.c'
source_filename = "AnghaBench/sqlcipher/src/extr_select.c_explainTempTable.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 @explainTempTable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @explainTempTable(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = tail call i32 @ExplainQueryPlan(ptr noundef %1) #2
ret void
}
declare i32 @ExplainQueryPlan(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)"}
|
sqlcipher_src_extr_select.c_explainTempTable
|
; ModuleID = 'AnghaBench/disque/deps/hiredis/extr_async.c_redisAsyncInitialize.c'
source_filename = "AnghaBench/disque/deps/hiredis/extr_async.c_redisAsyncInitialize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_16__ = type { %struct.TYPE_14__, %struct.TYPE_12__, ptr, ptr, %struct.TYPE_11__, ptr, ptr, i64, %struct.TYPE_15__ }
%struct.TYPE_14__ = type { ptr, ptr, %struct.TYPE_13__ }
%struct.TYPE_13__ = type { ptr, ptr }
%struct.TYPE_12__ = type { ptr, ptr }
%struct.TYPE_11__ = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_15__ = type { i32 }
@REDIS_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4
@callbackDict = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @redisAsyncInitialize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @redisAsyncInitialize(ptr noundef %0) #0 {
%2 = tail call ptr @realloc(ptr noundef %0, i32 noundef 144) #3
%3 = icmp eq ptr %2, null
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_16__, ptr %2, i64 0, i32 8
%6 = load i32, ptr @REDIS_CONNECTED, align 4, !tbaa !5
%7 = xor i32 %6, -1
%8 = load i32, ptr %5, align 4, !tbaa !9
%9 = and i32 %8, %7
store i32 %9, ptr %5, align 4, !tbaa !9
%10 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %10, i8 0, i64 120, i1 false)
%11 = tail call ptr @dictCreate(ptr noundef nonnull @callbackDict, ptr noundef null) #3
%12 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 1
store ptr %11, ptr %12, align 8, !tbaa !11
%13 = tail call ptr @dictCreate(ptr noundef nonnull @callbackDict, ptr noundef null) #3
store ptr %13, ptr %2, align 8, !tbaa !19
br label %14
14: ; preds = %1, %4
ret ptr %2
}
declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dictCreate(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_15__", !6, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_16__", !13, i64 0, !16, i64 32, !14, i64 48, !14, i64 56, !17, i64 64, !14, i64 112, !14, i64 120, !18, i64 128, !10, i64 136}
!13 = !{!"TYPE_14__", !14, i64 0, !14, i64 8, !15, i64 16}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"TYPE_13__", !14, i64 0, !14, i64 8}
!16 = !{!"TYPE_12__", !14, i64 0, !14, i64 8}
!17 = !{!"TYPE_11__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!18 = !{!"long", !7, i64 0}
!19 = !{!12, !14, i64 0}
|
; ModuleID = 'AnghaBench/disque/deps/hiredis/extr_async.c_redisAsyncInitialize.c'
source_filename = "AnghaBench/disque/deps/hiredis/extr_async.c_redisAsyncInitialize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REDIS_CONNECTED = common local_unnamed_addr global i32 0, align 4
@callbackDict = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @redisAsyncInitialize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @redisAsyncInitialize(ptr noundef %0) #0 {
%2 = tail call ptr @realloc(ptr noundef %0, i32 noundef 144) #3
%3 = icmp eq ptr %2, null
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %2, i64 136
%6 = load i32, ptr @REDIS_CONNECTED, align 4, !tbaa !6
%7 = xor i32 %6, -1
%8 = load i32, ptr %5, align 4, !tbaa !10
%9 = and i32 %8, %7
store i32 %9, ptr %5, align 4, !tbaa !10
%10 = getelementptr inbounds i8, ptr %2, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %10, i8 0, i64 120, i1 false)
%11 = tail call ptr @dictCreate(ptr noundef nonnull @callbackDict, ptr noundef null) #3
%12 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %11, ptr %12, align 8, !tbaa !12
%13 = tail call ptr @dictCreate(ptr noundef nonnull @callbackDict, ptr noundef null) #3
store ptr %13, ptr %2, align 8, !tbaa !20
br label %14
14: ; preds = %1, %4
ret ptr %2
}
declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dictCreate(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_15__", !7, i64 0}
!12 = !{!13, !15, i64 8}
!13 = !{!"TYPE_16__", !14, i64 0, !17, i64 32, !15, i64 48, !15, i64 56, !18, i64 64, !15, i64 112, !15, i64 120, !19, i64 128, !11, i64 136}
!14 = !{!"TYPE_14__", !15, i64 0, !15, i64 8, !16, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"TYPE_13__", !15, i64 0, !15, i64 8}
!17 = !{!"TYPE_12__", !15, i64 0, !15, i64 8}
!18 = !{!"TYPE_11__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40}
!19 = !{!"long", !8, i64 0}
!20 = !{!13, !15, i64 0}
|
disque_deps_hiredis_extr_async.c_redisAsyncInitialize
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_pub_cmp.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_pub_cmp.c"
target datalayout = "e-m:e-p270:32:32-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 @ecx_pub_cmp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ecx_pub_cmp(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = icmp eq ptr %3, null
%6 = icmp eq ptr %4, null
%7 = select i1 %5, i1 true, i1 %6
br i1 %7, label %15, label %8
8: ; preds = %2
%9 = load i32, ptr %3, align 4, !tbaa !11
%10 = load i32, ptr %4, align 4, !tbaa !11
%11 = tail call i32 @KEYLEN(ptr noundef nonnull %0) #2
%12 = tail call i64 @CRYPTO_memcmp(i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %2, %8
%16 = phi i32 [ %14, %8 ], [ -2, %2 ]
ret i32 %16
}
declare i64 @CRYPTO_memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @KEYLEN(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_pub_cmp.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_pub_cmp.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 @ecx_pub_cmp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2, 2) i32 @ecx_pub_cmp(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = icmp eq ptr %3, null
%6 = icmp eq ptr %4, null
%7 = select i1 %5, i1 true, i1 %6
br i1 %7, label %15, label %8
8: ; preds = %2
%9 = load i32, ptr %3, align 4, !tbaa !12
%10 = load i32, ptr %4, align 4, !tbaa !12
%11 = tail call i32 @KEYLEN(ptr noundef nonnull %0) #2
%12 = tail call i64 @CRYPTO_memcmp(i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %2, %8
%16 = phi i32 [ %14, %8 ], [ -2, %2 ]
ret i32 %16
}
declare i64 @CRYPTO_memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @KEYLEN(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"int", !10, i64 0}
|
freebsd_crypto_openssl_crypto_ec_extr_ecx_meth.c_ecx_pub_cmp
|
; ModuleID = 'AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_get_data_ro.c'
source_filename = "AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_get_data_ro.c"
target datalayout = "e-m:e-p270:32:32-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 @mp_aframe_get_data_ro(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @mp_aframe_is_allocated(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
br label %7
7: ; preds = %1, %4
%8 = phi ptr [ %6, %4 ], [ null, %1 ]
ret ptr %8
}
declare i64 @mp_aframe_is_allocated(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 = !{!"mp_aframe", !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}
|
; ModuleID = 'AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_get_data_ro.c'
source_filename = "AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_get_data_ro.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 @mp_aframe_get_data_ro(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @mp_aframe_is_allocated(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
br label %7
7: ; preds = %1, %4
%8 = phi ptr [ %6, %4 ], [ null, %1 ]
ret ptr %8
}
declare i64 @mp_aframe_is_allocated(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 = !{!"mp_aframe", !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}
|
mpv_audio_extr_aframe.c_mp_aframe_get_data_ro
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_search.c_pci_get_domain_bus_and_slot.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_search.c_pci_get_domain_bus_and_slot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pci_dev = type { i32, ptr }
@PCI_ANY_ID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @pci_get_domain_bus_and_slot(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @PCI_ANY_ID, align 4, !tbaa !5
%5 = tail call ptr @pci_get_device(i32 noundef %4, i32 noundef %4, ptr noundef null) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %24, label %7
7: ; preds = %3, %20
%8 = phi ptr [ %22, %20 ], [ %5, %3 ]
%9 = getelementptr inbounds %struct.pci_dev, ptr %8, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !9
%11 = tail call i32 @pci_domain_nr(ptr noundef %10) #2
%12 = icmp eq i32 %11, %0
br i1 %12, label %13, label %20
13: ; preds = %7
%14 = load ptr, ptr %9, align 8, !tbaa !9
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = icmp eq i32 %15, %1
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %8, align 8, !tbaa !14
%19 = icmp eq i32 %18, %2
br i1 %19, label %24, label %20
20: ; preds = %17, %13, %7
%21 = load i32, ptr @PCI_ANY_ID, align 4, !tbaa !5
%22 = tail call ptr @pci_get_device(i32 noundef %21, i32 noundef %21, ptr noundef nonnull %8) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %7, !llvm.loop !15
24: ; preds = %17, %20, %3
%25 = phi ptr [ null, %3 ], [ null, %20 ], [ %8, %17 ]
ret ptr %25
}
declare ptr @pci_get_device(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_domain_nr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"pci_dev", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
!14 = !{!10, !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_search.c_pci_get_domain_bus_and_slot.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_search.c_pci_get_domain_bus_and_slot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI_ANY_ID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @pci_get_domain_bus_and_slot(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @PCI_ANY_ID, align 4, !tbaa !6
%5 = tail call ptr @pci_get_device(i32 noundef %4, i32 noundef %4, ptr noundef null) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %24, label %7
7: ; preds = %3, %20
%8 = phi ptr [ %22, %20 ], [ %5, %3 ]
%9 = getelementptr inbounds i8, ptr %8, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = tail call i32 @pci_domain_nr(ptr noundef %10) #2
%12 = icmp eq i32 %11, %0
br i1 %12, label %13, label %20
13: ; preds = %7
%14 = load ptr, ptr %9, align 8, !tbaa !10
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = icmp eq i32 %15, %1
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %8, align 8, !tbaa !15
%19 = icmp eq i32 %18, %2
br i1 %19, label %24, label %20
20: ; preds = %17, %13, %7
%21 = load i32, ptr @PCI_ANY_ID, align 4, !tbaa !6
%22 = tail call ptr @pci_get_device(i32 noundef %21, i32 noundef %21, ptr noundef nonnull %8) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %7, !llvm.loop !16
24: ; preds = %17, %20, %3
%25 = phi ptr [ null, %3 ], [ null, %20 ], [ %8, %17 ]
ret ptr %25
}
declare ptr @pci_get_device(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_domain_nr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"pci_dev", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!11, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_pci_extr_search.c_pci_get_domain_bus_and_slot
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_day.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_day.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MS_PER_DAY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @day], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @day(i32 noundef %0) #0 {
%2 = load i32, ptr @MS_PER_DAY, align 4, !tbaa !5
%3 = sdiv i32 %0, %2
%4 = tail call i32 @floor(i32 noundef %3) #2
ret i32 %4
}
declare i32 @floor(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_day.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_day.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MS_PER_DAY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @day], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @day(i32 noundef %0) #0 {
%2 = load i32, ptr @MS_PER_DAY, align 4, !tbaa !6
%3 = sdiv i32 %0, %2
%4 = tail call i32 @floor(i32 noundef %3) #2
ret i32 %4
}
declare i32 @floor(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
reactos_dll_win32_jscript_extr_date.c_day
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk.c_clkdom_unlock.c'
source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk.c_clkdom_unlock.c"
target datalayout = "e-m:e-p270:32:32-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 @clkdom_unlock(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @CLK_TOPO_UNLOCK() #2
ret void
}
declare i32 @CLK_TOPO_UNLOCK(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/dev/extres/clk/extr_clk.c_clkdom_unlock.c'
source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk.c_clkdom_unlock.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 @clkdom_unlock(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 @CLK_TOPO_UNLOCK() #2
ret void
}
declare i32 @CLK_TOPO_UNLOCK(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_dev_extres_clk_extr_clk.c_clkdom_unlock
|
; ModuleID = 'AnghaBench/tig/src/extr_options.c_use_mailmap_arg.c'
source_filename = "AnghaBench/tig/src/extr_options.c_use_mailmap_arg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@opt_mailmap = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"--use-mailmap\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local nonnull ptr @use_mailmap_arg() local_unnamed_addr #0 {
%1 = load i64, ptr @opt_mailmap, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
%3 = select i1 %2, ptr @.str.1, ptr @.str
ret ptr %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/tig/src/extr_options.c_use_mailmap_arg.c'
source_filename = "AnghaBench/tig/src/extr_options.c_use_mailmap_arg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@opt_mailmap = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"--use-mailmap\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define nonnull ptr @use_mailmap_arg() local_unnamed_addr #0 {
%1 = load i64, ptr @opt_mailmap, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
%3 = select i1 %2, ptr @.str.1, ptr @.str
ret ptr %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
tig_src_extr_options.c_use_mailmap_arg
|
; ModuleID = 'AnghaBench/linux/sound/pci/asihpi/extr_asihpi.c_snd_asihpi_level_get.c'
source_filename = "AnghaBench/linux/sound/pci/asihpi/extr_asihpi.c_snd_asihpi_level_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HPI_MAX_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4
@HPI_UNITS_PER_dB = dso_local local_unnamed_addr global i16 0, align 2
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_asihpi_level_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_asihpi_level_get(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @HPI_MAX_CHANNELS, align 4, !tbaa !10
%5 = zext i32 %4 to i64
%6 = alloca i16, i64 %5, align 16
%7 = call i32 @hpi_level_get_gain(i32 noundef %3, ptr noundef nonnull %6) #2
%8 = call i32 @hpi_handle_error(i32 noundef %7) #2
%9 = load i16, ptr %6, align 16, !tbaa !11
%10 = sext i16 %9 to i32
%11 = load i16, ptr @HPI_UNITS_PER_dB, align 2, !tbaa !11
%12 = sext i16 %11 to i32
%13 = sdiv i32 %10, %12
%14 = trunc i32 %13 to i16
%15 = load ptr, ptr %1, align 8, !tbaa !13
store i16 %14, ptr %15, align 2, !tbaa !11
%16 = getelementptr inbounds i16, ptr %6, i64 1
%17 = load i16, ptr %16, align 2, !tbaa !11
%18 = sext i16 %17 to i32
%19 = load i16, ptr @HPI_UNITS_PER_dB, align 2, !tbaa !11
%20 = sext i16 %19 to i32
%21 = sdiv i32 %18, %20
%22 = trunc i32 %21 to i16
%23 = getelementptr inbounds i16, ptr %15, i64 1
store i16 %22, ptr %23, align 2, !tbaa !11
ret i32 0
}
declare i32 @hpi_handle_error(i32 noundef) local_unnamed_addr #1
declare i32 @hpi_level_get_gain(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 = !{!"snd_kcontrol", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!14, !17, i64 0}
!14 = !{!"snd_ctl_elem_value", !15, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !17, i64 0}
!17 = !{!"any pointer", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/pci/asihpi/extr_asihpi.c_snd_asihpi_level_get.c'
source_filename = "AnghaBench/linux/sound/pci/asihpi/extr_asihpi.c_snd_asihpi_level_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HPI_MAX_CHANNELS = common local_unnamed_addr global i32 0, align 4
@HPI_UNITS_PER_dB = common local_unnamed_addr global i16 0, align 2
@llvm.used = appending global [1 x ptr] [ptr @snd_asihpi_level_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_asihpi_level_get(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @HPI_MAX_CHANNELS, align 4, !tbaa !11
%5 = zext i32 %4 to i64
%6 = alloca i16, i64 %5, align 2
%7 = call i32 @hpi_level_get_gain(i32 noundef %3, ptr noundef nonnull %6) #2
%8 = call i32 @hpi_handle_error(i32 noundef %7) #2
%9 = load i16, ptr %6, align 2, !tbaa !12
%10 = sext i16 %9 to i32
%11 = load i16, ptr @HPI_UNITS_PER_dB, align 2, !tbaa !12
%12 = sext i16 %11 to i32
%13 = sdiv i32 %10, %12
%14 = trunc i32 %13 to i16
%15 = load ptr, ptr %1, align 8, !tbaa !14
store i16 %14, ptr %15, align 2, !tbaa !12
%16 = getelementptr inbounds i8, ptr %6, i64 2
%17 = load i16, ptr %16, align 2, !tbaa !12
%18 = sext i16 %17 to i32
%19 = load i16, ptr @HPI_UNITS_PER_dB, align 2, !tbaa !12
%20 = sext i16 %19 to i32
%21 = sdiv i32 %18, %20
%22 = trunc i32 %21 to i16
%23 = getelementptr inbounds i8, ptr %15, i64 2
store i16 %22, ptr %23, align 2, !tbaa !12
ret i32 0
}
declare i32 @hpi_handle_error(i32 noundef) local_unnamed_addr #1
declare i32 @hpi_level_get_gain(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 = !{!"snd_kcontrol", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !9, i64 0}
!14 = !{!15, !18, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !18, i64 0}
!18 = !{!"any pointer", !9, i64 0}
|
linux_sound_pci_asihpi_extr_asihpi.c_snd_asihpi_level_get
|
; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_shade_calc.c_RB_CalcColorFromEntity.c'
source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_shade_calc.c_RB_CalcColorFromEntity.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_8__ = type { %struct.TYPE_6__* }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_7__ = type { i32 }
@backEnd = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@tess = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
; Function Attrs: nofree norecurse nosync nounwind uwtable
define dso_local void @RB_CalcColorFromEntity(i8* nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load %struct.TYPE_6__*, %struct.TYPE_6__** getelementptr inbounds (%struct.TYPE_8__, %struct.TYPE_8__* @backEnd, i64 0, i32 0), align 8, !tbaa !5
%3 = icmp eq %struct.TYPE_6__* %2, null
br i1 %3, label %20, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %2, i64 0, i32 0, i32 0
%6 = load i64, i64* %5, align 8, !tbaa !10
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4, !tbaa !14
%9 = load i32, i32* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @tess, i64 0, i32 0), align 4, !tbaa !16
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = bitcast i8* %0 to i32*
br label %13
13: ; preds = %11, %13
%14 = phi i32 [ %16, %13 ], [ 0, %11 ]
%15 = phi i32* [ %17, %13 ], [ %12, %11 ]
store i32 %8, i32* %15, align 4, !tbaa !14
%16 = add nuw nsw i32 %14, 1
%17 = getelementptr inbounds i32, i32* %15, i64 1
%18 = load i32, i32* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @tess, i64 0, i32 0), align 4, !tbaa !16
%19 = icmp slt i32 %16, %18
br i1 %19, label %13, label %20, !llvm.loop !18
20: ; preds = %13, %4, %1
ret void
}
attributes #0 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"TYPE_7__", !15, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_shade_calc.c_RB_CalcColorFromEntity.c'
source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_shade_calc.c_RB_CalcColorFromEntity.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr }
%struct.TYPE_7__ = type { i32 }
@backEnd = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@tess = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @RB_CalcColorFromEntity(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @backEnd, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %17, label %4
4: ; preds = %1
%5 = load i64, ptr %2, align 8, !tbaa !11
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = load i32, ptr @tess, align 4, !tbaa !17
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %4, %10
%11 = phi i32 [ %13, %10 ], [ 0, %4 ]
%12 = phi ptr [ %14, %10 ], [ %0, %4 ]
store i32 %7, ptr %12, align 4, !tbaa !15
%13 = add nuw nsw i32 %11, 1
%14 = getelementptr inbounds i8, ptr %12, i64 4
%15 = load i32, ptr @tess, align 4, !tbaa !17
%16 = icmp slt i32 %13, %15
br i1 %16, label %10, label %17, !llvm.loop !19
17: ; preds = %10, %4, %1
ret void
}
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, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"TYPE_7__", !16, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
|
lab_engine_code_renderergl1_extr_tr_shade_calc.c_RB_CalcColorFromEntity
|
; ModuleID = 'AnghaBench/linux/drivers/s390/block/extr_dasd_int.h_dasd_path_is_ifcc.c'
source_filename = "AnghaBench/linux/drivers/s390/block/extr_dasd_int.h_dasd_path_is_ifcc.c"
target datalayout = "e-m:e-p270:32:32-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 }
@DASD_PATH_IFCC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dasd_path_is_ifcc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @dasd_path_is_ifcc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @DASD_PATH_IFCC, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %5
%7 = tail call i32 @test_bit(i32 noundef %3, ptr noundef %6) #2
ret i32 %7
}
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"dasd_device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/s390/block/extr_dasd_int.h_dasd_path_is_ifcc.c'
source_filename = "AnghaBench/linux/drivers/s390/block/extr_dasd_int.h_dasd_path_is_ifcc.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 }
@DASD_PATH_IFCC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dasd_path_is_ifcc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @dasd_path_is_ifcc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @DASD_PATH_IFCC, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %5
%7 = tail call i32 @test_bit(i32 noundef %3, ptr noundef %6) #2
ret i32 %7
}
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"dasd_device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
linux_drivers_s390_block_extr_dasd_int.h_dasd_path_is_ifcc
|
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_surface.c_convert_argb_pixels.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_surface.c_convert_argb_pixels.c"
target datalayout = "e-m:e-p270:32:32-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.argb_conversion_info = type { ptr }
%struct.vec4 = type { float }
%struct.volume = type { i32, i32, i32 }
%struct.pixel_format_desc = type { i64, i32, ptr, ptr }
@D3DFMT_A8R8G8B8 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @convert_argb_pixels(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef readonly %8, ptr noundef %9, i64 noundef %10, ptr noundef %11) local_unnamed_addr #0 {
%13 = alloca %struct.argb_conversion_info, align 8
%14 = alloca %struct.argb_conversion_info, align 8
%15 = alloca [4 x i64], align 16
%16 = alloca i64, align 8
%17 = alloca %struct.vec4, align 4
%18 = alloca %struct.vec4, align 4
%19 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #3
%20 = call i32 @ZeroMemory(ptr noundef nonnull %15, i32 noundef 32) #3
%21 = call i32 @init_argb_conversion_info(ptr noundef %4, ptr noundef %9, ptr noundef nonnull %13) #3
%22 = load i32, ptr %3, align 4, !tbaa !5
%23 = load i32, ptr %8, align 4, !tbaa !5
%24 = call i32 @min(i32 noundef %22, i32 noundef %23) #3
%25 = getelementptr inbounds %struct.volume, ptr %3, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !10
%27 = getelementptr inbounds %struct.volume, ptr %8, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = call i32 @min(i32 noundef %26, i32 noundef %28) #3
%30 = getelementptr inbounds %struct.volume, ptr %3, i64 0, i32 2
%31 = load i32, ptr %30, align 4, !tbaa !11
%32 = getelementptr inbounds %struct.volume, ptr %8, i64 0, i32 2
%33 = load i32, ptr %32, align 4, !tbaa !11
%34 = call i32 @min(i32 noundef %31, i32 noundef %33) #3
%35 = icmp eq i64 %10, 0
br i1 %35, label %40, label %36
36: ; preds = %12
%37 = load i32, ptr @D3DFMT_A8R8G8B8, align 4, !tbaa !12
%38 = call ptr @get_format_info(i32 noundef %37) #3
%39 = call i32 @init_argb_conversion_info(ptr noundef %4, ptr noundef %38, ptr noundef nonnull %14) #3
br label %40
40: ; preds = %36, %12
%41 = phi ptr [ %38, %36 ], [ null, %12 ]
%42 = icmp sgt i32 %34, 0
br i1 %42, label %43, label %165
43: ; preds = %40
%44 = icmp sgt i32 %29, 0
%45 = icmp sgt i32 %24, 0
%46 = getelementptr inbounds %struct.pixel_format_desc, ptr %4, i64 0, i32 3
%47 = getelementptr inbounds %struct.pixel_format_desc, ptr %9, i64 0, i32 2
%48 = getelementptr inbounds %struct.pixel_format_desc, ptr %4, i64 0, i32 1
%49 = getelementptr inbounds %struct.pixel_format_desc, ptr %9, i64 0, i32 1
%50 = icmp eq ptr %41, null
%51 = sext i32 %1 to i64
%52 = sext i32 %6 to i64
%53 = sext i32 %2 to i64
%54 = sext i32 %7 to i64
%55 = zext nneg i32 %34 to i64
%56 = zext nneg i32 %29 to i64
br label %57
57: ; preds = %43, %162
%58 = phi i64 [ 0, %43 ], [ %163, %162 ]
%59 = mul nsw i64 %58, %53
%60 = getelementptr inbounds i32, ptr %0, i64 %59
%61 = mul nsw i64 %58, %54
%62 = getelementptr inbounds i32, ptr %5, i64 %61
br i1 %44, label %63, label %151
63: ; preds = %57, %148
%64 = phi i64 [ %149, %148 ], [ 0, %57 ]
%65 = mul nsw i64 %64, %52
%66 = getelementptr inbounds i32, ptr %62, i64 %65
br i1 %45, label %67, label %138
67: ; preds = %63
%68 = mul nsw i64 %64, %51
%69 = getelementptr inbounds i32, ptr %60, i64 %68
br label %70
70: ; preds = %67, %129
%71 = phi ptr [ %135, %129 ], [ %66, %67 ]
%72 = phi ptr [ %132, %129 ], [ %69, %67 ]
%73 = phi i32 [ %136, %129 ], [ 0, %67 ]
%74 = load ptr, ptr %46, align 8, !tbaa !13
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %105
76: ; preds = %70
%77 = load ptr, ptr %47, align 8, !tbaa !17
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %105
79: ; preds = %76
%80 = load i64, ptr %4, align 8, !tbaa !18
%81 = load i64, ptr %9, align 8, !tbaa !18
%82 = icmp eq i64 %80, %81
br i1 %82, label %83, label %105
83: ; preds = %79
%84 = load i32, ptr %48, align 8, !tbaa !19
%85 = icmp slt i32 %84, 5
br i1 %85, label %86, label %105
86: ; preds = %83
%87 = load i32, ptr %49, align 8, !tbaa !19
%88 = icmp slt i32 %87, 5
br i1 %88, label %89, label %105
89: ; preds = %86
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
%90 = call i32 @get_relevant_argb_components(ptr noundef nonnull %13, ptr noundef %72, ptr noundef nonnull %15) #3
%91 = call i64 @make_argb_color(ptr noundef nonnull %13, ptr noundef nonnull %15) #3
store i64 %91, ptr %16, align 8, !tbaa !20
br i1 %35, label %102, label %92
92: ; preds = %89
%93 = call i32 @get_relevant_argb_components(ptr noundef nonnull %14, ptr noundef %72, ptr noundef nonnull %15) #3
%94 = call i64 @make_argb_color(ptr noundef nonnull %14, ptr noundef nonnull %15) #3
%95 = icmp eq i64 %94, %10
br i1 %95, label %96, label %102
96: ; preds = %92
%97 = load ptr, ptr %13, align 8, !tbaa !21
%98 = load i64, ptr %97, align 8, !tbaa !20
%99 = xor i64 %98, -1
%100 = load i64, ptr %16, align 8, !tbaa !20
%101 = and i64 %100, %99
store i64 %101, ptr %16, align 8, !tbaa !20
br label %102
102: ; preds = %92, %96, %89
%103 = load i32, ptr %49, align 8, !tbaa !19
%104 = call i32 @memcpy(ptr noundef %71, ptr noundef nonnull %16, i32 noundef %103) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
br label %129
105: ; preds = %86, %83, %79, %76, %70
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
%106 = call i32 @format_to_vec4(ptr noundef nonnull %4, ptr noundef %72, ptr noundef nonnull %17) #3
%107 = load ptr, ptr %46, align 8, !tbaa !13
%108 = icmp eq ptr %107, null
br i1 %108, label %111, label %109
109: ; preds = %105
%110 = call i32 %107(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %11) #3
br label %113
111: ; preds = %105
%112 = load i32, ptr %17, align 4, !tbaa !23
store i32 %112, ptr %18, align 4, !tbaa !23
br label %113
113: ; preds = %111, %109
br i1 %50, label %120, label %114
114: ; preds = %113
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
%115 = call i32 @format_from_vec4(ptr noundef nonnull %41, ptr noundef nonnull %18, ptr noundef nonnull %19) #3
%116 = load i64, ptr %19, align 8, !tbaa !20
%117 = icmp eq i64 %116, %10
br i1 %117, label %118, label %119
118: ; preds = %114
store float 0.000000e+00, ptr %18, align 4, !tbaa !25
br label %119
119: ; preds = %118, %114
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
br label %120
120: ; preds = %119, %113
%121 = load ptr, ptr %47, align 8, !tbaa !17
%122 = icmp eq ptr %121, null
br i1 %122, label %125, label %123
123: ; preds = %120
%124 = call i32 %121(ptr noundef nonnull %18, ptr noundef nonnull %17) #3
br label %127
125: ; preds = %120
%126 = load i32, ptr %18, align 4, !tbaa !23
store i32 %126, ptr %17, align 4, !tbaa !23
br label %127
127: ; preds = %125, %123
%128 = call i32 @format_from_vec4(ptr noundef nonnull %9, ptr noundef nonnull %17, ptr noundef %71) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
br label %129
129: ; preds = %127, %102
%130 = load i32, ptr %48, align 8, !tbaa !19
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %72, i64 %131
%133 = load i32, ptr %49, align 8, !tbaa !19
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %71, i64 %134
%136 = add nuw nsw i32 %73, 1
%137 = icmp eq i32 %136, %24
br i1 %137, label %138, label %70, !llvm.loop !27
138: ; preds = %129, %63
%139 = phi ptr [ %66, %63 ], [ %135, %129 ]
%140 = load i32, ptr %3, align 4, !tbaa !5
%141 = load i32, ptr %8, align 4, !tbaa !5
%142 = icmp slt i32 %140, %141
br i1 %142, label %143, label %148
143: ; preds = %138
%144 = load i32, ptr %49, align 8, !tbaa !19
%145 = sub nsw i32 %141, %140
%146 = mul nsw i32 %144, %145
%147 = call i32 @memset(ptr noundef %139, i32 noundef 0, i32 noundef %146) #3
br label %148
148: ; preds = %143, %138
%149 = add nuw nsw i64 %64, 1
%150 = icmp eq i64 %149, %56
br i1 %150, label %151, label %63, !llvm.loop !29
151: ; preds = %148, %57
%152 = load i32, ptr %25, align 4, !tbaa !10
%153 = load i32, ptr %27, align 4, !tbaa !10
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %162
155: ; preds = %151
%156 = mul nsw i32 %152, %6
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %5, i64 %157
%159 = sub nsw i32 %153, %152
%160 = mul nsw i32 %159, %6
%161 = call i32 @memset(ptr noundef %158, i32 noundef 0, i32 noundef %160) #3
br label %162
162: ; preds = %155, %151
%163 = add nuw nsw i64 %58, 1
%164 = icmp eq i64 %163, %55
br i1 %164, label %165, label %57, !llvm.loop !30
165: ; preds = %162, %40
%166 = load i32, ptr %30, align 4, !tbaa !11
%167 = load i32, ptr %32, align 4, !tbaa !11
%168 = icmp slt i32 %166, %167
br i1 %168, label %169, label %176
169: ; preds = %165
%170 = mul nsw i32 %166, %7
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %5, i64 %171
%173 = sub nsw i32 %167, %166
%174 = mul nsw i32 %173, %7
%175 = call i32 @memset(ptr noundef %172, i32 noundef 0, i32 noundef %174) #3
br label %176
176: ; preds = %169, %165
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #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 @ZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @init_argb_conversion_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @get_format_info(i32 noundef) local_unnamed_addr #2
declare i32 @get_relevant_argb_components(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @make_argb_color(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @format_to_vec4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @format_from_vec4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"volume", !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 = !{!6, !7, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !16, i64 24}
!14 = !{!"pixel_format_desc", !15, i64 0, !7, i64 8, !16, i64 16, !16, i64 24}
!15 = !{!"long", !8, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!14, !16, i64 16}
!18 = !{!14, !15, i64 0}
!19 = !{!14, !7, i64 8}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"argb_conversion_info", !16, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !8, i64 0}
!25 = !{!26, !24, i64 0}
!26 = !{!"vec4", !24, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = distinct !{!30, !28}
|
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_surface.c_convert_argb_pixels.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_surface.c_convert_argb_pixels.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.argb_conversion_info = type { ptr }
%struct.vec4 = type { float }
@D3DFMT_A8R8G8B8 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @convert_argb_pixels(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef readonly %8, ptr noundef %9, i64 noundef %10, ptr noundef %11) local_unnamed_addr #0 {
%13 = alloca %struct.argb_conversion_info, align 8
%14 = alloca %struct.argb_conversion_info, align 8
%15 = alloca [4 x i64], align 8
%16 = alloca i64, align 8
%17 = alloca %struct.vec4, align 4
%18 = alloca %struct.vec4, align 4
%19 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #3
%20 = call i32 @ZeroMemory(ptr noundef nonnull %15, i32 noundef 32) #3
%21 = call i32 @init_argb_conversion_info(ptr noundef %4, ptr noundef %9, ptr noundef nonnull %13) #3
%22 = load i32, ptr %3, align 4, !tbaa !6
%23 = load i32, ptr %8, align 4, !tbaa !6
%24 = call i32 @min(i32 noundef %22, i32 noundef %23) #3
%25 = getelementptr inbounds i8, ptr %3, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !11
%27 = getelementptr inbounds i8, ptr %8, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !11
%29 = call i32 @min(i32 noundef %26, i32 noundef %28) #3
%30 = getelementptr inbounds i8, ptr %3, i64 8
%31 = load i32, ptr %30, align 4, !tbaa !12
%32 = getelementptr inbounds i8, ptr %8, i64 8
%33 = load i32, ptr %32, align 4, !tbaa !12
%34 = call i32 @min(i32 noundef %31, i32 noundef %33) #3
%35 = icmp eq i64 %10, 0
br i1 %35, label %40, label %36
36: ; preds = %12
%37 = load i32, ptr @D3DFMT_A8R8G8B8, align 4, !tbaa !13
%38 = call ptr @get_format_info(i32 noundef %37) #3
%39 = call i32 @init_argb_conversion_info(ptr noundef %4, ptr noundef %38, ptr noundef nonnull %14) #3
br label %40
40: ; preds = %36, %12
%41 = phi ptr [ %38, %36 ], [ null, %12 ]
%42 = icmp sgt i32 %34, 0
br i1 %42, label %43, label %165
43: ; preds = %40
%44 = icmp sgt i32 %29, 0
%45 = icmp sgt i32 %24, 0
%46 = getelementptr inbounds i8, ptr %4, i64 24
%47 = getelementptr inbounds i8, ptr %9, i64 16
%48 = getelementptr inbounds i8, ptr %4, i64 8
%49 = getelementptr inbounds i8, ptr %9, i64 8
%50 = icmp eq ptr %41, null
%51 = sext i32 %1 to i64
%52 = sext i32 %6 to i64
%53 = sext i32 %2 to i64
%54 = sext i32 %7 to i64
%55 = zext nneg i32 %34 to i64
%56 = zext nneg i32 %29 to i64
br label %57
57: ; preds = %43, %162
%58 = phi i64 [ 0, %43 ], [ %163, %162 ]
%59 = mul nsw i64 %58, %53
%60 = getelementptr inbounds i32, ptr %0, i64 %59
%61 = mul nsw i64 %58, %54
%62 = getelementptr inbounds i32, ptr %5, i64 %61
br i1 %44, label %63, label %151
63: ; preds = %57, %148
%64 = phi i64 [ %149, %148 ], [ 0, %57 ]
%65 = mul nsw i64 %64, %52
%66 = getelementptr inbounds i32, ptr %62, i64 %65
br i1 %45, label %67, label %138
67: ; preds = %63
%68 = mul nsw i64 %64, %51
%69 = getelementptr inbounds i32, ptr %60, i64 %68
br label %70
70: ; preds = %67, %129
%71 = phi ptr [ %135, %129 ], [ %66, %67 ]
%72 = phi ptr [ %132, %129 ], [ %69, %67 ]
%73 = phi i32 [ %136, %129 ], [ 0, %67 ]
%74 = load ptr, ptr %46, align 8, !tbaa !14
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %105
76: ; preds = %70
%77 = load ptr, ptr %47, align 8, !tbaa !18
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %105
79: ; preds = %76
%80 = load i64, ptr %4, align 8, !tbaa !19
%81 = load i64, ptr %9, align 8, !tbaa !19
%82 = icmp eq i64 %80, %81
br i1 %82, label %83, label %105
83: ; preds = %79
%84 = load i32, ptr %48, align 8, !tbaa !20
%85 = icmp slt i32 %84, 5
br i1 %85, label %86, label %105
86: ; preds = %83
%87 = load i32, ptr %49, align 8, !tbaa !20
%88 = icmp slt i32 %87, 5
br i1 %88, label %89, label %105
89: ; preds = %86
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
%90 = call i32 @get_relevant_argb_components(ptr noundef nonnull %13, ptr noundef %72, ptr noundef nonnull %15) #3
%91 = call i64 @make_argb_color(ptr noundef nonnull %13, ptr noundef nonnull %15) #3
store i64 %91, ptr %16, align 8, !tbaa !21
br i1 %35, label %102, label %92
92: ; preds = %89
%93 = call i32 @get_relevant_argb_components(ptr noundef nonnull %14, ptr noundef %72, ptr noundef nonnull %15) #3
%94 = call i64 @make_argb_color(ptr noundef nonnull %14, ptr noundef nonnull %15) #3
%95 = icmp eq i64 %94, %10
br i1 %95, label %96, label %102
96: ; preds = %92
%97 = load ptr, ptr %13, align 8, !tbaa !22
%98 = load i64, ptr %97, align 8, !tbaa !21
%99 = xor i64 %98, -1
%100 = load i64, ptr %16, align 8, !tbaa !21
%101 = and i64 %100, %99
store i64 %101, ptr %16, align 8, !tbaa !21
br label %102
102: ; preds = %92, %96, %89
%103 = load i32, ptr %49, align 8, !tbaa !20
%104 = call i32 @memcpy(ptr noundef %71, ptr noundef nonnull %16, i32 noundef %103) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
br label %129
105: ; preds = %86, %83, %79, %76, %70
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
%106 = call i32 @format_to_vec4(ptr noundef nonnull %4, ptr noundef %72, ptr noundef nonnull %17) #3
%107 = load ptr, ptr %46, align 8, !tbaa !14
%108 = icmp eq ptr %107, null
br i1 %108, label %111, label %109
109: ; preds = %105
%110 = call i32 %107(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %11) #3
br label %113
111: ; preds = %105
%112 = load i32, ptr %17, align 4, !tbaa !24
store i32 %112, ptr %18, align 4, !tbaa !24
br label %113
113: ; preds = %111, %109
br i1 %50, label %120, label %114
114: ; preds = %113
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
%115 = call i32 @format_from_vec4(ptr noundef nonnull %41, ptr noundef nonnull %18, ptr noundef nonnull %19) #3
%116 = load i64, ptr %19, align 8, !tbaa !21
%117 = icmp eq i64 %116, %10
br i1 %117, label %118, label %119
118: ; preds = %114
store float 0.000000e+00, ptr %18, align 4, !tbaa !26
br label %119
119: ; preds = %118, %114
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
br label %120
120: ; preds = %119, %113
%121 = load ptr, ptr %47, align 8, !tbaa !18
%122 = icmp eq ptr %121, null
br i1 %122, label %125, label %123
123: ; preds = %120
%124 = call i32 %121(ptr noundef nonnull %18, ptr noundef nonnull %17) #3
br label %127
125: ; preds = %120
%126 = load i32, ptr %18, align 4, !tbaa !24
store i32 %126, ptr %17, align 4, !tbaa !24
br label %127
127: ; preds = %125, %123
%128 = call i32 @format_from_vec4(ptr noundef nonnull %9, ptr noundef nonnull %17, ptr noundef %71) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
br label %129
129: ; preds = %127, %102
%130 = load i32, ptr %48, align 8, !tbaa !20
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %72, i64 %131
%133 = load i32, ptr %49, align 8, !tbaa !20
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %71, i64 %134
%136 = add nuw nsw i32 %73, 1
%137 = icmp eq i32 %136, %24
br i1 %137, label %138, label %70, !llvm.loop !28
138: ; preds = %129, %63
%139 = phi ptr [ %66, %63 ], [ %135, %129 ]
%140 = load i32, ptr %3, align 4, !tbaa !6
%141 = load i32, ptr %8, align 4, !tbaa !6
%142 = icmp slt i32 %140, %141
br i1 %142, label %143, label %148
143: ; preds = %138
%144 = load i32, ptr %49, align 8, !tbaa !20
%145 = sub nsw i32 %141, %140
%146 = mul nsw i32 %144, %145
%147 = call i32 @memset(ptr noundef %139, i32 noundef 0, i32 noundef %146) #3
br label %148
148: ; preds = %143, %138
%149 = add nuw nsw i64 %64, 1
%150 = icmp eq i64 %149, %56
br i1 %150, label %151, label %63, !llvm.loop !30
151: ; preds = %148, %57
%152 = load i32, ptr %25, align 4, !tbaa !11
%153 = load i32, ptr %27, align 4, !tbaa !11
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %162
155: ; preds = %151
%156 = mul nsw i32 %152, %6
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %5, i64 %157
%159 = sub nsw i32 %153, %152
%160 = mul nsw i32 %159, %6
%161 = call i32 @memset(ptr noundef %158, i32 noundef 0, i32 noundef %160) #3
br label %162
162: ; preds = %155, %151
%163 = add nuw nsw i64 %58, 1
%164 = icmp eq i64 %163, %55
br i1 %164, label %165, label %57, !llvm.loop !31
165: ; preds = %162, %40
%166 = load i32, ptr %30, align 4, !tbaa !12
%167 = load i32, ptr %32, align 4, !tbaa !12
%168 = icmp slt i32 %166, %167
br i1 %168, label %169, label %176
169: ; preds = %165
%170 = mul nsw i32 %166, %7
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %5, i64 %171
%173 = sub nsw i32 %167, %166
%174 = mul nsw i32 %173, %7
%175 = call i32 @memset(ptr noundef %172, i32 noundef 0, i32 noundef %174) #3
br label %176
176: ; preds = %169, %165
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #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 @ZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @init_argb_conversion_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @get_format_info(i32 noundef) local_unnamed_addr #2
declare i32 @get_relevant_argb_components(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @make_argb_color(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @format_to_vec4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @format_from_vec4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"volume", !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 = !{!7, !8, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !17, i64 24}
!15 = !{!"pixel_format_desc", !16, i64 0, !8, i64 8, !17, i64 16, !17, i64 24}
!16 = !{!"long", !9, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!15, !17, i64 16}
!19 = !{!15, !16, i64 0}
!20 = !{!15, !8, i64 8}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !17, i64 0}
!23 = !{!"argb_conversion_info", !17, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"float", !9, i64 0}
!26 = !{!27, !25, i64 0}
!27 = !{!"vec4", !25, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
|
reactos_dll_directx_wine_d3dx9_36_extr_surface.c_convert_argb_pixels
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_alloc_eq_tr.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_alloc_eq_tr.c"
target datalayout = "e-m:e-p270:32:32-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.res_common = type { i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@RES_EQ_RESERVED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_eq_tr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @alloc_eq_tr(i32 noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
store i32 %0, ptr %3, align 4, !tbaa !9
%6 = load i32, ptr @RES_EQ_RESERVED, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.res_common, ptr %3, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !12
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"res_eq", !11, i64 0}
!11 = !{!"res_common", !6, i64 0, !6, i64 4}
!12 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_alloc_eq_tr.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_alloc_eq_tr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@RES_EQ_RESERVED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alloc_eq_tr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @alloc_eq_tr(i32 noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
store i32 %0, ptr %3, align 4, !tbaa !10
%6 = load i32, ptr @RES_EQ_RESERVED, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %6, ptr %7, align 4, !tbaa !13
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"res_eq", !12, i64 0}
!12 = !{!"res_common", !7, i64 0, !7, i64 4}
!13 = !{!11, !7, i64 4}
|
freebsd_sys_dev_mlx4_mlx4_core_extr_mlx4_resource_tracker.c_alloc_eq_tr
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_mcs7780.c_mcs_send_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_mcs7780.c_mcs_send_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mcs_cb = type { i32, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mcs_send_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mcs_send_irq(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.mcs_cb, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.mcs_cb, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call i64 @unlikely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @schedule_work(ptr noundef nonnull %2) #2
br label %13
11: ; preds = %1
%12 = tail call i32 @netif_wake_queue(ptr noundef %4) #2
br label %13
13: ; preds = %11, %9
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @netif_wake_queue(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 = !{!"urb", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"mcs_cb", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_mcs7780.c_mcs_send_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_mcs7780.c_mcs_send_irq.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 @mcs_send_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mcs_send_irq(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = tail call i64 @unlikely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @schedule_work(ptr noundef nonnull %2) #2
br label %13
11: ; preds = %1
%12 = tail call i32 @netif_wake_queue(ptr noundef %4) #2
br label %13
13: ; preds = %11, %9
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @netif_wake_queue(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 = !{!"urb", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"mcs_cb", !13, i64 0, !13, i64 4, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
|
fastsocket_kernel_drivers_net_irda_extr_mcs7780.c_mcs_send_irq
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_get_capability.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_get_capability.c"
target datalayout = "e-m:e-p270:32:32-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.cdrom_device_info = type { i32, ptr }
@CD_DO_IOCTL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"entering CDROM_GET_CAPABILITY\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cdrom_ioctl_get_capability], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cdrom_ioctl_get_capability(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CD_DO_IOCTL, align 4, !tbaa !5
%3 = tail call i32 @cdinfo(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds %struct.cdrom_device_info, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr %0, align 8, !tbaa !14
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
ret i32 %9
}
declare i32 @cdinfo(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"cdrom_device_info", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
!14 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_get_capability.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_get_capability.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CD_DO_IOCTL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"entering CDROM_GET_CAPABILITY\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cdrom_ioctl_get_capability], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cdrom_ioctl_get_capability(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CD_DO_IOCTL, align 4, !tbaa !6
%3 = tail call i32 @cdinfo(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr %0, align 8, !tbaa !15
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
ret i32 %9
}
declare i32 @cdinfo(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"cdrom_device_info", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!11, !7, i64 0}
|
fastsocket_kernel_drivers_cdrom_extr_cdrom.c_cdrom_ioctl_get_capability
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_capability_get.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_capability_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mrvl_mesh_defaults = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @capability_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @capability_get(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca %struct.mrvl_mesh_defaults, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @mesh_get_default_parameters(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !5
%9 = call i32 @snprintf(ptr noundef %2, i32 noundef 5, ptr noundef nonnull @.str, i32 noundef %8) #3
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ %9, %7 ], [ %5, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mesh_get_default_parameters(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"mrvl_mesh_defaults", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_capability_get.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_capability_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mrvl_mesh_defaults = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @capability_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @capability_get(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca %struct.mrvl_mesh_defaults, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @mesh_get_default_parameters(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !6
%9 = call i32 @snprintf(ptr noundef %2, i32 noundef 5, ptr noundef nonnull @.str, i32 noundef %8) #3
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ %9, %7 ], [ %5, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mesh_get_default_parameters(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"mrvl_mesh_defaults", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_wireless_marvell_libertas_extr_mesh.c_capability_get
|
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_register_localport.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_register_localport.c"
target datalayout = "e-m:e-p270:32:32-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.nvme_fc_port_template = type { i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.nvme_fc_lport = type { %struct.nvme_fc_local_port, i32, i32, ptr, ptr, i32, i32, i32 }
%struct.nvme_fc_local_port = type { i32, i32, i32, i32, i32, i32, ptr }
@EINVAL = 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
@nvme_fc_local_port_cnt = dso_local global i32 0, align 4
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@FC_OBJSTATE_ONLINE = dso_local local_unnamed_addr global i32 0, align 4
@nvme_fc_lock = dso_local global i32 0, align 4
@nvme_fc_lport_list = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nvme_fc_register_localport(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 10
%6 = load i32, ptr %5, align 8, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %43, label %8
8: ; preds = %4
%9 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 9
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = icmp eq i32 %10, 0
br i1 %11, label %43, label %12
12: ; preds = %8
%13 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 8
%14 = load i32, ptr %13, align 8, !tbaa !12
%15 = icmp eq i32 %14, 0
br i1 %15, label %43, label %16
16: ; preds = %12
%17 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 7
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = icmp eq i32 %18, 0
br i1 %19, label %43, label %20
20: ; preds = %16
%21 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 6
%22 = load i32, ptr %21, align 8, !tbaa !14
%23 = icmp eq i32 %22, 0
br i1 %23, label %43, label %24
24: ; preds = %20
%25 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 5
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = icmp eq i32 %26, 0
br i1 %27, label %43, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 4
%30 = load i32, ptr %29, align 8, !tbaa !16
%31 = icmp eq i32 %30, 0
br i1 %31, label %43, label %32
32: ; preds = %28
%33 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !17
%35 = icmp eq i32 %34, 0
br i1 %35, label %43, label %36
36: ; preds = %32
%37 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 2
%38 = load i32, ptr %37, align 8, !tbaa !18
%39 = icmp eq i32 %38, 0
br i1 %39, label %43, label %40
40: ; preds = %36
%41 = load i32, ptr %1, align 8, !tbaa !19
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%44 = load i32, ptr @EINVAL, align 4, !tbaa !20
%45 = sub nsw i32 0, %44
br label %107
46: ; preds = %40
%47 = tail call ptr @nvme_fc_attach_to_unreg_lport(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2
%48 = tail call i64 @IS_ERR(ptr noundef %47) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 @PTR_ERR(ptr noundef %47) #2
br label %107
52: ; preds = %46
%53 = icmp eq ptr %47, null
br i1 %53, label %54, label %107
54: ; preds = %52
%55 = getelementptr inbounds %struct.nvme_fc_port_template, ptr %1, i64 0, i32 1
%56 = load i64, ptr %55, align 8, !tbaa !21
%57 = add i64 %56, 72
%58 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !20
%59 = tail call ptr @kmalloc(i64 noundef %57, i32 noundef %58) #2
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %64
61: ; preds = %54
%62 = load i32, ptr @ENOMEM, align 4, !tbaa !20
%63 = sub nsw i32 0, %62
br label %107
64: ; preds = %54
%65 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !20
%66 = tail call i32 @ida_simple_get(ptr noundef nonnull @nvme_fc_local_port_cnt, i32 noundef 0, i32 noundef 0, i32 noundef %65) #2
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = load i32, ptr @ENOSPC, align 4, !tbaa !20
br label %103
70: ; preds = %64
%71 = tail call i32 @get_device(ptr noundef %2) #2
%72 = icmp eq i32 %71, 0
%73 = icmp ne ptr %2, null
%74 = and i1 %73, %72
br i1 %74, label %75, label %78
75: ; preds = %70
%76 = load i32, ptr @ENODEV, align 4, !tbaa !20
%77 = tail call i32 @ida_simple_remove(ptr noundef nonnull @nvme_fc_local_port_cnt, i32 noundef %66) #2
br label %103
78: ; preds = %70
%79 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 1
%80 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %79) #2
%81 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 7
%82 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %81) #2
%83 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 6
%84 = tail call i32 @kref_init(ptr noundef nonnull %83) #2
%85 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 5
%86 = tail call i32 @atomic_set(ptr noundef nonnull %85, i32 noundef 0) #2
%87 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 4
store ptr %1, ptr %87, align 8, !tbaa !22
%88 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 3
store ptr %2, ptr %88, align 8, !tbaa !26
%89 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 0, i32 2
%90 = tail call i32 @ida_init(ptr noundef nonnull %89) #2
%91 = getelementptr inbounds %struct.nvme_fc_lport, ptr %59, i64 1
%92 = getelementptr inbounds %struct.nvme_fc_local_port, ptr %59, i64 0, i32 6
store ptr %91, ptr %92, align 8, !tbaa !27
%93 = getelementptr inbounds %struct.nvme_fc_local_port, ptr %59, i64 0, i32 2
%94 = load <4 x i32>, ptr %0, align 4, !tbaa !20
store <4 x i32> %94, ptr %93, align 8, !tbaa !20
%95 = load i32, ptr @FC_OBJSTATE_ONLINE, align 4, !tbaa !20
%96 = getelementptr inbounds %struct.nvme_fc_local_port, ptr %59, i64 0, i32 1
store i32 %95, ptr %96, align 4, !tbaa !28
store i32 %66, ptr %59, align 8, !tbaa !29
%97 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @nvme_fc_lock, i64 noundef undef) #2
%98 = tail call i32 @list_add_tail(ptr noundef nonnull %79, ptr noundef nonnull @nvme_fc_lport_list) #2
%99 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @nvme_fc_lock, i64 noundef undef) #2
br i1 %73, label %100, label %107
100: ; preds = %78
%101 = load i32, ptr %1, align 8, !tbaa !19
%102 = tail call i32 @dma_set_seg_boundary(ptr noundef nonnull %2, i32 noundef %101) #2
br label %107
103: ; preds = %75, %68
%104 = phi i32 [ %69, %68 ], [ %76, %75 ]
%105 = sub nsw i32 0, %104
%106 = tail call i32 @kfree(ptr noundef nonnull %59) #2
br label %107
107: ; preds = %43, %50, %61, %103, %78, %100, %52
%108 = phi ptr [ %47, %52 ], [ %59, %100 ], [ %59, %78 ], [ null, %103 ], [ null, %61 ], [ null, %50 ], [ null, %43 ]
%109 = phi i32 [ 0, %52 ], [ 0, %100 ], [ 0, %78 ], [ %105, %103 ], [ %63, %61 ], [ %51, %50 ], [ %45, %43 ]
store ptr %108, ptr %3, align 8, !tbaa !30
ret i32 %109
}
declare ptr @nvme_fc_attach_to_unreg_lport(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_simple_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_device(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_init(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dma_set_seg_boundary(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_simple_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"nvme_fc_port_template", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 44}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !7, i64 36}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 28}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 20}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!6, !10, i64 8}
!22 = !{!23, !25, i64 48}
!23 = !{!"nvme_fc_lport", !24, i64 0, !7, i64 32, !7, i64 36, !25, i64 40, !25, i64 48, !7, i64 56, !7, i64 60, !7, i64 64}
!24 = !{!"nvme_fc_local_port", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !25, i64 24}
!25 = !{!"any pointer", !8, i64 0}
!26 = !{!23, !25, i64 40}
!27 = !{!23, !25, i64 24}
!28 = !{!23, !7, i64 4}
!29 = !{!23, !7, i64 0}
!30 = !{!25, !25, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_register_localport.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_register_localport.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
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@nvme_fc_local_port_cnt = common global i32 0, align 4
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@FC_OBJSTATE_ONLINE = common local_unnamed_addr global i32 0, align 4
@nvme_fc_lock = common global i32 0, align 4
@nvme_fc_lport_list = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nvme_fc_register_localport(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 48
%6 = load i32, ptr %5, align 8, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %43, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %1, i64 44
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = icmp eq i32 %10, 0
br i1 %11, label %43, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %1, i64 40
%14 = load i32, ptr %13, align 8, !tbaa !13
%15 = icmp eq i32 %14, 0
br i1 %15, label %43, label %16
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %1, i64 36
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = icmp eq i32 %18, 0
br i1 %19, label %43, label %20
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %1, i64 32
%22 = load i32, ptr %21, align 8, !tbaa !15
%23 = icmp eq i32 %22, 0
br i1 %23, label %43, label %24
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %1, i64 28
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = icmp eq i32 %26, 0
br i1 %27, label %43, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %1, i64 24
%30 = load i32, ptr %29, align 8, !tbaa !17
%31 = icmp eq i32 %30, 0
br i1 %31, label %43, label %32
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %1, i64 20
%34 = load i32, ptr %33, align 4, !tbaa !18
%35 = icmp eq i32 %34, 0
br i1 %35, label %43, label %36
36: ; preds = %32
%37 = getelementptr inbounds i8, ptr %1, i64 16
%38 = load i32, ptr %37, align 8, !tbaa !19
%39 = icmp eq i32 %38, 0
br i1 %39, label %43, label %40
40: ; preds = %36
%41 = load i32, ptr %1, align 8, !tbaa !20
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%44 = load i32, ptr @EINVAL, align 4, !tbaa !21
%45 = sub nsw i32 0, %44
br label %107
46: ; preds = %40
%47 = tail call ptr @nvme_fc_attach_to_unreg_lport(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2
%48 = tail call i64 @IS_ERR(ptr noundef %47) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 @PTR_ERR(ptr noundef %47) #2
br label %107
52: ; preds = %46
%53 = icmp eq ptr %47, null
br i1 %53, label %54, label %107
54: ; preds = %52
%55 = getelementptr inbounds i8, ptr %1, i64 8
%56 = load i64, ptr %55, align 8, !tbaa !22
%57 = add i64 %56, 72
%58 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !21
%59 = tail call ptr @kmalloc(i64 noundef %57, i32 noundef %58) #2
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %64
61: ; preds = %54
%62 = load i32, ptr @ENOMEM, align 4, !tbaa !21
%63 = sub nsw i32 0, %62
br label %107
64: ; preds = %54
%65 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !21
%66 = tail call i32 @ida_simple_get(ptr noundef nonnull @nvme_fc_local_port_cnt, i32 noundef 0, i32 noundef 0, i32 noundef %65) #2
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = load i32, ptr @ENOSPC, align 4, !tbaa !21
br label %103
70: ; preds = %64
%71 = tail call i32 @get_device(ptr noundef %2) #2
%72 = icmp eq i32 %71, 0
%73 = icmp ne ptr %2, null
%74 = and i1 %73, %72
br i1 %74, label %75, label %78
75: ; preds = %70
%76 = load i32, ptr @ENODEV, align 4, !tbaa !21
%77 = tail call i32 @ida_simple_remove(ptr noundef nonnull @nvme_fc_local_port_cnt, i32 noundef %66) #2
br label %103
78: ; preds = %70
%79 = getelementptr inbounds i8, ptr %59, i64 32
%80 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %79) #2
%81 = getelementptr inbounds i8, ptr %59, i64 64
%82 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %81) #2
%83 = getelementptr inbounds i8, ptr %59, i64 60
%84 = tail call i32 @kref_init(ptr noundef nonnull %83) #2
%85 = getelementptr inbounds i8, ptr %59, i64 56
%86 = tail call i32 @atomic_set(ptr noundef nonnull %85, i32 noundef 0) #2
%87 = getelementptr inbounds i8, ptr %59, i64 48
store ptr %1, ptr %87, align 8, !tbaa !23
%88 = getelementptr inbounds i8, ptr %59, i64 40
store ptr %2, ptr %88, align 8, !tbaa !27
%89 = getelementptr inbounds i8, ptr %59, i64 36
%90 = tail call i32 @ida_init(ptr noundef nonnull %89) #2
%91 = getelementptr inbounds i8, ptr %59, i64 72
%92 = getelementptr inbounds i8, ptr %59, i64 24
store ptr %91, ptr %92, align 8, !tbaa !28
%93 = getelementptr inbounds i8, ptr %59, i64 8
%94 = load <4 x i32>, ptr %0, align 4, !tbaa !21
store <4 x i32> %94, ptr %93, align 8, !tbaa !21
%95 = load i32, ptr @FC_OBJSTATE_ONLINE, align 4, !tbaa !21
%96 = getelementptr inbounds i8, ptr %59, i64 4
store i32 %95, ptr %96, align 4, !tbaa !29
store i32 %66, ptr %59, align 8, !tbaa !30
%97 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @nvme_fc_lock, i64 noundef undef) #2
%98 = tail call i32 @list_add_tail(ptr noundef nonnull %79, ptr noundef nonnull @nvme_fc_lport_list) #2
%99 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @nvme_fc_lock, i64 noundef undef) #2
br i1 %73, label %100, label %107
100: ; preds = %78
%101 = load i32, ptr %1, align 8, !tbaa !20
%102 = tail call i32 @dma_set_seg_boundary(ptr noundef nonnull %2, i32 noundef %101) #2
br label %107
103: ; preds = %75, %68
%104 = phi i32 [ %69, %68 ], [ %76, %75 ]
%105 = sub nsw i32 0, %104
%106 = tail call i32 @kfree(ptr noundef nonnull %59) #2
br label %107
107: ; preds = %43, %50, %61, %103, %78, %100, %52
%108 = phi ptr [ %47, %52 ], [ %59, %100 ], [ %59, %78 ], [ null, %103 ], [ null, %61 ], [ null, %50 ], [ null, %43 ]
%109 = phi i32 [ 0, %52 ], [ 0, %100 ], [ 0, %78 ], [ %105, %103 ], [ %63, %61 ], [ %51, %50 ], [ %45, %43 ]
store ptr %108, ptr %3, align 8, !tbaa !31
ret i32 %109
}
declare ptr @nvme_fc_attach_to_unreg_lport(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_simple_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_device(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_init(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dma_set_seg_boundary(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ida_simple_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 48}
!7 = !{!"nvme_fc_port_template", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 44}
!13 = !{!7, !8, i64 40}
!14 = !{!7, !8, i64 36}
!15 = !{!7, !8, i64 32}
!16 = !{!7, !8, i64 28}
!17 = !{!7, !8, i64 24}
!18 = !{!7, !8, i64 20}
!19 = !{!7, !8, i64 16}
!20 = !{!7, !8, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!7, !11, i64 8}
!23 = !{!24, !26, i64 48}
!24 = !{!"nvme_fc_lport", !25, i64 0, !8, i64 32, !8, i64 36, !26, i64 40, !26, i64 48, !8, i64 56, !8, i64 60, !8, i64 64}
!25 = !{!"nvme_fc_local_port", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !26, i64 24}
!26 = !{!"any pointer", !9, i64 0}
!27 = !{!24, !26, i64 40}
!28 = !{!24, !26, i64 24}
!29 = !{!24, !8, i64 4}
!30 = !{!24, !8, i64 0}
!31 = !{!26, !26, i64 0}
|
linux_drivers_nvme_host_extr_fc.c_nvme_fc_register_localport
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_scan.c_unget_token.c'
source_filename = "AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_scan.c_unget_token.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@lasttok = dso_local local_unnamed_addr global i32 0, align 4
@pushed = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @unget_token], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: read, inaccessiblemem: none) uwtable
define internal void @unget_token(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
store i32 %2, ptr @lasttok, align 4, !tbaa !5
store i32 1, ptr @pushed, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_scan.c_unget_token.c'
source_filename = "AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_scan.c_unget_token.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lasttok = common local_unnamed_addr global i32 0, align 4
@pushed = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @unget_token], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: read, inaccessiblemem: none) uwtable(sync)
define internal void @unget_token(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
store i32 %2, ptr @lasttok, align 4, !tbaa !6
store i32 1, ptr @pushed, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_usr.bin_rpcgen_extr_rpc_scan.c_unget_token
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_Lzma2Dec.c_Lzma2Dec_GetOldProps.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_Lzma2Dec.c_Lzma2Dec_GetOldProps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SZ_ERROR_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@LZMA2_LCLP_MAX = dso_local local_unnamed_addr global i64 0, align 8
@SZ_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Lzma2Dec_GetOldProps], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Lzma2Dec_GetOldProps(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = icmp sgt i32 %0, 40
br i1 %3, label %19, label %4
4: ; preds = %2
%5 = icmp eq i32 %0, 40
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @LZMA2_DIC_SIZE_FROM_PROP(i32 noundef %0) #2
br label %8
8: ; preds = %4, %6
%9 = phi i32 [ %7, %6 ], [ -1, %4 ]
%10 = load i64, ptr @LZMA2_LCLP_MAX, align 8, !tbaa !5
%11 = trunc i64 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !9
%12 = getelementptr inbounds i32, ptr %1, i64 1
store i32 %9, ptr %12, align 4, !tbaa !9
%13 = ashr i32 %9, 8
%14 = getelementptr inbounds i32, ptr %1, i64 2
store i32 %13, ptr %14, align 4, !tbaa !9
%15 = ashr i32 %9, 16
%16 = getelementptr inbounds i32, ptr %1, i64 3
store i32 %15, ptr %16, align 4, !tbaa !9
%17 = ashr i32 %9, 24
%18 = getelementptr inbounds i32, ptr %1, i64 4
store i32 %17, ptr %18, align 4, !tbaa !9
br label %19
19: ; preds = %2, %8
%20 = phi ptr [ @SZ_OK, %8 ], [ @SZ_ERROR_UNSUPPORTED, %2 ]
%21 = load i32, ptr %20, align 4, !tbaa !9
ret i32 %21
}
declare i32 @LZMA2_DIC_SIZE_FROM_PROP(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_Lzma2Dec.c_Lzma2Dec_GetOldProps.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_Lzma2Dec.c_Lzma2Dec_GetOldProps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SZ_ERROR_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4
@LZMA2_LCLP_MAX = common local_unnamed_addr global i64 0, align 8
@SZ_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Lzma2Dec_GetOldProps], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Lzma2Dec_GetOldProps(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = icmp sgt i32 %0, 40
br i1 %3, label %19, label %4
4: ; preds = %2
%5 = icmp eq i32 %0, 40
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @LZMA2_DIC_SIZE_FROM_PROP(i32 noundef %0) #2
br label %8
8: ; preds = %4, %6
%9 = phi i32 [ %7, %6 ], [ -1, %4 ]
%10 = load i64, ptr @LZMA2_LCLP_MAX, align 8, !tbaa !6
%11 = trunc i64 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !10
%12 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %9, ptr %12, align 4, !tbaa !10
%13 = insertelement <2 x i32> poison, i32 %9, i64 0
%14 = shufflevector <2 x i32> %13, <2 x i32> poison, <2 x i32> zeroinitializer
%15 = ashr <2 x i32> %14, <i32 8, i32 16>
%16 = getelementptr inbounds i8, ptr %1, i64 8
store <2 x i32> %15, ptr %16, align 4, !tbaa !10
%17 = ashr i32 %9, 24
%18 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %17, ptr %18, align 4, !tbaa !10
br label %19
19: ; preds = %2, %8
%20 = phi ptr [ @SZ_OK, %8 ], [ @SZ_ERROR_UNSUPPORTED, %2 ]
%21 = load i32, ptr %20, align 4, !tbaa !10
ret i32 %21
}
declare i32 @LZMA2_DIC_SIZE_FROM_PROP(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
sumatrapdf_ext_lzma_C_extr_Lzma2Dec.c_Lzma2Dec_GetOldProps
|
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_btreeClearHasContent.c'
source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_btreeClearHasContent.c"
target datalayout = "e-m:e-p270:32:32-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 @btreeClearHasContent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @btreeClearHasContent(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %2) #2
store i64 0, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @sqlite3BitvecDestroy(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 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_btreeClearHasContent.c'
source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_btreeClearHasContent.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 @btreeClearHasContent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @btreeClearHasContent(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %2) #2
store i64 0, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @sqlite3BitvecDestroy(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 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
sqlcipher_src_extr_btree.c_btreeClearHasContent
|
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_thmc50.c_thmc50_probe.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_thmc50.c_thmc50_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 { i32, %struct.device }
%struct.device = type { i32 }
%struct.thmc50_data = type { ptr, i64, i32, i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@thmc50_group = dso_local global i32 0, align 4
@temp3_group = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @thmc50_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @thmc50_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 32, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %29
10: ; preds = %2
%11 = getelementptr inbounds %struct.thmc50_data, ptr %5, i64 0, i32 4
store ptr %0, ptr %11, align 8, !tbaa !9
%12 = load i32, ptr %1, align 4, !tbaa !13
%13 = getelementptr inbounds %struct.thmc50_data, ptr %5, i64 0, i32 3
store i32 %12, ptr %13, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.thmc50_data, ptr %5, i64 0, i32 2
%15 = tail call i32 @mutex_init(ptr noundef nonnull %14) #2
%16 = tail call i32 @thmc50_init_client(ptr noundef nonnull %5) #2
%17 = load ptr, ptr %5, align 8, !tbaa !16
store ptr @thmc50_group, ptr %17, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.thmc50_data, ptr %5, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !18
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %10
%22 = load ptr, ptr %5, align 8, !tbaa !16
%23 = getelementptr inbounds ptr, ptr %22, i64 1
store ptr @temp3_group, ptr %23, align 8, !tbaa !17
br label %24
24: ; preds = %21, %10
%25 = load i32, ptr %0, align 4, !tbaa !19
%26 = load ptr, ptr %5, align 8, !tbaa !16
%27 = tail call ptr @devm_hwmon_device_register_with_groups(ptr noundef nonnull %3, i32 noundef %25, ptr noundef nonnull %5, ptr noundef %26) #2
%28 = tail call i32 @PTR_ERR_OR_ZERO(ptr noundef %27) #2
br label %29
29: ; preds = %24, %7
%30 = phi i32 [ %28, %24 ], [ %9, %7 ]
ret i32 %30
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @thmc50_init_client(ptr noundef) local_unnamed_addr #1
declare ptr @devm_hwmon_device_register_with_groups(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"thmc50_data", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"i2c_device_id", !6, i64 0}
!15 = !{!10, !6, i64 20}
!16 = !{!10, !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !12, i64 8}
!19 = !{!20, !6, i64 0}
!20 = !{!"i2c_client", !6, i64 0, !21, i64 4}
!21 = !{!"device", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_thmc50.c_thmc50_probe.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_thmc50.c_thmc50_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@thmc50_group = common global i32 0, align 4
@temp3_group = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @thmc50_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @thmc50_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 32, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %29
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %5, i64 24
store ptr %0, ptr %11, align 8, !tbaa !10
%12 = load i32, ptr %1, align 4, !tbaa !14
%13 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %12, ptr %13, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %5, i64 16
%15 = tail call i32 @mutex_init(ptr noundef nonnull %14) #2
%16 = tail call i32 @thmc50_init_client(ptr noundef nonnull %5) #2
%17 = load ptr, ptr %5, align 8, !tbaa !17
store ptr @thmc50_group, ptr %17, align 8, !tbaa !18
%18 = getelementptr inbounds i8, ptr %5, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !19
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %10
%22 = load ptr, ptr %5, align 8, !tbaa !17
%23 = getelementptr inbounds i8, ptr %22, i64 8
store ptr @temp3_group, ptr %23, align 8, !tbaa !18
br label %24
24: ; preds = %21, %10
%25 = load i32, ptr %0, align 4, !tbaa !20
%26 = load ptr, ptr %5, align 8, !tbaa !17
%27 = tail call ptr @devm_hwmon_device_register_with_groups(ptr noundef nonnull %3, i32 noundef %25, ptr noundef nonnull %5, ptr noundef %26) #2
%28 = tail call i32 @PTR_ERR_OR_ZERO(ptr noundef %27) #2
br label %29
29: ; preds = %24, %7
%30 = phi i32 [ %28, %24 ], [ %9, %7 ]
ret i32 %30
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @thmc50_init_client(ptr noundef) local_unnamed_addr #1
declare ptr @devm_hwmon_device_register_with_groups(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"thmc50_data", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"i2c_device_id", !7, i64 0}
!16 = !{!11, !7, i64 20}
!17 = !{!11, !12, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!11, !13, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"i2c_client", !7, i64 0, !22, i64 4}
!22 = !{!"device", !7, i64 0}
|
linux_drivers_hwmon_extr_thmc50.c_thmc50_probe
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hfc_usb.c_ctrl_complete.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hfc_usb.c_ctrl_complete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.urb = type { i32, i64 }
%struct.TYPE_3__ = type { i64, i64, ptr, i32 }
@HFC_CTRL_BUFSIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ctrl_complete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ctrl_complete(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.urb, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 3
%6 = load i32, ptr %5, align 8, !tbaa !11
store i32 %6, ptr %0, align 8, !tbaa !14
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !15
%9 = icmp eq i64 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %1
%11 = add nsw i64 %8, -1
store i64 %11, ptr %7, align 8, !tbaa !15
%12 = load i64, ptr %4, align 8, !tbaa !16
%13 = add i64 %12, 1
store i64 %13, ptr %4, align 8, !tbaa !16
%14 = load i64, ptr @HFC_CTRL_BUFSIZE, align 8, !tbaa !17
%15 = icmp ult i64 %13, %14
%16 = select i1 %15, i64 %13, i64 0
store i64 %16, ptr %4, align 8
%17 = tail call i32 @ctrl_start_transfer(ptr noundef nonnull %4) #2
br label %18
18: ; preds = %10, %1
ret void
}
declare i32 @ctrl_start_transfer(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"urb", !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 = !{!12, !7, i64 24}
!12 = !{!"TYPE_3__", !10, i64 0, !10, i64 8, !13, i64 16, !7, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!12, !10, i64 8}
!16 = !{!12, !10, i64 0}
!17 = !{!10, !10, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hfc_usb.c_ctrl_complete.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hfc_usb.c_ctrl_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HFC_CTRL_BUFSIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ctrl_complete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ctrl_complete(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i8, ptr %4, i64 24
%6 = load i32, ptr %5, align 8, !tbaa !12
store i32 %6, ptr %0, align 8, !tbaa !15
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !16
%9 = icmp eq i64 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %1
%11 = add nsw i64 %8, -1
store i64 %11, ptr %7, align 8, !tbaa !16
%12 = load i64, ptr %4, align 8, !tbaa !17
%13 = add i64 %12, 1
store i64 %13, ptr %4, align 8, !tbaa !17
%14 = load i64, ptr @HFC_CTRL_BUFSIZE, align 8, !tbaa !18
%15 = icmp ult i64 %13, %14
%16 = select i1 %15, i64 %13, i64 0
store i64 %16, ptr %4, align 8
%17 = tail call i32 @ctrl_start_transfer(ptr noundef nonnull %4) #2
br label %18
18: ; preds = %10, %1
ret void
}
declare i32 @ctrl_start_transfer(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"urb", !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 = !{!13, !8, i64 24}
!13 = !{!"TYPE_3__", !11, i64 0, !11, i64 8, !14, i64 16, !8, i64 24}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!13, !11, i64 8}
!17 = !{!13, !11, i64 0}
!18 = !{!11, !11, i64 0}
|
fastsocket_kernel_drivers_isdn_hisax_extr_hfc_usb.c_ctrl_complete
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.c_qed_vf_pf_get_coalesce.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.c_qed_vf_pf_get_coalesce.c"
target datalayout = "e-m:e-p270:32:32-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.qed_queue_cid = type { i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
%struct.vfpf_read_coal_req_tlv = type { i32, i32 }
%struct.qed_vf_iov = type { ptr, i32 }
%struct.pfvf_read_coal_resp_tlv = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
@CHANNEL_TLV_COALESCE_READ = dso_local local_unnamed_addr global i32 0, align 4
@CHANNEL_TLV_LIST_END = dso_local local_unnamed_addr global i32 0, align 4
@PFVF_STATUS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @qed_vf_pf_get_coalesce(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @CHANNEL_TLV_COALESCE_READ, align 4, !tbaa !10
%6 = tail call ptr @qed_vf_pf_prep(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 8) #2
%7 = getelementptr inbounds %struct.qed_queue_cid, ptr %2, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.vfpf_read_coal_req_tlv, ptr %6, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !16
%10 = load i64, ptr %2, align 8, !tbaa !18
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
store i32 %12, ptr %6, align 4, !tbaa !19
%13 = getelementptr inbounds %struct.qed_vf_iov, ptr %4, i64 0, i32 1
%14 = load i32, ptr @CHANNEL_TLV_LIST_END, align 4, !tbaa !10
%15 = tail call i32 @qed_add_tlv(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %14, i32 noundef 4) #2
%16 = load ptr, ptr %4, align 8, !tbaa !20
%17 = getelementptr inbounds %struct.pfvf_read_coal_resp_tlv, ptr %16, i64 0, i32 1
%18 = tail call i32 @qed_send_msg2pf(ptr noundef nonnull %0, ptr noundef nonnull %17, i32 noundef 16) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %3
%21 = load i64, ptr %17, align 8, !tbaa !22
%22 = load i64, ptr @PFVF_STATUS_SUCCESS, align 8, !tbaa !25
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %16, align 8, !tbaa !26
store i32 %25, ptr %1, align 4, !tbaa !10
br label %26
26: ; preds = %20, %3, %24
%27 = tail call i32 @qed_vf_pf_req_end(ptr noundef nonnull %0, i32 noundef %18) #2
ret i32 %18
}
declare ptr @qed_vf_pf_prep(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_add_tlv(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_send_msg2pf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_vf_pf_req_end(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qed_hwfn", !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 8}
!13 = !{!"qed_queue_cid", !14, i64 0, !15, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!17, !11, i64 4}
!17 = !{!"vfpf_read_coal_req_tlv", !11, i64 0, !11, i64 4}
!18 = !{!13, !14, i64 0}
!19 = !{!17, !11, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"qed_vf_iov", !7, i64 0, !11, i64 8}
!22 = !{!23, !14, i64 8}
!23 = !{!"pfvf_read_coal_resp_tlv", !11, i64 0, !24, i64 8}
!24 = !{!"TYPE_6__", !14, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!23, !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.c_qed_vf_pf_get_coalesce.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.c_qed_vf_pf_get_coalesce.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CHANNEL_TLV_COALESCE_READ = common local_unnamed_addr global i32 0, align 4
@CHANNEL_TLV_LIST_END = common local_unnamed_addr global i32 0, align 4
@PFVF_STATUS_SUCCESS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @qed_vf_pf_get_coalesce(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @CHANNEL_TLV_COALESCE_READ, align 4, !tbaa !11
%6 = tail call ptr @qed_vf_pf_prep(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 8) #2
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %8, ptr %9, align 4, !tbaa !17
%10 = load i64, ptr %2, align 8, !tbaa !19
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
store i32 %12, ptr %6, align 4, !tbaa !20
%13 = getelementptr inbounds i8, ptr %4, i64 8
%14 = load i32, ptr @CHANNEL_TLV_LIST_END, align 4, !tbaa !11
%15 = tail call i32 @qed_add_tlv(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %14, i32 noundef 4) #2
%16 = load ptr, ptr %4, align 8, !tbaa !21
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = tail call i32 @qed_send_msg2pf(ptr noundef nonnull %0, ptr noundef nonnull %17, i32 noundef 16) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %3
%21 = load i64, ptr %17, align 8, !tbaa !23
%22 = load i64, ptr @PFVF_STATUS_SUCCESS, align 8, !tbaa !26
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %16, align 8, !tbaa !27
store i32 %25, ptr %1, align 4, !tbaa !11
br label %26
26: ; preds = %20, %3, %24
%27 = tail call i32 @qed_vf_pf_req_end(ptr noundef nonnull %0, i32 noundef %18) #2
ret i32 %18
}
declare ptr @qed_vf_pf_prep(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_add_tlv(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_send_msg2pf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qed_vf_pf_req_end(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qed_hwfn", !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 8}
!14 = !{!"qed_queue_cid", !15, i64 0, !16, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_4__", !12, i64 0}
!17 = !{!18, !12, i64 4}
!18 = !{!"vfpf_read_coal_req_tlv", !12, i64 0, !12, i64 4}
!19 = !{!14, !15, i64 0}
!20 = !{!18, !12, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"qed_vf_iov", !8, i64 0, !12, i64 8}
!23 = !{!24, !15, i64 8}
!24 = !{!"pfvf_read_coal_resp_tlv", !12, i64 0, !25, i64 8}
!25 = !{!"TYPE_6__", !15, i64 0}
!26 = !{!15, !15, i64 0}
!27 = !{!24, !12, i64 0}
|
linux_drivers_net_ethernet_qlogic_qed_extr_qed_vf.c_qed_vf_pf_get_coalesce
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_set_gcp_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_set_gcp_infoframe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_crtc_state = type { %struct.TYPE_4__, i32, %struct.TYPE_6__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32 }
@HDMI_PACKET_TYPE_GENERAL_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_hdmi_set_gcp_infoframe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @intel_hdmi_set_gcp_infoframe(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call ptr @to_i915(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call ptr @to_intel_crtc(i32 noundef %7) #2
%9 = load i32, ptr %1, align 4, !tbaa !15
%10 = load i32, ptr @HDMI_PACKET_TYPE_GENERAL_CONTROL, align 4, !tbaa !16
%11 = tail call i32 @intel_hdmi_infoframe_enable(i32 noundef %10) #2
%12 = and i32 %11, %9
%13 = icmp eq i32 %12, 0
br i1 %13, label %41, label %14
14: ; preds = %3
%15 = tail call i64 @HAS_DDI(ptr noundef %5) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %14
%18 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = tail call i32 @HSW_TVIDEO_DIP_GCP(i32 noundef %19) #2
br label %36
21: ; preds = %14
%22 = tail call i64 @IS_VALLEYVIEW(ptr noundef %5) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = tail call i64 @IS_CHERRYVIEW(ptr noundef %5) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24, %21
%28 = load i32, ptr %8, align 4, !tbaa !18
%29 = tail call i32 @VLV_TVIDEO_DIP_GCP(i32 noundef %28) #2
br label %36
30: ; preds = %24
%31 = tail call i64 @HAS_PCH_SPLIT(ptr noundef %5) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %41, label %33
33: ; preds = %30
%34 = load i32, ptr %8, align 4, !tbaa !18
%35 = tail call i32 @TVIDEO_DIP_GCP(i32 noundef %34) #2
br label %36
36: ; preds = %27, %33, %17
%37 = phi i32 [ %20, %17 ], [ %29, %27 ], [ %35, %33 ]
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !20
%40 = tail call i32 @I915_WRITE(i32 noundef %37, i32 noundef %39) #2
br label %41
41: ; preds = %30, %3, %36
%42 = phi i32 [ 1, %36 ], [ 0, %3 ], [ 0, %30 ]
ret i32 %42
}
declare ptr @to_i915(i32 noundef) local_unnamed_addr #1
declare ptr @to_intel_crtc(i32 noundef) local_unnamed_addr #1
declare i32 @intel_hdmi_infoframe_enable(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_DDI(ptr noundef) local_unnamed_addr #1
declare i32 @HSW_TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i64 @IS_VALLEYVIEW(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CHERRYVIEW(ptr noundef) local_unnamed_addr #1
declare i32 @VLV_TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_SPLIT(ptr noundef) local_unnamed_addr #1
declare i32 @TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i32 @I915_WRITE(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, !8, i64 0}
!6 = !{!"intel_encoder", !7, 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 = !{!12, !8, i64 12}
!12 = !{!"intel_crtc_state", !13, i64 0, !8, i64 8, !14, i64 12}
!13 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!14 = !{!"TYPE_6__", !8, i64 0}
!15 = !{!12, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!12, !8, i64 8}
!18 = !{!19, !8, i64 0}
!19 = !{!"intel_crtc", !8, i64 0}
!20 = !{!12, !8, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_set_gcp_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_set_gcp_infoframe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HDMI_PACKET_TYPE_GENERAL_CONTROL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_hdmi_set_gcp_infoframe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @intel_hdmi_set_gcp_infoframe(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call ptr @to_i915(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %1, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call ptr @to_intel_crtc(i32 noundef %7) #2
%9 = load i32, ptr %1, align 4, !tbaa !16
%10 = load i32, ptr @HDMI_PACKET_TYPE_GENERAL_CONTROL, align 4, !tbaa !17
%11 = tail call i32 @intel_hdmi_infoframe_enable(i32 noundef %10) #2
%12 = and i32 %11, %9
%13 = icmp eq i32 %12, 0
br i1 %13, label %41, label %14
14: ; preds = %3
%15 = tail call i64 @HAS_DDI(ptr noundef %5) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = tail call i32 @HSW_TVIDEO_DIP_GCP(i32 noundef %19) #2
br label %36
21: ; preds = %14
%22 = tail call i64 @IS_VALLEYVIEW(ptr noundef %5) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = tail call i64 @IS_CHERRYVIEW(ptr noundef %5) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24, %21
%28 = load i32, ptr %8, align 4, !tbaa !19
%29 = tail call i32 @VLV_TVIDEO_DIP_GCP(i32 noundef %28) #2
br label %36
30: ; preds = %24
%31 = tail call i64 @HAS_PCH_SPLIT(ptr noundef %5) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %41, label %33
33: ; preds = %30
%34 = load i32, ptr %8, align 4, !tbaa !19
%35 = tail call i32 @TVIDEO_DIP_GCP(i32 noundef %34) #2
br label %36
36: ; preds = %27, %33, %17
%37 = phi i32 [ %20, %17 ], [ %29, %27 ], [ %35, %33 ]
%38 = getelementptr inbounds i8, ptr %1, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !21
%40 = tail call i32 @I915_WRITE(i32 noundef %37, i32 noundef %39) #2
br label %41
41: ; preds = %30, %3, %36
%42 = phi i32 [ 1, %36 ], [ 0, %3 ], [ 0, %30 ]
ret i32 %42
}
declare ptr @to_i915(i32 noundef) local_unnamed_addr #1
declare ptr @to_intel_crtc(i32 noundef) local_unnamed_addr #1
declare i32 @intel_hdmi_infoframe_enable(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_DDI(ptr noundef) local_unnamed_addr #1
declare i32 @HSW_TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i64 @IS_VALLEYVIEW(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CHERRYVIEW(ptr noundef) local_unnamed_addr #1
declare i32 @VLV_TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_SPLIT(ptr noundef) local_unnamed_addr #1
declare i32 @TVIDEO_DIP_GCP(i32 noundef) local_unnamed_addr #1
declare i32 @I915_WRITE(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, !9, i64 0}
!7 = !{!"intel_encoder", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 12}
!13 = !{!"intel_crtc_state", !14, i64 0, !9, i64 8, !15, i64 12}
!14 = !{!"TYPE_4__", !9, i64 0, !9, i64 4}
!15 = !{!"TYPE_6__", !9, i64 0}
!16 = !{!13, !9, i64 0}
!17 = !{!9, !9, i64 0}
!18 = !{!13, !9, i64 8}
!19 = !{!20, !9, i64 0}
!20 = !{!"intel_crtc", !9, i64 0}
!21 = !{!13, !9, i64 4}
|
linux_drivers_gpu_drm_i915_display_extr_intel_hdmi.c_intel_hdmi_set_gcp_infoframe
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_write_fru_status.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_write_fru_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bsg_job = type { i32, %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i32, i32 }
%struct.fc_bsg_reply = type { i32, i32, %struct.TYPE_11__ }
%struct.TYPE_11__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.qla_status_reg = type { %struct.TYPE_9__, i32 }
%struct.TYPE_9__ = type { i32, i32, i32 }
@DMA_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@EXT_STATUS_NO_MEMORY = dso_local local_unnamed_addr global i64 0, align 8
@EXT_STATUS_MAILBOX = dso_local local_unnamed_addr global i64 0, align 8
@DID_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qla2x00_write_fru_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @qla2x00_write_fru_status(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @fc_bsg_to_shost(ptr noundef %0) #3
%6 = tail call ptr @shost_priv(ptr noundef %5) #3
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr @DMA_POOL_SIZE, align 4, !tbaa !14
%9 = zext i32 %8 to i64
%10 = alloca i32, i64 %9, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%11 = load i32, ptr %7, align 4, !tbaa !15
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14
%13 = call ptr @dma_pool_alloc(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %2) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %1
%16 = load i64, ptr @EXT_STATUS_NO_MEMORY, align 8, !tbaa !17
%17 = getelementptr inbounds %struct.fc_bsg_reply, ptr %4, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !19
store i64 %16, ptr %18, align 8, !tbaa !17
br label %42
19: ; preds = %1
%20 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 1
%21 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 1, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !23
%23 = load i32, ptr %20, align 4, !tbaa !24
%24 = call i32 @sg_copy_to_buffer(i32 noundef %22, i32 noundef %23, ptr noundef nonnull %10, i32 noundef 16) #3
%25 = getelementptr inbounds %struct.qla_status_reg, ptr %10, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !25
store i32 %26, ptr %13, align 4, !tbaa !14
%27 = load i32, ptr %2, align 4, !tbaa !14
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %10, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !28
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %10, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !29
%32 = load i32, ptr %10, align 16, !tbaa !30
%33 = call i32 @qla2x00_write_sfp(ptr noundef nonnull %6, i32 noundef %27, ptr noundef nonnull %13, i32 noundef %29, i32 noundef %31, i32 noundef 4, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
%35 = load i64, ptr @EXT_STATUS_MAILBOX, align 8
%36 = select i1 %34, i64 0, i64 %35
%37 = getelementptr inbounds %struct.fc_bsg_reply, ptr %4, i64 0, i32 2
%38 = load ptr, ptr %37, align 8, !tbaa !19
store i64 %36, ptr %38, align 8, !tbaa !17
%39 = load i32, ptr %7, align 4, !tbaa !15
%40 = load i32, ptr %2, align 4, !tbaa !14
%41 = call i32 @dma_pool_free(i32 noundef %39, ptr noundef nonnull %13, i32 noundef %40) #3
br label %42
42: ; preds = %19, %15
store i32 16, ptr %0, align 8, !tbaa !31
%43 = load i32, ptr @DID_OK, align 4, !tbaa !14
%44 = shl i32 %43, 16
store i32 %44, ptr %4, align 8, !tbaa !32
%45 = getelementptr inbounds %struct.fc_bsg_reply, ptr %4, i64 0, i32 1
%46 = load i32, ptr %45, align 4, !tbaa !33
%47 = call i32 @bsg_job_done(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %46) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @fc_bsg_to_shost(ptr noundef) local_unnamed_addr #2
declare ptr @shost_priv(ptr noundef) local_unnamed_addr #2
declare ptr @dma_pool_alloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sg_copy_to_buffer(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qla2x00_write_sfp(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dma_pool_free(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bsg_job_done(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, !11, i64 16}
!6 = !{!"bsg_job", !7, i64 0, !10, i64 4, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_12__", !11, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"qla_hw_data", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!20, !11, i64 8}
!20 = !{!"fc_bsg_reply", !7, i64 0, !7, i64 4, !21, i64 8}
!21 = !{!"TYPE_11__", !22, i64 0}
!22 = !{!"TYPE_10__", !11, i64 0}
!23 = !{!6, !7, i64 8}
!24 = !{!6, !7, i64 4}
!25 = !{!26, !7, i64 12}
!26 = !{!"qla_status_reg", !27, i64 0, !7, i64 12}
!27 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8}
!28 = !{!26, !7, i64 8}
!29 = !{!26, !7, i64 4}
!30 = !{!26, !7, i64 0}
!31 = !{!6, !7, i64 0}
!32 = !{!20, !7, i64 0}
!33 = !{!20, !7, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_write_fru_status.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_write_fru_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_POOL_SIZE = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@EXT_STATUS_NO_MEMORY = common local_unnamed_addr global i64 0, align 8
@EXT_STATUS_MAILBOX = common local_unnamed_addr global i64 0, align 8
@DID_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qla2x00_write_fru_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @qla2x00_write_fru_status(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @fc_bsg_to_shost(ptr noundef %0) #3
%6 = tail call ptr @shost_priv(ptr noundef %5) #3
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr @DMA_POOL_SIZE, align 4, !tbaa !15
%9 = zext i32 %8 to i64
%10 = alloca i32, i64 %9, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%11 = load i32, ptr %7, align 4, !tbaa !16
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15
%13 = call ptr @dma_pool_alloc(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %2) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %1
%16 = load i64, ptr @EXT_STATUS_NO_MEMORY, align 8, !tbaa !18
%17 = getelementptr inbounds i8, ptr %4, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !20
store i64 %16, ptr %18, align 8, !tbaa !18
br label %42
19: ; preds = %1
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !24
%23 = load i32, ptr %20, align 4, !tbaa !25
%24 = call i32 @sg_copy_to_buffer(i32 noundef %22, i32 noundef %23, ptr noundef nonnull %10, i32 noundef 16) #3
%25 = getelementptr inbounds i8, ptr %10, i64 12
%26 = load i32, ptr %25, align 4, !tbaa !26
store i32 %26, ptr %13, align 4, !tbaa !15
%27 = load i32, ptr %2, align 4, !tbaa !15
%28 = getelementptr inbounds i8, ptr %10, i64 8
%29 = load i32, ptr %28, align 4, !tbaa !29
%30 = getelementptr inbounds i8, ptr %10, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !30
%32 = load i32, ptr %10, align 4, !tbaa !31
%33 = call i32 @qla2x00_write_sfp(ptr noundef nonnull %6, i32 noundef %27, ptr noundef nonnull %13, i32 noundef %29, i32 noundef %31, i32 noundef 4, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
%35 = load i64, ptr @EXT_STATUS_MAILBOX, align 8
%36 = select i1 %34, i64 0, i64 %35
%37 = getelementptr inbounds i8, ptr %4, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !20
store i64 %36, ptr %38, align 8, !tbaa !18
%39 = load i32, ptr %7, align 4, !tbaa !16
%40 = load i32, ptr %2, align 4, !tbaa !15
%41 = call i32 @dma_pool_free(i32 noundef %39, ptr noundef nonnull %13, i32 noundef %40) #3
br label %42
42: ; preds = %19, %15
store i32 16, ptr %0, align 8, !tbaa !32
%43 = load i32, ptr @DID_OK, align 4, !tbaa !15
%44 = shl i32 %43, 16
store i32 %44, ptr %4, align 8, !tbaa !33
%45 = getelementptr inbounds i8, ptr %4, i64 4
%46 = load i32, ptr %45, align 4, !tbaa !34
%47 = call i32 @bsg_job_done(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %46) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @fc_bsg_to_shost(ptr noundef) local_unnamed_addr #2
declare ptr @shost_priv(ptr noundef) local_unnamed_addr #2
declare ptr @dma_pool_alloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sg_copy_to_buffer(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qla2x00_write_sfp(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dma_pool_free(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bsg_job_done(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, !12, i64 16}
!7 = !{!"bsg_job", !8, i64 0, !11, i64 4, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_12__", !12, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"qla_hw_data", !8, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!21, !12, i64 8}
!21 = !{!"fc_bsg_reply", !8, i64 0, !8, i64 4, !22, i64 8}
!22 = !{!"TYPE_11__", !23, i64 0}
!23 = !{!"TYPE_10__", !12, i64 0}
!24 = !{!7, !8, i64 8}
!25 = !{!7, !8, i64 4}
!26 = !{!27, !8, i64 12}
!27 = !{!"qla_status_reg", !28, i64 0, !8, i64 12}
!28 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8}
!29 = !{!27, !8, i64 8}
!30 = !{!27, !8, i64 4}
!31 = !{!27, !8, i64 0}
!32 = !{!7, !8, i64 0}
!33 = !{!21, !8, i64 0}
!34 = !{!21, !8, i64 4}
|
linux_drivers_scsi_qla2xxx_extr_qla_bsg.c_qla2x00_write_fru_status
|
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_file_cache_destructor.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_file_cache_destructor.c"
target datalayout = "e-m:e-p270:32:32-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 @vn_file_cache_destructor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vn_file_cache_destructor(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call i32 @mutex_destroy(ptr noundef %0) #2
ret void
}
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_file_cache_destructor.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_file_cache_destructor.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 @vn_file_cache_destructor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vn_file_cache_destructor(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call i32 @mutex_destroy(ptr noundef %0) #2
ret void
}
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
zfs_module_os_linux_spl_extr_spl-vnode.c_vn_file_cache_destructor
|
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_lgc.c_iscleared.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lgc.c_iscleared.c"
target datalayout = "e-m:e-p270:32:32-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 @iscleared], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iscleared(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @iscollectable(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %2
%6 = tail call i64 @ttisstring(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = tail call i32 @tsvalue(ptr noundef %1) #2
%10 = tail call i32 @markobject(ptr noundef %0, i32 noundef %9) #2
br label %14
11: ; preds = %5
%12 = tail call i32 @gcvalue(ptr noundef %1) #2
%13 = tail call i32 @iswhite(i32 noundef %12) #2
br label %14
14: ; preds = %2, %11, %8
%15 = phi i32 [ 0, %8 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %15
}
declare i32 @iscollectable(ptr noundef) local_unnamed_addr #1
declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1
declare i32 @markobject(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsvalue(ptr noundef) local_unnamed_addr #1
declare i32 @iswhite(i32 noundef) local_unnamed_addr #1
declare i32 @gcvalue(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/lua/src/extr_lgc.c_iscleared.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lgc.c_iscleared.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 @iscleared], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iscleared(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @iscollectable(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %2
%6 = tail call i64 @ttisstring(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = tail call i32 @tsvalue(ptr noundef %1) #2
%10 = tail call i32 @markobject(ptr noundef %0, i32 noundef %9) #2
br label %14
11: ; preds = %5
%12 = tail call i32 @gcvalue(ptr noundef %1) #2
%13 = tail call i32 @iswhite(i32 noundef %12) #2
br label %14
14: ; preds = %2, %11, %8
%15 = phi i32 [ 0, %8 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %15
}
declare i32 @iscollectable(ptr noundef) local_unnamed_addr #1
declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1
declare i32 @markobject(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsvalue(ptr noundef) local_unnamed_addr #1
declare i32 @iswhite(i32 noundef) local_unnamed_addr #1
declare i32 @gcvalue(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_lua_src_extr_lgc.c_iscleared
|
; ModuleID = 'AnghaBench/linux/drivers/base/power/extr_wakeup.c_wakeup_sources_stats_seq_show.c'
source_filename = "AnghaBench/linux/drivers/base/power/extr_wakeup.c_wakeup_sources_stats_seq_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @wakeup_sources_stats_seq_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wakeup_sources_stats_seq_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @print_wakeup_source_stats(ptr noundef %0, ptr noundef %1) #2
ret i32 0
}
declare i32 @print_wakeup_source_stats(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/base/power/extr_wakeup.c_wakeup_sources_stats_seq_show.c'
source_filename = "AnghaBench/linux/drivers/base/power/extr_wakeup.c_wakeup_sources_stats_seq_show.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 @wakeup_sources_stats_seq_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wakeup_sources_stats_seq_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @print_wakeup_source_stats(ptr noundef %0, ptr noundef %1) #2
ret i32 0
}
declare i32 @print_wakeup_source_stats(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_base_power_extr_wakeup.c_wakeup_sources_stats_seq_show
|
; ModuleID = 'AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_nmi_cpu_save_registers.c'
source_filename = "AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_nmi_cpu_save_registers.c"
target datalayout = "e-m:e-p270:32:32-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.op_msrs = type { ptr, ptr }
%struct.TYPE_2__ = type { i32, i32 }
%struct.op_msr = type { i32, i64 }
@model = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @nmi_cpu_save_registers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nmi_cpu_save_registers(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.op_msrs, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = load ptr, ptr @model, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %26, %1
%9 = phi ptr [ %5, %1 ], [ %28, %26 ]
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = icmp eq i32 %11, 0
br i1 %12, label %50, label %32
13: ; preds = %1, %26
%14 = phi i32 [ %27, %26 ], [ %6, %1 ]
%15 = phi ptr [ %28, %26 ], [ %5, %1 ]
%16 = phi i64 [ %29, %26 ], [ 0, %1 ]
%17 = getelementptr inbounds %struct.op_msr, ptr %3, i64 %16, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = icmp eq i64 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %13
%21 = getelementptr inbounds %struct.op_msr, ptr %3, i64 %16
%22 = load i32, ptr %21, align 8, !tbaa !19
%23 = tail call i32 @rdmsrl(i64 noundef %18, i32 noundef %22) #2
%24 = load ptr, ptr @model, align 8, !tbaa !11
%25 = load i32, ptr %24, align 4, !tbaa !12
br label %26
26: ; preds = %13, %20
%27 = phi i32 [ %14, %13 ], [ %25, %20 ]
%28 = phi ptr [ %15, %13 ], [ %24, %20 ]
%29 = add nuw nsw i64 %16, 1
%30 = zext i32 %27 to i64
%31 = icmp ult i64 %29, %30
br i1 %31, label %13, label %8, !llvm.loop !20
32: ; preds = %8, %43
%33 = phi ptr [ %44, %43 ], [ %9, %8 ]
%34 = phi i64 [ %45, %43 ], [ 0, %8 ]
%35 = getelementptr inbounds %struct.op_msr, ptr %4, i64 %34, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !16
%37 = icmp eq i64 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %32
%39 = getelementptr inbounds %struct.op_msr, ptr %4, i64 %34
%40 = load i32, ptr %39, align 8, !tbaa !19
%41 = tail call i32 @rdmsrl(i64 noundef %36, i32 noundef %40) #2
%42 = load ptr, ptr @model, align 8, !tbaa !11
br label %43
43: ; preds = %32, %38
%44 = phi ptr [ %33, %32 ], [ %42, %38 ]
%45 = add nuw nsw i64 %34, 1
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i64 0, i32 1
%47 = load i32, ptr %46, align 4, !tbaa !15
%48 = zext i32 %47 to i64
%49 = icmp ult i64 %45, %48
br i1 %49, label %32, label %50, !llvm.loop !22
50: ; preds = %43, %8
ret void
}
declare i32 @rdmsrl(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"op_msrs", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{!17, !18, i64 8}
!17 = !{!"op_msr", !14, i64 0, !18, i64 8}
!18 = !{!"long", !8, i64 0}
!19 = !{!17, !14, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
|
; ModuleID = 'AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_nmi_cpu_save_registers.c'
source_filename = "AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_nmi_cpu_save_registers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.op_msr = type { i32, i64 }
@model = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @nmi_cpu_save_registers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nmi_cpu_save_registers(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 ptr, ptr %0, align 8, !tbaa !11
%5 = load ptr, ptr @model, align 8, !tbaa !12
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %26, %1
%9 = phi ptr [ %5, %1 ], [ %28, %26 ]
%10 = getelementptr inbounds i8, ptr %9, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = icmp eq i32 %11, 0
br i1 %12, label %50, label %32
13: ; preds = %1, %26
%14 = phi i32 [ %27, %26 ], [ %6, %1 ]
%15 = phi ptr [ %28, %26 ], [ %5, %1 ]
%16 = phi i64 [ %29, %26 ], [ 0, %1 ]
%17 = getelementptr inbounds %struct.op_msr, ptr %3, i64 %16
%18 = getelementptr inbounds i8, ptr %17, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !17
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %13
%22 = load i32, ptr %17, align 8, !tbaa !20
%23 = tail call i32 @rdmsrl(i64 noundef %19, i32 noundef %22) #2
%24 = load ptr, ptr @model, align 8, !tbaa !12
%25 = load i32, ptr %24, align 4, !tbaa !13
br label %26
26: ; preds = %13, %21
%27 = phi i32 [ %14, %13 ], [ %25, %21 ]
%28 = phi ptr [ %15, %13 ], [ %24, %21 ]
%29 = add nuw nsw i64 %16, 1
%30 = zext i32 %27 to i64
%31 = icmp ult i64 %29, %30
br i1 %31, label %13, label %8, !llvm.loop !21
32: ; preds = %8, %43
%33 = phi ptr [ %44, %43 ], [ %9, %8 ]
%34 = phi i64 [ %45, %43 ], [ 0, %8 ]
%35 = getelementptr inbounds %struct.op_msr, ptr %4, i64 %34
%36 = getelementptr inbounds i8, ptr %35, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !17
%38 = icmp eq i64 %37, 0
br i1 %38, label %43, label %39
39: ; preds = %32
%40 = load i32, ptr %35, align 8, !tbaa !20
%41 = tail call i32 @rdmsrl(i64 noundef %37, i32 noundef %40) #2
%42 = load ptr, ptr @model, align 8, !tbaa !12
br label %43
43: ; preds = %32, %39
%44 = phi ptr [ %33, %32 ], [ %42, %39 ]
%45 = add nuw nsw i64 %34, 1
%46 = getelementptr inbounds i8, ptr %44, i64 4
%47 = load i32, ptr %46, align 4, !tbaa !16
%48 = zext i32 %47 to i64
%49 = icmp ult i64 %45, %48
br i1 %49, label %32, label %50, !llvm.loop !23
50: ; preds = %43, %8
ret void
}
declare i32 @rdmsrl(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"op_msrs", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0, !15, i64 4}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !15, i64 4}
!17 = !{!18, !19, i64 8}
!18 = !{!"op_msr", !15, i64 0, !19, i64 8}
!19 = !{!"long", !9, i64 0}
!20 = !{!18, !15, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
|
linux_arch_x86_oprofile_extr_nmi_int.c_nmi_cpu_save_registers
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test__stricmp.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test__stricmp.c"
target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"test\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"_stricmp returned %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"z\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\A5\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\B9\00", align 1
@LC_ALL = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"polish\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"stricmp tests\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test__stricmp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test__stricmp() #0 {
%1 = tail call i32 @_stricmp(ptr noundef nonnull @.str, ptr noundef nonnull @.str) #2
%2 = icmp eq i32 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i32 @ok(i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%5 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%6 = lshr i32 %5, 31
%7 = tail call i32 @ok(i32 noundef %6, ptr noundef nonnull @.str.1, i32 noundef %5) #2
%8 = tail call i32 @_stricmp(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%9 = icmp sgt i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @ok(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef %8) #2
%12 = tail call i32 @_stricmp(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%13 = lshr i32 %12, 31
%14 = tail call i32 @ok(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %12) #2
%15 = load i32, ptr @LC_ALL, align 4, !tbaa !5
%16 = tail call i32 @setlocale(i32 noundef %15, ptr noundef nonnull @.str.6) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %0
%19 = tail call i32 @win_skip(ptr noundef nonnull @.str.7) #2
br label %41
20: ; preds = %0
%21 = tail call i32 @_stricmp(ptr noundef nonnull @.str, ptr noundef nonnull @.str) #2
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
%24 = tail call i32 @ok(i32 noundef %23, ptr noundef nonnull @.str.1, i32 noundef %21) #2
%25 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%26 = lshr i32 %25, 31
%27 = tail call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %25) #2
%28 = tail call i32 @_stricmp(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%29 = icmp sgt i32 %28, 0
%30 = zext i1 %29 to i32
%31 = tail call i32 @ok(i32 noundef %30, ptr noundef nonnull @.str.1, i32 noundef %28) #2
%32 = tail call i32 @_stricmp(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%33 = icmp eq i32 %32, 0
%34 = zext i1 %33 to i32
%35 = tail call i32 @ok(i32 noundef %34, ptr noundef nonnull @.str.1, i32 noundef %32) #2
%36 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5) #2
%37 = lshr i32 %36, 31
%38 = tail call i32 @ok(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %36) #2
%39 = load i32, ptr @LC_ALL, align 4, !tbaa !5
%40 = tail call i32 @setlocale(i32 noundef %39, ptr noundef nonnull @.str.8) #2
br label %41
41: ; preds = %20, %18
ret void
}
declare i32 @_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @win_skip(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/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test__stricmp.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test__stricmp.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 [5 x i8] c"test\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"_stricmp returned %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"z\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\A5\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\B9\00", align 1
@LC_ALL = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"polish\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"stricmp tests\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test__stricmp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test__stricmp() #0 {
%1 = tail call i32 @_stricmp(ptr noundef nonnull @.str, ptr noundef nonnull @.str) #2
%2 = icmp eq i32 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i32 @ok(i32 noundef %3, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%5 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%6 = lshr i32 %5, 31
%7 = tail call i32 @ok(i32 noundef %6, ptr noundef nonnull @.str.1, i32 noundef %5) #2
%8 = tail call i32 @_stricmp(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%9 = icmp sgt i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @ok(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef %8) #2
%12 = tail call i32 @_stricmp(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%13 = lshr i32 %12, 31
%14 = tail call i32 @ok(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %12) #2
%15 = load i32, ptr @LC_ALL, align 4, !tbaa !6
%16 = tail call i32 @setlocale(i32 noundef %15, ptr noundef nonnull @.str.6) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %0
%19 = tail call i32 @win_skip(ptr noundef nonnull @.str.7) #2
br label %41
20: ; preds = %0
%21 = tail call i32 @_stricmp(ptr noundef nonnull @.str, ptr noundef nonnull @.str) #2
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
%24 = tail call i32 @ok(i32 noundef %23, ptr noundef nonnull @.str.1, i32 noundef %21) #2
%25 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%26 = lshr i32 %25, 31
%27 = tail call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %25) #2
%28 = tail call i32 @_stricmp(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2) #2
%29 = icmp sgt i32 %28, 0
%30 = zext i1 %29 to i32
%31 = tail call i32 @ok(i32 noundef %30, ptr noundef nonnull @.str.1, i32 noundef %28) #2
%32 = tail call i32 @_stricmp(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%33 = icmp eq i32 %32, 0
%34 = zext i1 %33 to i32
%35 = tail call i32 @ok(i32 noundef %34, ptr noundef nonnull @.str.1, i32 noundef %32) #2
%36 = tail call i32 @_stricmp(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5) #2
%37 = lshr i32 %36, 31
%38 = tail call i32 @ok(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %36) #2
%39 = load i32, ptr @LC_ALL, align 4, !tbaa !6
%40 = tail call i32 @setlocale(i32 noundef %39, ptr noundef nonnull @.str.8) #2
br label %41
41: ; preds = %20, %18
ret void
}
declare i32 @_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @win_skip(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"}
|
reactos_modules_rostests_winetests_msvcrt_extr_string.c_test__stricmp
|
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm85.c_in_max_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm85.c_in_max_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.lm85_data = type { i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @in_max_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @in_max_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%9 = getelementptr inbounds %struct.lm85_data, ptr %8, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %4
%14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3
%15 = load i64, ptr %5, align 8, !tbaa !13
%16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3
%17 = getelementptr inbounds %struct.lm85_data, ptr %8, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 %16, ptr %20, align 4, !tbaa !16
%21 = call i32 @LM85_REG_IN_MAX(i32 noundef %7) #3
%22 = load ptr, ptr %17, align 8, !tbaa !15
%23 = getelementptr inbounds i32, ptr %22, i64 %19
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = call i32 @lm85_write_value(ptr noundef %10, i32 noundef %21, i32 noundef %24) #3
%26 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3
%27 = trunc i64 %3 to i32
br label %28
28: ; preds = %4, %13
%29 = phi i32 [ %27, %13 ], [ %11, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
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 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @lm85_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LM85_REG_IN_MAX(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, !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 = !{!11, !12, i64 16}
!11 = !{!"lm85_data", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 8}
!16 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm85.c_in_max_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm85.c_in_max_store.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 @in_max_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @in_max_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%9 = getelementptr inbounds i8, ptr %8, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %4
%14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3
%15 = load i64, ptr %5, align 8, !tbaa !14
%16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %8, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 %16, ptr %20, align 4, !tbaa !17
%21 = call i32 @LM85_REG_IN_MAX(i32 noundef %7) #3
%22 = load ptr, ptr %17, align 8, !tbaa !16
%23 = getelementptr inbounds i32, ptr %22, i64 %19
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = call i32 @lm85_write_value(ptr noundef %10, i32 noundef %21, i32 noundef %24) #3
%26 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3
%27 = trunc i64 %3 to i32
br label %28
28: ; preds = %4, %13
%29 = phi i32 [ %27, %13 ], [ %11, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
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 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @lm85_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LM85_REG_IN_MAX(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, !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 = !{!12, !13, i64 16}
!12 = !{!"lm85_data", !8, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!8, !8, i64 0}
|
linux_drivers_hwmon_extr_lm85.c_in_max_store
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/kinesis/alvicstep/extr_matrix.c_read_row.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/kinesis/alvicstep/extr_matrix.c_read_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"
@PINC = dso_local local_unnamed_addr global i32 0, align 4
@PINB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_row], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_row(i32 noundef %0) #0 {
%2 = tail call i32 @_delay_us(i32 noundef 30) #2
%3 = icmp eq i32 %0, 12
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load i32, ptr @PINC, align 4, !tbaa !5
%6 = and i32 %5, -64
%7 = xor i32 %6, -64
br label %11
8: ; preds = %1
%9 = load i32, ptr @PINB, align 4, !tbaa !5
%10 = xor i32 %9, -1
br label %11
11: ; preds = %8, %4
%12 = phi i32 [ %7, %4 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @_delay_us(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/qmk_firmware/keyboards/kinesis/alvicstep/extr_matrix.c_read_row.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/kinesis/alvicstep/extr_matrix.c_read_row.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PINC = common local_unnamed_addr global i32 0, align 4
@PINB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_row], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_row(i32 noundef %0) #0 {
%2 = tail call i32 @_delay_us(i32 noundef 30) #2
%3 = icmp eq i32 %0, 12
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load i32, ptr @PINC, align 4, !tbaa !6
%6 = and i32 %5, -64
%7 = xor i32 %6, -64
br label %11
8: ; preds = %1
%9 = load i32, ptr @PINB, align 4, !tbaa !6
%10 = xor i32 %9, -1
br label %11
11: ; preds = %8, %4
%12 = phi i32 [ %7, %4 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @_delay_us(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"}
|
qmk_firmware_keyboards_kinesis_alvicstep_extr_matrix.c_read_row
|
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/stm/extr_core.c_stm_lookup_protocol.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/stm/extr_core.c_stm_lookup_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.stm_pdrv_entry = type { ptr, ptr }
@stm_pdrv_mutex = dso_local global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @stm_lookup_protocol(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @stm_pdrv_mutex) #2
%5 = tail call ptr @__stm_lookup_protocol(ptr noundef %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.stm_pdrv_entry, ptr %5, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %7
%12 = tail call i64 @stm_get_protocol(ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load ptr, ptr %8, align 8, !tbaa !5
store ptr %15, ptr %1, align 8, !tbaa !10
%16 = load ptr, ptr %5, align 8, !tbaa !11
store ptr %16, ptr %2, align 8, !tbaa !10
br label %17
17: ; preds = %14, %11, %7, %3
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull @stm_pdrv_mutex) #2
%19 = load i32, ptr @ENOENT, align 4
%20 = sub nsw i32 0, %19
%21 = select i1 %6, i32 %20, i32 0
ret i32 %21
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @__stm_lookup_protocol(ptr noundef) local_unnamed_addr #1
declare i64 @stm_get_protocol(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"stm_pdrv_entry", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/stm/extr_core.c_stm_lookup_protocol.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/stm/extr_core.c_stm_lookup_protocol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stm_pdrv_mutex = common global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @stm_lookup_protocol(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @stm_pdrv_mutex) #2
%5 = tail call ptr @__stm_lookup_protocol(ptr noundef %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %7
%12 = tail call i64 @stm_get_protocol(ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load ptr, ptr %8, align 8, !tbaa !6
store ptr %15, ptr %1, align 8, !tbaa !11
%16 = load ptr, ptr %5, align 8, !tbaa !12
store ptr %16, ptr %2, align 8, !tbaa !11
br label %17
17: ; preds = %14, %11, %7, %3
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull @stm_pdrv_mutex) #2
%19 = load i32, ptr @ENOENT, align 4
%20 = sub nsw i32 0, %19
%21 = select i1 %6, i32 %20, i32 0
ret i32 %21
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @__stm_lookup_protocol(ptr noundef) local_unnamed_addr #1
declare i64 @stm_get_protocol(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"stm_pdrv_entry", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
|
linux_drivers_hwtracing_stm_extr_core.c_stm_lookup_protocol
|
; ModuleID = 'AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_init_debugfs.c'
source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_init_debugfs.c"
target datalayout = "e-m:e-p270:32:32-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 @pmbus_init_debugfs], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @pmbus_init_debugfs(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_init_debugfs.c'
source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_init_debugfs.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 @pmbus_init_debugfs], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @pmbus_init_debugfs(ptr nocapture readnone %0, ptr nocapture readnone %1) #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_drivers_hwmon_pmbus_extr_pmbus_core.c_pmbus_init_debugfs
|
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/android/extr_ijksdl_vout_android_nativewindow.c_SDL_VoutAndroid_obtainBufferProxy.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/android/extr_ijksdl_vout_android_nativewindow.c_SDL_VoutAndroid_obtainBufferProxy.c"
target datalayout = "e-m:e-p270:32:32-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 @SDL_VoutAndroid_obtainBufferProxy(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @SDL_LockMutex(i32 noundef %5) #2
%7 = tail call ptr @SDL_VoutAndroid_obtainBufferProxy_l(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = tail call i32 @SDL_UnlockMutex(i32 noundef %8) #2
ret ptr %7
}
declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1
declare ptr @SDL_VoutAndroid_obtainBufferProxy_l(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/android/extr_ijksdl_vout_android_nativewindow.c_SDL_VoutAndroid_obtainBufferProxy.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/android/extr_ijksdl_vout_android_nativewindow.c_SDL_VoutAndroid_obtainBufferProxy.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 @SDL_VoutAndroid_obtainBufferProxy(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @SDL_LockMutex(i32 noundef %5) #2
%7 = tail call ptr @SDL_VoutAndroid_obtainBufferProxy_l(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = tail call i32 @SDL_UnlockMutex(i32 noundef %8) #2
ret ptr %7
}
declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1
declare ptr @SDL_VoutAndroid_obtainBufferProxy_l(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
ijkplayer_ijkmedia_ijksdl_android_extr_ijksdl_vout_android_nativewindow.c_SDL_VoutAndroid_obtainBufferProxy
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_sys_cpuset_getid.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_sys_cpuset_getid.c"
target datalayout = "e-m:e-p270:32:32-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.cpuset_getid_args = type { i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @sys_cpuset_getid(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.cpuset_getid_args, ptr %1, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.cpuset_getid_args, ptr %1, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.cpuset_getid_args, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr %1, align 4, !tbaa !12
%10 = tail call i32 @kern_cpuset_getid(ptr noundef %0, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9) #2
ret i32 %10
}
declare i32 @kern_cpuset_getid(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 12}
!6 = !{!"cpuset_getid_args", !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 8}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_sys_cpuset_getid.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_sys_cpuset_getid.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 @sys_cpuset_getid(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 12
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = load i32, ptr %1, align 4, !tbaa !13
%10 = tail call i32 @kern_cpuset_getid(ptr noundef %0, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9) #2
ret i32 %10
}
declare i32 @kern_cpuset_getid(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 12}
!7 = !{!"cpuset_getid_args", !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 8}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
|
freebsd_sys_kern_extr_kern_cpuset.c_sys_cpuset_getid
|
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkwrgimg.c_main.c'
source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkwrgimg.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32 }
%struct.wrg_header = type { i32, i32, i32, i32, i32, i32 }
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@progname = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"bd:i:o:s:O:h\00", align 1
@big_endian = dso_local local_unnamed_addr global i32 0, align 4
@optarg = dso_local local_unnamed_addr global ptr null, align 8
@dev_name = dso_local local_unnamed_addr global ptr null, align 8
@ifname = dso_local local_unnamed_addr global ptr null, align 8
@ofname = dso_local local_unnamed_addr global ptr null, align 8
@signature = dso_local local_unnamed_addr global ptr null, align 8
@offset = dso_local local_unnamed_addr global i32 0, align 4
@EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"no signature specified\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"no input file specified\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"no output file specified\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"no device name specified\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"stat failed on %s\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"no memory for buffer\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for reading\00", align 1
@errno = dso_local local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [28 x i8] c"unable to read from file %s\00", align 1
@WRG_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for writing\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"unable to write to file %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
%4 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%5 = load ptr, ptr %1, align 8, !tbaa !9
%6 = tail call i32 @basename(ptr noundef %5) #5
store i32 %6, ptr @progname, align 4, !tbaa !5
br label %7
7: ; preds = %10, %2
%8 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #5
switch i32 %8, label %25 [
i32 -1, label %28
i32 98, label %9
i32 100, label %11
i32 105, label %13
i32 111, label %15
i32 115, label %17
i32 79, label %19
i32 104, label %22
]
9: ; preds = %7
store i32 1, ptr @big_endian, align 4, !tbaa !5
br label %10
10: ; preds = %9, %11, %13, %15, %17, %19, %22, %25
br label %7
11: ; preds = %7
%12 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %12, ptr @dev_name, align 8, !tbaa !9
br label %10
13: ; preds = %7
%14 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %14, ptr @ifname, align 8, !tbaa !9
br label %10
15: ; preds = %7
%16 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %16, ptr @ofname, align 8, !tbaa !9
br label %10
17: ; preds = %7
%18 = load ptr, ptr @optarg, align 8, !tbaa !9
store ptr %18, ptr @signature, align 8, !tbaa !9
br label %10
19: ; preds = %7
%20 = load ptr, ptr @optarg, align 8, !tbaa !9
%21 = tail call i32 @strtoul(ptr nocapture noundef %20, ptr noundef null, i32 noundef 0)
store i32 %21, ptr @offset, align 4, !tbaa !5
br label %10
22: ; preds = %7
%23 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
%24 = tail call i32 @usage(i32 noundef %23) #5
br label %10
25: ; preds = %7
%26 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%27 = tail call i32 @usage(i32 noundef %26) #5
br label %10
28: ; preds = %7
%29 = load ptr, ptr @signature, align 8, !tbaa !9
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #5
br label %127
33: ; preds = %28
%34 = load ptr, ptr @ifname, align 8, !tbaa !9
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #5
br label %127
38: ; preds = %33
%39 = load ptr, ptr @ofname, align 8, !tbaa !9
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = tail call i32 @ERR(ptr noundef nonnull @.str.3) #5
br label %127
43: ; preds = %38
%44 = load ptr, ptr @dev_name, align 8, !tbaa !9
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = tail call i32 @ERR(ptr noundef nonnull @.str.4) #5
br label %127
48: ; preds = %43
%49 = call i32 @stat(ptr noundef nonnull %34, ptr noundef nonnull %3)
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load ptr, ptr @ifname, align 8, !tbaa !9
%53 = tail call i32 @ERRS(ptr noundef nonnull @.str.5, ptr noundef %52) #5
br label %127
54: ; preds = %48
%55 = load i32, ptr %3, align 4, !tbaa !11
%56 = add i32 %55, 24
%57 = tail call ptr @malloc(i32 noundef %56) #5
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = tail call i32 @ERR(ptr noundef nonnull @.str.6) #5
br label %127
61: ; preds = %54
%62 = load ptr, ptr @ifname, align 8, !tbaa !9
%63 = tail call ptr @fopen(ptr noundef %62, ptr noundef nonnull @.str.7)
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load ptr, ptr @ifname, align 8, !tbaa !9
%67 = tail call i32 @ERRS(ptr noundef nonnull @.str.8, ptr noundef %66) #5
br label %124
68: ; preds = %61
store i64 0, ptr @errno, align 8, !tbaa !13
%69 = getelementptr inbounds i8, ptr %57, i64 24
%70 = tail call i32 @fread(ptr noundef nonnull %69, i32 noundef %55, i32 noundef 1, ptr noundef nonnull %63) #5
%71 = load i64, ptr @errno, align 8, !tbaa !13
%72 = icmp eq i64 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = load ptr, ptr @ifname, align 8, !tbaa !9
%75 = tail call i32 @ERRS(ptr noundef nonnull @.str.9, ptr noundef %74) #5
br label %121
76: ; preds = %68
%77 = tail call i32 @memset(ptr noundef nonnull %57, i8 noundef signext 0, i32 noundef 24) #5
%78 = getelementptr inbounds %struct.wrg_header, ptr %57, i64 0, i32 5
%79 = load i32, ptr %78, align 4, !tbaa !15
%80 = load ptr, ptr @signature, align 8, !tbaa !9
%81 = tail call i32 @strncpy(i32 noundef %79, ptr noundef %80, i32 noundef 4) #5
%82 = getelementptr inbounds %struct.wrg_header, ptr %57, i64 0, i32 4
%83 = load i32, ptr %82, align 4, !tbaa !17
%84 = load ptr, ptr @dev_name, align 8, !tbaa !9
%85 = tail call i32 @strncpy(i32 noundef %83, ptr noundef %84, i32 noundef 4) #5
%86 = getelementptr inbounds %struct.wrg_header, ptr %57, i64 0, i32 3
%87 = load i32, ptr @WRG_MAGIC, align 4, !tbaa !5
%88 = tail call i32 @put_u32(ptr noundef nonnull %86, i32 noundef %87) #5
%89 = getelementptr inbounds %struct.wrg_header, ptr %57, i64 0, i32 2
%90 = load i32, ptr @WRG_MAGIC, align 4, !tbaa !5
%91 = tail call i32 @put_u32(ptr noundef nonnull %89, i32 noundef %90) #5
%92 = getelementptr inbounds %struct.wrg_header, ptr %57, i64 0, i32 1
%93 = tail call i32 @put_u32(ptr noundef nonnull %92, i32 noundef %55) #5
%94 = load i32, ptr @offset, align 4, !tbaa !5
%95 = tail call i32 @put_u32(ptr noundef nonnull %57, i32 noundef %94) #5
%96 = tail call i32 @get_digest(ptr noundef nonnull %57, ptr noundef nonnull %69, i32 noundef %55) #5
%97 = load ptr, ptr @ofname, align 8, !tbaa !9
%98 = tail call ptr @fopen(ptr noundef %97, ptr noundef nonnull @.str.10)
%99 = icmp eq ptr %98, null
br i1 %99, label %100, label %103
100: ; preds = %76
%101 = load ptr, ptr @ofname, align 8, !tbaa !9
%102 = tail call i32 @ERRS(ptr noundef nonnull @.str.11, ptr noundef %101) #5
br label %121
103: ; preds = %76
store i64 0, ptr @errno, align 8, !tbaa !13
%104 = tail call i32 @fwrite(ptr noundef nonnull %57, i32 noundef %56, i32 noundef 1, ptr noundef nonnull %98) #5
%105 = load i64, ptr @errno, align 8, !tbaa !13
%106 = icmp eq i64 %105, 0
br i1 %106, label %110, label %107
107: ; preds = %103
%108 = load ptr, ptr @ofname, align 8, !tbaa !9
%109 = tail call i32 @ERRS(ptr noundef nonnull @.str.12, ptr noundef %108) #5
br label %113
110: ; preds = %103
%111 = tail call i32 @fflush(ptr noundef nonnull %98)
%112 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
br label %113
113: ; preds = %110, %107
%114 = phi i32 [ %4, %107 ], [ %112, %110 ]
%115 = tail call i32 @fclose(ptr noundef nonnull %98)
%116 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
%117 = icmp eq i32 %114, %116
br i1 %117, label %121, label %118
118: ; preds = %113
%119 = load ptr, ptr @ofname, align 8, !tbaa !9
%120 = tail call i32 @unlink(ptr noundef %119)
br label %121
121: ; preds = %113, %118, %100, %73
%122 = phi i32 [ %4, %73 ], [ %4, %100 ], [ %114, %118 ], [ %114, %113 ]
%123 = tail call i32 @fclose(ptr noundef nonnull %63)
br label %124
124: ; preds = %121, %65
%125 = phi i32 [ %4, %65 ], [ %122, %121 ]
%126 = tail call i32 @free(ptr noundef nonnull %57) #5
br label %127
127: ; preds = %124, %59, %51, %46, %41, %36, %31
%128 = phi i32 [ %4, %31 ], [ %4, %36 ], [ %4, %41 ], [ %4, %46 ], [ %4, %51 ], [ %125, %124 ], [ %4, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
ret i32 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @basename(ptr noundef) local_unnamed_addr #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @usage(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
declare i32 @ERR(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #4
declare i32 @ERRS(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_u32(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_digest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"stat", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 20}
!16 = !{!"wrg_header", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!17 = !{!16, !6, i64 16}
|
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkwrgimg.c_main.c'
source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkwrgimg.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
@progname = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"bd:i:o:s:O:h\00", align 1
@big_endian = common local_unnamed_addr global i32 0, align 4
@optarg = common local_unnamed_addr global ptr null, align 8
@dev_name = common local_unnamed_addr global ptr null, align 8
@ifname = common local_unnamed_addr global ptr null, align 8
@ofname = common local_unnamed_addr global ptr null, align 8
@signature = common local_unnamed_addr global ptr null, align 8
@offset = common local_unnamed_addr global i32 0, align 4
@EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"no signature specified\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"no input file specified\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"no output file specified\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"no device name specified\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"stat failed on %s\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"no memory for buffer\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for reading\00", align 1
@errno = common local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [28 x i8] c"unable to read from file %s\00", align 1
@WRG_MAGIC = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for writing\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"unable to write to file %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
%4 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%5 = load ptr, ptr %1, align 8, !tbaa !10
%6 = tail call i32 @basename(ptr noundef %5) #5
store i32 %6, ptr @progname, align 4, !tbaa !6
br label %7
7: ; preds = %10, %2
%8 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #5
switch i32 %8, label %25 [
i32 -1, label %28
i32 98, label %9
i32 100, label %11
i32 105, label %13
i32 111, label %15
i32 115, label %17
i32 79, label %19
i32 104, label %22
]
9: ; preds = %7
store i32 1, ptr @big_endian, align 4, !tbaa !6
br label %10
10: ; preds = %9, %11, %13, %15, %17, %19, %22, %25
br label %7
11: ; preds = %7
%12 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %12, ptr @dev_name, align 8, !tbaa !10
br label %10
13: ; preds = %7
%14 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %14, ptr @ifname, align 8, !tbaa !10
br label %10
15: ; preds = %7
%16 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %16, ptr @ofname, align 8, !tbaa !10
br label %10
17: ; preds = %7
%18 = load ptr, ptr @optarg, align 8, !tbaa !10
store ptr %18, ptr @signature, align 8, !tbaa !10
br label %10
19: ; preds = %7
%20 = load ptr, ptr @optarg, align 8, !tbaa !10
%21 = tail call i32 @strtoul(ptr nocapture noundef %20, ptr noundef null, i32 noundef 0)
store i32 %21, ptr @offset, align 4, !tbaa !6
br label %10
22: ; preds = %7
%23 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
%24 = tail call i32 @usage(i32 noundef %23) #5
br label %10
25: ; preds = %7
%26 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%27 = tail call i32 @usage(i32 noundef %26) #5
br label %10
28: ; preds = %7
%29 = load ptr, ptr @signature, align 8, !tbaa !10
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #5
br label %127
33: ; preds = %28
%34 = load ptr, ptr @ifname, align 8, !tbaa !10
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #5
br label %127
38: ; preds = %33
%39 = load ptr, ptr @ofname, align 8, !tbaa !10
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = tail call i32 @ERR(ptr noundef nonnull @.str.3) #5
br label %127
43: ; preds = %38
%44 = load ptr, ptr @dev_name, align 8, !tbaa !10
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = tail call i32 @ERR(ptr noundef nonnull @.str.4) #5
br label %127
48: ; preds = %43
%49 = call i32 @stat(ptr noundef nonnull %34, ptr noundef nonnull %3)
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load ptr, ptr @ifname, align 8, !tbaa !10
%53 = tail call i32 @ERRS(ptr noundef nonnull @.str.5, ptr noundef %52) #5
br label %127
54: ; preds = %48
%55 = load i32, ptr %3, align 4, !tbaa !12
%56 = add i32 %55, 24
%57 = tail call ptr @malloc(i32 noundef %56) #5
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = tail call i32 @ERR(ptr noundef nonnull @.str.6) #5
br label %127
61: ; preds = %54
%62 = load ptr, ptr @ifname, align 8, !tbaa !10
%63 = tail call ptr @fopen(ptr noundef %62, ptr noundef nonnull @.str.7)
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load ptr, ptr @ifname, align 8, !tbaa !10
%67 = tail call i32 @ERRS(ptr noundef nonnull @.str.8, ptr noundef %66) #5
br label %124
68: ; preds = %61
store i64 0, ptr @errno, align 8, !tbaa !14
%69 = getelementptr inbounds i8, ptr %57, i64 24
%70 = tail call i32 @fread(ptr noundef nonnull %69, i32 noundef %55, i32 noundef 1, ptr noundef nonnull %63) #5
%71 = load i64, ptr @errno, align 8, !tbaa !14
%72 = icmp eq i64 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = load ptr, ptr @ifname, align 8, !tbaa !10
%75 = tail call i32 @ERRS(ptr noundef nonnull @.str.9, ptr noundef %74) #5
br label %121
76: ; preds = %68
%77 = tail call i32 @memset(ptr noundef nonnull %57, i8 noundef signext 0, i32 noundef 24) #5
%78 = getelementptr inbounds i8, ptr %57, i64 20
%79 = load i32, ptr %78, align 4, !tbaa !16
%80 = load ptr, ptr @signature, align 8, !tbaa !10
%81 = tail call i32 @strncpy(i32 noundef %79, ptr noundef %80, i32 noundef 4) #5
%82 = getelementptr inbounds i8, ptr %57, i64 16
%83 = load i32, ptr %82, align 4, !tbaa !18
%84 = load ptr, ptr @dev_name, align 8, !tbaa !10
%85 = tail call i32 @strncpy(i32 noundef %83, ptr noundef %84, i32 noundef 4) #5
%86 = getelementptr inbounds i8, ptr %57, i64 12
%87 = load i32, ptr @WRG_MAGIC, align 4, !tbaa !6
%88 = tail call i32 @put_u32(ptr noundef nonnull %86, i32 noundef %87) #5
%89 = getelementptr inbounds i8, ptr %57, i64 8
%90 = load i32, ptr @WRG_MAGIC, align 4, !tbaa !6
%91 = tail call i32 @put_u32(ptr noundef nonnull %89, i32 noundef %90) #5
%92 = getelementptr inbounds i8, ptr %57, i64 4
%93 = tail call i32 @put_u32(ptr noundef nonnull %92, i32 noundef %55) #5
%94 = load i32, ptr @offset, align 4, !tbaa !6
%95 = tail call i32 @put_u32(ptr noundef nonnull %57, i32 noundef %94) #5
%96 = tail call i32 @get_digest(ptr noundef nonnull %57, ptr noundef nonnull %69, i32 noundef %55) #5
%97 = load ptr, ptr @ofname, align 8, !tbaa !10
%98 = tail call ptr @fopen(ptr noundef %97, ptr noundef nonnull @.str.10)
%99 = icmp eq ptr %98, null
br i1 %99, label %100, label %103
100: ; preds = %76
%101 = load ptr, ptr @ofname, align 8, !tbaa !10
%102 = tail call i32 @ERRS(ptr noundef nonnull @.str.11, ptr noundef %101) #5
br label %121
103: ; preds = %76
store i64 0, ptr @errno, align 8, !tbaa !14
%104 = tail call i32 @fwrite(ptr noundef nonnull %57, i32 noundef %56, i32 noundef 1, ptr noundef nonnull %98) #5
%105 = load i64, ptr @errno, align 8, !tbaa !14
%106 = icmp eq i64 %105, 0
br i1 %106, label %110, label %107
107: ; preds = %103
%108 = load ptr, ptr @ofname, align 8, !tbaa !10
%109 = tail call i32 @ERRS(ptr noundef nonnull @.str.12, ptr noundef %108) #5
br label %113
110: ; preds = %103
%111 = tail call i32 @fflush(ptr noundef nonnull %98)
%112 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
br label %113
113: ; preds = %110, %107
%114 = phi i32 [ %4, %107 ], [ %112, %110 ]
%115 = tail call i32 @fclose(ptr noundef nonnull %98)
%116 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
%117 = icmp eq i32 %114, %116
br i1 %117, label %121, label %118
118: ; preds = %113
%119 = load ptr, ptr @ofname, align 8, !tbaa !10
%120 = tail call i32 @unlink(ptr noundef %119)
br label %121
121: ; preds = %113, %118, %100, %73
%122 = phi i32 [ %4, %73 ], [ %4, %100 ], [ %114, %118 ], [ %114, %113 ]
%123 = tail call i32 @fclose(ptr noundef nonnull %63)
br label %124
124: ; preds = %121, %65
%125 = phi i32 [ %4, %65 ], [ %122, %121 ]
%126 = tail call i32 @free(ptr noundef nonnull %57) #5
br label %127
127: ; preds = %124, %59, %51, %46, %41, %36, %31
%128 = phi i32 [ %4, %31 ], [ %4, %36 ], [ %4, %41 ], [ %4, %46 ], [ %4, %51 ], [ %125, %124 ], [ %4, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
ret i32 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @basename(ptr noundef) local_unnamed_addr #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @usage(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
declare i32 @ERR(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #4
declare i32 @ERRS(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_u32(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_digest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"stat", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 20}
!17 = !{!"wrg_header", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!18 = !{!17, !7, i64 16}
|
openwrt_tools_firmware-utils_src_extr_mkwrgimg.c_main
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ips/extr_ips_disk.c_ipsd_dump_block_complete.c'
source_filename = "AnghaBench/freebsd/sys/dev/ips/extr_ips_disk.c_ipsd_dump_block_complete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@.str = private unnamed_addr constant [34 x i8] c"ipsd_dump completion error= 0x%x\0A\00", align 1
@BUS_DMASYNC_POSTWRITE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipsd_dump_block_complete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipsd_dump_block_complete(ptr noundef %0) #0 {
%2 = tail call i64 @COMMAND_ERROR(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr %0, align 4, !tbaa !12
%12 = load i32, ptr @BUS_DMASYNC_POSTWRITE, align 4, !tbaa !13
%13 = tail call i32 @bus_dmamap_sync(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr %9, align 4, !tbaa !11
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = tail call i32 @bus_dmamap_unload(i32 noundef %14, i32 noundef %15) #2
ret void
}
declare i64 @COMMAND_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(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 8}
!6 = !{!"TYPE_6__", !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 = !{!"TYPE_5__", !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ips/extr_ips_disk.c_ipsd_dump_block_complete.c'
source_filename = "AnghaBench/freebsd/sys/dev/ips/extr_ips_disk.c_ipsd_dump_block_complete.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 [34 x i8] c"ipsd_dump completion error= 0x%x\0A\00", align 1
@BUS_DMASYNC_POSTWRITE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipsd_dump_block_complete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipsd_dump_block_complete(ptr noundef %0) #0 {
%2 = tail call i64 @COMMAND_ERROR(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr %0, align 4, !tbaa !13
%12 = load i32, ptr @BUS_DMASYNC_POSTWRITE, align 4, !tbaa !14
%13 = tail call i32 @bus_dmamap_sync(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr %9, align 4, !tbaa !12
%15 = load i32, ptr %0, align 4, !tbaa !13
%16 = tail call i32 @bus_dmamap_unload(i32 noundef %14, i32 noundef %15) #2
ret void
}
declare i64 @COMMAND_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(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 8}
!7 = !{!"TYPE_6__", !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 = !{!"TYPE_5__", !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
|
freebsd_sys_dev_ips_extr_ips_disk.c_ipsd_dump_block_complete
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_vx442_ak4524_set_rate_val.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_vx442_ak4524_set_rate_val.c"
target datalayout = "e-m:e-p270:32:32-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 @vx442_ak4524_set_rate_val], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vx442_ak4524_set_rate_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp ugt i32 %1, 48000
%4 = select i1 %3, i8 101, i8 96
%5 = tail call zeroext i8 @snd_akm4xxx_get(ptr noundef %0, i32 noundef 0, i32 noundef 2) #2
%6 = icmp eq i8 %5, %4
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = tail call zeroext i8 @snd_akm4xxx_get(ptr noundef %0, i32 noundef 1, i32 noundef 2) #2
%9 = icmp eq i8 %8, %4
br i1 %9, label %15, label %10
10: ; preds = %7, %2
%11 = tail call i32 @snd_akm4xxx_reset(ptr noundef %0, i32 noundef 1) #2
%12 = tail call i32 @snd_akm4xxx_write(ptr noundef %0, i32 noundef 0, i32 noundef 2, i8 noundef zeroext %4) #2
%13 = tail call i32 @snd_akm4xxx_write(ptr noundef %0, i32 noundef 1, i32 noundef 2, i8 noundef zeroext %4) #2
%14 = tail call i32 @snd_akm4xxx_reset(ptr noundef %0, i32 noundef 0) #2
br label %15
15: ; preds = %10, %7
ret void
}
declare zeroext i8 @snd_akm4xxx_get(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_akm4xxx_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_akm4xxx_write(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_vx442_ak4524_set_rate_val.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_vx442_ak4524_set_rate_val.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 @vx442_ak4524_set_rate_val], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vx442_ak4524_set_rate_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp ugt i32 %1, 48000
%4 = select i1 %3, i8 101, i8 96
%5 = tail call zeroext i8 @snd_akm4xxx_get(ptr noundef %0, i32 noundef 0, i32 noundef 2) #2
%6 = icmp eq i8 %5, %4
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = tail call zeroext i8 @snd_akm4xxx_get(ptr noundef %0, i32 noundef 1, i32 noundef 2) #2
%9 = icmp eq i8 %8, %4
br i1 %9, label %15, label %10
10: ; preds = %7, %2
%11 = tail call i32 @snd_akm4xxx_reset(ptr noundef %0, i32 noundef 1) #2
%12 = tail call i32 @snd_akm4xxx_write(ptr noundef %0, i32 noundef 0, i32 noundef 2, i8 noundef zeroext %4) #2
%13 = tail call i32 @snd_akm4xxx_write(ptr noundef %0, i32 noundef 1, i32 noundef 2, i8 noundef zeroext %4) #2
%14 = tail call i32 @snd_akm4xxx_reset(ptr noundef %0, i32 noundef 0) #2
br label %15
15: ; preds = %10, %7
ret void
}
declare zeroext i8 @snd_akm4xxx_get(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_akm4xxx_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_akm4xxx_write(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_sound_pci_ice1712_extr_delta.c_vx442_ak4524_set_rate_val
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_volumes.c___btrfs_reset_dev_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_volumes.c___btrfs_reset_dev_stats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BTRFS_DEV_STAT_VALUES_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__btrfs_reset_dev_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__btrfs_reset_dev_stats(ptr noundef %0) #0 {
%2 = load i32, ptr @BTRFS_DEV_STAT_VALUES_MAX, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %10
4: ; preds = %1, %4
%5 = phi i32 [ %7, %4 ], [ 0, %1 ]
%6 = tail call i32 @btrfs_dev_stat_reset(ptr noundef %0, i32 noundef %5) #2
%7 = add nuw nsw i32 %5, 1
%8 = load i32, ptr @BTRFS_DEV_STAT_VALUES_MAX, align 4, !tbaa !5
%9 = icmp slt i32 %7, %8
br i1 %9, label %4, label %10, !llvm.loop !9
10: ; preds = %4, %1
ret void
}
declare i32 @btrfs_dev_stat_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_volumes.c___btrfs_reset_dev_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_volumes.c___btrfs_reset_dev_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BTRFS_DEV_STAT_VALUES_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__btrfs_reset_dev_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__btrfs_reset_dev_stats(ptr noundef %0) #0 {
%2 = load i32, ptr @BTRFS_DEV_STAT_VALUES_MAX, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %10
4: ; preds = %1, %4
%5 = phi i32 [ %7, %4 ], [ 0, %1 ]
%6 = tail call i32 @btrfs_dev_stat_reset(ptr noundef %0, i32 noundef %5) #2
%7 = add nuw nsw i32 %5, 1
%8 = load i32, ptr @BTRFS_DEV_STAT_VALUES_MAX, align 4, !tbaa !6
%9 = icmp slt i32 %7, %8
br i1 %9, label %4, label %10, !llvm.loop !10
10: ; preds = %4, %1
ret void
}
declare i32 @btrfs_dev_stat_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_fs_btrfs_extr_volumes.c___btrfs_reset_dev_stats
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Sam.c_GetIssuerFromList.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Sam.c_GetIssuerFromList.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local ptr @GetIssuerFromList(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %37, label %6
6: ; preds = %2
%7 = tail call i64 @LIST_NUM(ptr noundef nonnull %0) #2
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %6, %29
%10 = phi i64 [ %34, %29 ], [ 0, %6 ]
%11 = phi ptr [ %33, %29 ], [ null, %6 ]
%12 = tail call ptr @LIST_DATA(ptr noundef %0, i64 noundef %10) #2
%13 = tail call i64 @CheckXDateNow(ptr noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %29, label %15
15: ; preds = %9
%16 = getelementptr inbounds %struct.TYPE_10__, ptr %12, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = load i32, ptr %1, align 4, !tbaa !10
%19 = tail call i64 @CompareName(i32 noundef %17, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %29, label %21
21: ; preds = %15
%22 = tail call ptr @GetKFromX(ptr noundef nonnull %12) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %29, label %24
24: ; preds = %21
%25 = tail call i64 @CheckSignature(ptr noundef nonnull %1, ptr noundef nonnull %22) #2
%26 = icmp eq i64 %25, 0
%27 = select i1 %26, ptr %11, ptr %12
%28 = tail call i32 @FreeK(ptr noundef nonnull %22) #2
br label %29
29: ; preds = %21, %24, %15, %9
%30 = phi ptr [ %11, %15 ], [ %11, %9 ], [ %27, %24 ], [ %11, %21 ]
%31 = tail call i64 @CompareX(ptr noundef %12, ptr noundef %1) #2
%32 = icmp eq i64 %31, 0
%33 = select i1 %32, ptr %30, ptr %12
%34 = add nuw nsw i64 %10, 1
%35 = tail call i64 @LIST_NUM(ptr noundef %0) #2
%36 = icmp slt i64 %34, %35
br i1 %36, label %9, label %37, !llvm.loop !11
37: ; preds = %29, %6, %2
%38 = phi ptr [ null, %2 ], [ null, %6 ], [ %33, %29 ]
ret ptr %38
}
declare i64 @LIST_NUM(ptr noundef) local_unnamed_addr #1
declare ptr @LIST_DATA(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @CheckXDateNow(ptr noundef) local_unnamed_addr #1
declare i64 @CompareName(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GetKFromX(ptr noundef) local_unnamed_addr #1
declare i64 @CheckSignature(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FreeK(ptr noundef) local_unnamed_addr #1
declare i64 @CompareX(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Sam.c_GetIssuerFromList.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Sam.c_GetIssuerFromList.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 @GetIssuerFromList(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %37, label %6
6: ; preds = %2
%7 = tail call i64 @LIST_NUM(ptr noundef nonnull %0) #2
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %6, %29
%10 = phi i64 [ %34, %29 ], [ 0, %6 ]
%11 = phi ptr [ %33, %29 ], [ null, %6 ]
%12 = tail call ptr @LIST_DATA(ptr noundef %0, i64 noundef %10) #2
%13 = tail call i64 @CheckXDateNow(ptr noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %29, label %15
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %12, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = load i32, ptr %1, align 4, !tbaa !11
%19 = tail call i64 @CompareName(i32 noundef %17, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %29, label %21
21: ; preds = %15
%22 = tail call ptr @GetKFromX(ptr noundef nonnull %12) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %29, label %24
24: ; preds = %21
%25 = tail call i64 @CheckSignature(ptr noundef nonnull %1, ptr noundef nonnull %22) #2
%26 = icmp eq i64 %25, 0
%27 = select i1 %26, ptr %11, ptr %12
%28 = tail call i32 @FreeK(ptr noundef nonnull %22) #2
br label %29
29: ; preds = %21, %24, %15, %9
%30 = phi ptr [ %11, %15 ], [ %11, %9 ], [ %27, %24 ], [ %11, %21 ]
%31 = tail call i64 @CompareX(ptr noundef %12, ptr noundef %1) #2
%32 = icmp eq i64 %31, 0
%33 = select i1 %32, ptr %30, ptr %12
%34 = add nuw nsw i64 %10, 1
%35 = tail call i64 @LIST_NUM(ptr noundef %0) #2
%36 = icmp slt i64 %34, %35
br i1 %36, label %9, label %37, !llvm.loop !12
37: ; preds = %29, %6, %2
%38 = phi ptr [ null, %2 ], [ null, %6 ], [ %33, %29 ]
ret ptr %38
}
declare i64 @LIST_NUM(ptr noundef) local_unnamed_addr #1
declare ptr @LIST_DATA(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @CheckXDateNow(ptr noundef) local_unnamed_addr #1
declare i64 @CompareName(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GetKFromX(ptr noundef) local_unnamed_addr #1
declare i64 @CheckSignature(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FreeK(ptr noundef) local_unnamed_addr #1
declare i64 @CompareX(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
SoftEtherVPN_src_Cedar_extr_Sam.c_GetIssuerFromList
|
; ModuleID = 'AnghaBench/linux/lib/zstd/extr_zstd_common.c_ZSTD_malloc.c'
source_filename = "AnghaBench/linux/lib/zstd/extr_zstd_common.c_ZSTD_malloc.c"
target datalayout = "e-m:e-p270:32:32-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 @ZSTD_malloc(i64 noundef %0, ptr nocapture readonly %1, i32 %2) local_unnamed_addr #0 {
%4 = tail call ptr %1(i32 noundef %2, i64 noundef %0) #1
ret ptr %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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/lib/zstd/extr_zstd_common.c_ZSTD_malloc.c'
source_filename = "AnghaBench/linux/lib/zstd/extr_zstd_common.c_ZSTD_malloc.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 @ZSTD_malloc(i64 noundef %0, [2 x i64] %1) local_unnamed_addr #0 {
%3 = extractvalue [2 x i64] %1, 0
%4 = inttoptr i64 %3 to ptr
%5 = extractvalue [2 x i64] %1, 1
%6 = trunc i64 %5 to i32
%7 = tail call ptr %4(i32 noundef %6, i64 noundef %0) #1
ret ptr %7
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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)"}
|
linux_lib_zstd_extr_zstd_common.c_ZSTD_malloc
|
; ModuleID = 'AnghaBench/hiredis/extr_read.c_readLine.c'
source_filename = "AnghaBench/hiredis/extr_read.c_readLine.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @readLine], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @readLine(ptr nocapture noundef %0, ptr noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %3, i64 %6
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = sub nsw i32 %9, %5
%11 = tail call ptr @seekNewline(ptr noundef %7, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %26, label %13
13: ; preds = %2
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = load i32, ptr %4, align 8, !tbaa !11
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = ptrtoint ptr %11 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = add i32 %15, 2
%23 = add i32 %22, %21
store i32 %23, ptr %4, align 8, !tbaa !11
%24 = icmp eq ptr %1, null
br i1 %24, label %26, label %25
25: ; preds = %13
store i32 %21, ptr %1, align 4, !tbaa !13
br label %26
26: ; preds = %2, %13, %25
%27 = phi ptr [ %7, %25 ], [ %7, %13 ], [ null, %2 ]
ret ptr %27
}
declare ptr @seekNewline(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !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 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 12}
!13 = !{!10, !10, i64 0}
|
; ModuleID = 'AnghaBench/hiredis/extr_read.c_readLine.c'
source_filename = "AnghaBench/hiredis/extr_read.c_readLine.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 @readLine], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @readLine(ptr nocapture noundef %0, ptr noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !12
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %3, i64 %6
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = sub nsw i32 %9, %5
%11 = tail call ptr @seekNewline(ptr noundef %7, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %26, label %13
13: ; preds = %2
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = load i32, ptr %4, align 8, !tbaa !12
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = ptrtoint ptr %11 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = add i32 %15, 2
%23 = add i32 %22, %21
store i32 %23, ptr %4, align 8, !tbaa !12
%24 = icmp eq ptr %1, null
br i1 %24, label %26, label %25
25: ; preds = %13
store i32 %21, ptr %1, align 4, !tbaa !14
br label %26
26: ; preds = %2, %13, %25
%27 = phi ptr [ %7, %25 ], [ %7, %13 ], [ null, %2 ]
ret ptr %27
}
declare ptr @seekNewline(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !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 = !{!7, !11, i64 8}
!13 = !{!7, !11, i64 12}
!14 = !{!11, !11, i64 0}
|
hiredis_extr_read.c_readLine
|
; ModuleID = 'AnghaBench/postgres/src/backend/storage/ipc/extr_shm_toc.c_shm_toc_estimate.c'
source_filename = "AnghaBench/postgres/src/backend/storage/ipc/extr_shm_toc.c_shm_toc_estimate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@shm_toc = dso_local local_unnamed_addr global i32 0, align 4
@toc_entry = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @shm_toc_estimate(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @shm_toc, align 4, !tbaa !5
%3 = load i32, ptr @toc_entry, align 4, !tbaa !5
%4 = tail call i32 @offsetof(i32 noundef %2, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !9
%7 = tail call i32 @mul_size(i32 noundef %6, i32 noundef 4) #2
%8 = tail call i64 @add_size(i32 noundef %4, i32 noundef %7) #2
%9 = trunc i64 %8 to i32
%10 = add i32 %4, %9
%11 = load i32, ptr %0, align 4, !tbaa !11
%12 = tail call i64 @add_size(i32 noundef %10, i32 noundef %11) #2
%13 = trunc i64 %12 to i32
%14 = add i32 %10, %13
%15 = tail call i32 @BUFFERALIGN(i32 noundef %14) #2
ret i32 %15
}
declare i32 @offsetof(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @add_size(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mul_size(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUFFERALIGN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/postgres/src/backend/storage/ipc/extr_shm_toc.c_shm_toc_estimate.c'
source_filename = "AnghaBench/postgres/src/backend/storage/ipc/extr_shm_toc.c_shm_toc_estimate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@shm_toc = common local_unnamed_addr global i32 0, align 4
@toc_entry = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @shm_toc_estimate(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @shm_toc, align 4, !tbaa !6
%3 = load i32, ptr @toc_entry, align 4, !tbaa !6
%4 = tail call i32 @offsetof(i32 noundef %2, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @mul_size(i32 noundef %6, i32 noundef 4) #2
%8 = tail call i64 @add_size(i32 noundef %4, i32 noundef %7) #2
%9 = trunc i64 %8 to i32
%10 = add i32 %4, %9
%11 = load i32, ptr %0, align 4, !tbaa !12
%12 = tail call i64 @add_size(i32 noundef %10, i32 noundef %11) #2
%13 = trunc i64 %12 to i32
%14 = add i32 %10, %13
%15 = tail call i32 @BUFFERALIGN(i32 noundef %14) #2
ret i32 %15
}
declare i32 @offsetof(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @add_size(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mul_size(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUFFERALIGN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
|
postgres_src_backend_storage_ipc_extr_shm_toc.c_shm_toc_estimate
|
; ModuleID = 'AnghaBench/vlc/modules/codec/webvtt/extr_css_parser.c_vlc_css_rule_New.c'
source_filename = "AnghaBench/vlc/modules/codec/webvtt/extr_css_parser.c_vlc_css_rule_New.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @vlc_css_rule_New() local_unnamed_addr #0 {
%1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 4) #2
ret ptr %1
}
declare ptr @calloc(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/vlc/modules/codec/webvtt/extr_css_parser.c_vlc_css_rule_New.c'
source_filename = "AnghaBench/vlc/modules/codec/webvtt/extr_css_parser.c_vlc_css_rule_New.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @vlc_css_rule_New() local_unnamed_addr #0 {
%1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 4) #2
ret ptr %1
}
declare ptr @calloc(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)"}
|
vlc_modules_codec_webvtt_extr_css_parser.c_vlc_css_rule_New
|
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-r9701.c_r9701_set_datetime.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-r9701.c_r9701_set_datetime.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rtc_time = type { i32, i32, i32, i32, i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@RHRCNT = dso_local local_unnamed_addr global i32 0, align 4
@RMINCNT = dso_local local_unnamed_addr global i32 0, align 4
@RSECCNT = dso_local local_unnamed_addr global i32 0, align 4
@RDAYCNT = dso_local local_unnamed_addr global i32 0, align 4
@RMONCNT = dso_local local_unnamed_addr global i32 0, align 4
@RYRCNT = dso_local local_unnamed_addr global i32 0, align 4
@RWKCNT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r9701_set_datetime], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @r9701_set_datetime(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = add i32 %3, -200
%5 = icmp ult i32 %4, -100
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %58
9: ; preds = %2
%10 = load i32, ptr @RHRCNT, align 4, !tbaa !10
%11 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = tail call i32 @bin2bcd(i32 noundef %12) #2
%14 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %10, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %58
16: ; preds = %9
%17 = load i32, ptr @RMINCNT, align 4, !tbaa !10
%18 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = tail call i32 @bin2bcd(i32 noundef %19) #2
%21 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %17, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %58
23: ; preds = %16
%24 = load i32, ptr @RSECCNT, align 4, !tbaa !10
%25 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 3
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = tail call i32 @bin2bcd(i32 noundef %26) #2
%28 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %24, i32 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %58
30: ; preds = %23
%31 = load i32, ptr @RDAYCNT, align 4, !tbaa !10
%32 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 4
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = tail call i32 @bin2bcd(i32 noundef %33) #2
%35 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %31, i32 noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %58
37: ; preds = %30
%38 = load i32, ptr @RMONCNT, align 4, !tbaa !10
%39 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 5
%40 = load i32, ptr %39, align 4, !tbaa !15
%41 = add nsw i32 %40, 1
%42 = tail call i32 @bin2bcd(i32 noundef %41) #2
%43 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %38, i32 noundef %42) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %37
%46 = load i32, ptr @RYRCNT, align 4, !tbaa !10
%47 = load i32, ptr %1, align 4, !tbaa !5
%48 = add nsw i32 %47, -100
%49 = tail call i32 @bin2bcd(i32 noundef %48) #2
%50 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %46, i32 noundef %49) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %45
%53 = load i32, ptr @RWKCNT, align 4, !tbaa !10
%54 = getelementptr inbounds %struct.rtc_time, ptr %1, i64 0, i32 6
%55 = load i32, ptr %54, align 4, !tbaa !16
%56 = shl nuw i32 1, %55
%57 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %53, i32 noundef %56) #2
br label %58
58: ; preds = %9, %16, %23, %30, %37, %52, %45, %6
%59 = phi i32 [ %8, %6 ], [ %57, %52 ], [ %50, %45 ], [ %43, %37 ], [ %35, %30 ], [ %28, %23 ], [ %21, %16 ], [ %14, %9 ]
ret i32 %59
}
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bin2bcd(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 = !{!"rtc_time", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 20}
!16 = !{!6, !7, i64 24}
|
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-r9701.c_r9701_set_datetime.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-r9701.c_r9701_set_datetime.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
@RHRCNT = common local_unnamed_addr global i32 0, align 4
@RMINCNT = common local_unnamed_addr global i32 0, align 4
@RSECCNT = common local_unnamed_addr global i32 0, align 4
@RDAYCNT = common local_unnamed_addr global i32 0, align 4
@RMONCNT = common local_unnamed_addr global i32 0, align 4
@RYRCNT = common local_unnamed_addr global i32 0, align 4
@RWKCNT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r9701_set_datetime], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @r9701_set_datetime(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = add i32 %3, -200
%5 = icmp ult i32 %4, -100
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %58
9: ; preds = %2
%10 = load i32, ptr @RHRCNT, align 4, !tbaa !11
%11 = getelementptr inbounds i8, ptr %1, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @bin2bcd(i32 noundef %12) #2
%14 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %10, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %58
16: ; preds = %9
%17 = load i32, ptr @RMINCNT, align 4, !tbaa !11
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i32 @bin2bcd(i32 noundef %19) #2
%21 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %17, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %58
23: ; preds = %16
%24 = load i32, ptr @RSECCNT, align 4, !tbaa !11
%25 = getelementptr inbounds i8, ptr %1, i64 12
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = tail call i32 @bin2bcd(i32 noundef %26) #2
%28 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %24, i32 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %58
30: ; preds = %23
%31 = load i32, ptr @RDAYCNT, align 4, !tbaa !11
%32 = getelementptr inbounds i8, ptr %1, i64 16
%33 = load i32, ptr %32, align 4, !tbaa !15
%34 = tail call i32 @bin2bcd(i32 noundef %33) #2
%35 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %31, i32 noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %58
37: ; preds = %30
%38 = load i32, ptr @RMONCNT, align 4, !tbaa !11
%39 = getelementptr inbounds i8, ptr %1, i64 20
%40 = load i32, ptr %39, align 4, !tbaa !16
%41 = add nsw i32 %40, 1
%42 = tail call i32 @bin2bcd(i32 noundef %41) #2
%43 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %38, i32 noundef %42) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %37
%46 = load i32, ptr @RYRCNT, align 4, !tbaa !11
%47 = load i32, ptr %1, align 4, !tbaa !6
%48 = add nsw i32 %47, -100
%49 = tail call i32 @bin2bcd(i32 noundef %48) #2
%50 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %46, i32 noundef %49) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %45
%53 = load i32, ptr @RWKCNT, align 4, !tbaa !11
%54 = getelementptr inbounds i8, ptr %1, i64 24
%55 = load i32, ptr %54, align 4, !tbaa !17
%56 = shl nuw i32 1, %55
%57 = tail call i32 @write_reg(ptr noundef %0, i32 noundef %53, i32 noundef %56) #2
br label %58
58: ; preds = %9, %16, %23, %30, %37, %52, %45, %6
%59 = phi i32 [ %8, %6 ], [ %57, %52 ], [ %50, %45 ], [ %43, %37 ], [ %35, %30 ], [ %28, %23 ], [ %21, %16 ], [ %14, %9 ]
ret i32 %59
}
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bin2bcd(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 = !{!"rtc_time", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 20}
!17 = !{!7, !8, i64 24}
|
linux_drivers_rtc_extr_rtc-r9701.c_r9701_set_datetime
|
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_probe.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_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 { i32, %struct.TYPE_5__, ptr }
%struct.TYPE_5__ = type { ptr }
%struct.ths7303_state = type { %struct.v4l2_subdev, ptr }
%struct.v4l2_subdev = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"No platform data\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"chip found @ 0x%x (%s)\0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ths7303_ops = dso_local global i32 0, align 4
@THS7303_FILTER_MODE_480I_576I = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Setting to 480I_576I filter mode failed!\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ths7303_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ths7303_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !12
%9 = sub nsw i32 0, %8
br label %41
10: ; preds = %2
%11 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !12
%14 = tail call i32 @i2c_check_functionality(ptr noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @ENODEV, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %41
19: ; preds = %10
%20 = load i32, ptr %0, align 8, !tbaa !14
%21 = shl i32 %20, 1
%22 = load ptr, ptr %11, align 8, !tbaa !13
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = tail call i32 @v4l_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %23) #2
%25 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%26 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 16, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %19
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%30 = sub nsw i32 0, %29
br label %41
31: ; preds = %19
%32 = getelementptr inbounds %struct.ths7303_state, ptr %26, i64 0, i32 1
store ptr %4, ptr %32, align 8, !tbaa !17
%33 = tail call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %26, ptr noundef nonnull %0, ptr noundef nonnull @ths7303_ops) #2
%34 = load i32, ptr @THS7303_FILTER_MODE_480I_576I, align 4, !tbaa !12
%35 = tail call i64 @ths7303_setval(ptr noundef nonnull %26, i32 noundef %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = tail call i32 @v4l_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%39 = load i32, ptr @EINVAL, align 4, !tbaa !12
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %31, %37, %28, %16, %6
%42 = phi i32 [ %9, %6 ], [ %40, %37 ], [ %30, %28 ], [ %18, %16 ], [ 0, %31 ]
ret i32 %42
}
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l_info(ptr noundef, ptr noundef, i32 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 i64 @ths7303_setval(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"i2c_client", !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 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 16}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = !{!18, !11, i64 8}
!18 = !{!"ths7303_state", !19, i64 0, !11, i64 8}
!19 = !{!"v4l2_subdev", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_probe.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [18 x i8] c"No platform data\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"chip found @ 0x%x (%s)\0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ths7303_ops = common global i32 0, align 4
@THS7303_FILTER_MODE_480I_576I = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Setting to 480I_576I filter mode failed!\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ths7303_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ths7303_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !13
%9 = sub nsw i32 0, %8
br label %41
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !13
%14 = tail call i32 @i2c_check_functionality(ptr noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @ENODEV, align 4, !tbaa !13
%18 = sub nsw i32 0, %17
br label %41
19: ; preds = %10
%20 = load i32, ptr %0, align 8, !tbaa !15
%21 = shl i32 %20, 1
%22 = load ptr, ptr %11, align 8, !tbaa !14
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = tail call i32 @v4l_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %21, i32 noundef %23) #2
%25 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%26 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 16, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %19
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
br label %41
31: ; preds = %19
%32 = getelementptr inbounds i8, ptr %26, i64 8
store ptr %4, ptr %32, align 8, !tbaa !18
%33 = tail call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %26, ptr noundef nonnull %0, ptr noundef nonnull @ths7303_ops) #2
%34 = load i32, ptr @THS7303_FILTER_MODE_480I_576I, align 4, !tbaa !13
%35 = tail call i64 @ths7303_setval(ptr noundef nonnull %26, i32 noundef %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = tail call i32 @v4l_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%39 = load i32, ptr @EINVAL, align 4, !tbaa !13
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %31, %37, %28, %16, %6
%42 = phi i32 [ %9, %6 ], [ %40, %37 ], [ %30, %28 ], [ %18, %16 ], [ 0, %31 ]
ret i32 %42
}
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l_info(ptr noundef, ptr noundef, i32 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 i64 @ths7303_setval(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @v4l_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"i2c_client", !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 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 16}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_4__", !8, i64 0}
!18 = !{!19, !12, i64 8}
!19 = !{!"ths7303_state", !20, i64 0, !12, i64 8}
!20 = !{!"v4l2_subdev", !8, i64 0}
|
linux_drivers_media_i2c_extr_ths7303.c_ths7303_probe
|
; ModuleID = 'AnghaBench/linux/crypto/extr_cryptd.c_cryptd_get_queue.c'
source_filename = "AnghaBench/linux/crypto/extr_cryptd.c_cryptd_get_queue.c"
target datalayout = "e-m:e-p270:32:32-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 @cryptd_get_queue], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @cryptd_get_queue(ptr noundef %0) #0 {
%2 = tail call ptr @crypto_tfm_alg_instance(ptr noundef %0) #2
%3 = tail call ptr @crypto_instance_ctx(ptr noundef %2) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
ret ptr %4
}
declare ptr @crypto_tfm_alg_instance(ptr noundef) local_unnamed_addr #1
declare ptr @crypto_instance_ctx(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cryptd_instance_ctx", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/crypto/extr_cryptd.c_cryptd_get_queue.c'
source_filename = "AnghaBench/linux/crypto/extr_cryptd.c_cryptd_get_queue.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 @cryptd_get_queue], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @cryptd_get_queue(ptr noundef %0) #0 {
%2 = tail call ptr @crypto_tfm_alg_instance(ptr noundef %0) #2
%3 = tail call ptr @crypto_instance_ctx(ptr noundef %2) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
ret ptr %4
}
declare ptr @crypto_tfm_alg_instance(ptr noundef) local_unnamed_addr #1
declare ptr @crypto_instance_ctx(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cryptd_instance_ctx", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_crypto_extr_cryptd.c_cryptd_get_queue
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_perfquery.c_output_aggregate_perfcounters.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_perfquery.c_output_aggregate_perfcounters.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@ALL_PORTS = dso_local local_unnamed_addr global i32 0, align 4
@pc = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_PORT_SELECT_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_COUNTER_SELECT_F = dso_local local_unnamed_addr global i32 0, align 4
@perf_count = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
@IB_PC_ERR_SYM_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_LINK_RECOVERS_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_LINK_DOWNED_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_RCV_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_PHYSRCV_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_SWITCH_REL_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_DISCARDS_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_XMTCONSTR_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_RCVCONSTR_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_LOCALINTEG_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_EXCESS_OVR_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_VL15_DROPPED_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_BYTES_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_RCV_BYTES_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_PKTS_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_RCV_PKTS_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_WAIT_F = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"# Port counters: %s port %d (CapMask: 0x%02X)\0A%s\00", align 1
@IB_PC_QP1_DROP_F = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @output_aggregate_perfcounters], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @output_aggregate_perfcounters(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @ALL_PORTS, align 4, !tbaa !5
store i32 %5, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr @pc, align 4, !tbaa !5
%7 = load i32, ptr @IB_PC_PORT_SELECT_F, align 4, !tbaa !5
%8 = call i32 @mad_encode_field(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %4) #3
%9 = load i32, ptr @pc, align 4, !tbaa !5
%10 = load i32, ptr @IB_PC_COUNTER_SELECT_F, align 4, !tbaa !5
%11 = call i32 @mad_encode_field(i32 noundef %9, i32 noundef %10, ptr noundef nonnull @perf_count) #3
%12 = load i32, ptr @pc, align 4, !tbaa !5
%13 = load i32, ptr @IB_PC_ERR_SYM_F, align 4, !tbaa !5
%14 = call i32 @mad_encode_field(i32 noundef %12, i32 noundef %13, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 1)) #3
%15 = load i32, ptr @pc, align 4, !tbaa !5
%16 = load i32, ptr @IB_PC_LINK_RECOVERS_F, align 4, !tbaa !5
%17 = call i32 @mad_encode_field(i32 noundef %15, i32 noundef %16, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 2)) #3
%18 = load i32, ptr @pc, align 4, !tbaa !5
%19 = load i32, ptr @IB_PC_LINK_DOWNED_F, align 4, !tbaa !5
%20 = call i32 @mad_encode_field(i32 noundef %18, i32 noundef %19, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 3)) #3
%21 = load i32, ptr @pc, align 4, !tbaa !5
%22 = load i32, ptr @IB_PC_ERR_RCV_F, align 4, !tbaa !5
%23 = call i32 @mad_encode_field(i32 noundef %21, i32 noundef %22, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 4)) #3
%24 = load i32, ptr @pc, align 4, !tbaa !5
%25 = load i32, ptr @IB_PC_ERR_PHYSRCV_F, align 4, !tbaa !5
%26 = call i32 @mad_encode_field(i32 noundef %24, i32 noundef %25, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 5)) #3
%27 = load i32, ptr @pc, align 4, !tbaa !5
%28 = load i32, ptr @IB_PC_ERR_SWITCH_REL_F, align 4, !tbaa !5
%29 = call i32 @mad_encode_field(i32 noundef %27, i32 noundef %28, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 6)) #3
%30 = load i32, ptr @pc, align 4, !tbaa !5
%31 = load i32, ptr @IB_PC_XMT_DISCARDS_F, align 4, !tbaa !5
%32 = call i32 @mad_encode_field(i32 noundef %30, i32 noundef %31, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 7)) #3
%33 = load i32, ptr @pc, align 4, !tbaa !5
%34 = load i32, ptr @IB_PC_ERR_XMTCONSTR_F, align 4, !tbaa !5
%35 = call i32 @mad_encode_field(i32 noundef %33, i32 noundef %34, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 8)) #3
%36 = load i32, ptr @pc, align 4, !tbaa !5
%37 = load i32, ptr @IB_PC_ERR_RCVCONSTR_F, align 4, !tbaa !5
%38 = call i32 @mad_encode_field(i32 noundef %36, i32 noundef %37, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 9)) #3
%39 = load i32, ptr @pc, align 4, !tbaa !5
%40 = load i32, ptr @IB_PC_ERR_LOCALINTEG_F, align 4, !tbaa !5
%41 = call i32 @mad_encode_field(i32 noundef %39, i32 noundef %40, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 10)) #3
%42 = load i32, ptr @pc, align 4, !tbaa !5
%43 = load i32, ptr @IB_PC_ERR_EXCESS_OVR_F, align 4, !tbaa !5
%44 = call i32 @mad_encode_field(i32 noundef %42, i32 noundef %43, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 11)) #3
%45 = load i32, ptr @pc, align 4, !tbaa !5
%46 = load i32, ptr @IB_PC_VL15_DROPPED_F, align 4, !tbaa !5
%47 = call i32 @mad_encode_field(i32 noundef %45, i32 noundef %46, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 13)) #3
%48 = load i32, ptr @pc, align 4, !tbaa !5
%49 = load i32, ptr @IB_PC_XMT_BYTES_F, align 4, !tbaa !5
%50 = call i32 @mad_encode_field(i32 noundef %48, i32 noundef %49, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 14)) #3
%51 = load i32, ptr @pc, align 4, !tbaa !5
%52 = load i32, ptr @IB_PC_RCV_BYTES_F, align 4, !tbaa !5
%53 = call i32 @mad_encode_field(i32 noundef %51, i32 noundef %52, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 15)) #3
%54 = load i32, ptr @pc, align 4, !tbaa !5
%55 = load i32, ptr @IB_PC_XMT_PKTS_F, align 4, !tbaa !5
%56 = call i32 @mad_encode_field(i32 noundef %54, i32 noundef %55, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 16)) #3
%57 = load i32, ptr @pc, align 4, !tbaa !5
%58 = load i32, ptr @IB_PC_RCV_PKTS_F, align 4, !tbaa !5
%59 = call i32 @mad_encode_field(i32 noundef %57, i32 noundef %58, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 17)) #3
%60 = load i32, ptr @pc, align 4, !tbaa !5
%61 = load i32, ptr @IB_PC_XMT_WAIT_F, align 4, !tbaa !5
%62 = call i32 @mad_encode_field(i32 noundef %60, i32 noundef %61, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @perf_count, i64 0, i32 18)) #3
%63 = load i32, ptr @pc, align 4, !tbaa !5
%64 = call i32 @mad_dump_perfcounters(ptr noundef nonnull %3, i32 noundef 1024, i32 noundef %63, i32 noundef 4) #3
%65 = call ptr @portid2str(ptr noundef %0) #3
%66 = load i32, ptr @ALL_PORTS, align 4, !tbaa !5
%67 = call i32 @ntohs(i32 noundef %1) #3
%68 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 1024, 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 @mad_encode_field(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mad_dump_perfcounters(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @portid2str(ptr noundef) local_unnamed_addr #2
declare i32 @ntohs(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_perfquery.c_output_aggregate_perfcounters.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_perfquery.c_output_aggregate_perfcounters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@ALL_PORTS = common local_unnamed_addr global i32 0, align 4
@pc = common local_unnamed_addr global i32 0, align 4
@IB_PC_PORT_SELECT_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_COUNTER_SELECT_F = common local_unnamed_addr global i32 0, align 4
@perf_count = common global %struct.TYPE_2__ zeroinitializer, align 4
@IB_PC_ERR_SYM_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_LINK_RECOVERS_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_LINK_DOWNED_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_RCV_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_PHYSRCV_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_SWITCH_REL_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_DISCARDS_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_XMTCONSTR_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_RCVCONSTR_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_LOCALINTEG_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_ERR_EXCESS_OVR_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_VL15_DROPPED_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_BYTES_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_RCV_BYTES_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_PKTS_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_RCV_PKTS_F = common local_unnamed_addr global i32 0, align 4
@IB_PC_XMT_WAIT_F = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"# Port counters: %s port %d (CapMask: 0x%02X)\0A%s\00", align 1
@IB_PC_QP1_DROP_F = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @output_aggregate_perfcounters], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @output_aggregate_perfcounters(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [1024 x i8], align 1
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @ALL_PORTS, align 4, !tbaa !6
store i32 %5, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr @pc, align 4, !tbaa !6
%7 = load i32, ptr @IB_PC_PORT_SELECT_F, align 4, !tbaa !6
%8 = call i32 @mad_encode_field(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %4) #3
%9 = load i32, ptr @pc, align 4, !tbaa !6
%10 = load i32, ptr @IB_PC_COUNTER_SELECT_F, align 4, !tbaa !6
%11 = call i32 @mad_encode_field(i32 noundef %9, i32 noundef %10, ptr noundef nonnull @perf_count) #3
%12 = load i32, ptr @pc, align 4, !tbaa !6
%13 = load i32, ptr @IB_PC_ERR_SYM_F, align 4, !tbaa !6
%14 = call i32 @mad_encode_field(i32 noundef %12, i32 noundef %13, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 4)) #3
%15 = load i32, ptr @pc, align 4, !tbaa !6
%16 = load i32, ptr @IB_PC_LINK_RECOVERS_F, align 4, !tbaa !6
%17 = call i32 @mad_encode_field(i32 noundef %15, i32 noundef %16, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 8)) #3
%18 = load i32, ptr @pc, align 4, !tbaa !6
%19 = load i32, ptr @IB_PC_LINK_DOWNED_F, align 4, !tbaa !6
%20 = call i32 @mad_encode_field(i32 noundef %18, i32 noundef %19, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 12)) #3
%21 = load i32, ptr @pc, align 4, !tbaa !6
%22 = load i32, ptr @IB_PC_ERR_RCV_F, align 4, !tbaa !6
%23 = call i32 @mad_encode_field(i32 noundef %21, i32 noundef %22, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 16)) #3
%24 = load i32, ptr @pc, align 4, !tbaa !6
%25 = load i32, ptr @IB_PC_ERR_PHYSRCV_F, align 4, !tbaa !6
%26 = call i32 @mad_encode_field(i32 noundef %24, i32 noundef %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 20)) #3
%27 = load i32, ptr @pc, align 4, !tbaa !6
%28 = load i32, ptr @IB_PC_ERR_SWITCH_REL_F, align 4, !tbaa !6
%29 = call i32 @mad_encode_field(i32 noundef %27, i32 noundef %28, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 24)) #3
%30 = load i32, ptr @pc, align 4, !tbaa !6
%31 = load i32, ptr @IB_PC_XMT_DISCARDS_F, align 4, !tbaa !6
%32 = call i32 @mad_encode_field(i32 noundef %30, i32 noundef %31, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 28)) #3
%33 = load i32, ptr @pc, align 4, !tbaa !6
%34 = load i32, ptr @IB_PC_ERR_XMTCONSTR_F, align 4, !tbaa !6
%35 = call i32 @mad_encode_field(i32 noundef %33, i32 noundef %34, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 32)) #3
%36 = load i32, ptr @pc, align 4, !tbaa !6
%37 = load i32, ptr @IB_PC_ERR_RCVCONSTR_F, align 4, !tbaa !6
%38 = call i32 @mad_encode_field(i32 noundef %36, i32 noundef %37, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 36)) #3
%39 = load i32, ptr @pc, align 4, !tbaa !6
%40 = load i32, ptr @IB_PC_ERR_LOCALINTEG_F, align 4, !tbaa !6
%41 = call i32 @mad_encode_field(i32 noundef %39, i32 noundef %40, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 40)) #3
%42 = load i32, ptr @pc, align 4, !tbaa !6
%43 = load i32, ptr @IB_PC_ERR_EXCESS_OVR_F, align 4, !tbaa !6
%44 = call i32 @mad_encode_field(i32 noundef %42, i32 noundef %43, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 44)) #3
%45 = load i32, ptr @pc, align 4, !tbaa !6
%46 = load i32, ptr @IB_PC_VL15_DROPPED_F, align 4, !tbaa !6
%47 = call i32 @mad_encode_field(i32 noundef %45, i32 noundef %46, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 52)) #3
%48 = load i32, ptr @pc, align 4, !tbaa !6
%49 = load i32, ptr @IB_PC_XMT_BYTES_F, align 4, !tbaa !6
%50 = call i32 @mad_encode_field(i32 noundef %48, i32 noundef %49, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 56)) #3
%51 = load i32, ptr @pc, align 4, !tbaa !6
%52 = load i32, ptr @IB_PC_RCV_BYTES_F, align 4, !tbaa !6
%53 = call i32 @mad_encode_field(i32 noundef %51, i32 noundef %52, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 60)) #3
%54 = load i32, ptr @pc, align 4, !tbaa !6
%55 = load i32, ptr @IB_PC_XMT_PKTS_F, align 4, !tbaa !6
%56 = call i32 @mad_encode_field(i32 noundef %54, i32 noundef %55, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 64)) #3
%57 = load i32, ptr @pc, align 4, !tbaa !6
%58 = load i32, ptr @IB_PC_RCV_PKTS_F, align 4, !tbaa !6
%59 = call i32 @mad_encode_field(i32 noundef %57, i32 noundef %58, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 68)) #3
%60 = load i32, ptr @pc, align 4, !tbaa !6
%61 = load i32, ptr @IB_PC_XMT_WAIT_F, align 4, !tbaa !6
%62 = call i32 @mad_encode_field(i32 noundef %60, i32 noundef %61, ptr noundef nonnull getelementptr inbounds (i8, ptr @perf_count, i64 72)) #3
%63 = load i32, ptr @pc, align 4, !tbaa !6
%64 = call i32 @mad_dump_perfcounters(ptr noundef nonnull %3, i32 noundef 1024, i32 noundef %63, i32 noundef 4) #3
%65 = call ptr @portid2str(ptr noundef %0) #3
%66 = load i32, ptr @ALL_PORTS, align 4, !tbaa !6
%67 = call i32 @ntohs(i32 noundef %1) #3
%68 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 1024, 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 @mad_encode_field(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mad_dump_perfcounters(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @portid2str(ptr noundef) local_unnamed_addr #2
declare i32 @ntohs(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_ofed_infiniband-diags_src_extr_perfquery.c_output_aggregate_perfcounters
|
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_common.h_omap5_secondary_hyp_startup.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_common.h_omap5_secondary_hyp_startup.c"
target datalayout = "e-m:e-p270:32:32-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 @omap5_secondary_hyp_startup], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @omap5_secondary_hyp_startup() #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/arch/arm/mach-omap2/extr_common.h_omap5_secondary_hyp_startup.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_common.h_omap5_secondary_hyp_startup.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 @omap5_secondary_hyp_startup], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @omap5_secondary_hyp_startup() #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_arch_arm_mach-omap2_extr_common.h_omap5_secondary_hyp_startup
|
; ModuleID = 'AnghaBench/linux/drivers/sh/clk/extr_core.c_followparent_recalc.c'
source_filename = "AnghaBench/linux/drivers/sh/clk/extr_core.c_followparent_recalc.c"
target datalayout = "e-m:e-p270:32:32-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(read, inaccessiblemem: none) uwtable
define dso_local i64 @followparent_recalc(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i64, ptr %2, align 8, !tbaa !10
br label %6
6: ; preds = %1, %4
%7 = phi i64 [ %5, %4 ], [ 0, %1 ]
ret i64 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"clk", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/sh/clk/extr_core.c_followparent_recalc.c'
source_filename = "AnghaBench/linux/drivers/sh/clk/extr_core.c_followparent_recalc.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(read, inaccessiblemem: none) uwtable(sync)
define i64 @followparent_recalc(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i64, ptr %2, align 8, !tbaa !11
br label %6
6: ; preds = %1, %4
%7 = phi i64 [ %5, %4 ], [ 0, %1 ]
ret i64 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"clk", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
|
linux_drivers_sh_clk_extr_core.c_followparent_recalc
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/proc/extr_base.c_next_tid.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/proc/extr_base.c_next_tid.c"
target datalayout = "e-m:e-p270:32:32-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 @next_tid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @next_tid(ptr noundef %0) #0 {
%2 = tail call i32 (...) @rcu_read_lock() #2
%3 = tail call i64 @pid_alive(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = tail call ptr @next_thread(ptr noundef %0) #2
%7 = tail call i64 @thread_group_leader(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @get_task_struct(ptr noundef %6) #2
br label %11
11: ; preds = %5, %9, %1
%12 = phi ptr [ %6, %9 ], [ null, %1 ], [ null, %5 ]
%13 = tail call i32 (...) @rcu_read_unlock() #2
%14 = tail call i32 @put_task_struct(ptr noundef %0) #2
ret ptr %12
}
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare i64 @pid_alive(ptr noundef) local_unnamed_addr #1
declare ptr @next_thread(ptr noundef) local_unnamed_addr #1
declare i64 @thread_group_leader(ptr noundef) local_unnamed_addr #1
declare i32 @get_task_struct(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i32 @put_task_struct(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/proc/extr_base.c_next_tid.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/proc/extr_base.c_next_tid.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 @next_tid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @next_tid(ptr noundef %0) #0 {
%2 = tail call i32 @rcu_read_lock() #2
%3 = tail call i64 @pid_alive(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = tail call ptr @next_thread(ptr noundef %0) #2
%7 = tail call i64 @thread_group_leader(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @get_task_struct(ptr noundef %6) #2
br label %11
11: ; preds = %5, %9, %1
%12 = phi ptr [ %6, %9 ], [ null, %1 ], [ null, %5 ]
%13 = tail call i32 @rcu_read_unlock() #2
%14 = tail call i32 @put_task_struct(ptr noundef %0) #2
ret ptr %12
}
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare i64 @pid_alive(ptr noundef) local_unnamed_addr #1
declare ptr @next_thread(ptr noundef) local_unnamed_addr #1
declare i64 @thread_group_leader(ptr noundef) local_unnamed_addr #1
declare i32 @get_task_struct(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i32 @put_task_struct(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_fs_proc_extr_base.c_next_tid
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_convert_mc_registers.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_convert_mc_registers.c"
target datalayout = "e-m:e-p270:32:32-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 @ni_convert_mc_registers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ni_convert_mc_registers(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %28
6: ; preds = %4
%7 = zext nneg i32 %2 to i64
br label %8
8: ; preds = %6, %24
%9 = phi i64 [ 0, %6 ], [ %26, %24 ]
%10 = phi i32 [ 0, %6 ], [ %25, %24 ]
%11 = trunc i64 %9 to i32
%12 = shl nuw i32 1, %11
%13 = and i32 %12, %3
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %15
15: ; preds = %8
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = getelementptr inbounds i32, ptr %16, i64 %9
%18 = load i32, ptr %17, align 4, !tbaa !10
%19 = tail call i32 @cpu_to_be32(i32 noundef %18) #2
%20 = load ptr, ptr %1, align 8, !tbaa !12
%21 = sext i32 %10 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 %19, ptr %22, align 4, !tbaa !10
%23 = add nsw i32 %10, 1
br label %24
24: ; preds = %8, %15
%25 = phi i32 [ %23, %15 ], [ %10, %8 ]
%26 = add nuw nsw i64 %9, 1
%27 = icmp eq i64 %26, %7
br i1 %27, label %28, label %8, !llvm.loop !14
28: ; preds = %24, %4
ret void
}
declare i32 @cpu_to_be32(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 = !{!"ni_mc_reg_entry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_convert_mc_registers.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_convert_mc_registers.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 @ni_convert_mc_registers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ni_convert_mc_registers(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %28
6: ; preds = %4
%7 = zext nneg i32 %2 to i64
br label %8
8: ; preds = %6, %24
%9 = phi i64 [ 0, %6 ], [ %26, %24 ]
%10 = phi i32 [ 0, %6 ], [ %25, %24 ]
%11 = trunc nuw nsw i64 %9 to i32
%12 = shl nuw i32 1, %11
%13 = and i32 %12, %3
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %15
15: ; preds = %8
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = getelementptr inbounds i32, ptr %16, i64 %9
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = tail call i32 @cpu_to_be32(i32 noundef %18) #2
%20 = load ptr, ptr %1, align 8, !tbaa !13
%21 = sext i32 %10 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 %19, ptr %22, align 4, !tbaa !11
%23 = add nsw i32 %10, 1
br label %24
24: ; preds = %8, %15
%25 = phi i32 [ %23, %15 ], [ %10, %8 ]
%26 = add nuw nsw i64 %9, 1
%27 = icmp eq i64 %26, %7
br i1 %27, label %28, label %8, !llvm.loop !15
28: ; preds = %24, %4
ret void
}
declare i32 @cpu_to_be32(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 = !{!"ni_mc_reg_entry", !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, !8, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_gpu_drm_radeon_extr_ni_dpm.c_ni_convert_mc_registers
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.