IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_scsi.c_scsi_nextbyte.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_scsi.c_scsi_nextbyte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@scsi_phase = dso_local local_unnamed_addr global i64 0, align 8
@SCSI_PHASE_DATAIN = dso_local local_unnamed_addr global i64 0, align 8
@scsi_bufpos = dso_local local_unnamed_addr global i32 0, align 4
@scsi_count = dso_local local_unnamed_addr global i32 0, align 4
@SCSI_PHASE_STATUS = dso_local local_unnamed_addr global i64 0, align 8
@scsi_buffer = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [13 x i8] c"SCSI status\0A\00", align 1
@SCSI_PHASE_MSGIN = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"SCSI msg\0A\00", align 1
@SCSI_PHASE_SELECTION = dso_local local_unnamed_addr global i64 0, align 8
@SCSI_PHASE_COMMAND = dso_local local_unnamed_addr global i64 0, align 8
@scsi_byte = dso_local local_unnamed_addr global i32 0, align 4
@SCSI_PHASE_DATAOUT = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"SCSI data out:%2x\0A\00", align 1
@PBI_SCSI_disk = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @scsi_nextbyte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @scsi_nextbyte() #0 {
%1 = load i64, ptr @scsi_phase, align 8, !tbaa !5
%2 = load i64, ptr @SCSI_PHASE_DATAIN, align 8, !tbaa !5
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %13
4: ; preds = %0
%5 = load i32, ptr @scsi_bufpos, align 4, !tbaa !9
%6 = add nsw i32 %5, 1
store i32 %6, ptr @scsi_bufpos, align 4, !tbaa !9
%7 = load i32, ptr @scsi_count, align 4, !tbaa !9
%8 = icmp slt i32 %6, %7
br i1 %8, label %66, label %9
9: ; preds = %4
%10 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !5
%11 = tail call i32 @scsi_changephase(i64 noundef %10) #3
%12 = load ptr, ptr @scsi_buffer, align 8, !tbaa !11
store i32 0, ptr %12, align 4, !tbaa !9
br label %66
13: ; preds = %0
%14 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !5
%15 = icmp eq i64 %1, %14
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
%18 = tail call i32 @D(i32 noundef %17) #3
%19 = load i64, ptr @SCSI_PHASE_MSGIN, align 8, !tbaa !5
%20 = tail call i32 @scsi_changephase(i64 noundef %19) #3
%21 = load ptr, ptr @scsi_buffer, align 8, !tbaa !11
store i32 0, ptr %21, align 4, !tbaa !9
br label %66
22: ; preds = %13
%23 = load i64, ptr @SCSI_PHASE_MSGIN, align 8, !tbaa !5
%24 = icmp eq i64 %1, %23
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%27 = tail call i32 @D(i32 noundef %26) #3
%28 = load i64, ptr @SCSI_PHASE_SELECTION, align 8, !tbaa !5
%29 = tail call i32 @scsi_changephase(i64 noundef %28) #3
br label %66
30: ; preds = %22
%31 = load i64, ptr @SCSI_PHASE_COMMAND, align 8, !tbaa !5
%32 = icmp eq i64 %1, %31
br i1 %32, label %33, label %44
33: ; preds = %30
%34 = load i32, ptr @scsi_byte, align 4, !tbaa !9
%35 = load ptr, ptr @scsi_buffer, align 8, !tbaa !11
%36 = load i32, ptr @scsi_bufpos, align 4, !tbaa !9
%37 = add nsw i32 %36, 1
store i32 %37, ptr @scsi_bufpos, align 4, !tbaa !9
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
store i32 %34, ptr %39, align 4, !tbaa !9
%40 = load i32, ptr @scsi_bufpos, align 4, !tbaa !9
%41 = icmp sgt i32 %40, 5
br i1 %41, label %42, label %66
42: ; preds = %33
%43 = tail call i32 (...) @scsi_process_command() #3
store i32 0, ptr @scsi_bufpos, align 4, !tbaa !9
br label %66
44: ; preds = %30
%45 = load i64, ptr @SCSI_PHASE_DATAOUT, align 8, !tbaa !5
%46 = icmp eq i64 %1, %45
br i1 %46, label %47, label %66
47: ; preds = %44
%48 = load i32, ptr @scsi_byte, align 4, !tbaa !9
%49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %48)
%50 = tail call i32 @D(i32 noundef %49) #3
%51 = load i32, ptr @scsi_byte, align 4, !tbaa !9
%52 = load ptr, ptr @scsi_buffer, align 8, !tbaa !11
%53 = load i32, ptr @scsi_bufpos, align 4, !tbaa !9
%54 = add nsw i32 %53, 1
store i32 %54, ptr @scsi_bufpos, align 4, !tbaa !9
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
store i32 %51, ptr %56, align 4, !tbaa !9
%57 = load i32, ptr @scsi_bufpos, align 4, !tbaa !9
%58 = load i32, ptr @scsi_count, align 4, !tbaa !9
%59 = icmp slt i32 %57, %58
br i1 %59, label %66, label %60
60: ; preds = %47
%61 = load i32, ptr @PBI_SCSI_disk, align 4, !tbaa !9
%62 = tail call i32 @fwrite(ptr noundef nonnull %52, i32 noundef 1, i32 noundef 256, i32 noundef %61) #3
%63 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !5
%64 = tail call i32 @scsi_changephase(i64 noundef %63) #3
%65 = load ptr, ptr @scsi_buffer, align 8, !tbaa !11
store i32 0, ptr %65, align 4, !tbaa !9
br label %66
66: ; preds = %16, %42, %33, %47, %60, %44, %25, %4, %9
ret void
}
declare i32 @scsi_changephase(i64 noundef) local_unnamed_addr #1
declare i32 @D(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @scsi_process_command(...) local_unnamed_addr #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_scsi.c_scsi_nextbyte.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_scsi.c_scsi_nextbyte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@scsi_phase = common local_unnamed_addr global i64 0, align 8
@SCSI_PHASE_DATAIN = common local_unnamed_addr global i64 0, align 8
@scsi_bufpos = common local_unnamed_addr global i32 0, align 4
@scsi_count = common local_unnamed_addr global i32 0, align 4
@SCSI_PHASE_STATUS = common local_unnamed_addr global i64 0, align 8
@scsi_buffer = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [13 x i8] c"SCSI status\0A\00", align 1
@SCSI_PHASE_MSGIN = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"SCSI msg\0A\00", align 1
@SCSI_PHASE_SELECTION = common local_unnamed_addr global i64 0, align 8
@SCSI_PHASE_COMMAND = common local_unnamed_addr global i64 0, align 8
@scsi_byte = common local_unnamed_addr global i32 0, align 4
@SCSI_PHASE_DATAOUT = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"SCSI data out:%2x\0A\00", align 1
@PBI_SCSI_disk = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @scsi_nextbyte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @scsi_nextbyte() #0 {
%1 = load i64, ptr @scsi_phase, align 8, !tbaa !6
%2 = load i64, ptr @SCSI_PHASE_DATAIN, align 8, !tbaa !6
%3 = icmp eq i64 %1, %2
br i1 %3, label %4, label %13
4: ; preds = %0
%5 = load i32, ptr @scsi_bufpos, align 4, !tbaa !10
%6 = add nsw i32 %5, 1
store i32 %6, ptr @scsi_bufpos, align 4, !tbaa !10
%7 = load i32, ptr @scsi_count, align 4, !tbaa !10
%8 = icmp slt i32 %6, %7
br i1 %8, label %66, label %9
9: ; preds = %4
%10 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !6
%11 = tail call i32 @scsi_changephase(i64 noundef %10) #3
%12 = load ptr, ptr @scsi_buffer, align 8, !tbaa !12
store i32 0, ptr %12, align 4, !tbaa !10
br label %66
13: ; preds = %0
%14 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !6
%15 = icmp eq i64 %1, %14
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
%18 = tail call i32 @D(i32 noundef %17) #3
%19 = load i64, ptr @SCSI_PHASE_MSGIN, align 8, !tbaa !6
%20 = tail call i32 @scsi_changephase(i64 noundef %19) #3
%21 = load ptr, ptr @scsi_buffer, align 8, !tbaa !12
store i32 0, ptr %21, align 4, !tbaa !10
br label %66
22: ; preds = %13
%23 = load i64, ptr @SCSI_PHASE_MSGIN, align 8, !tbaa !6
%24 = icmp eq i64 %1, %23
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%27 = tail call i32 @D(i32 noundef %26) #3
%28 = load i64, ptr @SCSI_PHASE_SELECTION, align 8, !tbaa !6
%29 = tail call i32 @scsi_changephase(i64 noundef %28) #3
br label %66
30: ; preds = %22
%31 = load i64, ptr @SCSI_PHASE_COMMAND, align 8, !tbaa !6
%32 = icmp eq i64 %1, %31
br i1 %32, label %33, label %44
33: ; preds = %30
%34 = load i32, ptr @scsi_byte, align 4, !tbaa !10
%35 = load ptr, ptr @scsi_buffer, align 8, !tbaa !12
%36 = load i32, ptr @scsi_bufpos, align 4, !tbaa !10
%37 = add nsw i32 %36, 1
store i32 %37, ptr @scsi_bufpos, align 4, !tbaa !10
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
store i32 %34, ptr %39, align 4, !tbaa !10
%40 = load i32, ptr @scsi_bufpos, align 4, !tbaa !10
%41 = icmp sgt i32 %40, 5
br i1 %41, label %42, label %66
42: ; preds = %33
%43 = tail call i32 @scsi_process_command() #3
store i32 0, ptr @scsi_bufpos, align 4, !tbaa !10
br label %66
44: ; preds = %30
%45 = load i64, ptr @SCSI_PHASE_DATAOUT, align 8, !tbaa !6
%46 = icmp eq i64 %1, %45
br i1 %46, label %47, label %66
47: ; preds = %44
%48 = load i32, ptr @scsi_byte, align 4, !tbaa !10
%49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %48)
%50 = tail call i32 @D(i32 noundef %49) #3
%51 = load i32, ptr @scsi_byte, align 4, !tbaa !10
%52 = load ptr, ptr @scsi_buffer, align 8, !tbaa !12
%53 = load i32, ptr @scsi_bufpos, align 4, !tbaa !10
%54 = add nsw i32 %53, 1
store i32 %54, ptr @scsi_bufpos, align 4, !tbaa !10
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
store i32 %51, ptr %56, align 4, !tbaa !10
%57 = load i32, ptr @scsi_bufpos, align 4, !tbaa !10
%58 = load i32, ptr @scsi_count, align 4, !tbaa !10
%59 = icmp slt i32 %57, %58
br i1 %59, label %66, label %60
60: ; preds = %47
%61 = load i32, ptr @PBI_SCSI_disk, align 4, !tbaa !10
%62 = tail call i32 @fwrite(ptr noundef nonnull %52, i32 noundef 1, i32 noundef 256, i32 noundef %61) #3
%63 = load i64, ptr @SCSI_PHASE_STATUS, align 8, !tbaa !6
%64 = tail call i32 @scsi_changephase(i64 noundef %63) #3
%65 = load ptr, ptr @scsi_buffer, align 8, !tbaa !12
store i32 0, ptr %65, align 4, !tbaa !10
br label %66
66: ; preds = %16, %42, %33, %47, %60, %44, %25, %4, %9
ret void
}
declare i32 @scsi_changephase(i64 noundef) local_unnamed_addr #1
declare i32 @D(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @scsi_process_command(...) local_unnamed_addr #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| Provenance_Cores_Atari800_atari800-src_extr_pbi_scsi.c_scsi_nextbyte |
; ModuleID = 'AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_free_user_entry.c'
source_filename = "AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_free_user_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, ptr, i64, ptr }
@gpsi = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_user_entry], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal ptr @free_user_entry(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %0, align 8, !tbaa !12
store ptr %5, ptr %3, align 8, !tbaa !5
store i32 0, ptr %1, align 8, !tbaa !14
%6 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
store ptr %1, ptr %0, align 8, !tbaa !12
%7 = load ptr, ptr @gpsi, align 8, !tbaa !15
%8 = load i32, ptr %7, align 4, !tbaa !16
%9 = add nsw i32 %8, -1
store i32 %9, ptr %7, align 4, !tbaa !16
ret ptr %4
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_8__", !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_12__", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_free_user_entry.c'
source_filename = "AnghaBench/reactos/win32ss/user/ntuser/extr_object.c_free_user_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gpsi = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @free_user_entry], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal ptr @free_user_entry(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %0, align 8, !tbaa !13
store ptr %5, ptr %3, align 8, !tbaa !6
store i32 0, ptr %1, align 8, !tbaa !15
%6 = getelementptr inbounds i8, ptr %1, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
store ptr %1, ptr %0, align 8, !tbaa !13
%7 = load ptr, ptr @gpsi, align 8, !tbaa !16
%8 = load i32, ptr %7, align 4, !tbaa !17
%9 = add nsw i32 %8, -1
store i32 %9, ptr %7, align 4, !tbaa !17
ret ptr %4
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_8__", !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_12__", !8, i64 0}
| reactos_win32ss_user_ntuser_extr_object.c_free_user_entry |
; ModuleID = 'AnghaBench/vlc/modules/audio_filter/converter/extr_tospdif.c_write_buffer_truehd.c'
source_filename = "AnghaBench/vlc/modules/audio_filter/converter/extr_tospdif.c_write_buffer_truehd.c"
target datalayout = "e-m:e-p270:32:32-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_18__ = type { i64, %struct.TYPE_16__, ptr }
%struct.TYPE_16__ = type { i32 }
@SPDIF_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@write_buffer_truehd.p_mat_start_code = internal constant [20 x i8] c"\07\9E\00\03\84\01\01\01\80\00V\A5;\F4\81\83I\80w\E0", align 16
@SPDIF_HEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@write_buffer_truehd.p_mat_middle_code = internal constant [12 x i8] c"\C3\C1BI;\FA\82\83I\80w\E0", align 1
@write_buffer_truehd.p_mat_end_code = internal constant [16 x i8] c"\C3\C2\C0\C4\00\00\00\00\00\00\00\00\00\00\97\11", align 16
@IEC61937_TRUEHD = dso_local local_unnamed_addr global i32 0, align 4
@SPDIF_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@SPDIF_MORE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@TRUEHD_FRAME_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_buffer_truehd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @write_buffer_truehd(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = tail call i64 @write_init(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 61440, i32 noundef 3840) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %65
10: ; preds = %7, %2
%11 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !15
switch i32 %12, label %42 [
i32 0, label %13
i32 11, label %19
i32 12, label %22
i32 23, label %26
]
13: ; preds = %10
%14 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_start_code, i32 noundef 20, i32 noundef 1) #2
%15 = load i32, ptr %1, align 4, !tbaa !16
%16 = load i32, ptr @SPDIF_HEADER_SIZE, align 4, !tbaa !18
%17 = add i32 %15, %16
%18 = sub i32 2540, %17
br label %45
19: ; preds = %10
%20 = load i32, ptr %1, align 4, !tbaa !16
%21 = sub i32 2556, %20
br label %45
22: ; preds = %10
%23 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_middle_code, i32 noundef 12, i32 noundef 1) #2
%24 = load i32, ptr %1, align 4, !tbaa !16
%25 = sub i32 2552, %24
br label %45
26: ; preds = %10
%27 = load i32, ptr %1, align 4, !tbaa !16
%28 = sub i32 2536, %27
%29 = icmp slt i32 %28, 0
br i1 %29, label %65, label %30
30: ; preds = %26
%31 = load ptr, ptr %4, align 8, !tbaa !10
%32 = load i64, ptr %31, align 8, !tbaa !19
%33 = load i64, ptr %3, align 8, !tbaa !21
%34 = sub nsw i64 %32, %33
%35 = icmp slt i64 %34, 2536
br i1 %35, label %65, label %36
36: ; preds = %30
%37 = tail call i32 @write_buffer(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%38 = tail call i32 @write_padding(ptr noundef nonnull %0, i32 noundef %28) #2
%39 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_end_code, i32 noundef 16, i32 noundef 1) #2
%40 = load i32, ptr @IEC61937_TRUEHD, align 4, !tbaa !18
%41 = tail call i32 @write_finalize(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 1) #2
br label %62
42: ; preds = %10
%43 = load i32, ptr %1, align 4, !tbaa !16
%44 = sub nsw i32 2560, %43
br label %45
45: ; preds = %19, %42, %22, %13
%46 = phi i32 [ %15, %13 ], [ %20, %19 ], [ %24, %22 ], [ %43, %42 ]
%47 = phi i32 [ %18, %13 ], [ %21, %19 ], [ %25, %22 ], [ %44, %42 ]
%48 = icmp slt i32 %47, 0
br i1 %48, label %65, label %49
49: ; preds = %45
%50 = add nsw i32 %46, %47
%51 = sext i32 %50 to i64
%52 = load ptr, ptr %4, align 8, !tbaa !10
%53 = load i64, ptr %52, align 8, !tbaa !19
%54 = load i64, ptr %3, align 8, !tbaa !21
%55 = sub nsw i64 %53, %54
%56 = icmp slt i64 %55, %51
br i1 %56, label %65, label %57
57: ; preds = %49
%58 = tail call i32 @write_buffer(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%59 = tail call i32 @write_padding(ptr noundef nonnull %0, i32 noundef %47) #2
%60 = load i32, ptr %11, align 8, !tbaa !15
%61 = add nsw i32 %60, 1
br label %62
62: ; preds = %57, %36
%63 = phi i32 [ 0, %36 ], [ %61, %57 ]
%64 = phi ptr [ @SPDIF_SUCCESS, %36 ], [ @SPDIF_MORE_DATA, %57 ]
store i32 %63, ptr %11, align 8, !tbaa !15
br label %65
65: ; preds = %62, %30, %26, %49, %45, %7
%66 = phi ptr [ @SPDIF_ERROR, %7 ], [ @SPDIF_ERROR, %30 ], [ @SPDIF_ERROR, %26 ], [ @SPDIF_ERROR, %49 ], [ @SPDIF_ERROR, %45 ], [ %64, %62 ]
%67 = load i32, ptr %66, align 4, !tbaa !18
ret i32 %67
}
declare i64 @write_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_padding(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_finalize(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_17__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_18__", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_16__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!11, !14, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_19__", !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_15__", !12, i64 0}
!21 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/audio_filter/converter/extr_tospdif.c_write_buffer_truehd.c'
source_filename = "AnghaBench/vlc/modules/audio_filter/converter/extr_tospdif.c_write_buffer_truehd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPDIF_ERROR = common local_unnamed_addr global i32 0, align 4
@write_buffer_truehd.p_mat_start_code = internal constant [20 x i8] c"\07\9E\00\03\84\01\01\01\80\00V\A5;\F4\81\83I\80w\E0", align 1
@SPDIF_HEADER_SIZE = common local_unnamed_addr global i32 0, align 4
@write_buffer_truehd.p_mat_middle_code = internal constant [12 x i8] c"\C3\C1BI;\FA\82\83I\80w\E0", align 1
@write_buffer_truehd.p_mat_end_code = internal constant [16 x i8] c"\C3\C2\C0\C4\00\00\00\00\00\00\00\00\00\00\97\11", align 1
@IEC61937_TRUEHD = common local_unnamed_addr global i32 0, align 4
@SPDIF_SUCCESS = common local_unnamed_addr global i32 0, align 4
@SPDIF_MORE_DATA = common local_unnamed_addr global i32 0, align 4
@TRUEHD_FRAME_OFFSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @write_buffer_truehd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @write_buffer_truehd(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = tail call i64 @write_init(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 61440, i32 noundef 3840) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %65
10: ; preds = %7, %2
%11 = getelementptr inbounds i8, ptr %3, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !16
switch i32 %12, label %42 [
i32 0, label %13
i32 11, label %19
i32 12, label %22
i32 23, label %26
]
13: ; preds = %10
%14 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_start_code, i32 noundef 20, i32 noundef 1) #2
%15 = load i32, ptr %1, align 4, !tbaa !17
%16 = load i32, ptr @SPDIF_HEADER_SIZE, align 4, !tbaa !19
%17 = add i32 %15, %16
%18 = sub i32 2540, %17
br label %45
19: ; preds = %10
%20 = load i32, ptr %1, align 4, !tbaa !17
%21 = sub i32 2556, %20
br label %45
22: ; preds = %10
%23 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_middle_code, i32 noundef 12, i32 noundef 1) #2
%24 = load i32, ptr %1, align 4, !tbaa !17
%25 = sub i32 2552, %24
br label %45
26: ; preds = %10
%27 = load i32, ptr %1, align 4, !tbaa !17
%28 = sub i32 2536, %27
%29 = icmp slt i32 %28, 0
br i1 %29, label %65, label %30
30: ; preds = %26
%31 = load ptr, ptr %4, align 8, !tbaa !11
%32 = load i64, ptr %31, align 8, !tbaa !20
%33 = load i64, ptr %3, align 8, !tbaa !22
%34 = sub nsw i64 %32, %33
%35 = icmp slt i64 %34, 2536
br i1 %35, label %65, label %36
36: ; preds = %30
%37 = tail call i32 @write_buffer(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%38 = tail call i32 @write_padding(ptr noundef nonnull %0, i32 noundef %28) #2
%39 = tail call i32 @write_data(ptr noundef nonnull %0, ptr noundef nonnull @write_buffer_truehd.p_mat_end_code, i32 noundef 16, i32 noundef 1) #2
%40 = load i32, ptr @IEC61937_TRUEHD, align 4, !tbaa !19
%41 = tail call i32 @write_finalize(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 1) #2
br label %62
42: ; preds = %10
%43 = load i32, ptr %1, align 4, !tbaa !17
%44 = sub nsw i32 2560, %43
br label %45
45: ; preds = %19, %42, %22, %13
%46 = phi i32 [ %15, %13 ], [ %20, %19 ], [ %24, %22 ], [ %43, %42 ]
%47 = phi i32 [ %18, %13 ], [ %21, %19 ], [ %25, %22 ], [ %44, %42 ]
%48 = icmp slt i32 %47, 0
br i1 %48, label %65, label %49
49: ; preds = %45
%50 = add nsw i32 %46, %47
%51 = sext i32 %50 to i64
%52 = load ptr, ptr %4, align 8, !tbaa !11
%53 = load i64, ptr %52, align 8, !tbaa !20
%54 = load i64, ptr %3, align 8, !tbaa !22
%55 = sub nsw i64 %53, %54
%56 = icmp slt i64 %55, %51
br i1 %56, label %65, label %57
57: ; preds = %49
%58 = tail call i32 @write_buffer(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%59 = tail call i32 @write_padding(ptr noundef nonnull %0, i32 noundef %47) #2
%60 = load i32, ptr %11, align 8, !tbaa !16
%61 = add nsw i32 %60, 1
br label %62
62: ; preds = %57, %36
%63 = phi i32 [ 0, %36 ], [ %61, %57 ]
%64 = phi ptr [ @SPDIF_SUCCESS, %36 ], [ @SPDIF_MORE_DATA, %57 ]
store i32 %63, ptr %11, align 8, !tbaa !16
br label %65
65: ; preds = %62, %30, %26, %49, %45, %7
%66 = phi ptr [ @SPDIF_ERROR, %7 ], [ @SPDIF_ERROR, %30 ], [ @SPDIF_ERROR, %26 ], [ @SPDIF_ERROR, %49 ], [ @SPDIF_ERROR, %45 ], [ %64, %62 ]
%67 = load i32, ptr %66, align 4, !tbaa !19
ret i32 %67
}
declare i64 @write_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_padding(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_finalize(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_17__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"TYPE_18__", !13, i64 0, !14, i64 8, !8, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"TYPE_16__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!12, !15, i64 8}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_19__", !15, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_15__", !13, i64 0}
!22 = !{!12, !13, i64 0}
| vlc_modules_audio_filter_converter_extr_tospdif.c_write_buffer_truehd |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_IPsecSaUpdateIv.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_IPsecSaUpdateIv.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local void @IPsecSaUpdateIv(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
%5 = icmp eq ptr %1, null
%6 = or i1 %4, %5
br i1 %6, label %24, label %7
7: ; preds = %3
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @MIN(i64 noundef %11, i64 noundef %2) #2
%13 = tail call i32 @Copy(i64 noundef %8, ptr noundef nonnull %1, i32 noundef %12) #2
%14 = load ptr, ptr %9, align 8, !tbaa !12
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp sgt i64 %15, %2
br i1 %16, label %17, label %22
17: ; preds = %7
%18 = load i64, ptr %0, align 8, !tbaa !5
%19 = add nsw i64 %18, %15
%20 = sub nsw i64 %15, %2
%21 = tail call i32 @Zero(i64 noundef %19, i64 noundef %20) #2
br label %22
22: ; preds = %17, %7
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store i32 1, ptr %23, align 8, !tbaa !15
br label %24
24: ; preds = %3, %22
ret void
}
declare i32 @Copy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Zero(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_IPsecSaUpdateIv.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_IPsecSaUpdateIv.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 @IPsecSaUpdateIv(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
%5 = icmp eq ptr %1, null
%6 = or i1 %4, %5
br i1 %6, label %24, label %7
7: ; preds = %3
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @MIN(i64 noundef %11, i64 noundef %2) #2
%13 = tail call i32 @Copy(i64 noundef %8, ptr noundef nonnull %1, i32 noundef %12) #2
%14 = load ptr, ptr %9, align 8, !tbaa !13
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp sgt i64 %15, %2
br i1 %16, label %17, label %22
17: ; preds = %7
%18 = load i64, ptr %0, align 8, !tbaa !6
%19 = add nsw i64 %18, %15
%20 = sub nsw i64 %15, %2
%21 = tail call i32 @Zero(i64 noundef %19, i64 noundef %20) #2
br label %22
22: ; preds = %17, %7
%23 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %23, align 8, !tbaa !16
br label %24
24: ; preds = %3, %22
ret void
}
declare i32 @Copy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Zero(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_4__", !8, i64 0}
!16 = !{!7, !11, i64 8}
| SoftEtherVPN_src_Cedar_extr_Proto_IKE.c_IPsecSaUpdateIv |
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_topology.c_next_tle.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_topology.c_next_tle.c"
target datalayout = "e-m:e-p270:32:32-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.topology_container = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @next_tle], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal nonnull ptr @next_tle(ptr noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.topology_container, ptr %0, i64 1
ret ptr %2
}
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/arch/s390/kernel/extr_topology.c_next_tle.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_topology.c_next_tle.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_tle], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal nonnull ptr @next_tle(ptr noundef readnone %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
ret ptr %2
}
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_arch_s390_kernel_extr_topology.c_next_tle |
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/symcipher/extr_aes_ct_ctrcbc.c_br_aes_ct_ctrcbc_encrypt.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/symcipher/extr_aes_ct_ctrcbc.c_br_aes_ct_ctrcbc_encrypt.c"
target datalayout = "e-m:e-p270:32:32-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 void @br_aes_ct_ctrcbc_encrypt(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca [120 x i32], align 16
%7 = alloca [8 x i32], align 16
call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %6) #3
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = call i32 @br_aes_ct_skey_expand(ptr noundef nonnull %6, i32 noundef %8, i32 noundef %10) #3
%12 = call i32 @br_dec32be(ptr noundef %1) #3
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = call i32 @br_dec32be(ptr noundef nonnull %13) #3
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = call i32 @br_dec32be(ptr noundef nonnull %15) #3
%17 = getelementptr inbounds i8, ptr %1, i64 12
%18 = call i32 @br_dec32be(ptr noundef nonnull %17) #3
%19 = call i32 @br_dec32le(ptr noundef %2) #3
%20 = getelementptr inbounds i8, ptr %2, i64 4
%21 = call i32 @br_dec32le(ptr noundef nonnull %20) #3
%22 = getelementptr inbounds i8, ptr %2, i64 8
%23 = call i32 @br_dec32le(ptr noundef nonnull %22) #3
%24 = getelementptr inbounds i8, ptr %2, i64 12
%25 = call i32 @br_dec32le(ptr noundef nonnull %24) #3
%26 = icmp eq i64 %4, 0
br i1 %26, label %135, label %27
27: ; preds = %5
%28 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 2
%29 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 4
%30 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 6
%31 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 1
%32 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 3
%33 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 5
%34 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 7
br label %35
35: ; preds = %134, %27
%36 = phi i64 [ %4, %27 ], [ %97, %134 ]
%37 = phi i1 [ false, %27 ], [ true, %134 ]
%38 = phi i32 [ %25, %27 ], [ %123, %134 ]
%39 = phi i32 [ %23, %27 ], [ %122, %134 ]
%40 = phi i32 [ %21, %27 ], [ %121, %134 ]
%41 = phi i32 [ %19, %27 ], [ %120, %134 ]
%42 = phi i32 [ %18, %27 ], [ %51, %134 ]
%43 = phi i32 [ %16, %27 ], [ %55, %134 ]
%44 = phi i32 [ %14, %27 ], [ %61, %134 ]
%45 = phi i32 [ %12, %27 ], [ %68, %134 ]
%46 = phi ptr [ %3, %27 ], [ %96, %134 ]
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
%47 = call i32 @br_swap32(i32 noundef %45) #3
store i32 %47, ptr %7, align 16, !tbaa !11
%48 = call i32 @br_swap32(i32 noundef %44) #3
store i32 %48, ptr %28, align 8, !tbaa !11
%49 = call i32 @br_swap32(i32 noundef %43) #3
store i32 %49, ptr %29, align 16, !tbaa !11
%50 = call i32 @br_swap32(i32 noundef %42) #3
store i32 %50, ptr %30, align 8, !tbaa !11
%51 = add nsw i32 %42, 1
%52 = sub i32 -2, %42
%53 = and i32 %52, %42
%54 = ashr i32 %53, 31
%55 = add nsw i32 %54, %43
%56 = add i32 %55, -1
%57 = xor i32 %55, -1
%58 = and i32 %56, %57
%59 = lshr i32 %58, 31
%60 = and i32 %59, %54
%61 = add nsw i32 %60, %44
%62 = add i32 %61, -1
%63 = xor i32 %61, -1
%64 = and i32 %62, %63
%65 = and i32 %58, %64
%66 = lshr i32 %65, 31
%67 = and i32 %66, %54
%68 = add nsw i32 %67, %45
store i32 %41, ptr %31, align 4, !tbaa !11
store i32 %40, ptr %32, align 4, !tbaa !11
store i32 %39, ptr %33, align 4, !tbaa !11
store i32 %38, ptr %34, align 4, !tbaa !11
%69 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%70 = load i32, ptr %0, align 4, !tbaa !5
%71 = call i32 @br_aes_ct_bitslice_encrypt(i32 noundef %70, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%72 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%73 = call i32 @br_dec32le(ptr noundef %46) #3
%74 = load i32, ptr %7, align 16, !tbaa !11
%75 = xor i32 %74, %73
store i32 %75, ptr %7, align 16, !tbaa !11
%76 = getelementptr inbounds i8, ptr %46, i64 4
%77 = call i32 @br_dec32le(ptr noundef nonnull %76) #3
%78 = load i32, ptr %28, align 8, !tbaa !11
%79 = xor i32 %78, %77
store i32 %79, ptr %28, align 8, !tbaa !11
%80 = getelementptr inbounds i8, ptr %46, i64 8
%81 = call i32 @br_dec32le(ptr noundef nonnull %80) #3
%82 = load i32, ptr %29, align 16, !tbaa !11
%83 = xor i32 %82, %81
store i32 %83, ptr %29, align 16, !tbaa !11
%84 = getelementptr inbounds i8, ptr %46, i64 12
%85 = call i32 @br_dec32le(ptr noundef nonnull %84) #3
%86 = load i32, ptr %30, align 8, !tbaa !11
%87 = xor i32 %86, %85
store i32 %87, ptr %30, align 8, !tbaa !11
%88 = load i32, ptr %7, align 16, !tbaa !11
%89 = call i32 @br_enc32le(ptr noundef %46, i32 noundef %88) #3
%90 = load i32, ptr %28, align 8, !tbaa !11
%91 = call i32 @br_enc32le(ptr noundef nonnull %76, i32 noundef %90) #3
%92 = load i32, ptr %29, align 16, !tbaa !11
%93 = call i32 @br_enc32le(ptr noundef nonnull %80, i32 noundef %92) #3
%94 = load i32, ptr %30, align 8, !tbaa !11
%95 = call i32 @br_enc32le(ptr noundef nonnull %84, i32 noundef %94) #3
%96 = getelementptr inbounds i8, ptr %46, i64 16
%97 = add i64 %36, -16
%98 = load i32, ptr %7, align 16, !tbaa !11
br i1 %37, label %107, label %99
99: ; preds = %35
%100 = xor i32 %98, %41
%101 = load i32, ptr %28, align 8, !tbaa !11
%102 = xor i32 %101, %40
%103 = load i32, ptr %29, align 16, !tbaa !11
%104 = xor i32 %103, %39
%105 = load i32, ptr %30, align 8, !tbaa !11
%106 = xor i32 %105, %38
br label %119
107: ; preds = %35
%108 = load i32, ptr %31, align 4, !tbaa !11
%109 = xor i32 %108, %98
%110 = load i32, ptr %28, align 8, !tbaa !11
%111 = load i32, ptr %32, align 4, !tbaa !11
%112 = xor i32 %111, %110
%113 = load i32, ptr %29, align 16, !tbaa !11
%114 = load i32, ptr %33, align 4, !tbaa !11
%115 = xor i32 %114, %113
%116 = load i32, ptr %30, align 8, !tbaa !11
%117 = load i32, ptr %34, align 4, !tbaa !11
%118 = xor i32 %117, %116
br label %119
119: ; preds = %107, %99
%120 = phi i32 [ %100, %99 ], [ %109, %107 ]
%121 = phi i32 [ %102, %99 ], [ %112, %107 ]
%122 = phi i32 [ %104, %99 ], [ %115, %107 ]
%123 = phi i32 [ %106, %99 ], [ %118, %107 ]
%124 = icmp eq i64 %97, 0
br i1 %124, label %125, label %134
125: ; preds = %119
store i32 %120, ptr %7, align 16, !tbaa !11
store i32 %121, ptr %28, align 8, !tbaa !11
store i32 %122, ptr %29, align 16, !tbaa !11
store i32 %123, ptr %30, align 8, !tbaa !11
%126 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%127 = load i32, ptr %0, align 4, !tbaa !5
%128 = call i32 @br_aes_ct_bitslice_encrypt(i32 noundef %127, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%129 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%130 = load i32, ptr %7, align 16, !tbaa !11
%131 = load i32, ptr %28, align 8, !tbaa !11
%132 = load i32, ptr %29, align 16, !tbaa !11
%133 = load i32, ptr %30, align 8, !tbaa !11
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
br label %135
134: ; preds = %119
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
br label %35
135: ; preds = %5, %125
%136 = phi i32 [ %68, %125 ], [ %12, %5 ]
%137 = phi i32 [ %61, %125 ], [ %14, %5 ]
%138 = phi i32 [ %55, %125 ], [ %16, %5 ]
%139 = phi i32 [ %51, %125 ], [ %18, %5 ]
%140 = phi i32 [ %130, %125 ], [ %19, %5 ]
%141 = phi i32 [ %131, %125 ], [ %21, %5 ]
%142 = phi i32 [ %132, %125 ], [ %23, %5 ]
%143 = phi i32 [ %133, %125 ], [ %25, %5 ]
%144 = call i32 @br_enc32be(ptr noundef %1, i32 noundef %136) #3
%145 = call i32 @br_enc32be(ptr noundef nonnull %13, i32 noundef %137) #3
%146 = call i32 @br_enc32be(ptr noundef nonnull %15, i32 noundef %138) #3
%147 = call i32 @br_enc32be(ptr noundef nonnull %17, i32 noundef %139) #3
%148 = call i32 @br_enc32le(ptr noundef %2, i32 noundef %140) #3
%149 = call i32 @br_enc32le(ptr noundef nonnull %20, i32 noundef %141) #3
%150 = call i32 @br_enc32le(ptr noundef nonnull %22, i32 noundef %142) #3
%151 = call i32 @br_enc32le(ptr noundef nonnull %24, i32 noundef %143) #3
call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %6) #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 @br_aes_ct_skey_expand(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @br_dec32be(ptr noundef) local_unnamed_addr #2
declare i32 @br_dec32le(ptr noundef) local_unnamed_addr #2
declare i32 @br_swap32(i32 noundef) local_unnamed_addr #2
declare i32 @br_aes_ct_ortho(ptr noundef) local_unnamed_addr #2
declare i32 @br_aes_ct_bitslice_encrypt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @br_enc32le(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
declare i32 @br_enc32be(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/symcipher/extr_aes_ct_ctrcbc.c_br_aes_ct_ctrcbc_encrypt.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/symcipher/extr_aes_ct_ctrcbc.c_br_aes_ct_ctrcbc_encrypt.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 @br_aes_ct_ctrcbc_encrypt(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca [120 x i32], align 4
%7 = alloca [8 x i32], align 4
call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %6) #3
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = call i32 @br_aes_ct_skey_expand(ptr noundef nonnull %6, i32 noundef %8, i32 noundef %10) #3
%12 = call i32 @br_dec32be(ptr noundef %1) #3
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = call i32 @br_dec32be(ptr noundef nonnull %13) #3
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = call i32 @br_dec32be(ptr noundef nonnull %15) #3
%17 = getelementptr inbounds i8, ptr %1, i64 12
%18 = call i32 @br_dec32be(ptr noundef nonnull %17) #3
%19 = call i32 @br_dec32le(ptr noundef %2) #3
%20 = getelementptr inbounds i8, ptr %2, i64 4
%21 = call i32 @br_dec32le(ptr noundef nonnull %20) #3
%22 = getelementptr inbounds i8, ptr %2, i64 8
%23 = call i32 @br_dec32le(ptr noundef nonnull %22) #3
%24 = getelementptr inbounds i8, ptr %2, i64 12
%25 = call i32 @br_dec32le(ptr noundef nonnull %24) #3
%26 = icmp eq i64 %4, 0
br i1 %26, label %134, label %27
27: ; preds = %5
%28 = getelementptr inbounds i8, ptr %7, i64 8
%29 = getelementptr inbounds i8, ptr %7, i64 16
%30 = getelementptr inbounds i8, ptr %7, i64 24
%31 = getelementptr inbounds i8, ptr %7, i64 4
%32 = getelementptr inbounds i8, ptr %7, i64 12
%33 = getelementptr inbounds i8, ptr %7, i64 20
%34 = getelementptr inbounds i8, ptr %7, i64 28
br label %35
35: ; preds = %133, %27
%36 = phi i64 [ %4, %27 ], [ %97, %133 ]
%37 = phi i1 [ false, %27 ], [ true, %133 ]
%38 = phi i32 [ %25, %27 ], [ %122, %133 ]
%39 = phi i32 [ %23, %27 ], [ %120, %133 ]
%40 = phi i32 [ %21, %27 ], [ %119, %133 ]
%41 = phi i32 [ %19, %27 ], [ %118, %133 ]
%42 = phi i32 [ %18, %27 ], [ %51, %133 ]
%43 = phi i32 [ %16, %27 ], [ %55, %133 ]
%44 = phi i32 [ %14, %27 ], [ %61, %133 ]
%45 = phi i32 [ %12, %27 ], [ %68, %133 ]
%46 = phi ptr [ %3, %27 ], [ %96, %133 ]
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
%47 = call i32 @br_swap32(i32 noundef %45) #3
store i32 %47, ptr %7, align 4, !tbaa !12
%48 = call i32 @br_swap32(i32 noundef %44) #3
store i32 %48, ptr %28, align 4, !tbaa !12
%49 = call i32 @br_swap32(i32 noundef %43) #3
store i32 %49, ptr %29, align 4, !tbaa !12
%50 = call i32 @br_swap32(i32 noundef %42) #3
store i32 %50, ptr %30, align 4, !tbaa !12
%51 = add nsw i32 %42, 1
%52 = sub i32 -2, %42
%53 = and i32 %52, %42
%54 = ashr i32 %53, 31
%55 = add nsw i32 %54, %43
%56 = add i32 %55, -1
%57 = xor i32 %55, -1
%58 = and i32 %56, %57
%59 = lshr i32 %58, 31
%60 = and i32 %59, %54
%61 = add nsw i32 %60, %44
%62 = add i32 %61, -1
%63 = xor i32 %61, -1
%64 = and i32 %62, %63
%65 = and i32 %58, %64
%66 = lshr i32 %65, 31
%67 = and i32 %66, %54
%68 = add nsw i32 %67, %45
store i32 %41, ptr %31, align 4, !tbaa !12
store i32 %40, ptr %32, align 4, !tbaa !12
store i32 %39, ptr %33, align 4, !tbaa !12
store i32 %38, ptr %34, align 4, !tbaa !12
%69 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%70 = load i32, ptr %0, align 4, !tbaa !6
%71 = call i32 @br_aes_ct_bitslice_encrypt(i32 noundef %70, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%72 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%73 = call i32 @br_dec32le(ptr noundef %46) #3
%74 = load i32, ptr %7, align 4, !tbaa !12
%75 = xor i32 %74, %73
store i32 %75, ptr %7, align 4, !tbaa !12
%76 = getelementptr inbounds i8, ptr %46, i64 4
%77 = call i32 @br_dec32le(ptr noundef nonnull %76) #3
%78 = load i32, ptr %28, align 4, !tbaa !12
%79 = xor i32 %78, %77
store i32 %79, ptr %28, align 4, !tbaa !12
%80 = getelementptr inbounds i8, ptr %46, i64 8
%81 = call i32 @br_dec32le(ptr noundef nonnull %80) #3
%82 = load i32, ptr %29, align 4, !tbaa !12
%83 = xor i32 %82, %81
store i32 %83, ptr %29, align 4, !tbaa !12
%84 = getelementptr inbounds i8, ptr %46, i64 12
%85 = call i32 @br_dec32le(ptr noundef nonnull %84) #3
%86 = load i32, ptr %30, align 4, !tbaa !12
%87 = xor i32 %86, %85
store i32 %87, ptr %30, align 4, !tbaa !12
%88 = load i32, ptr %7, align 4, !tbaa !12
%89 = call i32 @br_enc32le(ptr noundef %46, i32 noundef %88) #3
%90 = load i32, ptr %28, align 4, !tbaa !12
%91 = call i32 @br_enc32le(ptr noundef nonnull %76, i32 noundef %90) #3
%92 = load i32, ptr %29, align 4, !tbaa !12
%93 = call i32 @br_enc32le(ptr noundef nonnull %80, i32 noundef %92) #3
%94 = load i32, ptr %30, align 4, !tbaa !12
%95 = call i32 @br_enc32le(ptr noundef nonnull %84, i32 noundef %94) #3
%96 = getelementptr inbounds i8, ptr %46, i64 16
%97 = add i64 %36, -16
%98 = load i32, ptr %7, align 4, !tbaa !12
br i1 %37, label %105, label %99
99: ; preds = %35
%100 = xor i32 %98, %41
%101 = load i32, ptr %28, align 4, !tbaa !12
%102 = xor i32 %101, %40
%103 = load i32, ptr %29, align 4, !tbaa !12
%104 = xor i32 %103, %39
br label %115
105: ; preds = %35
%106 = load i32, ptr %31, align 4, !tbaa !12
%107 = xor i32 %106, %98
%108 = load i32, ptr %28, align 4, !tbaa !12
%109 = load i32, ptr %32, align 4, !tbaa !12
%110 = xor i32 %109, %108
%111 = load i32, ptr %29, align 4, !tbaa !12
%112 = load i32, ptr %33, align 4, !tbaa !12
%113 = xor i32 %112, %111
%114 = load i32, ptr %30, align 4, !tbaa !12
br label %115
115: ; preds = %105, %99
%116 = phi ptr [ %34, %105 ], [ %30, %99 ]
%117 = phi i32 [ %114, %105 ], [ %38, %99 ]
%118 = phi i32 [ %107, %105 ], [ %100, %99 ]
%119 = phi i32 [ %110, %105 ], [ %102, %99 ]
%120 = phi i32 [ %113, %105 ], [ %104, %99 ]
%121 = load i32, ptr %116, align 4, !tbaa !12
%122 = xor i32 %121, %117
%123 = icmp eq i64 %97, 0
br i1 %123, label %124, label %133
124: ; preds = %115
store i32 %118, ptr %7, align 4, !tbaa !12
store i32 %119, ptr %28, align 4, !tbaa !12
store i32 %120, ptr %29, align 4, !tbaa !12
store i32 %122, ptr %30, align 4, !tbaa !12
%125 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%126 = load i32, ptr %0, align 4, !tbaa !6
%127 = call i32 @br_aes_ct_bitslice_encrypt(i32 noundef %126, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%128 = call i32 @br_aes_ct_ortho(ptr noundef nonnull %7) #3
%129 = load i32, ptr %7, align 4, !tbaa !12
%130 = load i32, ptr %28, align 4, !tbaa !12
%131 = load i32, ptr %29, align 4, !tbaa !12
%132 = load i32, ptr %30, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
br label %134
133: ; preds = %115
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
br label %35
134: ; preds = %5, %124
%135 = phi i32 [ %68, %124 ], [ %12, %5 ]
%136 = phi i32 [ %61, %124 ], [ %14, %5 ]
%137 = phi i32 [ %55, %124 ], [ %16, %5 ]
%138 = phi i32 [ %51, %124 ], [ %18, %5 ]
%139 = phi i32 [ %129, %124 ], [ %19, %5 ]
%140 = phi i32 [ %130, %124 ], [ %21, %5 ]
%141 = phi i32 [ %131, %124 ], [ %23, %5 ]
%142 = phi i32 [ %132, %124 ], [ %25, %5 ]
%143 = call i32 @br_enc32be(ptr noundef %1, i32 noundef %135) #3
%144 = call i32 @br_enc32be(ptr noundef nonnull %13, i32 noundef %136) #3
%145 = call i32 @br_enc32be(ptr noundef nonnull %15, i32 noundef %137) #3
%146 = call i32 @br_enc32be(ptr noundef nonnull %17, i32 noundef %138) #3
%147 = call i32 @br_enc32le(ptr noundef %2, i32 noundef %139) #3
%148 = call i32 @br_enc32le(ptr noundef nonnull %20, i32 noundef %140) #3
%149 = call i32 @br_enc32le(ptr noundef nonnull %22, i32 noundef %141) #3
%150 = call i32 @br_enc32le(ptr noundef nonnull %24, i32 noundef %142) #3
call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %6) #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 @br_aes_ct_skey_expand(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @br_dec32be(ptr noundef) local_unnamed_addr #2
declare i32 @br_dec32le(ptr noundef) local_unnamed_addr #2
declare i32 @br_swap32(i32 noundef) local_unnamed_addr #2
declare i32 @br_aes_ct_ortho(ptr noundef) local_unnamed_addr #2
declare i32 @br_aes_ct_bitslice_encrypt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @br_enc32le(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
declare i32 @br_enc32be(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
| freebsd_contrib_bearssl_src_symcipher_extr_aes_ct_ctrcbc.c_br_aes_ct_ctrcbc_encrypt |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscMemWordCopyPtrToLram.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscMemWordCopyPtrToLram.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IOP_RAM_DATA = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @AscMemWordCopyPtrToLram], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @AscMemWordCopyPtrToLram(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = tail call i32 @AscSetChipLramAddr(i64 noundef %0, i32 noundef %1) #2
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %24
7: ; preds = %4
%8 = shl nuw nsw i32 %3, 1
%9 = zext nneg i32 %8 to i64
br label %10
10: ; preds = %7, %10
%11 = phi i64 [ 0, %7 ], [ %22, %10 ]
%12 = load i64, ptr @IOP_RAM_DATA, align 8, !tbaa !5
%13 = add nsw i64 %12, %0
%14 = or disjoint i64 %11, 1
%15 = getelementptr inbounds i32, ptr %2, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !9
%17 = shl i32 %16, 8
%18 = getelementptr inbounds i32, ptr %2, i64 %11
%19 = load i32, ptr %18, align 4, !tbaa !9
%20 = or i32 %17, %19
%21 = tail call i32 @outpw(i64 noundef %13, i32 noundef %20) #2
%22 = add nuw nsw i64 %11, 2
%23 = icmp ult i64 %22, %9
br i1 %23, label %10, label %24, !llvm.loop !11
24: ; preds = %10, %4
ret void
}
declare i32 @AscSetChipLramAddr(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outpw(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscMemWordCopyPtrToLram.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscMemWordCopyPtrToLram.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IOP_RAM_DATA = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @AscMemWordCopyPtrToLram], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @AscMemWordCopyPtrToLram(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = tail call i32 @AscSetChipLramAddr(i64 noundef %0, i32 noundef %1) #2
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %24
7: ; preds = %4
%8 = shl nuw nsw i32 %3, 1
%9 = zext nneg i32 %8 to i64
br label %10
10: ; preds = %7, %10
%11 = phi i64 [ 0, %7 ], [ %22, %10 ]
%12 = load i64, ptr @IOP_RAM_DATA, align 8, !tbaa !6
%13 = add nsw i64 %12, %0
%14 = or disjoint i64 %11, 1
%15 = getelementptr inbounds i32, ptr %2, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = shl i32 %16, 8
%18 = getelementptr inbounds i32, ptr %2, i64 %11
%19 = load i32, ptr %18, align 4, !tbaa !10
%20 = or i32 %17, %19
%21 = tail call i32 @outpw(i64 noundef %13, i32 noundef %20) #2
%22 = add nuw nsw i64 %11, 2
%23 = icmp ult i64 %22, %9
br i1 %23, label %10, label %24, !llvm.loop !12
24: ; preds = %10, %4
ret void
}
declare i32 @AscSetChipLramAddr(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outpw(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_scsi_extr_advansys.c_AscMemWordCopyPtrToLram |
; ModuleID = 'AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvCheckItemAvail.c'
source_filename = "AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvCheckItemAvail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i64, i64, i64 }
@rbBYTE_BUFFER_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@pdFALSE = dso_local local_unnamed_addr global i32 0, align 4
@rbBUFFER_FULL_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@pdTRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @prvCheckItemAvail], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @prvCheckItemAvail(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @rbBYTE_BUFFER_FLAG, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp eq i64 %8, %10
br i1 %11, label %12, label %27
12: ; preds = %6, %1
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %12
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = icmp eq i64 %18, %20
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load i32, ptr @rbBUFFER_FULL_FLAG, align 4, !tbaa !11
%24 = and i32 %23, %2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22, %12
br label %27
27: ; preds = %16, %22, %6, %26
%28 = phi ptr [ @pdFALSE, %26 ], [ @pdFALSE, %6 ], [ @pdTRUE, %22 ], [ @pdTRUE, %16 ]
%29 = load i32, ptr %28, align 4, !tbaa !11
ret i32 %29
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 32}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvCheckItemAvail.c'
source_filename = "AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvCheckItemAvail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rbBYTE_BUFFER_FLAG = common local_unnamed_addr global i32 0, align 4
@pdFALSE = common local_unnamed_addr global i32 0, align 4
@rbBUFFER_FULL_FLAG = common local_unnamed_addr global i32 0, align 4
@pdTRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @prvCheckItemAvail], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @prvCheckItemAvail(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @rbBYTE_BUFFER_FLAG, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp eq i64 %8, %10
br i1 %11, label %12, label %27
12: ; preds = %6, %1
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %0, i64 32
%20 = load i64, ptr %19, align 8, !tbaa !16
%21 = icmp eq i64 %18, %20
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load i32, ptr @rbBUFFER_FULL_FLAG, align 4, !tbaa !12
%24 = and i32 %23, %2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22, %12
br label %27
27: ; preds = %16, %22, %6, %26
%28 = phi ptr [ @pdFALSE, %26 ], [ @pdFALSE, %6 ], [ @pdTRUE, %22 ], [ @pdTRUE, %16 ]
%29 = load i32, ptr %28, align 4, !tbaa !12
ret i32 %29
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !11, i64 24}
!16 = !{!7, !11, i64 32}
| esp-idf_components_esp_ringbuf_extr_ringbuf.c_prvCheckItemAvail |
; ModuleID = 'AnghaBench/redis/src/extr_expire.c_activeExpireCycleTryExpire.c'
source_filename = "AnghaBench/redis/src/extr_expire.c_activeExpireCycleTryExpire.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i64 }
@server = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@NOTIFY_EXPIRED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"expired\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @activeExpireCycleTryExpire(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @dictGetSignedIntegerVal(ptr noundef %1) #2
%5 = icmp slt i64 %4, %2
br i1 %5, label %6, label %26
6: ; preds = %3
%7 = tail call i32 @dictGetKey(ptr noundef %1) #2
%8 = tail call i32 @sdslen(i32 noundef %7) #2
%9 = tail call ptr @createStringObject(i32 noundef %7, i32 noundef %8) #2
%10 = load i64, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @server, i64 0, i32 1), align 8, !tbaa !5
%11 = tail call i32 @propagateExpire(ptr noundef %0, ptr noundef %9, i64 noundef %10) #2
%12 = load i64, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @server, i64 0, i32 1), align 8, !tbaa !5
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = tail call i32 @dbAsyncDelete(ptr noundef %0, ptr noundef %9) #2
br label %18
16: ; preds = %6
%17 = tail call i32 @dbSyncDelete(ptr noundef %0, ptr noundef %9) #2
br label %18
18: ; preds = %16, %14
%19 = load i32, ptr @NOTIFY_EXPIRED, align 4, !tbaa !11
%20 = load i32, ptr %0, align 4, !tbaa !12
%21 = tail call i32 @notifyKeyspaceEvent(i32 noundef %19, ptr noundef nonnull @.str, ptr noundef %9, i32 noundef %20) #2
%22 = tail call i32 @trackingInvalidateKey(ptr noundef %9) #2
%23 = tail call i32 @decrRefCount(ptr noundef %9) #2
%24 = load i32, ptr @server, align 8, !tbaa !14
%25 = add nsw i32 %24, 1
store i32 %25, ptr @server, align 8, !tbaa !14
br label %26
26: ; preds = %3, %18
%27 = phi i32 [ 1, %18 ], [ 0, %3 ]
ret i32 %27
}
declare i64 @dictGetSignedIntegerVal(ptr noundef) local_unnamed_addr #1
declare i32 @dictGetKey(ptr noundef) local_unnamed_addr #1
declare ptr @createStringObject(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdslen(i32 noundef) local_unnamed_addr #1
declare i32 @propagateExpire(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dbAsyncDelete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dbSyncDelete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @notifyKeyspaceEvent(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trackingInvalidateKey(ptr noundef) local_unnamed_addr #1
declare i32 @decrRefCount(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 = !{!"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 = !{!13, !7, i64 0}
!13 = !{!"TYPE_7__", !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/redis/src/extr_expire.c_activeExpireCycleTryExpire.c'
source_filename = "AnghaBench/redis/src/extr_expire.c_activeExpireCycleTryExpire.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 { i32, i64 }
@server = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@NOTIFY_EXPIRED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"expired\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @activeExpireCycleTryExpire(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @dictGetSignedIntegerVal(ptr noundef %1) #2
%5 = icmp slt i64 %4, %2
br i1 %5, label %6, label %26
6: ; preds = %3
%7 = tail call i32 @dictGetKey(ptr noundef %1) #2
%8 = tail call i32 @sdslen(i32 noundef %7) #2
%9 = tail call ptr @createStringObject(i32 noundef %7, i32 noundef %8) #2
%10 = load i64, ptr getelementptr inbounds (i8, ptr @server, i64 8), align 8, !tbaa !6
%11 = tail call i32 @propagateExpire(ptr noundef %0, ptr noundef %9, i64 noundef %10) #2
%12 = load i64, ptr getelementptr inbounds (i8, ptr @server, i64 8), align 8, !tbaa !6
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = tail call i32 @dbAsyncDelete(ptr noundef %0, ptr noundef %9) #2
br label %18
16: ; preds = %6
%17 = tail call i32 @dbSyncDelete(ptr noundef %0, ptr noundef %9) #2
br label %18
18: ; preds = %16, %14
%19 = load i32, ptr @NOTIFY_EXPIRED, align 4, !tbaa !12
%20 = load i32, ptr %0, align 4, !tbaa !13
%21 = tail call i32 @notifyKeyspaceEvent(i32 noundef %19, ptr noundef nonnull @.str, ptr noundef %9, i32 noundef %20) #2
%22 = tail call i32 @trackingInvalidateKey(ptr noundef %9) #2
%23 = tail call i32 @decrRefCount(ptr noundef %9) #2
%24 = load i32, ptr @server, align 8, !tbaa !15
%25 = add nsw i32 %24, 1
store i32 %25, ptr @server, align 8, !tbaa !15
br label %26
26: ; preds = %3, %18
%27 = phi i32 [ 1, %18 ], [ 0, %3 ]
ret i32 %27
}
declare i64 @dictGetSignedIntegerVal(ptr noundef) local_unnamed_addr #1
declare i32 @dictGetKey(ptr noundef) local_unnamed_addr #1
declare ptr @createStringObject(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdslen(i32 noundef) local_unnamed_addr #1
declare i32 @propagateExpire(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dbAsyncDelete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dbSyncDelete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @notifyKeyspaceEvent(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trackingInvalidateKey(ptr noundef) local_unnamed_addr #1
declare i32 @decrRefCount(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 = !{!"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 = !{!14, !8, i64 0}
!14 = !{!"TYPE_7__", !8, i64 0}
!15 = !{!7, !8, i64 0}
| redis_src_extr_expire.c_activeExpireCycleTryExpire |
; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_netem.c_tfifo_enqueue.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_netem.c_tfifo_enqueue.c"
target datalayout = "e-m:e-p270:32:32-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.netem_sched_data = type { %struct.TYPE_5__, ptr, ptr }
%struct.TYPE_5__ = type { ptr }
%struct.sk_buff = type { i32, ptr }
%struct.rb_node = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @tfifo_enqueue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tfifo_enqueue(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @qdisc_priv(ptr noundef %1) #2
%4 = tail call ptr @netem_skb_cb(ptr noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.netem_sched_data, ptr %3, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %2
%10 = tail call ptr @netem_skb_cb(ptr noundef nonnull %7) #2
%11 = load i64, ptr %10, align 8, !tbaa !5
%12 = icmp slt i64 %5, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load ptr, ptr %3, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %35, label %25
16: ; preds = %9
%17 = load ptr, ptr %6, align 8, !tbaa !10
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = getelementptr inbounds %struct.sk_buff, ptr %17, i64 0, i32 1
br label %23
21: ; preds = %2, %16
%22 = getelementptr inbounds %struct.netem_sched_data, ptr %3, i64 0, i32 2
br label %23
23: ; preds = %21, %19
%24 = phi ptr [ %22, %21 ], [ %20, %19 ]
store ptr %0, ptr %24, align 8, !tbaa !14
store ptr %0, ptr %6, align 8, !tbaa !10
br label %40
25: ; preds = %13, %25
%26 = phi ptr [ %33, %25 ], [ %14, %13 ]
%27 = tail call ptr @rb_to_skb(ptr noundef nonnull %26) #2
%28 = tail call ptr @netem_skb_cb(ptr noundef %27) #2
%29 = load i64, ptr %28, align 8, !tbaa !5
%30 = icmp slt i64 %5, %29
%31 = getelementptr inbounds %struct.rb_node, ptr %26, i64 0, i32 1
%32 = select i1 %30, ptr %26, ptr %31
%33 = load ptr, ptr %32, align 8, !tbaa !14
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %25, !llvm.loop !15
35: ; preds = %25, %13
%36 = phi ptr [ null, %13 ], [ %26, %25 ]
%37 = phi ptr [ %3, %13 ], [ %32, %25 ]
%38 = tail call i32 @rb_link_node(ptr noundef %0, ptr noundef %36, ptr noundef nonnull %37) #2
%39 = tail call i32 @rb_insert_color(ptr noundef %0, ptr noundef nonnull %3) #2
br label %40
40: ; preds = %35, %23
%41 = load i32, ptr %1, align 4, !tbaa !17
%42 = add nsw i32 %41, 1
store i32 %42, ptr %1, align 4, !tbaa !17
ret void
}
declare ptr @qdisc_priv(ptr noundef) local_unnamed_addr #1
declare ptr @netem_skb_cb(ptr noundef) local_unnamed_addr #1
declare ptr @rb_to_skb(ptr noundef) local_unnamed_addr #1
declare i32 @rb_link_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rb_insert_color(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"netem_sched_data", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !20, i64 0}
!18 = !{!"Qdisc", !19, i64 0}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_netem.c_tfifo_enqueue.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_netem.c_tfifo_enqueue.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 @tfifo_enqueue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tfifo_enqueue(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @qdisc_priv(ptr noundef %1) #2
%4 = tail call ptr @netem_skb_cb(ptr noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %2
%10 = tail call ptr @netem_skb_cb(ptr noundef nonnull %7) #2
%11 = load i64, ptr %10, align 8, !tbaa !6
%12 = icmp slt i64 %5, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load ptr, ptr %3, align 8, !tbaa !15
%15 = icmp eq ptr %14, null
br i1 %15, label %37, label %25
16: ; preds = %9
%17 = load ptr, ptr %6, align 8, !tbaa !11
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = getelementptr inbounds i8, ptr %17, i64 8
br label %23
21: ; preds = %2, %16
%22 = getelementptr inbounds i8, ptr %3, i64 16
br label %23
23: ; preds = %21, %19
%24 = phi ptr [ %22, %21 ], [ %20, %19 ]
store ptr %0, ptr %24, align 8, !tbaa !15
store ptr %0, ptr %6, align 8, !tbaa !11
br label %42
25: ; preds = %13, %25
%26 = phi ptr [ %33, %25 ], [ %14, %13 ]
%27 = tail call ptr @rb_to_skb(ptr noundef nonnull %26) #2
%28 = tail call ptr @netem_skb_cb(ptr noundef %27) #2
%29 = load i64, ptr %28, align 8, !tbaa !6
%30 = icmp slt i64 %5, %29
%31 = select i1 %30, i64 0, i64 8
%32 = getelementptr inbounds i8, ptr %26, i64 %31
%33 = load ptr, ptr %32, align 8, !tbaa !15
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %25, !llvm.loop !16
35: ; preds = %25
%36 = getelementptr inbounds i8, ptr %26, i64 %31
br label %37
37: ; preds = %35, %13
%38 = phi ptr [ null, %13 ], [ %26, %35 ]
%39 = phi ptr [ %3, %13 ], [ %36, %35 ]
%40 = tail call i32 @rb_link_node(ptr noundef %0, ptr noundef %38, ptr noundef nonnull %39) #2
%41 = tail call i32 @rb_insert_color(ptr noundef %0, ptr noundef nonnull %3) #2
br label %42
42: ; preds = %37, %23
%43 = load i32, ptr %1, align 4, !tbaa !18
%44 = add nsw i32 %43, 1
store i32 %44, ptr %1, align 4, !tbaa !18
ret void
}
declare ptr @qdisc_priv(ptr noundef) local_unnamed_addr #1
declare ptr @netem_skb_cb(ptr noundef) local_unnamed_addr #1
declare ptr @rb_to_skb(ptr noundef) local_unnamed_addr #1
declare i32 @rb_link_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rb_insert_color(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"netem_sched_data", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !21, i64 0}
!19 = !{!"Qdisc", !20, i64 0}
!20 = !{!"TYPE_4__", !21, i64 0}
!21 = !{!"int", !9, i64 0}
| linux_net_sched_extr_sch_netem.c_tfifo_enqueue |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_amix.c_frame_list_add_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_amix.c_frame_list_add_frame.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, ptr, i32 }
%struct.TYPE_6__ = type { i32, i32, ptr, ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @frame_list_add_frame], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @frame_list_add_frame(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @av_malloc(i32 noundef 24) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = tail call i32 @AVERROR(i32 noundef %7) #2
br label %28
9: ; preds = %3
store i32 %1, ptr %4, align 8, !tbaa !9
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2
store i32 %2, ptr %10, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
store ptr null, ptr %11, align 8, !tbaa !13
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %9
store ptr %4, ptr %12, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
br label %23
17: ; preds = %9
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !16
%20 = tail call i32 @av_assert0(ptr noundef %19) #2
%21 = load ptr, ptr %18, align 8, !tbaa !16
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i64 0, i32 1
store ptr %4, ptr %22, align 8, !tbaa !13
br label %23
23: ; preds = %17, %15
%24 = phi ptr [ %18, %17 ], [ %16, %15 ]
store ptr %4, ptr %24, align 8, !tbaa !16
%25 = load <2 x i32>, ptr %0, align 8, !tbaa !5
%26 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %1, i64 0
%27 = add nsw <2 x i32> %25, %26
store <2 x i32> %27, ptr %0, align 8, !tbaa !5
br label %28
28: ; preds = %23, %6
%29 = phi i32 [ 0, %23 ], [ %8, %6 ]
ret i32 %29
}
declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @av_assert0(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_7__", !6, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = !{!10, !11, i64 8}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16}
!16 = !{!15, !11, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_amix.c_frame_list_add_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_amix.c_frame_list_add_frame.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @frame_list_add_frame], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @frame_list_add_frame(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @av_malloc(i32 noundef 24) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = tail call i32 @AVERROR(i32 noundef %7) #2
br label %28
9: ; preds = %3
store i32 %1, ptr %4, align 8, !tbaa !10
%10 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %2, ptr %10, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %4, i64 8
store ptr null, ptr %11, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %9
store ptr %4, ptr %12, align 8, !tbaa !15
%16 = getelementptr inbounds i8, ptr %0, i64 8
br label %23
17: ; preds = %9
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = tail call i32 @av_assert0(ptr noundef %19) #2
%21 = load ptr, ptr %18, align 8, !tbaa !17
%22 = getelementptr inbounds i8, ptr %21, i64 8
store ptr %4, ptr %22, align 8, !tbaa !14
br label %23
23: ; preds = %17, %15
%24 = phi ptr [ %18, %17 ], [ %16, %15 ]
store ptr %4, ptr %24, align 8, !tbaa !17
%25 = load <2 x i32>, ptr %0, align 8, !tbaa !6
%26 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %1, i64 0
%27 = add nsw <2 x i32> %25, %26
store <2 x i32> %27, ptr %0, align 8, !tbaa !6
br label %28
28: ; preds = %23, %6
%29 = phi i32 [ 0, %23 ], [ %8, %6 ]
ret i32 %29
}
declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @av_assert0(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_7__", !7, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!11, !12, i64 8}
!15 = !{!16, !12, i64 16}
!16 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16}
!17 = !{!16, !12, i64 8}
| FFmpeg_libavfilter_extr_af_amix.c_frame_list_add_frame |
; ModuleID = 'AnghaBench/linux/sound/synth/emux/extr_soundfont.c_is_identical_font.c'
source_filename = "AnghaBench/linux/sound/synth/emux/extr_soundfont.c_is_identical_font.c"
target datalayout = "e-m:e-p270:32:32-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_soundfont = type { i32, i32 }
@SNDRV_SFNT_PAT_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SFNT_PATCH_NAME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_identical_font], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_identical_font(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @SNDRV_SFNT_PAT_SHARED, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %3
%9 = xor i32 %4, %1
%10 = and i32 %9, 15
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = icmp eq ptr %2, null
br i1 %13, label %21, label %14
14: ; preds = %12
%15 = getelementptr inbounds %struct.snd_soundfont, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = load i32, ptr @SNDRV_SFNT_PATCH_NAME_LEN, align 4, !tbaa !10
%18 = tail call i64 @memcmp(i32 noundef %16, ptr noundef nonnull %2, i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %12, %14, %8, %3
%22 = phi i32 [ 0, %8 ], [ 0, %3 ], [ 1, %12 ], [ %20, %14 ]
ret i32 %22
}
declare i64 @memcmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soundfont", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/synth/emux/extr_soundfont.c_is_identical_font.c'
source_filename = "AnghaBench/linux/sound/synth/emux/extr_soundfont.c_is_identical_font.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_SFNT_PAT_SHARED = common local_unnamed_addr global i32 0, align 4
@SNDRV_SFNT_PATCH_NAME_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_identical_font], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_identical_font(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @SNDRV_SFNT_PAT_SHARED, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %3
%9 = xor i32 %4, %1
%10 = and i32 %9, 15
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = icmp eq ptr %2, null
br i1 %13, label %21, label %14
14: ; preds = %12
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = load i32, ptr @SNDRV_SFNT_PATCH_NAME_LEN, align 4, !tbaa !11
%18 = tail call i64 @memcmp(i32 noundef %16, ptr noundef nonnull %2, i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %12, %14, %8, %3
%22 = phi i32 [ 0, %8 ], [ 0, %3 ], [ 1, %12 ], [ %20, %14 ]
ret i32 %22
}
declare i64 @memcmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soundfont", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| linux_sound_synth_emux_extr_soundfont.c_is_identical_font |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_process_64.c_KSTK_ESP.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_process_64.c_KSTK_ESP.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @KSTK_ESP(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @task_pt_regs(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
ret i64 %3
}
declare ptr @task_pt_regs(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_process_64.c_KSTK_ESP.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_process_64.c_KSTK_ESP.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @KSTK_ESP(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @task_pt_regs(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
ret i64 %3
}
declare ptr @task_pt_regs(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_kernel_extr_process_64.c_KSTK_ESP |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext4/extr_super.c_bdev_try_to_free_page.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_super.c_bdev_try_to_free_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"
@__GFP_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bdev_try_to_free_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bdev_try_to_free_page(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @EXT4_SB(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @PageChecked(ptr noundef %1) #2
%7 = tail call i32 @WARN_ON(i32 noundef %6) #2
%8 = tail call i32 @page_has_buffers(ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = icmp eq ptr %5, null
br i1 %11, label %17, label %12
12: ; preds = %10
%13 = load i32, ptr @__GFP_WAIT, align 4, !tbaa !10
%14 = xor i32 %13, -1
%15 = and i32 %14, %2
%16 = tail call i32 @jbd2_journal_try_to_free_buffers(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %15) #2
br label %19
17: ; preds = %10
%18 = tail call i32 @try_to_free_buffers(ptr noundef %1) #2
br label %19
19: ; preds = %3, %17, %12
%20 = phi i32 [ %16, %12 ], [ %18, %17 ], [ 0, %3 ]
ret i32 %20
}
declare ptr @EXT4_SB(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @PageChecked(ptr noundef) local_unnamed_addr #1
declare i32 @page_has_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @jbd2_journal_try_to_free_buffers(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @try_to_free_buffers(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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/fastsocket/kernel/fs/ext4/extr_super.c_bdev_try_to_free_page.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_super.c_bdev_try_to_free_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__GFP_WAIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bdev_try_to_free_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bdev_try_to_free_page(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @EXT4_SB(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @PageChecked(ptr noundef %1) #2
%7 = tail call i32 @WARN_ON(i32 noundef %6) #2
%8 = tail call i32 @page_has_buffers(ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = icmp eq ptr %5, null
br i1 %11, label %17, label %12
12: ; preds = %10
%13 = load i32, ptr @__GFP_WAIT, align 4, !tbaa !11
%14 = xor i32 %13, -1
%15 = and i32 %14, %2
%16 = tail call i32 @jbd2_journal_try_to_free_buffers(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %15) #2
br label %19
17: ; preds = %10
%18 = tail call i32 @try_to_free_buffers(ptr noundef %1) #2
br label %19
19: ; preds = %3, %17, %12
%20 = phi i32 [ %16, %12 ], [ %18, %17 ], [ 0, %3 ]
ret i32 %20
}
declare ptr @EXT4_SB(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @PageChecked(ptr noundef) local_unnamed_addr #1
declare i32 @page_has_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @jbd2_journal_try_to_free_buffers(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @try_to_free_buffers(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !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}
| fastsocket_kernel_fs_ext4_extr_super.c_bdev_try_to_free_page |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_main.c_signal_handler.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_main.c_signal_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIGHUP = dso_local local_unnamed_addr global i32 0, align 4
@reloading = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @signal_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define internal void @signal_handler(i32 noundef %0) #0 {
%2 = load i32, ptr @SIGHUP, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
br i1 %3, label %4, label %5
4: ; preds = %1
store i32 1, ptr @reloading, align 4, !tbaa !5
br label %5
5: ; preds = %4, %1
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_main.c_signal_handler.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_main.c_signal_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIGHUP = common local_unnamed_addr global i32 0, align 4
@reloading = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @signal_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @signal_handler(i32 noundef %0) #0 {
%2 = load i32, ptr @SIGHUP, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
br i1 %3, label %4, label %5
4: ; preds = %1
store i32 1, ptr @reloading, align 4, !tbaa !6
br label %5
5: ; preds = %4, %1
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| sumatrapdf_mupdf_platform_x11_extr_x11_main.c_signal_handler |
; ModuleID = 'AnghaBench/micropython/ports/esp32/extr_modnetwork.c_event_handler.c'
source_filename = "AnghaBench/micropython/ports/esp32/extr_modnetwork.c_event_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"wifi\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"STA_START\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"network\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"CONNECTED\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"GOT_IP\00", align 1
@wifi_sta_connected = dso_local local_unnamed_addr global i32 0, align 4
@wifi_sta_disconn_reason = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"\0Abeacon timeout\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"\0Ano AP found\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"\0Aauthentication failed\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"STA_DISCONNECTED, reason:%d%s\00", align 1
@wifi_sta_connect_requested = dso_local local_unnamed_addr global i32 0, align 4
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
@WIFI_MODE_STA = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [38 x i8] c"error attempting to reconnect: 0x%04x\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"Got IPv6\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"ethernet\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.15 = private unnamed_addr constant [20 x i8] c"LAN cable connected\00", align 1
@.str.16 = private unnamed_addr constant [23 x i8] c"LAN cable disconnected\00", align 1
@.str.17 = private unnamed_addr constant [7 x i8] c"Got IP\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"event %d\00", align 1
@WIFI_IF_STA = dso_local local_unnamed_addr global i32 0, align 4
@mdns_initialised = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @event_handler], section "llvm.metadata"
@reltable.event_handler = private unnamed_addr constant [3 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.event_handler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.event_handler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.event_handler to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal i32 @event_handler(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %4, label %53 [
i32 131, label %5
i32 134, label %7
i32 132, label %9
i32 133, label %11
i32 135, label %41
i32 137, label %43
i32 136, label %45
i32 140, label %47
i32 139, label %49
i32 138, label %51
]
5: ; preds = %2
%6 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #4
br label %55
7: ; preds = %2
%8 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #4
br label %55
9: ; preds = %2
%10 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.4) #4
store i32 1, ptr @wifi_sta_connected, align 4, !tbaa !12
store i32 0, ptr @wifi_sta_disconn_reason, align 4, !tbaa !12
br label %55
11: ; preds = %2
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !13
store i32 %13, ptr @wifi_sta_disconn_reason, align 4, !tbaa !12
%14 = add i32 %13, -128
%15 = icmp ult i32 %14, 3
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = zext nneg i32 %14 to i64
%18 = shl i64 %17, 2
%19 = call ptr @llvm.load.relative.i64(ptr @reltable.event_handler, i64 %18)
br label %20
20: ; preds = %16, %11
%21 = phi ptr [ @.str.5, %11 ], [ %19, %16 ]
%22 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %21) #4
store i32 0, ptr @wifi_sta_connected, align 4, !tbaa !12
%23 = load i32, ptr @wifi_sta_connect_requested, align 4, !tbaa !12
%24 = icmp eq i32 %23, 0
br i1 %24, label %55, label %25
25: ; preds = %20
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%26 = call i32 @esp_wifi_get_mode(ptr noundef nonnull %3) #4
%27 = load i32, ptr @ESP_OK, align 4, !tbaa !12
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %40
29: ; preds = %25
%30 = load i32, ptr %3, align 4, !tbaa !12
%31 = load i32, ptr @WIFI_MODE_STA, align 4, !tbaa !12
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %40, label %34
34: ; preds = %29
%35 = call i32 (...) @esp_wifi_connect() #4
%36 = load i32, ptr @ESP_OK, align 4, !tbaa !12
%37 = icmp eq i32 %35, %36
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.10, i32 noundef %35) #4
br label %40
40: ; preds = %34, %38, %29, %25
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
br label %55
41: ; preds = %2
%42 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.11) #4
br label %55
43: ; preds = %2
%44 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13) #4
br label %55
45: ; preds = %2
%46 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.14) #4
br label %55
47: ; preds = %2
%48 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.15) #4
br label %55
49: ; preds = %2
%50 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.16) #4
br label %55
51: ; preds = %2
%52 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.17) #4
br label %55
53: ; preds = %2
%54 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.18, i32 noundef %4) #4
br label %55
55: ; preds = %20, %40, %53, %51, %49, %47, %45, %43, %41, %9, %7, %5
%56 = load i32, ptr @ESP_OK, align 4, !tbaa !12
ret i32 %56
}
declare i32 @ESP_LOGI(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @esp_wifi_get_mode(ptr noundef) local_unnamed_addr #1
declare i32 @esp_wifi_connect(...) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"TYPE_7__", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/micropython/ports/esp32/extr_modnetwork.c_event_handler.c'
source_filename = "AnghaBench/micropython/ports/esp32/extr_modnetwork.c_event_handler.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"wifi\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"STA_START\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"network\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"CONNECTED\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"GOT_IP\00", align 1
@wifi_sta_connected = common local_unnamed_addr global i32 0, align 4
@wifi_sta_disconn_reason = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"\0Abeacon timeout\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"\0Ano AP found\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"\0Aauthentication failed\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"STA_DISCONNECTED, reason:%d%s\00", align 1
@wifi_sta_connect_requested = common local_unnamed_addr global i32 0, align 4
@ESP_OK = common local_unnamed_addr global i32 0, align 4
@WIFI_MODE_STA = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [38 x i8] c"error attempting to reconnect: 0x%04x\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"Got IPv6\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"ethernet\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.15 = private unnamed_addr constant [20 x i8] c"LAN cable connected\00", align 1
@.str.16 = private unnamed_addr constant [23 x i8] c"LAN cable disconnected\00", align 1
@.str.17 = private unnamed_addr constant [7 x i8] c"Got IP\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"event %d\00", align 1
@WIFI_IF_STA = common local_unnamed_addr global i32 0, align 4
@mdns_initialised = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @event_handler], section "llvm.metadata"
@switch.table.event_handler = private unnamed_addr constant [3 x ptr] [ptr @.str.7, ptr @.str.6, ptr @.str.8], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @event_handler(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %4, label %53 [
i32 131, label %5
i32 134, label %7
i32 132, label %9
i32 133, label %11
i32 135, label %41
i32 137, label %43
i32 136, label %45
i32 140, label %47
i32 139, label %49
i32 138, label %51
]
5: ; preds = %2
%6 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
br label %55
7: ; preds = %2
%8 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3
br label %55
9: ; preds = %2
%10 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.4) #3
store i32 1, ptr @wifi_sta_connected, align 4, !tbaa !13
store i32 0, ptr @wifi_sta_disconn_reason, align 4, !tbaa !13
br label %55
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %1, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !14
store i32 %13, ptr @wifi_sta_disconn_reason, align 4, !tbaa !13
%14 = add i32 %13, -128
%15 = icmp ult i32 %14, 3
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = zext nneg i32 %14 to i64
%18 = getelementptr inbounds [3 x ptr], ptr @switch.table.event_handler, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
br label %20
20: ; preds = %16, %11
%21 = phi ptr [ @.str.5, %11 ], [ %19, %16 ]
%22 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %21) #3
store i32 0, ptr @wifi_sta_connected, align 4, !tbaa !13
%23 = load i32, ptr @wifi_sta_connect_requested, align 4, !tbaa !13
%24 = icmp eq i32 %23, 0
br i1 %24, label %55, label %25
25: ; preds = %20
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%26 = call i32 @esp_wifi_get_mode(ptr noundef nonnull %3) #3
%27 = load i32, ptr @ESP_OK, align 4, !tbaa !13
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %40
29: ; preds = %25
%30 = load i32, ptr %3, align 4, !tbaa !13
%31 = load i32, ptr @WIFI_MODE_STA, align 4, !tbaa !13
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %40, label %34
34: ; preds = %29
%35 = call i32 @esp_wifi_connect() #3
%36 = load i32, ptr @ESP_OK, align 4, !tbaa !13
%37 = icmp eq i32 %35, %36
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str, ptr noundef nonnull @.str.10, i32 noundef %35) #3
br label %40
40: ; preds = %34, %38, %29, %25
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %55
41: ; preds = %2
%42 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.11) #3
br label %55
43: ; preds = %2
%44 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13) #3
br label %55
45: ; preds = %2
%46 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.14) #3
br label %55
47: ; preds = %2
%48 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.15) #3
br label %55
49: ; preds = %2
%50 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.16) #3
br label %55
51: ; preds = %2
%52 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.17) #3
br label %55
53: ; preds = %2
%54 = tail call i32 (ptr, ptr, ...) @ESP_LOGI(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.18, i32 noundef %4) #3
br label %55
55: ; preds = %20, %40, %53, %51, %49, %47, %45, %43, %41, %9, %7, %5
%56 = load i32, ptr @ESP_OK, align 4, !tbaa !13
ret i32 %56
}
declare i32 @ESP_LOGI(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @esp_wifi_get_mode(ptr noundef) local_unnamed_addr #1
declare i32 @esp_wifi_connect(...) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"TYPE_7__", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !8, i64 0}
| micropython_ports_esp32_extr_modnetwork.c_event_handler |
; ModuleID = 'AnghaBench/seafile/common/extr_vc-common.c_get_file_modifier_mtime_v1.c'
source_filename = "AnghaBench/seafile/common/extr_vc-common.c_get_file_modifier_mtime_v1.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32, i32 }
%struct.TYPE_13__ = type { ptr, ptr }
%struct.TYPE_10__ = type { ptr, ptr, i32 }
@seaf = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Failed to get commit %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"dir %s doesn't exist in repo %s.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_file_modifier_mtime_v1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @get_file_modifier_mtime_v1(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) #0 {
%8 = load ptr, ptr @seaf, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = tail call ptr @seaf_commit_manager_get_commit(i32 noundef %10, ptr noundef %0, i32 noundef %2, ptr noundef %3) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = tail call i32 (ptr, ptr, ...) @seaf_warning(ptr noundef nonnull @.str, ptr noundef %3) #2
br label %57
15: ; preds = %7
%16 = tail call ptr @g_path_get_dirname(ptr noundef %4) #2
%17 = tail call i64 @strcmp(ptr noundef %16, ptr noundef nonnull @.str.1) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = tail call i32 @g_free(ptr noundef %16) #2
%21 = tail call ptr @g_strdup(ptr noundef nonnull @.str.2) #2
br label %22
22: ; preds = %19, %15
%23 = phi ptr [ %21, %19 ], [ %16, %15 ]
%24 = tail call ptr @g_path_get_basename(ptr noundef %4) #2
%25 = load ptr, ptr @seaf, align 8, !tbaa !5
%26 = load i32, ptr %25, align 4, !tbaa !12
%27 = load i32, ptr %11, align 4, !tbaa !13
%28 = tail call ptr @seaf_fs_manager_get_seafdir_by_path(i32 noundef %26, ptr noundef %1, i32 noundef %2, i32 noundef %27, ptr noundef %23, ptr noundef null) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %22
%31 = load ptr, ptr %28, align 8, !tbaa !5
%32 = icmp eq ptr %31, null
br i1 %32, label %51, label %39
33: ; preds = %22
%34 = tail call i32 (ptr, ptr, ...) @seaf_warning(ptr noundef nonnull @.str.3, ptr noundef %23, ptr noundef %0) #2
br label %51
35: ; preds = %39
%36 = getelementptr inbounds %struct.TYPE_13__, ptr %40, i64 0, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !5
%38 = icmp eq ptr %37, null
br i1 %38, label %51, label %39, !llvm.loop !15
39: ; preds = %30, %35
%40 = phi ptr [ %37, %35 ], [ %31, %30 ]
%41 = load ptr, ptr %40, align 8, !tbaa !17
%42 = load ptr, ptr %41, align 8, !tbaa !19
%43 = tail call i64 @strcmp(ptr noundef %42, ptr noundef %24) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %35
45: ; preds = %39
%46 = getelementptr inbounds %struct.TYPE_10__, ptr %41, i64 0, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !21
%48 = tail call ptr @g_strdup(ptr noundef %47) #2
store ptr %48, ptr %5, align 8, !tbaa !5
%49 = getelementptr inbounds %struct.TYPE_10__, ptr %41, i64 0, i32 2
%50 = load i32, ptr %49, align 8, !tbaa !22
store i32 %50, ptr %6, align 4, !tbaa !23
br label %51
51: ; preds = %35, %30, %45, %33
%52 = phi i32 [ 0, %45 ], [ -1, %33 ], [ 0, %30 ], [ 0, %35 ]
%53 = tail call i32 @g_free(ptr noundef %23) #2
%54 = tail call i32 @g_free(ptr noundef %24) #2
%55 = tail call i32 @seaf_commit_unref(ptr noundef nonnull %11) #2
%56 = tail call i32 @seaf_dir_free(ptr noundef %28) #2
br label %57
57: ; preds = %51, %13
%58 = phi i32 [ %52, %51 ], [ -1, %13 ]
ret i32 %58
}
declare ptr @seaf_commit_manager_get_commit(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @seaf_warning(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @g_path_get_dirname(ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_free(ptr noundef) local_unnamed_addr #1
declare ptr @g_strdup(ptr noundef) local_unnamed_addr #1
declare ptr @g_path_get_basename(ptr noundef) local_unnamed_addr #1
declare ptr @seaf_fs_manager_get_seafdir_by_path(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @seaf_commit_unref(ptr noundef) local_unnamed_addr #1
declare i32 @seaf_dir_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"TYPE_14__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_12__", !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_13__", !6, i64 0, !6, i64 8}
!19 = !{!20, !6, i64 0}
!20 = !{!"TYPE_10__", !6, i64 0, !6, i64 8, !11, i64 16}
!21 = !{!20, !6, i64 8}
!22 = !{!20, !11, i64 16}
!23 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/seafile/common/extr_vc-common.c_get_file_modifier_mtime_v1.c'
source_filename = "AnghaBench/seafile/common/extr_vc-common.c_get_file_modifier_mtime_v1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@seaf = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Failed to get commit %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"dir %s doesn't exist in repo %s.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_file_modifier_mtime_v1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @get_file_modifier_mtime_v1(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) #0 {
%8 = load ptr, ptr @seaf, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call ptr @seaf_commit_manager_get_commit(i32 noundef %10, ptr noundef %0, i32 noundef %2, ptr noundef %3) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = tail call i32 (ptr, ptr, ...) @seaf_warning(ptr noundef nonnull @.str, ptr noundef %3) #2
br label %57
15: ; preds = %7
%16 = tail call ptr @g_path_get_dirname(ptr noundef %4) #2
%17 = tail call i64 @strcmp(ptr noundef %16, ptr noundef nonnull @.str.1) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = tail call i32 @g_free(ptr noundef %16) #2
%21 = tail call ptr @g_strdup(ptr noundef nonnull @.str.2) #2
br label %22
22: ; preds = %19, %15
%23 = phi ptr [ %21, %19 ], [ %16, %15 ]
%24 = tail call ptr @g_path_get_basename(ptr noundef %4) #2
%25 = load ptr, ptr @seaf, align 8, !tbaa !6
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = load i32, ptr %11, align 4, !tbaa !14
%28 = tail call ptr @seaf_fs_manager_get_seafdir_by_path(i32 noundef %26, ptr noundef %1, i32 noundef %2, i32 noundef %27, ptr noundef %23, ptr noundef null) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %22
%31 = load ptr, ptr %28, align 8, !tbaa !6
%32 = icmp eq ptr %31, null
br i1 %32, label %51, label %39
33: ; preds = %22
%34 = tail call i32 (ptr, ptr, ...) @seaf_warning(ptr noundef nonnull @.str.3, ptr noundef %23, ptr noundef %0) #2
br label %51
35: ; preds = %39
%36 = getelementptr inbounds i8, ptr %40, i64 8
%37 = load ptr, ptr %36, align 8, !tbaa !6
%38 = icmp eq ptr %37, null
br i1 %38, label %51, label %39, !llvm.loop !16
39: ; preds = %30, %35
%40 = phi ptr [ %37, %35 ], [ %31, %30 ]
%41 = load ptr, ptr %40, align 8, !tbaa !18
%42 = load ptr, ptr %41, align 8, !tbaa !20
%43 = tail call i64 @strcmp(ptr noundef %42, ptr noundef %24) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %35
45: ; preds = %39
%46 = getelementptr inbounds i8, ptr %41, i64 8
%47 = load ptr, ptr %46, align 8, !tbaa !22
%48 = tail call ptr @g_strdup(ptr noundef %47) #2
store ptr %48, ptr %5, align 8, !tbaa !6
%49 = getelementptr inbounds i8, ptr %41, i64 16
%50 = load i32, ptr %49, align 8, !tbaa !23
store i32 %50, ptr %6, align 4, !tbaa !24
br label %51
51: ; preds = %35, %30, %45, %33
%52 = phi i32 [ 0, %45 ], [ -1, %33 ], [ 0, %30 ], [ 0, %35 ]
%53 = tail call i32 @g_free(ptr noundef %23) #2
%54 = tail call i32 @g_free(ptr noundef %24) #2
%55 = tail call i32 @seaf_commit_unref(ptr noundef nonnull %11) #2
%56 = tail call i32 @seaf_dir_free(ptr noundef %28) #2
br label %57
57: ; preds = %51, %13
%58 = phi i32 [ %52, %51 ], [ -1, %13 ]
ret i32 %58
}
declare ptr @seaf_commit_manager_get_commit(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @seaf_warning(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @g_path_get_dirname(ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_free(ptr noundef) local_unnamed_addr #1
declare ptr @g_strdup(ptr noundef) local_unnamed_addr #1
declare ptr @g_path_get_basename(ptr noundef) local_unnamed_addr #1
declare ptr @seaf_fs_manager_get_seafdir_by_path(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @seaf_commit_unref(ptr noundef) local_unnamed_addr #1
declare i32 @seaf_dir_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_14__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_12__", !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_13__", !7, i64 0, !7, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_10__", !7, i64 0, !7, i64 8, !12, i64 16}
!22 = !{!21, !7, i64 8}
!23 = !{!21, !12, i64 16}
!24 = !{!12, !12, i64 0}
| seafile_common_extr_vc-common.c_get_file_modifier_mtime_v1 |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_vdev_missing.c_vdev_missing_open.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_vdev_missing.c_vdev_missing_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @vdev_missing_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef i32 @vdev_missing_open(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
store i64 0, ptr %1, align 8, !tbaa !5
store i64 0, ptr %2, align 8, !tbaa !5
store i64 0, ptr %3, align 8, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_vdev_missing.c_vdev_missing_open.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_vdev_missing.c_vdev_missing_open.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 @vdev_missing_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef i32 @vdev_missing_open(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
store i64 0, ptr %1, align 8, !tbaa !6
store i64 0, ptr %2, align 8, !tbaa !6
store i64 0, ptr %3, align 8, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| zfs_module_zfs_extr_vdev_missing.c_vdev_missing_open |
; ModuleID = 'AnghaBench/h2o/lib/http2/extr_scheduler.c_do_rebind.c'
source_filename = "AnghaBench/h2o/lib/http2/extr_scheduler.c_do_rebind.c"
target datalayout = "e-m:e-p270:32:32-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_12__ = type { i64, %struct.TYPE_11__, i32, i32, i32 }
%struct.TYPE_11__ = type { ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_rebind], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_rebind(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4
%5 = tail call i32 @h2o_linklist_unlink(ptr noundef nonnull %4) #2
%6 = tail call i32 @h2o_linklist_insert(ptr noundef %1, ptr noundef nonnull %4) #2
%7 = load i64, ptr %0, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %20, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3
%11 = tail call i32 @queue_unset(ptr noundef nonnull %10) #2
%12 = tail call i32 @get_queue(ptr noundef %1) #2
%13 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !13
%15 = tail call i32 @queue_set(i32 noundef %12, ptr noundef nonnull %10, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = tail call i32 @decr_active_cnt(ptr noundef %17) #2
%19 = tail call i32 @incr_active_cnt(ptr noundef %1) #2
br label %20
20: ; preds = %9, %3
%21 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
store ptr %1, ptr %21, align 8, !tbaa !14
%22 = icmp eq i32 %2, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = tail call i32 @convert_to_exclusive(ptr noundef %1, ptr noundef nonnull %0) #2
br label %25
25: ; preds = %23, %20
ret void
}
declare i32 @h2o_linklist_unlink(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_insert(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_unset(ptr noundef) local_unnamed_addr #1
declare i32 @queue_set(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_queue(ptr noundef) local_unnamed_addr #1
declare i32 @decr_active_cnt(ptr noundef) local_unnamed_addr #1
declare i32 @incr_active_cnt(ptr noundef) local_unnamed_addr #1
declare i32 @convert_to_exclusive(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_11__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !12, i64 16}
!14 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/h2o/lib/http2/extr_scheduler.c_do_rebind.c'
source_filename = "AnghaBench/h2o/lib/http2/extr_scheduler.c_do_rebind.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 @do_rebind], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_rebind(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = tail call i32 @h2o_linklist_unlink(ptr noundef nonnull %4) #2
%6 = tail call i32 @h2o_linklist_insert(ptr noundef %1, ptr noundef nonnull %4) #2
%7 = load i64, ptr %0, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %20, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 20
%11 = tail call i32 @queue_unset(ptr noundef nonnull %10) #2
%12 = tail call i32 @get_queue(ptr noundef %1) #2
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = tail call i32 @queue_set(i32 noundef %12, ptr noundef nonnull %10, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = tail call i32 @decr_active_cnt(ptr noundef %17) #2
%19 = tail call i32 @incr_active_cnt(ptr noundef %1) #2
br label %20
20: ; preds = %9, %3
%21 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %21, align 8, !tbaa !15
%22 = icmp eq i32 %2, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = tail call i32 @convert_to_exclusive(ptr noundef %1, ptr noundef nonnull %0) #2
br label %25
25: ; preds = %23, %20
ret void
}
declare i32 @h2o_linklist_unlink(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_insert(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_unset(ptr noundef) local_unnamed_addr #1
declare i32 @queue_set(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_queue(ptr noundef) local_unnamed_addr #1
declare i32 @decr_active_cnt(ptr noundef) local_unnamed_addr #1
declare i32 @incr_active_cnt(ptr noundef) local_unnamed_addr #1
declare i32 @convert_to_exclusive(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !13, i64 16, !13, i64 20, !13, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_11__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !13, i64 16}
!15 = !{!7, !12, i64 8}
| h2o_lib_http2_extr_scheduler.c_do_rebind |
; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_tunnel_test.c_server_socket.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_tunnel_test.c_server_socket.c"
target datalayout = "e-m:e-p270:32:32-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_in6 = type { i32, i32, i32, i32 }
@PF_INET6 = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_CLOEXEC = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4
@in6addr_loopback = dso_local local_unnamed_addr global i32 0, align 4
@AF_INET6 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_socket], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @server_socket(ptr nocapture noundef writeonly %0) #0 {
%2 = alloca %struct.sockaddr_in6, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @PF_INET6, align 4, !tbaa !5
%5 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5
%6 = load i32, ptr @SOCK_CLOEXEC, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !5
%9 = tail call i32 @socket(i32 noundef %4, i32 noundef %7, i32 noundef %8) #3
%10 = icmp eq i32 %9, -1
br i1 %10, label %29, label %11
11: ; preds = %1
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !9
%12 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i64 0, i32 1
store i32 0, ptr %12, align 4, !tbaa !11
%13 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i64 0, i32 2
%14 = load i32, ptr @in6addr_loopback, align 4, !tbaa !5
store i32 %14, ptr %13, align 4, !tbaa !12
%15 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i64 0, i32 3
%16 = load i32, ptr @AF_INET6, align 4, !tbaa !5
store i32 %16, ptr %15, align 4, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 16, ptr %3, align 4, !tbaa !5
%17 = call i64 @bind(i32 noundef %9, ptr noundef nonnull %2, i32 noundef 16) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %11
%20 = call i64 @getsockname(i32 noundef %9, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19, %11
%23 = call i32 @vlc_close(i32 noundef %9) #3
br label %27
24: ; preds = %19
%25 = load i32, ptr %12, align 4, !tbaa !11
%26 = call i32 @ntohs(i32 noundef %25) #3
store i32 %26, ptr %0, align 4, !tbaa !5
br label %27
27: ; preds = %24, %22
%28 = phi i32 [ -1, %22 ], [ %9, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
br label %29
29: ; preds = %1, %27
%30 = phi i32 [ %28, %27 ], [ -1, %1 ]
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vlc_close(i32 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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sockaddr_in6", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
| ; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_tunnel_test.c_server_socket.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_tunnel_test.c_server_socket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_in6 = type { i32, i32, i32, i32 }
@PF_INET6 = common local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@SOCK_CLOEXEC = common local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4
@in6addr_loopback = common local_unnamed_addr global i32 0, align 4
@AF_INET6 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @server_socket], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @server_socket(ptr nocapture noundef writeonly %0) #0 {
%2 = alloca %struct.sockaddr_in6, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @PF_INET6, align 4, !tbaa !6
%5 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6
%6 = load i32, ptr @SOCK_CLOEXEC, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !6
%9 = tail call i32 @socket(i32 noundef %4, i32 noundef %7, i32 noundef %8) #3
%10 = icmp eq i32 %9, -1
br i1 %10, label %29, label %11
11: ; preds = %1
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%12 = getelementptr inbounds i8, ptr %2, i64 4
store <2 x i32> zeroinitializer, ptr %2, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = load i32, ptr @in6addr_loopback, align 4, !tbaa !6
store i32 %14, ptr %13, align 8, !tbaa !10
%15 = getelementptr inbounds i8, ptr %2, i64 12
%16 = load i32, ptr @AF_INET6, align 4, !tbaa !6
store i32 %16, ptr %15, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 16, ptr %3, align 4, !tbaa !6
%17 = call i64 @bind(i32 noundef %9, ptr noundef nonnull %2, i32 noundef 16) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %11
%20 = call i64 @getsockname(i32 noundef %9, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19, %11
%23 = call i32 @vlc_close(i32 noundef %9) #3
br label %27
24: ; preds = %19
%25 = load i32, ptr %12, align 4, !tbaa !13
%26 = call i32 @ntohs(i32 noundef %25) #3
store i32 %26, ptr %0, align 4, !tbaa !6
br label %27
27: ; preds = %24, %22
%28 = phi i32 [ -1, %22 ], [ %9, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
br label %29
29: ; preds = %1, %27
%30 = phi i32 [ %28, %27 ], [ -1, %1 ]
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vlc_close(i32 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"}
!10 = !{!11, !7, i64 8}
!11 = !{!"sockaddr_in6", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 12}
!13 = !{!11, !7, i64 4}
| vlc_modules_access_http_extr_tunnel_test.c_server_socket |
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_plx_pci9050.c'
source_filename = "AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_plx_pci9050.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.resource = type { i32, i64, i32 }
@.str = private unnamed_addr constant [68 x i8] c"Re-allocating PLX PCI 9050 BAR %u to length 256 to avoid bit 7 bug\0A\00", align 1
@IORESOURCE_UNSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @quirk_plx_pci9050], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @quirk_plx_pci9050(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 1
br i1 %3, label %36, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
%6 = tail call i32 @pci_resource_len(ptr noundef nonnull %0, i32 noundef 0) #2
%7 = icmp eq i32 %6, 128
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = tail call i32 @pci_resource_start(ptr noundef nonnull %0, i32 noundef 0) #2
%10 = and i32 %9, 128
%11 = icmp eq i32 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %8
%13 = load ptr, ptr %5, align 8, !tbaa !11
%14 = tail call i32 @pci_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 0) #2
%15 = load i32, ptr @IORESOURCE_UNSET, align 4, !tbaa !12
%16 = getelementptr inbounds %struct.resource, ptr %13, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = or i32 %17, %15
store i32 %18, ptr %16, align 8, !tbaa !13
%19 = getelementptr inbounds %struct.resource, ptr %13, i64 0, i32 1
store i64 0, ptr %19, align 8, !tbaa !16
store i32 255, ptr %13, align 8, !tbaa !17
br label %20
20: ; preds = %4, %8, %12
%21 = tail call i32 @pci_resource_len(ptr noundef nonnull %0, i32 noundef 1) #2
%22 = icmp eq i32 %21, 128
br i1 %22, label %23, label %36
23: ; preds = %20
%24 = tail call i32 @pci_resource_start(ptr noundef nonnull %0, i32 noundef 1) #2
%25 = and i32 %24, 128
%26 = icmp eq i32 %25, 0
br i1 %26, label %36, label %27
27: ; preds = %23
%28 = load ptr, ptr %5, align 8, !tbaa !11
%29 = getelementptr inbounds %struct.resource, ptr %28, i64 1
%30 = tail call i32 @pci_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 1) #2
%31 = load i32, ptr @IORESOURCE_UNSET, align 4, !tbaa !12
%32 = getelementptr inbounds %struct.resource, ptr %28, i64 1, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !13
%34 = or i32 %33, %31
store i32 %34, ptr %32, align 8, !tbaa !13
%35 = getelementptr inbounds %struct.resource, ptr %28, i64 1, i32 1
store i64 0, ptr %35, align 8, !tbaa !16
store i32 255, ptr %29, align 8, !tbaa !17
br label %36
36: ; preds = %20, %23, %27, %1
ret void
}
declare i32 @pci_resource_len(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pci_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"resource", !7, i64 0, !15, i64 8, !7, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_plx_pci9050.c'
source_filename = "AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_plx_pci9050.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 [68 x i8] c"Re-allocating PLX PCI 9050 BAR %u to length 256 to avoid bit 7 bug\0A\00", align 1
@IORESOURCE_UNSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @quirk_plx_pci9050], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @quirk_plx_pci9050(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 1
br i1 %3, label %36, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = tail call i32 @pci_resource_len(ptr noundef nonnull %0, i32 noundef 0) #2
%7 = icmp eq i32 %6, 128
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = tail call i32 @pci_resource_start(ptr noundef nonnull %0, i32 noundef 0) #2
%10 = and i32 %9, 128
%11 = icmp eq i32 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %8
%13 = load ptr, ptr %5, align 8, !tbaa !12
%14 = tail call i32 @pci_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 0) #2
%15 = load i32, ptr @IORESOURCE_UNSET, align 4, !tbaa !13
%16 = getelementptr inbounds i8, ptr %13, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = or i32 %17, %15
store i32 %18, ptr %16, align 8, !tbaa !14
%19 = getelementptr inbounds i8, ptr %13, i64 8
store i64 0, ptr %19, align 8, !tbaa !17
store i32 255, ptr %13, align 8, !tbaa !18
br label %20
20: ; preds = %4, %8, %12
%21 = tail call i32 @pci_resource_len(ptr noundef nonnull %0, i32 noundef 1) #2
%22 = icmp eq i32 %21, 128
br i1 %22, label %23, label %36
23: ; preds = %20
%24 = tail call i32 @pci_resource_start(ptr noundef nonnull %0, i32 noundef 1) #2
%25 = and i32 %24, 128
%26 = icmp eq i32 %25, 0
br i1 %26, label %36, label %27
27: ; preds = %23
%28 = load ptr, ptr %5, align 8, !tbaa !12
%29 = getelementptr inbounds i8, ptr %28, i64 24
%30 = tail call i32 @pci_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 1) #2
%31 = load i32, ptr @IORESOURCE_UNSET, align 4, !tbaa !13
%32 = getelementptr inbounds i8, ptr %28, i64 40
%33 = load i32, ptr %32, align 8, !tbaa !14
%34 = or i32 %33, %31
store i32 %34, ptr %32, align 8, !tbaa !14
%35 = getelementptr inbounds i8, ptr %28, i64 32
store i64 0, ptr %35, align 8, !tbaa !17
store i32 255, ptr %29, align 8, !tbaa !18
br label %36
36: ; preds = %20, %23, %27, %1
ret void
}
declare i32 @pci_resource_len(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pci_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 16}
!15 = !{!"resource", !8, i64 0, !16, i64 8, !8, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !8, i64 0}
| linux_drivers_pci_extr_quirks.c_quirk_plx_pci9050 |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_amplc_pci224.c_pci224_ao_inttrig_start.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_amplc_pci224.c_pci224_ao_inttrig_start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, %struct.comedi_cmd }
%struct.comedi_cmd = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci224_ao_inttrig_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pci224_ao_inttrig_start(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = icmp eq i32 %6, %2
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !13
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %3
store ptr null, ptr %4, align 8, !tbaa !14
%12 = tail call i32 @pci224_ao_start(ptr noundef %0, ptr noundef nonnull %1) #2
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %10, %8 ], [ 1, %11 ]
ret i32 %14
}
declare i32 @pci224_ao_start(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 = !{!"comedi_subdevice", !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 = !{!"comedi_cmd", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_amplc_pci224.c_pci224_ao_inttrig_start.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_amplc_pci224.c_pci224_ao_inttrig_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pci224_ao_inttrig_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pci224_ao_inttrig_start(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = icmp eq i32 %6, %2
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !14
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %3
store ptr null, ptr %4, align 8, !tbaa !15
%12 = tail call i32 @pci224_ao_start(ptr noundef %0, ptr noundef nonnull %1) #2
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %10, %8 ], [ 1, %11 ]
ret i32 %14
}
declare i32 @pci224_ao_start(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 = !{!"comedi_subdevice", !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 = !{!"comedi_cmd", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_2__", !8, i64 0, !12, i64 8}
| linux_drivers_staging_comedi_drivers_extr_amplc_pci224.c_pci224_ao_inttrig_start |
; ModuleID = 'AnghaBench/reactos/dll/win32/msxml3/extr_msxml_private.h_return_bstr.c'
source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_msxml_private.h_return_bstr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@E_INVALIDARG = dso_local local_unnamed_addr global i32 0, align 4
@E_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @return_bstr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @return_bstr(ptr noundef %0, ptr noundef writeonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = icmp eq ptr %0, null
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = tail call ptr @SysAllocString(ptr noundef nonnull %0) #2
store ptr %7, ptr %1, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %10
9: ; preds = %4
store ptr null, ptr %1, align 8, !tbaa !5
br label %10
10: ; preds = %6, %9
br label %11
11: ; preds = %6, %2, %10
%12 = phi ptr [ @S_OK, %10 ], [ @E_INVALIDARG, %2 ], [ @E_OUTOFMEMORY, %6 ]
%13 = load i32, ptr %12, align 4, !tbaa !9
ret i32 %13
}
declare ptr @SysAllocString(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msxml3/extr_msxml_private.h_return_bstr.c'
source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_msxml_private.h_return_bstr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_INVALIDARG = common local_unnamed_addr global i32 0, align 4
@E_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @return_bstr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @return_bstr(ptr noundef %0, ptr noundef writeonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = icmp eq ptr %0, null
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = tail call ptr @SysAllocString(ptr noundef nonnull %0) #2
store ptr %7, ptr %1, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %10
9: ; preds = %4
store ptr null, ptr %1, align 8, !tbaa !6
br label %10
10: ; preds = %6, %9
br label %11
11: ; preds = %6, %2, %10
%12 = phi ptr [ @S_OK, %10 ], [ @E_INVALIDARG, %2 ], [ @E_OUTOFMEMORY, %6 ]
%13 = load i32, ptr %12, align 4, !tbaa !10
ret i32 %13
}
declare ptr @SysAllocString(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 = !{!"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}
| reactos_dll_win32_msxml3_extr_msxml_private.h_return_bstr |
; ModuleID = 'AnghaBench/freebsd/sys/dev/tpm/extr_tpm_crb.c_tpmcrb_transmit.c'
source_filename = "AnghaBench/freebsd/sys/dev/tpm/extr_tpm_crb.c_tpmcrb_transmit.c"
target datalayout = "e-m:e-p270:32:32-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.tpm_sc = type { i32, ptr, i32, i32, i32 }
@SA_XLOCKED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Requested transfer is bigger than buffer size\0A\00", align 1
@E2BIG = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS_ERR_BIT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Device has Error bit set\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Failed to obtain locality\0A\00", align 1
@TPM_CRB_CTRL_CANCEL = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_CANCEL_CMD = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS_IDLE_BIT = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_REQ = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_REQ_GO_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@TPM_TIMEOUT_C = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Failed to transition to idle state\0A\00", align 1
@TPM_CRB_CTRL_REQ_GO_READY = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"Failed to transition to ready state\0A\00", align 1
@BUS_SPACE_BARRIER_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_START = dso_local local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_START_CMD = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [49 x i8] c"Timeout while waiting for device to process cmd\0A\00", align 1
@TPM_HEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@TPM_BUFSIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [29 x i8] c"Incorrect response size: %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @tpmcrb_transmit(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 4
%4 = load i32, ptr @SA_XLOCKED, align 4, !tbaa !5
%5 = tail call i32 @sx_assert(ptr noundef nonnull %3, i32 noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !9
%7 = icmp ult i64 %6, %1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @E2BIG, align 4, !tbaa !5
br label %139
13: ; preds = %2
%14 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !5
%15 = tail call i32 @RD4(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @TPM_CRB_CTRL_STS_ERR_BIT, align 4, !tbaa !5
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%21 = load i32, ptr %20, align 4, !tbaa !12
%22 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %21, ptr noundef nonnull @.str.1) #2
%23 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
24: ; preds = %13
%25 = tail call i32 @tpmcrb_request_locality(ptr noundef nonnull %0, i32 noundef 0) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%29 = load i32, ptr %28, align 4, !tbaa !12
%30 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %29, ptr noundef nonnull @.str.2) #2
%31 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
32: ; preds = %24
%33 = load i32, ptr @TPM_CRB_CTRL_CANCEL, align 4, !tbaa !5
%34 = load i32, ptr @TPM_CRB_CTRL_CANCEL_CMD, align 4, !tbaa !5
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = tail call i32 @WR4(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %36) #2
%38 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !5
%39 = tail call i32 @RD4(ptr noundef nonnull %0, i32 noundef %38) #2
%40 = load i32, ptr @TPM_CRB_CTRL_STS_IDLE_BIT, align 4, !tbaa !5
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %57
43: ; preds = %32
%44 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !5
%45 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_IDLE, align 4, !tbaa !5
%46 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45) #2
%47 = load i32, ptr @TPM_CRB_CTRL_STS_IDLE_BIT, align 4, !tbaa !5
%48 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !5
%49 = load i32, ptr @TPM_TIMEOUT_C, align 4, !tbaa !5
%50 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %47, i32 noundef %47, i32 noundef %49) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %43
%53 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%54 = load i32, ptr %53, align 4, !tbaa !12
%55 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %54, ptr noundef nonnull @.str.3) #2
%56 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
57: ; preds = %43, %32
%58 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !5
%59 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_READY, align 4, !tbaa !5
%60 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %59) #2
%61 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_READY, align 4, !tbaa !5
%62 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !5
%63 = icmp eq i32 %61, 0
%64 = zext i1 %63 to i32
%65 = load i32, ptr @TPM_TIMEOUT_C, align 4, !tbaa !5
%66 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %61, i32 noundef %64, i32 noundef %65) #2
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %73
68: ; preds = %57
%69 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%70 = load i32, ptr %69, align 4, !tbaa !12
%71 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %70, ptr noundef nonnull @.str.4) #2
%72 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
73: ; preds = %57
%74 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 1
%75 = load ptr, ptr %74, align 8, !tbaa !15
%76 = getelementptr inbounds i32, ptr %75, i64 6
%77 = load i32, ptr %76, align 4, !tbaa !5
%78 = tail call i32 @be32toh(i32 noundef %77) #2
%79 = tail call i32 @tpm20_get_timeout(i32 noundef %78) #2
%80 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 2
%81 = load i32, ptr %80, align 8, !tbaa !5
%82 = load ptr, ptr %74, align 8, !tbaa !15
%83 = tail call i32 @bus_write_region_stream_1(i32 noundef %81, i32 noundef %81, ptr noundef %82, i64 noundef %1) #2
%84 = load i32, ptr %80, align 8, !tbaa !5
%85 = trunc i64 %1 to i32
%86 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !5
%87 = tail call i32 @bus_barrier(i32 noundef %84, i32 noundef %84, i32 noundef %85, i32 noundef %86) #2
%88 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !5
%89 = load i32, ptr @TPM_CRB_CTRL_START_CMD, align 4, !tbaa !5
%90 = tail call i32 @WR4(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %89) #2
%91 = load i32, ptr %80, align 8, !tbaa !16
%92 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !5
%93 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !5
%94 = tail call i32 @bus_barrier(i32 noundef %91, i32 noundef %92, i32 noundef 4, i32 noundef %93) #2
%95 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !5
%96 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %95, i32 noundef -1, i32 noundef 0, i32 noundef %79) #2
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %106
98: ; preds = %73
%99 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%100 = load i32, ptr %99, align 4, !tbaa !12
%101 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %100, ptr noundef nonnull @.str.5) #2
%102 = tail call i32 @tpmcrb_cancel_cmd(ptr noundef nonnull %0) #2
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %98
%105 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
106: ; preds = %98, %73
%107 = load i32, ptr %80, align 8, !tbaa !16
%108 = load i64, ptr %74, align 8, !tbaa !17
%109 = inttoptr i64 %108 to ptr
%110 = load i32, ptr @TPM_HEADER_SIZE, align 4, !tbaa !5
%111 = tail call i32 @bus_read_region_stream_1(i32 noundef %107, i64 noundef %108, ptr noundef %109, i32 noundef %110) #2
%112 = load ptr, ptr %74, align 8, !tbaa !15
%113 = getelementptr inbounds i32, ptr %112, i64 2
%114 = load i32, ptr %113, align 4, !tbaa !5
%115 = tail call i32 @be32toh(i32 noundef %114) #2
%116 = load i32, ptr @TPM_BUFSIZE, align 4, !tbaa !5
%117 = icmp sgt i32 %115, %116
br i1 %117, label %121, label %118
118: ; preds = %106
%119 = load i32, ptr @TPM_HEADER_SIZE, align 4, !tbaa !5
%120 = icmp slt i32 %115, %119
br i1 %120, label %121, label %126
121: ; preds = %118, %106
%122 = getelementptr inbounds %struct.tpm_sc, ptr %0, i64 0, i32 3
%123 = load i32, ptr %122, align 4, !tbaa !12
%124 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %123, ptr noundef nonnull @.str.6, i32 noundef %115) #2
%125 = load i32, ptr @EIO, align 4, !tbaa !5
br label %139
126: ; preds = %118
%127 = load i32, ptr %80, align 8, !tbaa !16
%128 = load i64, ptr %74, align 8, !tbaa !17
%129 = sext i32 %119 to i64
%130 = add nsw i64 %128, %129
%131 = inttoptr i64 %128 to ptr
%132 = getelementptr inbounds i32, ptr %131, i64 %129
%133 = sub nsw i32 %115, %119
%134 = tail call i32 @bus_read_region_stream_1(i32 noundef %127, i64 noundef %130, ptr noundef %132, i32 noundef %133) #2
%135 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !5
%136 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_IDLE, align 4, !tbaa !5
%137 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %135, i32 noundef %136) #2
%138 = tail call i32 @tpmcrb_relinquish_locality(ptr noundef nonnull %0) #2
store i32 %115, ptr %0, align 8, !tbaa !18
br label %139
139: ; preds = %126, %121, %104, %68, %52, %27, %19, %8
%140 = phi i32 [ %12, %8 ], [ %23, %19 ], [ %125, %121 ], [ 0, %126 ], [ %105, %104 ], [ %72, %68 ], [ %56, %52 ], [ %31, %27 ]
ret i32 %140
}
declare i32 @sx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @RD4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_request_locality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpm_wait_for_u32(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32toh(i32 noundef) local_unnamed_addr #1
declare i32 @tpm20_get_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @bus_write_region_stream_1(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_cancel_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @bus_read_region_stream_1(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_relinquish_locality(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 = !{!"tpmcrb_sc", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 20}
!13 = !{!"tpm_sc", !6, i64 0, !14, i64 8, !6, i64 16, !6, i64 20, !6, i64 24}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !6, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!13, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/tpm/extr_tpm_crb.c_tpmcrb_transmit.c'
source_filename = "AnghaBench/freebsd/sys/dev/tpm/extr_tpm_crb.c_tpmcrb_transmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SA_XLOCKED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Requested transfer is bigger than buffer size\0A\00", align 1
@E2BIG = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS_ERR_BIT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Device has Error bit set\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Failed to obtain locality\0A\00", align 1
@TPM_CRB_CTRL_CANCEL = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_CANCEL_CMD = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_STS_IDLE_BIT = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_REQ = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_REQ_GO_IDLE = common local_unnamed_addr global i32 0, align 4
@TPM_TIMEOUT_C = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Failed to transition to idle state\0A\00", align 1
@TPM_CRB_CTRL_REQ_GO_READY = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"Failed to transition to ready state\0A\00", align 1
@BUS_SPACE_BARRIER_WRITE = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_START = common local_unnamed_addr global i32 0, align 4
@TPM_CRB_CTRL_START_CMD = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [49 x i8] c"Timeout while waiting for device to process cmd\0A\00", align 1
@TPM_HEADER_SIZE = common local_unnamed_addr global i32 0, align 4
@TPM_BUFSIZE = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [29 x i8] c"Incorrect response size: %d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tpmcrb_transmit(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i32, ptr @SA_XLOCKED, align 4, !tbaa !6
%5 = tail call i32 @sx_assert(ptr noundef nonnull %3, i32 noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !10
%7 = icmp ult i64 %6, %1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 20
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @E2BIG, align 4, !tbaa !6
br label %139
13: ; preds = %2
%14 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !6
%15 = tail call i32 @RD4(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @TPM_CRB_CTRL_STS_ERR_BIT, align 4, !tbaa !6
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = getelementptr inbounds i8, ptr %0, i64 20
%21 = load i32, ptr %20, align 4, !tbaa !13
%22 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %21, ptr noundef nonnull @.str.1) #2
%23 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
24: ; preds = %13
%25 = tail call i32 @tpmcrb_request_locality(ptr noundef nonnull %0, i32 noundef 0) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = getelementptr inbounds i8, ptr %0, i64 20
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %29, ptr noundef nonnull @.str.2) #2
%31 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
32: ; preds = %24
%33 = load i32, ptr @TPM_CRB_CTRL_CANCEL, align 4, !tbaa !6
%34 = load i32, ptr @TPM_CRB_CTRL_CANCEL_CMD, align 4, !tbaa !6
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = tail call i32 @WR4(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %36) #2
%38 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !6
%39 = tail call i32 @RD4(ptr noundef nonnull %0, i32 noundef %38) #2
%40 = load i32, ptr @TPM_CRB_CTRL_STS_IDLE_BIT, align 4, !tbaa !6
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %57
43: ; preds = %32
%44 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !6
%45 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_IDLE, align 4, !tbaa !6
%46 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45) #2
%47 = load i32, ptr @TPM_CRB_CTRL_STS_IDLE_BIT, align 4, !tbaa !6
%48 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !6
%49 = load i32, ptr @TPM_TIMEOUT_C, align 4, !tbaa !6
%50 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %47, i32 noundef %47, i32 noundef %49) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %43
%53 = getelementptr inbounds i8, ptr %0, i64 20
%54 = load i32, ptr %53, align 4, !tbaa !13
%55 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %54, ptr noundef nonnull @.str.3) #2
%56 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
57: ; preds = %43, %32
%58 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !6
%59 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_READY, align 4, !tbaa !6
%60 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %59) #2
%61 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_READY, align 4, !tbaa !6
%62 = load i32, ptr @TPM_CRB_CTRL_STS, align 4, !tbaa !6
%63 = icmp eq i32 %61, 0
%64 = zext i1 %63 to i32
%65 = load i32, ptr @TPM_TIMEOUT_C, align 4, !tbaa !6
%66 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %61, i32 noundef %64, i32 noundef %65) #2
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %73
68: ; preds = %57
%69 = getelementptr inbounds i8, ptr %0, i64 20
%70 = load i32, ptr %69, align 4, !tbaa !13
%71 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %70, ptr noundef nonnull @.str.4) #2
%72 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
73: ; preds = %57
%74 = getelementptr inbounds i8, ptr %0, i64 8
%75 = load ptr, ptr %74, align 8, !tbaa !16
%76 = getelementptr inbounds i8, ptr %75, i64 24
%77 = load i32, ptr %76, align 4, !tbaa !6
%78 = tail call i32 @be32toh(i32 noundef %77) #2
%79 = tail call i32 @tpm20_get_timeout(i32 noundef %78) #2
%80 = getelementptr inbounds i8, ptr %0, i64 16
%81 = load i32, ptr %80, align 8, !tbaa !6
%82 = load ptr, ptr %74, align 8, !tbaa !16
%83 = tail call i32 @bus_write_region_stream_1(i32 noundef %81, i32 noundef %81, ptr noundef %82, i64 noundef %1) #2
%84 = load i32, ptr %80, align 8, !tbaa !6
%85 = trunc i64 %1 to i32
%86 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !6
%87 = tail call i32 @bus_barrier(i32 noundef %84, i32 noundef %84, i32 noundef %85, i32 noundef %86) #2
%88 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !6
%89 = load i32, ptr @TPM_CRB_CTRL_START_CMD, align 4, !tbaa !6
%90 = tail call i32 @WR4(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %89) #2
%91 = load i32, ptr %80, align 8, !tbaa !17
%92 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !6
%93 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !6
%94 = tail call i32 @bus_barrier(i32 noundef %91, i32 noundef %92, i32 noundef 4, i32 noundef %93) #2
%95 = load i32, ptr @TPM_CRB_CTRL_START, align 4, !tbaa !6
%96 = tail call i32 @tpm_wait_for_u32(ptr noundef nonnull %0, i32 noundef %95, i32 noundef -1, i32 noundef 0, i32 noundef %79) #2
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %106
98: ; preds = %73
%99 = getelementptr inbounds i8, ptr %0, i64 20
%100 = load i32, ptr %99, align 4, !tbaa !13
%101 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %100, ptr noundef nonnull @.str.5) #2
%102 = tail call i32 @tpmcrb_cancel_cmd(ptr noundef nonnull %0) #2
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %98
%105 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
106: ; preds = %98, %73
%107 = load i32, ptr %80, align 8, !tbaa !17
%108 = load i64, ptr %74, align 8, !tbaa !18
%109 = inttoptr i64 %108 to ptr
%110 = load i32, ptr @TPM_HEADER_SIZE, align 4, !tbaa !6
%111 = tail call i32 @bus_read_region_stream_1(i32 noundef %107, i64 noundef %108, ptr noundef %109, i32 noundef %110) #2
%112 = load ptr, ptr %74, align 8, !tbaa !16
%113 = getelementptr inbounds i8, ptr %112, i64 8
%114 = load i32, ptr %113, align 4, !tbaa !6
%115 = tail call i32 @be32toh(i32 noundef %114) #2
%116 = load i32, ptr @TPM_BUFSIZE, align 4, !tbaa !6
%117 = icmp sgt i32 %115, %116
br i1 %117, label %121, label %118
118: ; preds = %106
%119 = load i32, ptr @TPM_HEADER_SIZE, align 4, !tbaa !6
%120 = icmp slt i32 %115, %119
br i1 %120, label %121, label %126
121: ; preds = %118, %106
%122 = getelementptr inbounds i8, ptr %0, i64 20
%123 = load i32, ptr %122, align 4, !tbaa !13
%124 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %123, ptr noundef nonnull @.str.6, i32 noundef %115) #2
%125 = load i32, ptr @EIO, align 4, !tbaa !6
br label %139
126: ; preds = %118
%127 = load i32, ptr %80, align 8, !tbaa !17
%128 = load i64, ptr %74, align 8, !tbaa !18
%129 = sext i32 %119 to i64
%130 = add nsw i64 %128, %129
%131 = inttoptr i64 %128 to ptr
%132 = getelementptr inbounds i32, ptr %131, i64 %129
%133 = sub nsw i32 %115, %119
%134 = tail call i32 @bus_read_region_stream_1(i32 noundef %127, i64 noundef %130, ptr noundef %132, i32 noundef %133) #2
%135 = load i32, ptr @TPM_CRB_CTRL_REQ, align 4, !tbaa !6
%136 = load i32, ptr @TPM_CRB_CTRL_REQ_GO_IDLE, align 4, !tbaa !6
%137 = tail call i32 @OR4(ptr noundef nonnull %0, i32 noundef %135, i32 noundef %136) #2
%138 = tail call i32 @tpmcrb_relinquish_locality(ptr noundef nonnull %0) #2
store i32 %115, ptr %0, align 8, !tbaa !19
br label %139
139: ; preds = %126, %121, %104, %68, %52, %27, %19, %8
%140 = phi i32 [ %12, %8 ], [ %23, %19 ], [ %125, %121 ], [ 0, %126 ], [ %105, %104 ], [ %72, %68 ], [ %56, %52 ], [ %31, %27 ]
ret i32 %140
}
declare i32 @sx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @RD4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_request_locality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpm_wait_for_u32(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32toh(i32 noundef) local_unnamed_addr #1
declare i32 @tpm20_get_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @bus_write_region_stream_1(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_cancel_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @bus_read_region_stream_1(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpmcrb_relinquish_locality(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 = !{!"tpmcrb_sc", !12, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 20}
!14 = !{!"tpm_sc", !7, i64 0, !15, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !7, i64 16}
!18 = !{!8, !8, i64 0}
!19 = !{!14, !7, i64 0}
| freebsd_sys_dev_tpm_extr_tpm_crb.c_tpmcrb_transmit |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_cc_le_read_white_list_size.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_cc_le_read_white_list_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hci_dev = type { i32, i32 }
%struct.hci_rp_le_read_white_list_size = type { i32, i64 }
@.str = private unnamed_addr constant [26 x i8] c"%s status 0x%2.2x size %u\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hci_cc_le_read_white_list_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hci_cc_le_read_white_list_size(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds %struct.hci_dev, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.hci_rp_le_read_white_list_size, ptr %4, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr %4, align 8, !tbaa !15
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %6, i64 noundef %8, i32 noundef %9) #2
%11 = load i64, ptr %7, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %4, align 8, !tbaa !15
store i32 %14, ptr %0, align 4, !tbaa !16
br label %15
15: ; preds = %2, %13
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 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, !7, i64 0}
!6 = !{!"sk_buff", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"hci_dev", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"hci_rp_le_read_white_list_size", !12, i64 0, !7, i64 8}
!15 = !{!14, !12, i64 0}
!16 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_cc_le_read_white_list_size.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_cc_le_read_white_list_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [26 x i8] c"%s status 0x%2.2x size %u\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hci_cc_le_read_white_list_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hci_cc_le_read_white_list_size(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = load i32, ptr %4, align 8, !tbaa !16
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %6, i64 noundef %8, i32 noundef %9) #2
%11 = load i64, ptr %7, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %4, align 8, !tbaa !16
store i32 %14, ptr %0, align 4, !tbaa !17
br label %15
15: ; preds = %2, %13
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 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, !8, i64 0}
!7 = !{!"sk_buff", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"hci_dev", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"hci_rp_le_read_white_list_size", !13, i64 0, !8, i64 8}
!16 = !{!15, !13, i64 0}
!17 = !{!12, !13, i64 0}
| linux_net_bluetooth_extr_hci_event.c_hci_cc_le_read_white_list_size |
; ModuleID = 'AnghaBench/micropython/ports/stm32/boards/LIMIFROG/extr_board_init.c_LBF_DFU_If_Needed.c'
source_filename = "AnghaBench/micropython/ports/stm32/boards/LIMIFROG/extr_board_init.c_LBF_DFU_If_Needed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@GPIO_MODE_OUTPUT_PP = dso_local local_unnamed_addr global i32 0, align 4
@GPIO_NOPULL = dso_local local_unnamed_addr global i32 0, align 4
@GPIO_SPEED_FREQ_LOW = dso_local local_unnamed_addr global i32 0, align 4
@BT_RST_PIN = dso_local local_unnamed_addr global i32 0, align 4
@BT_RST_PORT = dso_local local_unnamed_addr global i32 0, align 4
@GPIO_MODE_INPUT = dso_local local_unnamed_addr global i32 0, align 4
@GPIO_PULLUP = dso_local local_unnamed_addr global i32 0, align 4
@CONN_POS10_PIN = dso_local local_unnamed_addr global i32 0, align 4
@CONN_POS10_PORT = dso_local local_unnamed_addr global i32 0, align 4
@SYSCFG = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @LBF_DFU_If_Needed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @LBF_DFU_If_Needed() #0 {
%1 = alloca %struct.TYPE_4__, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
%2 = tail call i32 (...) @__HAL_RCC_GPIOC_CLK_ENABLE() #3
%3 = load i32, ptr @GPIO_MODE_OUTPUT_PP, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
store i32 %3, ptr %4, align 4, !tbaa !9
%5 = load i32, ptr @GPIO_NOPULL, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !11
%7 = load i32, ptr @GPIO_SPEED_FREQ_LOW, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
store i32 %7, ptr %8, align 4, !tbaa !12
%9 = load i32, ptr @BT_RST_PIN, align 4, !tbaa !5
store i32 %9, ptr %1, align 4, !tbaa !13
%10 = load i32, ptr @BT_RST_PORT, align 4, !tbaa !5
%11 = call i32 @HAL_GPIO_Init(i32 noundef %10, ptr noundef nonnull %1) #3
%12 = load i32, ptr @BT_RST_PORT, align 4, !tbaa !5
%13 = load i32, ptr @BT_RST_PIN, align 4, !tbaa !5
%14 = call i32 @GPIO_HIGH(i32 noundef %12, i32 noundef %13) #3
%15 = call i32 (...) @__HAL_RCC_GPIOB_CLK_ENABLE() #3
%16 = load i32, ptr @GPIO_MODE_INPUT, align 4, !tbaa !5
store i32 %16, ptr %4, align 4, !tbaa !9
%17 = load i32, ptr @GPIO_PULLUP, align 4, !tbaa !5
store i32 %17, ptr %6, align 4, !tbaa !11
%18 = load i32, ptr @CONN_POS10_PIN, align 4, !tbaa !5
store i32 %18, ptr %1, align 4, !tbaa !13
%19 = load i32, ptr @CONN_POS10_PORT, align 4, !tbaa !5
%20 = call i32 @HAL_GPIO_Init(i32 noundef %19, ptr noundef nonnull %1) #3
%21 = load i32, ptr @CONN_POS10_PORT, align 4, !tbaa !5
%22 = load i32, ptr @CONN_POS10_PIN, align 4, !tbaa !5
%23 = call i64 @IS_GPIO_RESET(i32 noundef %21, i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %0
%26 = load ptr, ptr @SYSCFG, align 8, !tbaa !14
store i32 1, ptr %26, align 4, !tbaa !16
call void asm sideeffect "LDR R0, =0x00000000\0A\09LDR SP,[R0, #0]\0A\09", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !18
call void asm sideeffect "LDR R0,[R0, #4]\0A\09BX R0\0A\09", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !19
br label %27
27: ; preds = %25, %0
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__HAL_RCC_GPIOC_CLK_ENABLE(...) local_unnamed_addr #2
declare i32 @HAL_GPIO_Init(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GPIO_HIGH(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @__HAL_RCC_GPIOB_CLK_ENABLE(...) local_unnamed_addr #2
declare i64 @IS_GPIO_RESET(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 12}
!13 = !{!10, !6, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_5__", !6, i64 0}
!18 = !{i64 2806, i64 2832, i64 2893}
!19 = !{i64 3018, i64 3040, i64 3097}
| ; ModuleID = 'AnghaBench/micropython/ports/stm32/boards/LIMIFROG/extr_board_init.c_LBF_DFU_If_Needed.c'
source_filename = "AnghaBench/micropython/ports/stm32/boards/LIMIFROG/extr_board_init.c_LBF_DFU_If_Needed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@GPIO_MODE_OUTPUT_PP = common local_unnamed_addr global i32 0, align 4
@GPIO_NOPULL = common local_unnamed_addr global i32 0, align 4
@GPIO_SPEED_FREQ_LOW = common local_unnamed_addr global i32 0, align 4
@BT_RST_PIN = common local_unnamed_addr global i32 0, align 4
@BT_RST_PORT = common local_unnamed_addr global i32 0, align 4
@GPIO_MODE_INPUT = common local_unnamed_addr global i32 0, align 4
@GPIO_PULLUP = common local_unnamed_addr global i32 0, align 4
@CONN_POS10_PIN = common local_unnamed_addr global i32 0, align 4
@CONN_POS10_PORT = common local_unnamed_addr global i32 0, align 4
@SYSCFG = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @LBF_DFU_If_Needed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @LBF_DFU_If_Needed() #0 {
%1 = alloca %struct.TYPE_4__, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3
%2 = tail call i32 @__HAL_RCC_GPIOC_CLK_ENABLE() #3
%3 = load i32, ptr @GPIO_MODE_OUTPUT_PP, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = load i32, ptr @GPIO_NOPULL, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = load i32, ptr @GPIO_SPEED_FREQ_LOW, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = load i32, ptr @BT_RST_PIN, align 4, !tbaa !6
store i32 %9, ptr %1, align 4, !tbaa !14
%10 = load i32, ptr @BT_RST_PORT, align 4, !tbaa !6
%11 = call i32 @HAL_GPIO_Init(i32 noundef %10, ptr noundef nonnull %1) #3
%12 = load i32, ptr @BT_RST_PORT, align 4, !tbaa !6
%13 = load i32, ptr @BT_RST_PIN, align 4, !tbaa !6
%14 = call i32 @GPIO_HIGH(i32 noundef %12, i32 noundef %13) #3
%15 = call i32 @__HAL_RCC_GPIOB_CLK_ENABLE() #3
%16 = load i32, ptr @GPIO_MODE_INPUT, align 4, !tbaa !6
store i32 %16, ptr %4, align 4, !tbaa !10
%17 = load i32, ptr @GPIO_PULLUP, align 4, !tbaa !6
store i32 %17, ptr %6, align 4, !tbaa !12
%18 = load i32, ptr @CONN_POS10_PIN, align 4, !tbaa !6
store i32 %18, ptr %1, align 4, !tbaa !14
%19 = load i32, ptr @CONN_POS10_PORT, align 4, !tbaa !6
%20 = call i32 @HAL_GPIO_Init(i32 noundef %19, ptr noundef nonnull %1) #3
%21 = load i32, ptr @CONN_POS10_PORT, align 4, !tbaa !6
%22 = load i32, ptr @CONN_POS10_PIN, align 4, !tbaa !6
%23 = call i64 @IS_GPIO_RESET(i32 noundef %21, i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %0
%26 = load ptr, ptr @SYSCFG, align 8, !tbaa !15
store i32 1, ptr %26, align 4, !tbaa !17
call void asm sideeffect "LDR R0, =0x00000000\0A\09LDR SP,[R0, #0]\0A\09", ""() #3, !srcloc !19
call void asm sideeffect "LDR R0,[R0, #4]\0A\09BX R0\0A\09", ""() #3, !srcloc !20
br label %27
27: ; preds = %25, %0
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__HAL_RCC_GPIOC_CLK_ENABLE(...) local_unnamed_addr #2
declare i32 @HAL_GPIO_Init(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GPIO_HIGH(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @__HAL_RCC_GPIOB_CLK_ENABLE(...) local_unnamed_addr #2
declare i64 @IS_GPIO_RESET(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 12}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
!19 = !{i64 2806, i64 2832, i64 2893}
!20 = !{i64 3018, i64 3040, i64 3097}
| micropython_ports_stm32_boards_LIMIFROG_extr_board_init.c_LBF_DFU_If_Needed |
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_set_datapath.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_set_datapath.c"
target datalayout = "e-m:e-p270:32:32-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.hn_nvs_datapath = type { i32, i32 }
@HN_NVS_TYPE_SET_DATAPATH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @hn_nvs_set_datapath(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.hn_nvs_datapath, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 8) #3
%5 = load i32, ptr @HN_NVS_TYPE_SET_DATAPATH, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.hn_nvs_datapath, ptr %3, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !9
store i32 %1, ptr %3, align 4, !tbaa !11
%7 = call i32 @hn_nvs_req_send(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @hn_nvs_req_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"hn_nvs_datapath", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_set_datapath.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_set_datapath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hn_nvs_datapath = type { i32, i32 }
@HN_NVS_TYPE_SET_DATAPATH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @hn_nvs_set_datapath(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.hn_nvs_datapath, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 8) #3
%5 = load i32, ptr @HN_NVS_TYPE_SET_DATAPATH, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %5, ptr %6, align 4, !tbaa !10
store i32 %1, ptr %3, align 4, !tbaa !12
%7 = call i32 @hn_nvs_req_send(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @hn_nvs_req_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"hn_nvs_datapath", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| freebsd_sys_dev_hyperv_netvsc_extr_hn_nvs.c_hn_nvs_set_datapath |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtmpcrypt.c_rtmpe_read.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtmpcrypt.c_rtmpe_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_6__ = type { i32, i64, ptr }
@AVIO_FLAG_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
@AVERROR_EOF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtmpe_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtmpe_read(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %0, align 8, !tbaa !11
%7 = load i32, ptr @AVIO_FLAG_NONBLOCK, align 4, !tbaa !12
%8 = and i32 %7, %6
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = or i32 %11, %8
store i32 %12, ptr %10, align 4, !tbaa !16
%13 = tail call i32 @ffurl_read(ptr noundef nonnull %10, ptr noundef %1, i32 noundef %2) #2
%14 = load i32, ptr @AVIO_FLAG_NONBLOCK, align 4, !tbaa !12
%15 = xor i32 %14, -1
%16 = load ptr, ptr %9, align 8, !tbaa !13
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = and i32 %17, %15
store i32 %18, ptr %16, align 4, !tbaa !16
%19 = icmp sgt i32 %13, -1
%20 = load i32, ptr @AVERROR_EOF, align 4
%21 = icmp eq i32 %13, %20
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %23, label %31
23: ; preds = %3
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !18
%26 = icmp ne i64 %25, 0
%27 = icmp sgt i32 %13, 0
%28 = and i1 %27, %26
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = tail call i32 @av_rc4_crypt(ptr noundef nonnull %5, ptr noundef %1, ptr noundef %1, i32 noundef %13, ptr noundef null, i32 noundef 1) #2
br label %31
31: ; preds = %23, %29, %3
ret i32 %13
}
declare i32 @ffurl_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_rc4_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"TYPE_6__", !7, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_7__", !7, i64 0}
!18 = !{!14, !15, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtmpcrypt.c_rtmpe_read.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtmpcrypt.c_rtmpe_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVIO_FLAG_NONBLOCK = common local_unnamed_addr global i32 0, align 4
@AVERROR_EOF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtmpe_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rtmpe_read(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr @AVIO_FLAG_NONBLOCK, align 4, !tbaa !13
%8 = and i32 %7, %6
%9 = getelementptr inbounds i8, ptr %5, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = load i32, ptr %10, align 4, !tbaa !17
%12 = or i32 %11, %8
store i32 %12, ptr %10, align 4, !tbaa !17
%13 = tail call i32 @ffurl_read(ptr noundef nonnull %10, ptr noundef %1, i32 noundef %2) #2
%14 = load i32, ptr @AVIO_FLAG_NONBLOCK, align 4, !tbaa !13
%15 = xor i32 %14, -1
%16 = load ptr, ptr %9, align 8, !tbaa !14
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = and i32 %17, %15
store i32 %18, ptr %16, align 4, !tbaa !17
%19 = icmp sgt i32 %13, -1
%20 = load i32, ptr @AVERROR_EOF, align 4
%21 = icmp eq i32 %13, %20
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %23, label %31
23: ; preds = %3
%24 = getelementptr inbounds i8, ptr %5, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !19
%26 = icmp ne i64 %25, 0
%27 = icmp sgt i32 %13, 0
%28 = and i1 %27, %26
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = tail call i32 @av_rc4_crypt(ptr noundef nonnull %5, ptr noundef %1, ptr noundef %1, i32 noundef %13, ptr noundef null, i32 noundef 1) #2
br label %31
31: ; preds = %23, %29, %3
ret i32 %13
}
declare i32 @ffurl_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_rc4_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_6__", !8, i64 0, !16, i64 8, !11, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_7__", !8, i64 0}
!19 = !{!15, !16, i64 8}
| FFmpeg_libavformat_extr_rtmpcrypt.c_rtmpe_read |
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_config-file.c_config_add_item.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_config-file.c_config_add_item.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.config_item = type { i32, i32 }
%struct.dstr = type { i32 }
%struct.strref = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @config_add_item], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @config_add_item(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca %struct.config_item, align 4
%5 = alloca %struct.dstr, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @dstr_init_copy_strref(ptr noundef nonnull %5, ptr noundef %2) #3
%7 = call i32 @unescape(ptr noundef nonnull %5) #3
%8 = getelementptr inbounds %struct.strref, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = load i32, ptr %1, align 4, !tbaa !10
%11 = call i32 @bstrdup_n(i32 noundef %9, i32 noundef %10) #3
%12 = getelementptr inbounds %struct.config_item, ptr %4, i64 0, i32 1
store i32 %11, ptr %12, align 4, !tbaa !11
%13 = load i32, ptr %5, align 4, !tbaa !13
store i32 %13, ptr %4, align 4, !tbaa !15
%14 = call i32 @darray_push_back(i32 noundef 8, ptr noundef %0, ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret 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 @dstr_init_copy_strref(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unescape(ptr noundef) local_unnamed_addr #2
declare i32 @bstrdup_n(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @darray_push_back(i32 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)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"strref", !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 = !{!12, !7, i64 4}
!12 = !{!"config_item", !7, i64 0, !7, i64 4}
!13 = !{!14, !7, i64 0}
!14 = !{!"dstr", !7, i64 0}
!15 = !{!12, !7, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_config-file.c_config_add_item.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_config-file.c_config_add_item.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.config_item = type { i32, i32 }
%struct.dstr = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @config_add_item], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @config_add_item(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca %struct.config_item, align 4
%5 = alloca %struct.dstr, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @dstr_init_copy_strref(ptr noundef nonnull %5, ptr noundef %2) #3
%7 = call i32 @unescape(ptr noundef nonnull %5) #3
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = load i32, ptr %1, align 4, !tbaa !11
%11 = call i32 @bstrdup_n(i32 noundef %9, i32 noundef %10) #3
%12 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %11, ptr %12, align 4, !tbaa !12
%13 = load i32, ptr %5, align 4, !tbaa !14
store i32 %13, ptr %4, align 4, !tbaa !16
%14 = call i32 @darray_push_back(i32 noundef 8, ptr noundef %0, ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret 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 @dstr_init_copy_strref(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unescape(ptr noundef) local_unnamed_addr #2
declare i32 @bstrdup_n(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @darray_push_back(i32 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)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"strref", !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 = !{!13, !8, i64 4}
!13 = !{!"config_item", !8, i64 0, !8, i64 4}
!14 = !{!15, !8, i64 0}
!15 = !{!"dstr", !8, i64 0}
!16 = !{!13, !8, i64 0}
| obs-studio_libobs_util_extr_config-file.c_config_add_item |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_number_written.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_number_written.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @BIO_number_written(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_number_written.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_number_written.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @BIO_number_written(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_crypto_bio_extr_bio_lib.c_BIO_number_written |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_identifiers.c_cpp_lookup.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_identifiers.c_cpp_lookup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HT_ALLOC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @cpp_lookup(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @HT_ALLOC, align 4, !tbaa !10
%6 = tail call i32 @ht_lookup(i32 noundef %4, ptr noundef %1, i32 noundef %2, i32 noundef %5) #2
%7 = tail call ptr @CPP_HASHNODE(i32 noundef %6) #2
ret ptr %7
}
declare ptr @CPP_HASHNODE(i32 noundef) local_unnamed_addr #1
declare i32 @ht_lookup(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_identifiers.c_cpp_lookup.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_identifiers.c_cpp_lookup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HT_ALLOC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cpp_lookup(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @HT_ALLOC, align 4, !tbaa !11
%6 = tail call i32 @ht_lookup(i32 noundef %4, ptr noundef %1, i32 noundef %2, i32 noundef %5) #2
%7 = tail call ptr @CPP_HASHNODE(i32 noundef %6) #2
ret ptr %7
}
declare ptr @CPP_HASHNODE(i32 noundef) local_unnamed_addr #1
declare i32 @ht_lookup(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_contrib_gcclibs_libcpp_extr_identifiers.c_cpp_lookup |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/sys/extr_utl.c_utl_get_device_class.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/sys/extr_utl.c_utl_get_device_class.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @utl_get_device_class(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call ptr (...) @BTM_ReadDeviceClass() #2
%3 = tail call i32 @BTM_COD_SERVICE_CLASS(i32 noundef undef, ptr noundef %2) #2
%4 = tail call i32 @BTM_COD_MINOR_CLASS(ptr noundef undef, ptr noundef %2) #2
%5 = tail call i32 @BTM_COD_MAJOR_CLASS(ptr noundef undef, ptr noundef %2) #2
%6 = load i32, ptr @TRUE, align 4, !tbaa !5
ret i32 %6
}
declare ptr @BTM_ReadDeviceClass(...) local_unnamed_addr #1
declare i32 @BTM_COD_SERVICE_CLASS(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BTM_COD_MINOR_CLASS(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BTM_COD_MAJOR_CLASS(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/esp-idf/components/bt/host/bluedroid/bta/sys/extr_utl.c_utl_get_device_class.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/sys/extr_utl.c_utl_get_device_class.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @utl_get_device_class(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call ptr @BTM_ReadDeviceClass() #2
%3 = tail call i32 @BTM_COD_SERVICE_CLASS(i32 noundef undef, ptr noundef %2) #2
%4 = tail call i32 @BTM_COD_MINOR_CLASS(ptr noundef undef, ptr noundef %2) #2
%5 = tail call i32 @BTM_COD_MAJOR_CLASS(ptr noundef undef, ptr noundef %2) #2
%6 = load i32, ptr @TRUE, align 4, !tbaa !6
ret i32 %6
}
declare ptr @BTM_ReadDeviceClass(...) local_unnamed_addr #1
declare i32 @BTM_COD_SERVICE_CLASS(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BTM_COD_MINOR_CLASS(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BTM_COD_MAJOR_CLASS(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"}
| esp-idf_components_bt_host_bluedroid_bta_sys_extr_utl.c_utl_get_device_class |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hid_liber/keymaps/bakageta/extr_keymap.c_action_get_macro.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hid_liber/keymaps/bakageta/extr_keymap.c_action_get_macro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KC_RSFT = dso_local local_unnamed_addr global i32 0, align 4
@MACRO_NONE = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @action_get_macro(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %5, label %13
5: ; preds = %3
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr @KC_RSFT, align 4, !tbaa !11
br i1 %7, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @register_code(i32 noundef %8) #2
br label %13
11: ; preds = %5
%12 = tail call i32 @unregister_code(i32 noundef %8) #2
br label %13
13: ; preds = %9, %11, %3
%14 = load ptr, ptr @MACRO_NONE, align 8, !tbaa !12
ret ptr %14
}
declare i32 @register_code(i32 noundef) local_unnamed_addr #1
declare i32 @unregister_code(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hid_liber/keymaps/bakageta/extr_keymap.c_action_get_macro.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hid_liber/keymaps/bakageta/extr_keymap.c_action_get_macro.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KC_RSFT = common local_unnamed_addr global i32 0, align 4
@MACRO_NONE = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @action_get_macro(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %5, label %13
5: ; preds = %3
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr @KC_RSFT, align 4, !tbaa !12
br i1 %7, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @register_code(i32 noundef %8) #2
br label %13
11: ; preds = %5
%12 = tail call i32 @unregister_code(i32 noundef %8) #2
br label %13
13: ; preds = %9, %11, %3
%14 = load ptr, ptr @MACRO_NONE, align 8, !tbaa !13
ret ptr %14
}
declare i32 @register_code(i32 noundef) local_unnamed_addr #1
declare i32 @unregister_code(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
| qmk_firmware_keyboards_hid_liber_keymaps_bakageta_extr_keymap.c_action_get_macro |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_workqueue.c_workqueue_stat_headers.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_workqueue.c_workqueue_stat_headers.c"
target datalayout = "e-m:e-p270:32:32-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 [34 x i8] c"# CPU INSERTED EXECUTED NAME\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"# | | | |\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @workqueue_stat_headers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @workqueue_stat_headers(ptr noundef %0) #0 {
%2 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
ret i32 0
}
declare i32 @seq_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_workqueue.c_workqueue_stat_headers.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_workqueue.c_workqueue_stat_headers.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"# CPU INSERTED EXECUTED NAME\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"# | | | |\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @workqueue_stat_headers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @workqueue_stat_headers(ptr noundef %0) #0 {
%2 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
ret i32 0
}
declare i32 @seq_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_kernel_trace_extr_trace_workqueue.c_workqueue_stat_headers |
; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_tpg_add_portal_group.c'
source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_tpg_add_portal_group.c"
target datalayout = "e-m:e-p270:32:32-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.iscsi_portal_group = type { i64, ptr, i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
%struct.iscsi_tiqn = type { i32, i32, i32, i32 }
@TPG_STATE_FREE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [80 x i8] c"Unable to add iSCSI Target Portal Group: %d while not in TPG_STATE_FREE state.\0A\00", align 1
@EEXIST = dso_local local_unnamed_addr global i32 0, align 4
@TPG_STATE_INACTIVE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [53 x i8] c"CORE[%s]_TPG[%hu] - Added iSCSI Target Portal Group\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iscsit_tpg_add_portal_group(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @TPG_STATE_FREE, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 2
%8 = load i32, ptr %7, align 8, !tbaa !14
%9 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr @EEXIST, align 4, !tbaa !15
%11 = sub nsw i32 0, %10
br label %44
12: ; preds = %2
%13 = tail call i32 @iscsit_set_default_tpg_attribs(ptr noundef nonnull %1) #2
%14 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 1
%15 = tail call i64 @iscsi_create_default_params(ptr noundef nonnull %14) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %36, label %17
17: ; preds = %12
%18 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 5
store ptr %1, ptr %18, align 8, !tbaa !16
%19 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 4
%20 = tail call i32 @spin_lock(ptr noundef nonnull %19) #2
%21 = load i64, ptr @TPG_STATE_INACTIVE, align 8, !tbaa !13
store i64 %21, ptr %1, align 8, !tbaa !5
%22 = tail call i32 @spin_unlock(ptr noundef nonnull %19) #2
%23 = tail call i32 @spin_lock(ptr noundef %0) #2
%24 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 3
%25 = getelementptr inbounds %struct.iscsi_tiqn, ptr %0, i64 0, i32 3
%26 = tail call i32 @list_add_tail(ptr noundef nonnull %24, ptr noundef nonnull %25) #2
%27 = getelementptr inbounds %struct.iscsi_tiqn, ptr %0, i64 0, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4, !tbaa !17
%30 = getelementptr inbounds %struct.iscsi_tiqn, ptr %0, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !19
%32 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !14
%34 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %33) #2
%35 = tail call i32 @spin_unlock(ptr noundef %0) #2
br label %44
36: ; preds = %12
%37 = load ptr, ptr %14, align 8, !tbaa !20
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 @iscsi_release_param_list(ptr noundef nonnull %37) #2
store ptr null, ptr %14, align 8, !tbaa !20
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %41, %17, %6
%45 = phi i32 [ %11, %6 ], [ %43, %41 ], [ 0, %17 ]
ret i32 %45
}
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsit_set_default_tpg_attribs(ptr noundef) local_unnamed_addr #1
declare i64 @iscsi_create_default_params(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_release_param_list(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 = !{!"iscsi_portal_group", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !10, i64 32}
!17 = !{!18, !11, i64 8}
!18 = !{!"iscsi_tiqn", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!19 = !{!18, !11, i64 4}
!20 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_tpg_add_portal_group.c'
source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_tpg_add_portal_group.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TPG_STATE_FREE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [80 x i8] c"Unable to add iSCSI Target Portal Group: %d while not in TPG_STATE_FREE state.\0A\00", align 1
@EEXIST = common local_unnamed_addr global i32 0, align 4
@TPG_STATE_INACTIVE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [53 x i8] c"CORE[%s]_TPG[%hu] - Added iSCSI Target Portal Group\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @iscsit_tpg_add_portal_group(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @TPG_STATE_FREE, align 8, !tbaa !14
%5 = icmp eq i64 %3, %4
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 16
%8 = load i32, ptr %7, align 8, !tbaa !15
%9 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr @EEXIST, align 4, !tbaa !16
%11 = sub nsw i32 0, %10
br label %44
12: ; preds = %2
%13 = tail call i32 @iscsit_set_default_tpg_attribs(ptr noundef nonnull %1) #2
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = tail call i64 @iscsi_create_default_params(ptr noundef nonnull %14) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %36, label %17
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %1, ptr %18, align 8, !tbaa !17
%19 = getelementptr inbounds i8, ptr %1, i64 24
%20 = tail call i32 @spin_lock(ptr noundef nonnull %19) #2
%21 = load i64, ptr @TPG_STATE_INACTIVE, align 8, !tbaa !14
store i64 %21, ptr %1, align 8, !tbaa !6
%22 = tail call i32 @spin_unlock(ptr noundef nonnull %19) #2
%23 = tail call i32 @spin_lock(ptr noundef %0) #2
%24 = getelementptr inbounds i8, ptr %1, i64 20
%25 = getelementptr inbounds i8, ptr %0, i64 12
%26 = tail call i32 @list_add_tail(ptr noundef nonnull %24, ptr noundef nonnull %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i32, ptr %27, align 4, !tbaa !18
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4, !tbaa !18
%30 = getelementptr inbounds i8, ptr %0, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !20
%32 = getelementptr inbounds i8, ptr %1, i64 16
%33 = load i32, ptr %32, align 8, !tbaa !15
%34 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %33) #2
%35 = tail call i32 @spin_unlock(ptr noundef %0) #2
br label %44
36: ; preds = %12
%37 = load ptr, ptr %14, align 8, !tbaa !21
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 @iscsi_release_param_list(ptr noundef nonnull %37) #2
store ptr null, ptr %14, align 8, !tbaa !21
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr @ENOMEM, align 4, !tbaa !16
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %41, %17, %6
%45 = phi i32 [ %11, %6 ], [ %43, %41 ], [ 0, %17 ]
ret i32 %45
}
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsit_set_default_tpg_attribs(ptr noundef) local_unnamed_addr #1
declare i64 @iscsi_create_default_params(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_release_param_list(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 = !{!"iscsi_portal_group", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !13, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !11, i64 32}
!18 = !{!19, !12, i64 8}
!19 = !{!"iscsi_tiqn", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!20 = !{!19, !12, i64 4}
!21 = !{!7, !11, i64 8}
| linux_drivers_target_iscsi_extr_iscsi_target_tpg.c_iscsit_tpg_add_portal_group |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/libco/extr_aarch64.c_co_create.c'
source_filename = "AnghaBench/RetroArch/libretro-common/libco/extr_aarch64.c_co_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @co_create(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = add i32 %0, 1023
%4 = and i32 %3, -1024
%5 = or disjoint i32 %4, 512
%6 = tail call i64 @memalign(i32 noundef 1024, i32 noundef %5) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = inttoptr i64 %6 to ptr
%10 = or disjoint i32 %4, 496
%11 = zext i32 %10 to i64
%12 = add i64 %6, %11
%13 = getelementptr inbounds i64, ptr %9, i64 20
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %9, i8 0, i64 152, i1 false)
store i64 %12, ptr %13, align 8, !tbaa !5
%14 = getelementptr inbounds i64, ptr %9, i64 19
store i64 %12, ptr %14, align 8, !tbaa !5
%15 = ptrtoint ptr %1 to i64
%16 = getelementptr inbounds i64, ptr %9, i64 21
store i64 %15, ptr %16, align 8, !tbaa !5
br label %17
17: ; preds = %2, %8
ret i64 %6
}
declare i64 @memalign(i32 noundef, i32 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/libretro-common/libco/extr_aarch64.c_co_create.c'
source_filename = "AnghaBench/RetroArch/libretro-common/libco/extr_aarch64.c_co_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @co_create(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = add i32 %0, 1023
%4 = and i32 %3, -1024
%5 = or disjoint i32 %4, 512
%6 = tail call i64 @memalign(i32 noundef 1024, i32 noundef %5) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = inttoptr i64 %6 to ptr
%10 = or disjoint i32 %4, 496
%11 = zext i32 %10 to i64
%12 = add i64 %6, %11
%13 = getelementptr inbounds i8, ptr %9, i64 160
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %9, i8 0, i64 152, i1 false)
store i64 %12, ptr %13, align 8, !tbaa !6
%14 = getelementptr inbounds i8, ptr %9, i64 152
store i64 %12, ptr %14, align 8, !tbaa !6
%15 = ptrtoint ptr %1 to i64
%16 = getelementptr inbounds i8, ptr %9, i64 168
store i64 %15, ptr %16, align 8, !tbaa !6
br label %17
17: ; preds = %2, %8
ret i64 %6
}
declare i64 @memalign(i32 noundef, i32 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_libretro-common_libco_extr_aarch64.c_co_create |
; ModuleID = 'AnghaBench/freebsd/sys/cam/extr_cam_xpt.c_xptaction.c'
source_filename = "AnghaBench/freebsd/sys/cam/extr_cam_xpt.c_xptaction.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32 }
%struct.ccb_pathinq = type { i32, %struct.TYPE_3__, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_3__ = type { i32 }
%struct.cam_sim = type { ptr, i32, i32 }
@CAM_DEBUG_TRACE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"xptaction\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"FreeBSD\00", align 1
@SIM_IDLEN = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@HBA_IDLEN = dso_local local_unnamed_addr global i32 0, align 4
@DEV_IDLEN = dso_local local_unnamed_addr global i32 0, align 4
@PROTO_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4
@PROTO_VERSION_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4
@XPORT_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4
@XPORT_VERSION_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4
@CAM_REQ_CMP = dso_local local_unnamed_addr global i32 0, align 4
@CAM_REQ_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xptaction], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xptaction(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @CAM_DEBUG_TRACE, align 4, !tbaa !8
%6 = tail call i32 @CAM_DEBUG(i32 noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #3
%7 = load i32, ptr %1, align 4, !tbaa !5
%8 = icmp eq i32 %7, 128
br i1 %8, label %9, label %37
9: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !10
%10 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 12
%11 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 11
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(28) %10, i8 0, i64 28, i1 false)
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = load i32, ptr @SIM_IDLEN, align 4, !tbaa !8
%14 = tail call i32 @strlcpy(i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%15 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 10
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = load i32, ptr @HBA_IDLEN, align 4, !tbaa !8
%18 = tail call i32 @strlcpy(i32 noundef %16, ptr noundef nonnull @.str.2, i32 noundef %17) #3
%19 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 9
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = load ptr, ptr %0, align 8, !tbaa !16
%22 = load i32, ptr @DEV_IDLEN, align 4, !tbaa !8
%23 = tail call i32 @strlcpy(i32 noundef %20, ptr noundef %21, i32 noundef %22) #3
%24 = getelementptr inbounds %struct.cam_sim, ptr %0, i64 0, i32 1
%25 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 7
%26 = load <2 x i32>, ptr %24, align 8, !tbaa !8
store <2 x i32> %26, ptr %25, align 4, !tbaa !8
%27 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 6
store i32 0, ptr %27, align 4, !tbaa !19
%28 = load i32, ptr @PROTO_UNSPECIFIED, align 4, !tbaa !8
%29 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 5
store i32 %28, ptr %29, align 4, !tbaa !20
%30 = load i32, ptr @PROTO_VERSION_UNSPECIFIED, align 4, !tbaa !8
%31 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 4
store i32 %30, ptr %31, align 4, !tbaa !21
%32 = load i32, ptr @XPORT_UNSPECIFIED, align 4, !tbaa !8
%33 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 3
store i32 %32, ptr %33, align 4, !tbaa !22
%34 = load i32, ptr @XPORT_VERSION_UNSPECIFIED, align 4, !tbaa !8
store i32 %34, ptr %3, align 4, !tbaa !23
%35 = load i32, ptr @CAM_REQ_CMP, align 4, !tbaa !8
%36 = getelementptr inbounds %struct.ccb_pathinq, ptr %1, i64 0, i32 1
store i32 %35, ptr %36, align 4, !tbaa !24
br label %40
37: ; preds = %2
%38 = load i32, ptr @CAM_REQ_INVALID, align 4, !tbaa !8
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
store i32 %38, ptr %39, align 4, !tbaa !5
br label %40
40: ; preds = %37, %9
%41 = tail call i32 @xpt_done(ptr noundef nonnull %1) #3
ret void
}
declare i32 @CAM_DEBUG(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xpt_done(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !9, i64 0}
!11 = !{!"ccb_pathinq", !9, i64 0, !12, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44, !9, i64 48, !9, i64 52, !9, i64 56, !9, i64 60, !9, i64 64, !9, i64 68, !9, i64 72}
!12 = !{!"TYPE_3__", !9, i64 0}
!13 = !{!11, !9, i64 44}
!14 = !{!11, !9, i64 40}
!15 = !{!11, !9, i64 36}
!16 = !{!17, !18, i64 0}
!17 = !{!"cam_sim", !18, i64 0, !9, i64 8, !9, i64 12}
!18 = !{!"any pointer", !6, i64 0}
!19 = !{!11, !9, i64 24}
!20 = !{!11, !9, i64 20}
!21 = !{!11, !9, i64 16}
!22 = !{!11, !9, i64 12}
!23 = !{!11, !9, i64 8}
!24 = !{!11, !9, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/cam/extr_cam_xpt.c_xptaction.c'
source_filename = "AnghaBench/freebsd/sys/cam/extr_cam_xpt.c_xptaction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CAM_DEBUG_TRACE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"xptaction\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"FreeBSD\00", align 1
@SIM_IDLEN = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@HBA_IDLEN = common local_unnamed_addr global i32 0, align 4
@DEV_IDLEN = common local_unnamed_addr global i32 0, align 4
@PROTO_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4
@PROTO_VERSION_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4
@XPORT_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4
@XPORT_VERSION_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4
@CAM_REQ_CMP = common local_unnamed_addr global i32 0, align 4
@CAM_REQ_INVALID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xptaction], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xptaction(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @CAM_DEBUG_TRACE, align 4, !tbaa !9
%6 = tail call i32 @CAM_DEBUG(i32 noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #3
%7 = load i32, ptr %1, align 4, !tbaa !6
%8 = icmp eq i32 %7, 128
br i1 %8, label %9, label %35
9: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !11
%10 = getelementptr inbounds i8, ptr %1, i64 48
%11 = getelementptr inbounds i8, ptr %1, i64 44
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(28) %10, i8 0, i64 28, i1 false)
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr @SIM_IDLEN, align 4, !tbaa !9
%14 = tail call i32 @strlcpy(i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%15 = getelementptr inbounds i8, ptr %1, i64 40
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = load i32, ptr @HBA_IDLEN, align 4, !tbaa !9
%18 = tail call i32 @strlcpy(i32 noundef %16, ptr noundef nonnull @.str.2, i32 noundef %17) #3
%19 = getelementptr inbounds i8, ptr %1, i64 36
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = load ptr, ptr %0, align 8, !tbaa !17
%22 = load i32, ptr @DEV_IDLEN, align 4, !tbaa !9
%23 = tail call i32 @strlcpy(i32 noundef %20, ptr noundef %21, i32 noundef %22) #3
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = getelementptr inbounds i8, ptr %1, i64 28
%26 = load <2 x i32>, ptr %24, align 8, !tbaa !9
store <2 x i32> %26, ptr %25, align 4, !tbaa !9
%27 = getelementptr inbounds i8, ptr %1, i64 24
store i32 0, ptr %27, align 4, !tbaa !20
%28 = load i32, ptr @PROTO_UNSPECIFIED, align 4, !tbaa !9
%29 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %28, ptr %29, align 4, !tbaa !21
%30 = load i32, ptr @PROTO_VERSION_UNSPECIFIED, align 4, !tbaa !9
%31 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %30, ptr %31, align 4, !tbaa !22
%32 = load i32, ptr @XPORT_UNSPECIFIED, align 4, !tbaa !9
%33 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %32, ptr %33, align 4, !tbaa !23
%34 = load i32, ptr @XPORT_VERSION_UNSPECIFIED, align 4, !tbaa !9
store i32 %34, ptr %3, align 4, !tbaa !24
br label %35
35: ; preds = %2, %9
%36 = phi ptr [ @CAM_REQ_CMP, %9 ], [ @CAM_REQ_INVALID, %2 ]
%37 = load i32, ptr %36, align 4, !tbaa !9
%38 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %37, ptr %38, align 4, !tbaa !6
%39 = tail call i32 @xpt_done(ptr noundef nonnull %1) #3
ret void
}
declare i32 @CAM_DEBUG(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xpt_done(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"ccb_pathinq", !10, i64 0, !13, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72}
!13 = !{!"TYPE_3__", !10, i64 0}
!14 = !{!12, !10, i64 44}
!15 = !{!12, !10, i64 40}
!16 = !{!12, !10, i64 36}
!17 = !{!18, !19, i64 0}
!18 = !{!"cam_sim", !19, i64 0, !10, i64 8, !10, i64 12}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!12, !10, i64 24}
!21 = !{!12, !10, i64 20}
!22 = !{!12, !10, i64 16}
!23 = !{!12, !10, i64 12}
!24 = !{!12, !10, i64 8}
| freebsd_sys_cam_extr_cam_xpt.c_xptaction |
; ModuleID = 'AnghaBench/linux/sound/soc/atmel/extr_atmel-pcm-dma.c_atmel_pcm_dma_irq.c'
source_filename = "AnghaBench/linux/sound/soc/atmel/extr_atmel-pcm-dma.c_atmel_pcm_dma_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.snd_pcm_substream = type { i64, ptr }
%struct.atmel_pcm_dma_params = type { ptr, ptr, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@.str = private unnamed_addr constant [41 x i8] c"atmel-pcm: buffer %s on %s (SSC_SR=%#x)\0A\00", align 1
@SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"underrun\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"overrun\00", align 1
@SSC_CR = dso_local local_unnamed_addr global i32 0, align 4
@SSC_RHR = dso_local local_unnamed_addr global i32 0, align 4
@SSC_SR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_pcm_dma_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @atmel_pcm_dma_irq(i32 noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.snd_pcm_substream, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @snd_soc_dai_get_dma_data(i32 noundef %5, ptr noundef %1) #2
%7 = getelementptr inbounds %struct.atmel_pcm_dma_params, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = and i32 %9, %0
%11 = icmp eq i32 %10, 0
br i1 %11, label %40, label %12
12: ; preds = %2
%13 = tail call i64 @snd_pcm_running(ptr noundef nonnull %1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %12
%16 = load i64, ptr %1, align 8, !tbaa !18
%17 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !19
%18 = icmp eq i64 %16, %17
%19 = select i1 %18, ptr @.str.1, ptr @.str.2
%20 = getelementptr inbounds %struct.atmel_pcm_dma_params, ptr %6, i64 0, i32 2
%21 = load i32, ptr %20, align 8, !tbaa !20
%22 = tail call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %19, i32 noundef %21, i32 noundef %0) #2
br label %23
23: ; preds = %15, %12
%24 = load ptr, ptr %6, align 8, !tbaa !21
%25 = load i32, ptr %24, align 4, !tbaa !22
%26 = load i32, ptr @SSC_CR, align 4, !tbaa !24
%27 = load ptr, ptr %7, align 8, !tbaa !14
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !25
%30 = tail call i32 @ssc_writex(i32 noundef %25, i32 noundef %26, i32 noundef %29) #2
%31 = tail call i32 @snd_pcm_stop_xrun(ptr noundef nonnull %1) #2
%32 = load ptr, ptr %6, align 8, !tbaa !21
%33 = load i32, ptr %32, align 4, !tbaa !22
%34 = load i32, ptr @SSC_RHR, align 4, !tbaa !24
%35 = tail call i32 @ssc_readx(i32 noundef %33, i32 noundef %34) #2
%36 = load ptr, ptr %6, align 8, !tbaa !21
%37 = load i32, ptr %36, align 4, !tbaa !22
%38 = load i32, ptr @SSC_SR, align 4, !tbaa !24
%39 = tail call i32 @ssc_readx(i32 noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %23, %2
ret void
}
declare ptr @snd_soc_dai_get_dma_data(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @snd_pcm_running(ptr noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ssc_writex(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_stop_xrun(ptr noundef) local_unnamed_addr #1
declare i32 @ssc_readx(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, !10, i64 8}
!6 = !{!"snd_pcm_substream", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"snd_soc_pcm_runtime", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !10, i64 8}
!15 = !{!"atmel_pcm_dma_params", !10, i64 0, !10, i64 8, !13, i64 16}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_3__", !13, i64 0, !13, i64 4}
!18 = !{!6, !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!15, !13, i64 16}
!21 = !{!15, !10, i64 0}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_4__", !13, i64 0}
!24 = !{!13, !13, i64 0}
!25 = !{!17, !13, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/soc/atmel/extr_atmel-pcm-dma.c_atmel_pcm_dma_irq.c'
source_filename = "AnghaBench/linux/sound/soc/atmel/extr_atmel-pcm-dma.c_atmel_pcm_dma_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [41 x i8] c"atmel-pcm: buffer %s on %s (SSC_SR=%#x)\0A\00", align 1
@SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"underrun\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"overrun\00", align 1
@SSC_CR = common local_unnamed_addr global i32 0, align 4
@SSC_RHR = common local_unnamed_addr global i32 0, align 4
@SSC_SR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atmel_pcm_dma_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @atmel_pcm_dma_irq(i32 noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call ptr @snd_soc_dai_get_dma_data(i32 noundef %5, ptr noundef %1) #2
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = load i32, ptr %8, align 4, !tbaa !17
%10 = and i32 %9, %0
%11 = icmp eq i32 %10, 0
br i1 %11, label %40, label %12
12: ; preds = %2
%13 = tail call i64 @snd_pcm_running(ptr noundef nonnull %1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %23, label %15
15: ; preds = %12
%16 = load i64, ptr %1, align 8, !tbaa !19
%17 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !20
%18 = icmp eq i64 %16, %17
%19 = select i1 %18, ptr @.str.1, ptr @.str.2
%20 = getelementptr inbounds i8, ptr %6, i64 16
%21 = load i32, ptr %20, align 8, !tbaa !21
%22 = tail call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %19, i32 noundef %21, i32 noundef %0) #2
br label %23
23: ; preds = %15, %12
%24 = load ptr, ptr %6, align 8, !tbaa !22
%25 = load i32, ptr %24, align 4, !tbaa !23
%26 = load i32, ptr @SSC_CR, align 4, !tbaa !25
%27 = load ptr, ptr %7, align 8, !tbaa !15
%28 = getelementptr inbounds i8, ptr %27, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !26
%30 = tail call i32 @ssc_writex(i32 noundef %25, i32 noundef %26, i32 noundef %29) #2
%31 = tail call i32 @snd_pcm_stop_xrun(ptr noundef nonnull %1) #2
%32 = load ptr, ptr %6, align 8, !tbaa !22
%33 = load i32, ptr %32, align 4, !tbaa !23
%34 = load i32, ptr @SSC_RHR, align 4, !tbaa !25
%35 = tail call i32 @ssc_readx(i32 noundef %33, i32 noundef %34) #2
%36 = load ptr, ptr %6, align 8, !tbaa !22
%37 = load i32, ptr %36, align 4, !tbaa !23
%38 = load i32, ptr @SSC_SR, align 4, !tbaa !25
%39 = tail call i32 @ssc_readx(i32 noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %23, %2
ret void
}
declare ptr @snd_soc_dai_get_dma_data(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @snd_pcm_running(ptr noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ssc_writex(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_stop_xrun(ptr noundef) local_unnamed_addr #1
declare i32 @ssc_readx(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, !11, i64 8}
!7 = !{!"snd_pcm_substream", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"snd_soc_pcm_runtime", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !11, i64 8}
!16 = !{!"atmel_pcm_dma_params", !11, i64 0, !11, i64 8, !14, i64 16}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_3__", !14, i64 0, !14, i64 4}
!19 = !{!7, !8, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{!16, !14, i64 16}
!22 = !{!16, !11, i64 0}
!23 = !{!24, !14, i64 0}
!24 = !{!"TYPE_4__", !14, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!18, !14, i64 4}
| linux_sound_soc_atmel_extr_atmel-pcm-dma.c_atmel_pcm_dma_irq |
; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_perm.c_acl_clear_perms.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_perm.c_acl_clear_perms.c"
target datalayout = "e-m:e-p270:32:32-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
@errno = dso_local local_unnamed_addr global i32 0, align 4
@ACL_PERM_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define dso_local noundef i32 @acl_clear_perms(ptr noundef writeonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @errno, ptr %0
%4 = sext i1 %2 to i32
%5 = load i32, ptr @EINVAL, align 4
%6 = load i32, ptr @ACL_PERM_NONE, align 4
%7 = select i1 %2, i32 %5, i32 %6
store i32 %7, ptr %3, align 4, !tbaa !5
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_perm.c_acl_clear_perms.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_perm.c_acl_clear_perms.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
@errno = common local_unnamed_addr global i32 0, align 4
@ACL_PERM_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define range(i32 -1, 1) i32 @acl_clear_perms(ptr noundef writeonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @errno, ptr %0
%4 = sext i1 %2 to i32
%5 = load i32, ptr @EINVAL, align 4
%6 = load i32, ptr @ACL_PERM_NONE, align 4
%7 = select i1 %2, i32 %5, i32 %6
store i32 %7, ptr %3, align 4, !tbaa !6
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_lib_libc_posix1e_extr_acl_perm.c_acl_clear_perms |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_dumpstack.c_oops_begin.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_dumpstack.c_oops_begin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@die_lock = dso_local global i32 0, align 4
@die_owner = dso_local local_unnamed_addr global i32 0, align 4
@die_nest_count = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @oops_begin() local_unnamed_addr #0 {
%1 = tail call i32 (...) @oops_enter() #2
%2 = tail call i32 @raw_local_irq_save(i64 noundef undef) #2
%3 = tail call i32 (...) @smp_processor_id() #2
%4 = tail call i32 @arch_spin_trylock(ptr noundef nonnull @die_lock) #2
%5 = icmp ne i32 %4, 0
%6 = load i32, ptr @die_owner, align 4
%7 = icmp eq i32 %3, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %11, label %9
9: ; preds = %0
%10 = tail call i32 @arch_spin_lock(ptr noundef nonnull @die_lock) #2
br label %11
11: ; preds = %9, %0
%12 = load i32, ptr @die_nest_count, align 4, !tbaa !5
%13 = add nsw i32 %12, 1
store i32 %13, ptr @die_nest_count, align 4, !tbaa !5
store i32 %3, ptr @die_owner, align 4, !tbaa !5
%14 = tail call i32 (...) @console_verbose() #2
%15 = tail call i32 @bust_spinlocks(i32 noundef 1) #2
ret i64 undef
}
declare i32 @oops_enter(...) local_unnamed_addr #1
declare i32 @raw_local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @arch_spin_trylock(ptr noundef) local_unnamed_addr #1
declare i32 @arch_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @console_verbose(...) local_unnamed_addr #1
declare i32 @bust_spinlocks(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_dumpstack.c_oops_begin.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_dumpstack.c_oops_begin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@die_lock = common global i32 0, align 4
@die_owner = common local_unnamed_addr global i32 0, align 4
@die_nest_count = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @oops_begin() local_unnamed_addr #0 {
%1 = tail call i32 @oops_enter() #2
%2 = tail call i32 @raw_local_irq_save(i64 noundef undef) #2
%3 = tail call i32 @smp_processor_id() #2
%4 = tail call i32 @arch_spin_trylock(ptr noundef nonnull @die_lock) #2
%5 = icmp ne i32 %4, 0
%6 = load i32, ptr @die_owner, align 4
%7 = icmp eq i32 %3, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %11, label %9
9: ; preds = %0
%10 = tail call i32 @arch_spin_lock(ptr noundef nonnull @die_lock) #2
br label %11
11: ; preds = %9, %0
%12 = load i32, ptr @die_nest_count, align 4, !tbaa !6
%13 = add nsw i32 %12, 1
store i32 %13, ptr @die_nest_count, align 4, !tbaa !6
store i32 %3, ptr @die_owner, align 4, !tbaa !6
%14 = tail call i32 @console_verbose() #2
%15 = tail call i32 @bust_spinlocks(i32 noundef 1) #2
ret i64 undef
}
declare i32 @oops_enter(...) local_unnamed_addr #1
declare i32 @raw_local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @arch_spin_trylock(ptr noundef) local_unnamed_addr #1
declare i32 @arch_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @console_verbose(...) local_unnamed_addr #1
declare i32 @bust_spinlocks(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_kernel_extr_dumpstack.c_oops_begin |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/swig/extr_libwebp_java_wrap.c_SWIG_JavaArrayInLong.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/swig/extr_libwebp_java_wrap.c_SWIG_JavaArrayInLong.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr }
@SWIG_JavaNullPointerException = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"null array\00", align 1
@SWIG_JavaOutOfMemoryError = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"array memory allocation failed\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @SWIG_JavaArrayInLong(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %3, 0
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @SWIG_JavaNullPointerException, align 4, !tbaa !5
%8 = tail call i32 @SWIG_JavaThrowException(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str) #2
br label %85
9: ; preds = %4
%10 = load ptr, ptr %0, align 8, !tbaa !9
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = tail call i32 %11(ptr noundef nonnull %0, i32 noundef %3) #2
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = tail call ptr %15(ptr noundef nonnull %0, i32 noundef %3, i32 noundef 0) #2
store ptr %16, ptr %1, align 8, !tbaa !9
%17 = icmp eq ptr %16, null
br i1 %17, label %85, label %18
18: ; preds = %9
%19 = tail call i64 @calloc(i32 noundef %12, i32 noundef 8) #2
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8, !tbaa !9
%21 = icmp eq i64 %19, 0
br i1 %21, label %63, label %22
22: ; preds = %18
%23 = icmp sgt i32 %12, 0
br i1 %23, label %24, label %85
24: ; preds = %22
%25 = load ptr, ptr %1, align 8, !tbaa !9
%26 = zext nneg i32 %12 to i64
%27 = icmp ult i32 %12, 6
%28 = ptrtoint ptr %25 to i64
%29 = sub i64 %19, %28
%30 = icmp ult i64 %29, 32
%31 = select i1 %27, i1 true, i1 %30
br i1 %31, label %46, label %32
32: ; preds = %24
%33 = and i64 %26, 2147483644
br label %34
34: ; preds = %34, %32
%35 = phi i64 [ 0, %32 ], [ %42, %34 ]
%36 = getelementptr inbounds i64, ptr %25, i64 %35
%37 = getelementptr inbounds i64, ptr %36, i64 2
%38 = load <2 x i64>, ptr %36, align 8, !tbaa !14
%39 = load <2 x i64>, ptr %37, align 8, !tbaa !14
%40 = getelementptr inbounds i64, ptr %20, i64 %35
%41 = getelementptr inbounds i64, ptr %40, i64 2
store <2 x i64> %38, ptr %40, align 8, !tbaa !14
store <2 x i64> %39, ptr %41, align 8, !tbaa !14
%42 = add nuw i64 %35, 4
%43 = icmp eq i64 %42, %33
br i1 %43, label %44, label %34, !llvm.loop !16
44: ; preds = %34
%45 = icmp eq i64 %33, %26
br i1 %45, label %85, label %46
46: ; preds = %24, %44
%47 = phi i64 [ 0, %24 ], [ %33, %44 ]
%48 = and i64 %26, 3
%49 = icmp eq i64 %48, 0
br i1 %49, label %59, label %50
50: ; preds = %46, %50
%51 = phi i64 [ %56, %50 ], [ %47, %46 ]
%52 = phi i64 [ %57, %50 ], [ 0, %46 ]
%53 = getelementptr inbounds i64, ptr %25, i64 %51
%54 = load i64, ptr %53, align 8, !tbaa !14
%55 = getelementptr inbounds i64, ptr %20, i64 %51
store i64 %54, ptr %55, align 8, !tbaa !14
%56 = add nuw nsw i64 %51, 1
%57 = add i64 %52, 1
%58 = icmp eq i64 %57, %48
br i1 %58, label %59, label %50, !llvm.loop !20
59: ; preds = %50, %46
%60 = phi i64 [ %47, %46 ], [ %56, %50 ]
%61 = sub nsw i64 %47, %26
%62 = icmp ugt i64 %61, -4
br i1 %62, label %85, label %66
63: ; preds = %18
%64 = load i32, ptr @SWIG_JavaOutOfMemoryError, align 4, !tbaa !5
%65 = tail call i32 @SWIG_JavaThrowException(ptr noundef nonnull %0, i32 noundef %64, ptr noundef nonnull @.str.1) #2
br label %85
66: ; preds = %59, %66
%67 = phi i64 [ %83, %66 ], [ %60, %59 ]
%68 = getelementptr inbounds i64, ptr %25, i64 %67
%69 = load i64, ptr %68, align 8, !tbaa !14
%70 = getelementptr inbounds i64, ptr %20, i64 %67
store i64 %69, ptr %70, align 8, !tbaa !14
%71 = add nuw nsw i64 %67, 1
%72 = getelementptr inbounds i64, ptr %25, i64 %71
%73 = load i64, ptr %72, align 8, !tbaa !14
%74 = getelementptr inbounds i64, ptr %20, i64 %71
store i64 %73, ptr %74, align 8, !tbaa !14
%75 = add nuw nsw i64 %67, 2
%76 = getelementptr inbounds i64, ptr %25, i64 %75
%77 = load i64, ptr %76, align 8, !tbaa !14
%78 = getelementptr inbounds i64, ptr %20, i64 %75
store i64 %77, ptr %78, align 8, !tbaa !14
%79 = add nuw nsw i64 %67, 3
%80 = getelementptr inbounds i64, ptr %25, i64 %79
%81 = load i64, ptr %80, align 8, !tbaa !14
%82 = getelementptr inbounds i64, ptr %20, i64 %79
store i64 %81, ptr %82, align 8, !tbaa !14
%83 = add nuw nsw i64 %67, 4
%84 = icmp eq i64 %83, %26
br i1 %84, label %85, label %66, !llvm.loop !22
85: ; preds = %59, %66, %44, %22, %9, %63, %6
%86 = phi i32 [ 0, %63 ], [ 0, %6 ], [ 0, %9 ], [ 1, %22 ], [ 1, %44 ], [ 1, %66 ], [ 1, %59 ]
ret i32 %86
}
declare i32 @SWIG_JavaThrowException(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_6__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = distinct !{!22, !17, !18}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/swig/extr_libwebp_java_wrap.c_SWIG_JavaArrayInLong.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/swig/extr_libwebp_java_wrap.c_SWIG_JavaArrayInLong.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SWIG_JavaNullPointerException = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"null array\00", align 1
@SWIG_JavaOutOfMemoryError = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"array memory allocation failed\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @SWIG_JavaArrayInLong(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %3, 0
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @SWIG_JavaNullPointerException, align 4, !tbaa !6
%8 = tail call i32 @SWIG_JavaThrowException(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str) #2
br label %64
9: ; preds = %4
%10 = load ptr, ptr %0, align 8, !tbaa !10
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = tail call i32 %11(ptr noundef nonnull %0, i32 noundef %3) #2
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = getelementptr inbounds i8, ptr %13, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = tail call ptr %15(ptr noundef nonnull %0, i32 noundef %3, i32 noundef 0) #2
store ptr %16, ptr %1, align 8, !tbaa !10
%17 = icmp eq ptr %16, null
br i1 %17, label %64, label %18
18: ; preds = %9
%19 = tail call i64 @calloc(i32 noundef %12, i32 noundef 8) #2
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8, !tbaa !10
%21 = icmp eq i64 %19, 0
br i1 %21, label %54, label %22
22: ; preds = %18
%23 = icmp sgt i32 %12, 0
br i1 %23, label %24, label %64
24: ; preds = %22
%25 = load ptr, ptr %1, align 8, !tbaa !10
%26 = zext nneg i32 %12 to i64
%27 = icmp ult i32 %12, 8
%28 = ptrtoint ptr %25 to i64
%29 = sub i64 %19, %28
%30 = icmp ult i64 %29, 64
%31 = select i1 %27, i1 true, i1 %30
br i1 %31, label %32, label %34
32: ; preds = %52, %24
%33 = phi i64 [ 0, %24 ], [ %35, %52 ]
br label %57
34: ; preds = %24
%35 = and i64 %26, 2147483640
br label %36
36: ; preds = %36, %34
%37 = phi i64 [ 0, %34 ], [ %50, %36 ]
%38 = getelementptr inbounds i64, ptr %25, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 16
%40 = getelementptr inbounds i8, ptr %38, i64 32
%41 = getelementptr inbounds i8, ptr %38, i64 48
%42 = load <2 x i64>, ptr %38, align 8, !tbaa !15
%43 = load <2 x i64>, ptr %39, align 8, !tbaa !15
%44 = load <2 x i64>, ptr %40, align 8, !tbaa !15
%45 = load <2 x i64>, ptr %41, align 8, !tbaa !15
%46 = getelementptr inbounds i64, ptr %20, i64 %37
%47 = getelementptr inbounds i8, ptr %46, i64 16
%48 = getelementptr inbounds i8, ptr %46, i64 32
%49 = getelementptr inbounds i8, ptr %46, i64 48
store <2 x i64> %42, ptr %46, align 8, !tbaa !15
store <2 x i64> %43, ptr %47, align 8, !tbaa !15
store <2 x i64> %44, ptr %48, align 8, !tbaa !15
store <2 x i64> %45, ptr %49, align 8, !tbaa !15
%50 = add nuw i64 %37, 8
%51 = icmp eq i64 %50, %35
br i1 %51, label %52, label %36, !llvm.loop !17
52: ; preds = %36
%53 = icmp eq i64 %35, %26
br i1 %53, label %64, label %32
54: ; preds = %18
%55 = load i32, ptr @SWIG_JavaOutOfMemoryError, align 4, !tbaa !6
%56 = tail call i32 @SWIG_JavaThrowException(ptr noundef nonnull %0, i32 noundef %55, ptr noundef nonnull @.str.1) #2
br label %64
57: ; preds = %32, %57
%58 = phi i64 [ %62, %57 ], [ %33, %32 ]
%59 = getelementptr inbounds i64, ptr %25, i64 %58
%60 = load i64, ptr %59, align 8, !tbaa !15
%61 = getelementptr inbounds i64, ptr %20, i64 %58
store i64 %60, ptr %61, align 8, !tbaa !15
%62 = add nuw nsw i64 %58, 1
%63 = icmp eq i64 %62, %26
br i1 %63, label %64, label %57, !llvm.loop !21
64: ; preds = %57, %52, %22, %9, %54, %6
%65 = phi i32 [ 0, %54 ], [ 0, %6 ], [ 0, %9 ], [ 1, %22 ], [ 1, %52 ], [ 1, %57 ]
ret i32 %65
}
declare i32 @SWIG_JavaThrowException(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !18, !19}
| sumatrapdf_ext_libwebp_swig_extr_libwebp_java_wrap.c_SWIG_JavaArrayInLong |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_bclr_32_s_d.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_bclr_32_s_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DY = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_bclr_32_s_d() local_unnamed_addr #0 {
%1 = tail call i32 (...) @OPER_I_8() #2
%2 = and i32 %1, 31
%3 = shl nuw i32 1, %2
%4 = load i32, ptr @DY, align 4, !tbaa !5
%5 = and i32 %3, %4
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !5
%6 = xor i32 %3, -1
%7 = and i32 %4, %6
store i32 %7, ptr @DY, align 4, !tbaa !5
ret void
}
declare i32 @OPER_I_8(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_bclr_32_s_d.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_bclr_32_s_d.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DY = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_bclr_32_s_d() local_unnamed_addr #0 {
%1 = tail call i32 @OPER_I_8() #2
%2 = and i32 %1, 31
%3 = shl nuw i32 1, %2
%4 = load i32, ptr @DY, align 4, !tbaa !6
%5 = and i32 %3, %4
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !6
%6 = xor i32 %3, -1
%7 = and i32 %4, %6
store i32 %7, ptr @DY, align 4, !tbaa !6
ret void
}
declare i32 @OPER_I_8(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_bclr_32_s_d |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_DAC960.c_DAC960_ProcessCompletedRequest.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_DAC960.c_DAC960_ProcessCompletedRequest.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr, i32, i32, i32, ptr, ptr }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @DAC960_ProcessCompletedRequest], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @DAC960_ProcessCompletedRequest(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @EIO, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %5, i32 %7, i32 0
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !16
%18 = tail call i32 @pci_unmap_sg(i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17) #2
%19 = load i32, ptr %0, align 8, !tbaa !17
%20 = shl i32 %19, 9
%21 = tail call i32 @__blk_end_request(ptr noundef %4, i32 noundef %8, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %2
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !18
%26 = icmp eq ptr %25, null
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = tail call i32 @complete(ptr noundef nonnull %25) #2
store ptr null, ptr %24, align 8, !tbaa !18
br label %29
29: ; preds = %2, %23, %27
%30 = phi i32 [ 1, %27 ], [ 1, %23 ], [ 0, %2 ]
ret i32 %30
}
declare i32 @pci_unmap_sg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__blk_end_request(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(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, !10, i64 40}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !10, i64 40}
!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 32}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 20}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 0}
!18 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_DAC960.c_DAC960_ProcessCompletedRequest.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_DAC960.c_DAC960_ProcessCompletedRequest.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @DAC960_ProcessCompletedRequest], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @DAC960_ProcessCompletedRequest(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @EIO, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %5, i32 %7, i32 0
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds i8, ptr %0, i64 24
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %0, i64 20
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = tail call i32 @pci_unmap_sg(i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17) #2
%19 = load i32, ptr %0, align 8, !tbaa !18
%20 = shl i32 %19, 9
%21 = tail call i32 @__blk_end_request(ptr noundef %4, i32 noundef %8, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %2
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !19
%26 = icmp eq ptr %25, null
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = tail call i32 @complete(ptr noundef nonnull %25) #2
store ptr null, ptr %24, align 8, !tbaa !19
br label %29
29: ; preds = %2, %23, %27
%30 = phi i32 [ 1, %27 ], [ 1, %23 ], [ 0, %2 ]
ret i32 %30
}
declare i32 @pci_unmap_sg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__blk_end_request(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(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, !11, i64 40}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 32, !11, i64 40}
!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 32}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!7, !8, i64 24}
!16 = !{!7, !8, i64 20}
!17 = !{!7, !8, i64 16}
!18 = !{!7, !8, i64 0}
!19 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_block_extr_DAC960.c_DAC960_ProcessCompletedRequest |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__SHIFT = common local_unnamed_addr global i32 0, align 4
@A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_TPL1_TP_VS_TEX_OFFSET_BASETABLEPTR |
; ModuleID = 'AnghaBench/linux/net/netlabel/extr_netlabel_addrlist.h___af4list_valid.c'
source_filename = "AnghaBench/linux/net/netlabel/extr_netlabel_addrlist.h___af4list_valid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @__af4list_valid], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @__af4list_valid(ptr noundef %0, ptr noundef readnone %1) #0 {
%3 = tail call ptr @__af4list_entry(ptr noundef %0) #2
%4 = icmp eq ptr %0, %1
br i1 %4, label %14, label %5
5: ; preds = %2, %10
%6 = phi ptr [ %12, %10 ], [ %3, %2 ]
%7 = phi ptr [ %11, %10 ], [ %0, %2 ]
%8 = load i32, ptr %6, align 4, !tbaa !5
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = load ptr, ptr %7, align 8, !tbaa !10
%12 = tail call ptr @__af4list_entry(ptr noundef %11) #2
%13 = icmp eq ptr %11, %1
br i1 %13, label %14, label %5, !llvm.loop !13
14: ; preds = %5, %10, %2
%15 = phi ptr [ %3, %2 ], [ %12, %10 ], [ %6, %5 ]
ret ptr %15
}
declare ptr @__af4list_entry(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 = !{!"netlbl_af4list", !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 = !{!"list_head", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/net/netlabel/extr_netlabel_addrlist.h___af4list_valid.c'
source_filename = "AnghaBench/linux/net/netlabel/extr_netlabel_addrlist.h___af4list_valid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @__af4list_valid], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @__af4list_valid(ptr noundef %0, ptr noundef readnone %1) #0 {
%3 = tail call ptr @__af4list_entry(ptr noundef %0) #2
%4 = icmp eq ptr %0, %1
br i1 %4, label %14, label %5
5: ; preds = %2, %10
%6 = phi ptr [ %12, %10 ], [ %3, %2 ]
%7 = phi ptr [ %11, %10 ], [ %0, %2 ]
%8 = load i32, ptr %6, align 4, !tbaa !6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = load ptr, ptr %7, align 8, !tbaa !11
%12 = tail call ptr @__af4list_entry(ptr noundef %11) #2
%13 = icmp eq ptr %11, %1
br i1 %13, label %14, label %5, !llvm.loop !14
14: ; preds = %5, %10, %2
%15 = phi ptr [ %3, %2 ], [ %12, %10 ], [ %6, %5 ]
ret ptr %15
}
declare ptr @__af4list_entry(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 = !{!"netlbl_af4list", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"list_head", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_net_netlabel_extr_netlabel_addrlist.h___af4list_valid |
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if.c_ifa_ifwithaddr_check.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if.c_ifa_ifwithaddr_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @ifa_ifwithaddr_check(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @NET_EPOCH_ENTER(i32 undef) #2
%3 = tail call ptr @ifa_ifwithaddr(ptr noundef %0) #2
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @NET_EPOCH_EXIT(i32 undef) #2
ret i32 %5
}
declare i32 @NET_EPOCH_ENTER(i32) local_unnamed_addr #1
declare ptr @ifa_ifwithaddr(ptr noundef) local_unnamed_addr #1
declare i32 @NET_EPOCH_EXIT(i32) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/net/extr_if.c_ifa_ifwithaddr_check.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if.c_ifa_ifwithaddr_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @ifa_ifwithaddr_check(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @NET_EPOCH_ENTER(i64 0) #2
%3 = tail call ptr @ifa_ifwithaddr(ptr noundef %0) #2
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @NET_EPOCH_EXIT(i64 0) #2
ret i32 %5
}
declare i32 @NET_EPOCH_ENTER(i64) local_unnamed_addr #1
declare ptr @ifa_ifwithaddr(ptr noundef) local_unnamed_addr #1
declare i32 @NET_EPOCH_EXIT(i64) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_net_extr_if.c_ifa_ifwithaddr_check |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_i2c_hw.c_release_engine.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_i2c_hw.c_release_engine.c"
target datalayout = "e-m:e-p270:32:32-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.dce_i2c_hw = type { i32, i32 }
@DC_I2C_SW_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_SOFT_RESET = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_STATUS_RESET = dso_local local_unnamed_addr global i32 0, align 4
@SETUP = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_DDC1_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_ARBITRATION = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_DONE_USING_I2C_REG = dso_local local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_USE_I2C_REG_REQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @release_engine], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @release_engine(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.dce_i2c_hw, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @set_speed(ptr noundef %0, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !10
%6 = load i32, ptr @DC_I2C_SW_STATUS, align 4, !tbaa !10
%7 = call i32 @REG_GET(i32 noundef %6, i32 noundef %6, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !10
%9 = icmp eq i32 %8, 1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%10 = load i32, ptr @DC_I2C_CONTROL, align 4, !tbaa !10
br i1 %9, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @DC_I2C_SOFT_RESET, align 4, !tbaa !10
%13 = load i32, ptr @DC_I2C_SW_STATUS_RESET, align 4, !tbaa !10
%14 = call i32 @REG_UPDATE_2(i32 noundef %10, i32 noundef %12, i32 noundef 1, i32 noundef %13, i32 noundef 1) #3
br label %18
15: ; preds = %1
%16 = load i32, ptr @DC_I2C_SW_STATUS_RESET, align 4, !tbaa !10
%17 = call i32 @REG_UPDATE(i32 noundef %10, i32 noundef %16, i32 noundef 1) #3
br label %18
18: ; preds = %15, %11
%19 = load i32, ptr %0, align 4, !tbaa !11
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr @SETUP, align 4, !tbaa !10
%23 = load i32, ptr @DC_I2C_DDC1_ENABLE, align 4, !tbaa !10
%24 = call i32 @FN(i32 noundef %22, i32 noundef %23) #3
%25 = call i32 @REG_UPDATE_N(i32 noundef %22, i32 noundef 1, i32 noundef %24, i32 noundef 0) #3
br label %26
26: ; preds = %21, %18
%27 = load i32, ptr @DC_I2C_ARBITRATION, align 4, !tbaa !10
%28 = load i32, ptr @DC_I2C_SW_DONE_USING_I2C_REG, align 4, !tbaa !10
%29 = load i32, ptr @DC_I2C_SW_USE_I2C_REG_REQ, align 4, !tbaa !10
%30 = call i32 @REG_UPDATE_2(i32 noundef %27, i32 noundef %28, i32 noundef 1, i32 noundef %29, i32 noundef 0) #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 @set_speed(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_GET(i32 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
declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_UPDATE_N(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FN(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 4}
!6 = !{!"dce_i2c_hw", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_i2c_hw.c_release_engine.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_i2c_hw.c_release_engine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DC_I2C_SW_STATUS = common local_unnamed_addr global i32 0, align 4
@DC_I2C_CONTROL = common local_unnamed_addr global i32 0, align 4
@DC_I2C_SOFT_RESET = common local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_STATUS_RESET = common local_unnamed_addr global i32 0, align 4
@SETUP = common local_unnamed_addr global i32 0, align 4
@DC_I2C_DDC1_ENABLE = common local_unnamed_addr global i32 0, align 4
@DC_I2C_ARBITRATION = common local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_DONE_USING_I2C_REG = common local_unnamed_addr global i32 0, align 4
@DC_I2C_SW_USE_I2C_REG_REQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @release_engine], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @release_engine(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @set_speed(ptr noundef %0, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !11
%6 = load i32, ptr @DC_I2C_SW_STATUS, align 4, !tbaa !11
%7 = call i32 @REG_GET(i32 noundef %6, i32 noundef %6, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !11
%9 = icmp eq i32 %8, 1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%10 = load i32, ptr @DC_I2C_CONTROL, align 4, !tbaa !11
br i1 %9, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @DC_I2C_SOFT_RESET, align 4, !tbaa !11
%13 = load i32, ptr @DC_I2C_SW_STATUS_RESET, align 4, !tbaa !11
%14 = call i32 @REG_UPDATE_2(i32 noundef %10, i32 noundef %12, i32 noundef 1, i32 noundef %13, i32 noundef 1) #3
br label %18
15: ; preds = %1
%16 = load i32, ptr @DC_I2C_SW_STATUS_RESET, align 4, !tbaa !11
%17 = call i32 @REG_UPDATE(i32 noundef %10, i32 noundef %16, i32 noundef 1) #3
br label %18
18: ; preds = %15, %11
%19 = load i32, ptr %0, align 4, !tbaa !12
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr @SETUP, align 4, !tbaa !11
%23 = load i32, ptr @DC_I2C_DDC1_ENABLE, align 4, !tbaa !11
%24 = call i32 @FN(i32 noundef %22, i32 noundef %23) #3
%25 = call i32 @REG_UPDATE_N(i32 noundef %22, i32 noundef 1, i32 noundef %24, i32 noundef 0) #3
br label %26
26: ; preds = %21, %18
%27 = load i32, ptr @DC_I2C_ARBITRATION, align 4, !tbaa !11
%28 = load i32, ptr @DC_I2C_SW_DONE_USING_I2C_REG, align 4, !tbaa !11
%29 = load i32, ptr @DC_I2C_SW_USE_I2C_REG_REQ, align 4, !tbaa !11
%30 = call i32 @REG_UPDATE_2(i32 noundef %27, i32 noundef %28, i32 noundef 1, i32 noundef %29, i32 noundef 0) #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 @set_speed(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_GET(i32 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
declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REG_UPDATE_N(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FN(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 4}
!7 = !{!"dce_i2c_hw", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_amd_display_dc_dce_extr_dce_i2c_hw.c_release_engine |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_add_fake_beep_paths.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_add_fake_beep_paths.c"
target datalayout = "e-m:e-p270:32:32-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.hda_codec = type { i32, ptr }
%struct.hda_gen_spec = type { i32, %struct.auto_pin_cfg }
%struct.auto_pin_cfg = type { i64, i32, i32, i32, i32, i32, i32 }
@AUTO_PIN_HP_OUT = dso_local local_unnamed_addr global i64 0, align 8
@AUTO_PIN_SPEAKER_OUT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_fake_beep_paths], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @add_fake_beep_paths(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.hda_codec, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1
%5 = load i32, ptr %3, align 8, !tbaa !11
%6 = load i32, ptr %0, align 8, !tbaa !15
%7 = icmp ne i32 %6, 0
%8 = icmp ne i32 %5, 0
%9 = select i1 %7, i1 %8, i1 false
br i1 %9, label %10, label %42
10: ; preds = %1
%11 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 6
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 5
%14 = load i32, ptr %13, align 8, !tbaa !17
%15 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %12, i32 noundef %14) #2
%16 = icmp slt i32 %15, 0
br i1 %16, label %42, label %17
17: ; preds = %10
%18 = load i64, ptr %4, align 8, !tbaa !18
%19 = load i64, ptr @AUTO_PIN_HP_OUT, align 8, !tbaa !19
%20 = icmp eq i64 %18, %19
br i1 %20, label %30, label %21
21: ; preds = %17
%22 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 4
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 3
%25 = load i32, ptr %24, align 8, !tbaa !21
%26 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %23, i32 noundef %25) #2
%27 = icmp slt i32 %26, 0
br i1 %27, label %42, label %28
28: ; preds = %21
%29 = load i64, ptr %4, align 8, !tbaa !18
br label %30
30: ; preds = %28, %17
%31 = phi i64 [ %29, %28 ], [ %18, %17 ]
%32 = load i64, ptr @AUTO_PIN_SPEAKER_OUT, align 8, !tbaa !19
%33 = icmp eq i64 %31, %32
br i1 %33, label %41, label %34
34: ; preds = %30
%35 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 2
%36 = load i32, ptr %35, align 4, !tbaa !22
%37 = getelementptr inbounds %struct.hda_gen_spec, ptr %3, i64 0, i32 1, i32 1
%38 = load i32, ptr %37, align 8, !tbaa !23
%39 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %36, i32 noundef %38) #2
%40 = icmp slt i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %34, %30
br label %42
42: ; preds = %34, %21, %10, %1, %41
%43 = phi i32 [ 0, %41 ], [ 0, %1 ], [ %15, %10 ], [ %26, %21 ], [ %39, %34 ]
ret i32 %43
}
declare i32 @add_fake_paths(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"hda_codec", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"hda_gen_spec", !7, i64 0, !13, i64 8}
!13 = !{!"auto_pin_cfg", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!13, !7, i64 28}
!17 = !{!13, !7, i64 24}
!18 = !{!13, !14, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{!13, !7, i64 20}
!21 = !{!13, !7, i64 16}
!22 = !{!13, !7, i64 12}
!23 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_add_fake_beep_paths.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_add_fake_beep_paths.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUTO_PIN_HP_OUT = common local_unnamed_addr global i64 0, align 8
@AUTO_PIN_SPEAKER_OUT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @add_fake_beep_paths], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @add_fake_beep_paths(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i32, ptr %3, align 8, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !16
%7 = icmp ne i32 %6, 0
%8 = icmp ne i32 %5, 0
%9 = select i1 %7, i1 %8, i1 false
br i1 %9, label %10, label %42
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %3, i64 36
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = getelementptr inbounds i8, ptr %3, i64 32
%14 = load i32, ptr %13, align 8, !tbaa !18
%15 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %12, i32 noundef %14) #2
%16 = icmp slt i32 %15, 0
br i1 %16, label %42, label %17
17: ; preds = %10
%18 = load i64, ptr %4, align 8, !tbaa !19
%19 = load i64, ptr @AUTO_PIN_HP_OUT, align 8, !tbaa !20
%20 = icmp eq i64 %18, %19
br i1 %20, label %30, label %21
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %3, i64 28
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = getelementptr inbounds i8, ptr %3, i64 24
%25 = load i32, ptr %24, align 8, !tbaa !22
%26 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %23, i32 noundef %25) #2
%27 = icmp slt i32 %26, 0
br i1 %27, label %42, label %28
28: ; preds = %21
%29 = load i64, ptr %4, align 8, !tbaa !19
br label %30
30: ; preds = %28, %17
%31 = phi i64 [ %29, %28 ], [ %18, %17 ]
%32 = load i64, ptr @AUTO_PIN_SPEAKER_OUT, align 8, !tbaa !20
%33 = icmp eq i64 %31, %32
br i1 %33, label %41, label %34
34: ; preds = %30
%35 = getelementptr inbounds i8, ptr %3, i64 20
%36 = load i32, ptr %35, align 4, !tbaa !23
%37 = getelementptr inbounds i8, ptr %3, i64 16
%38 = load i32, ptr %37, align 8, !tbaa !24
%39 = tail call i32 @add_fake_paths(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %36, i32 noundef %38) #2
%40 = icmp slt i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %34, %30
br label %42
42: ; preds = %34, %21, %10, %1, %41
%43 = phi i32 [ 0, %41 ], [ 0, %1 ], [ %15, %10 ], [ %26, %21 ], [ %39, %34 ]
ret i32 %43
}
declare i32 @add_fake_paths(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"hda_codec", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"hda_gen_spec", !8, i64 0, !14, i64 8}
!14 = !{!"auto_pin_cfg", !15, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!14, !8, i64 28}
!18 = !{!14, !8, i64 24}
!19 = !{!14, !15, i64 0}
!20 = !{!15, !15, i64 0}
!21 = !{!14, !8, i64 20}
!22 = !{!14, !8, i64 16}
!23 = !{!14, !8, i64 12}
!24 = !{!14, !8, i64 8}
| linux_sound_pci_hda_extr_hda_generic.c_add_fake_beep_paths |
; ModuleID = 'AnghaBench/kphp-kdb/dns/extr_dns-engine.c_sigint_immediate_handler.c'
source_filename = "AnghaBench/kphp-kdb/dns/extr_dns-engine.c_sigint_immediate_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sigint_immediate_handler.message = internal constant [29 x i8] c"SIGINT handled immediately.\0A\00", align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @sigint_immediate_handler], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @sigint_immediate_handler(i32 %0) #0 {
%2 = tail call i32 @kwrite(i32 noundef 2, ptr noundef nonnull @sigint_immediate_handler.message, i32 noundef 28) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @kwrite(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/kphp-kdb/dns/extr_dns-engine.c_sigint_immediate_handler.c'
source_filename = "AnghaBench/kphp-kdb/dns/extr_dns-engine.c_sigint_immediate_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sigint_immediate_handler.message = internal constant [29 x i8] c"SIGINT handled immediately.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sigint_immediate_handler], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @sigint_immediate_handler(i32 %0) #0 {
%2 = tail call i32 @kwrite(i32 noundef 2, ptr noundef nonnull @sigint_immediate_handler.message, i32 noundef 28) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @kwrite(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| kphp-kdb_dns_extr_dns-engine.c_sigint_immediate_handler |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_parser.c_dt_node_is_posconst.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_parser.c_dt_node_is_posconst.c"
target datalayout = "e-m:e-p270:32:32-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 }
@DT_NODE_INT = dso_local local_unnamed_addr global i64 0, align 8
@DT_NF_SIGNED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @dt_node_is_posconst(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @DT_NODE_INT, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %18
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %5
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = load i32, ptr @DT_NF_SIGNED, align 4, !tbaa !14
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %9
%16 = icmp sgt i64 %7, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %9, %15, %5, %1
%19 = phi i32 [ 0, %5 ], [ 0, %1 ], [ 1, %9 ], [ %17, %15 ]
ret i32 %19
}
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 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_parser.c_dt_node_is_posconst.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_parser.c_dt_node_is_posconst.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DT_NODE_INT = common local_unnamed_addr global i64 0, align 8
@DT_NF_SIGNED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @dt_node_is_posconst(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @DT_NODE_INT, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %18
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = load i32, ptr @DT_NF_SIGNED, align 4, !tbaa !15
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %9
%16 = icmp sgt i64 %7, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %9, %15, %5, %1
%19 = phi i32 [ 0, %5 ], [ 0, %1 ], [ 1, %9 ], [ %17, %15 ]
ret i32 %19
}
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 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !11, i64 16}
!15 = !{!11, !11, i64 0}
| freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_parser.c_dt_node_is_posconst |
; ModuleID = 'AnghaBench/darknet/examples/extr_go.c_ponder.c'
source_filename = "AnghaBench/darknet/examples/extr_go.c_ponder.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Pondered %d moves...\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ponder(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, float noundef %5) local_unnamed_addr #0 {
%7 = tail call double (...) @what_time_is_it_now() #2
%8 = icmp eq ptr %0, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = load i32, ptr %0, align 4, !tbaa !5
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %10, %9 ], [ 0, %6 ]
%13 = tail call i32 (...) @stdin_ready() #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11, %20
%16 = phi ptr [ %21, %20 ], [ %0, %11 ]
%17 = tail call double (...) @what_time_is_it_now() #2
%18 = fsub double %17, %7
%19 = fcmp ogt double %18, 1.200000e+02
br i1 %19, label %24, label %20
20: ; preds = %15
%21 = tail call ptr @run_mcts(ptr noundef %16, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef 100000, float noundef %5, double noundef 1.000000e-01) #2
%22 = tail call i32 (...) @stdin_ready() #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !10
24: ; preds = %20, %15, %11
%25 = phi ptr [ %0, %11 ], [ %16, %15 ], [ %21, %20 ]
%26 = load i32, ptr @stderr, align 4, !tbaa !12
%27 = load i32, ptr %25, align 4, !tbaa !5
%28 = sub nsw i32 %27, %12
%29 = tail call i32 @fprintf(i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %28) #2
ret ptr %25
}
declare double @what_time_is_it_now(...) local_unnamed_addr #1
declare i32 @stdin_ready(...) local_unnamed_addr #1
declare ptr @run_mcts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, double noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/darknet/examples/extr_go.c_ponder.c'
source_filename = "AnghaBench/darknet/examples/extr_go.c_ponder.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Pondered %d moves...\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @ponder(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, float noundef %5) local_unnamed_addr #0 {
%7 = tail call double @what_time_is_it_now() #2
%8 = icmp eq ptr %0, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = load i32, ptr %0, align 4, !tbaa !6
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %10, %9 ], [ 0, %6 ]
%13 = tail call i32 @stdin_ready() #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11, %20
%16 = phi ptr [ %21, %20 ], [ %0, %11 ]
%17 = tail call double @what_time_is_it_now() #2
%18 = fsub double %17, %7
%19 = fcmp ogt double %18, 1.200000e+02
br i1 %19, label %24, label %20
20: ; preds = %15
%21 = tail call ptr @run_mcts(ptr noundef %16, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef 100000, float noundef %5, double noundef 1.000000e-01) #2
%22 = tail call i32 @stdin_ready() #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !11
24: ; preds = %20, %15, %11
%25 = phi ptr [ %0, %11 ], [ %16, %15 ], [ %21, %20 ]
%26 = load i32, ptr @stderr, align 4, !tbaa !13
%27 = load i32, ptr %25, align 4, !tbaa !6
%28 = sub nsw i32 %27, %12
%29 = tail call i32 @fprintf(i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %28) #2
ret ptr %25
}
declare double @what_time_is_it_now(...) local_unnamed_addr #1
declare i32 @stdin_ready(...) local_unnamed_addr #1
declare ptr @run_mcts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, double noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!8, !8, i64 0}
| darknet_examples_extr_go.c_ponder |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/libiberty/extr_cplus-dem.c_demangle_qualified.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/libiberty/extr_cplus-dem.c_demangle_qualified.c"
target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32 }
%struct.work_stuff = type { i32, i32, i32, ptr }
@EDG_DEMANGLING = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"~\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @demangle_qualified], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @demangle_qualified(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca [2 x i8], align 1
%7 = alloca %struct.TYPE_17__, align 4
%8 = alloca %struct.TYPE_17__, align 4
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
%9 = tail call i32 @register_Btype(ptr noundef %0) #4
%10 = icmp eq i32 %3, 0
br i1 %10, label %20, label %11
11: ; preds = %5
%12 = load i32, ptr %0, align 8, !tbaa !5
%13 = and i32 %12, 1
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = and i32 %17, 1
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %11, %15, %5
%21 = phi i1 [ false, %5 ], [ true, %11 ], [ %19, %15 ]
%22 = call i32 @string_init(ptr noundef nonnull %7) #4
%23 = call i32 @string_init(ptr noundef nonnull %8) #4
%24 = load ptr, ptr %1, align 8, !tbaa !12
%25 = load i8, ptr %24, align 1, !tbaa !13
%26 = icmp eq i8 %25, 75
%27 = getelementptr inbounds i8, ptr %24, i64 1
br i1 %26, label %28, label %42
28: ; preds = %20
store ptr %27, ptr %1, align 8, !tbaa !12
%29 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%30 = icmp eq i32 %29, -1
br i1 %30, label %149, label %31
31: ; preds = %28
%32 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !14
%34 = icmp slt i32 %29, %33
br i1 %34, label %35, label %149
35: ; preds = %31
%36 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 3
%37 = load ptr, ptr %36, align 8, !tbaa !15
%38 = sext i32 %29 to i64
%39 = getelementptr inbounds ptr, ptr %37, i64 %38
%40 = load ptr, ptr %39, align 8, !tbaa !12
%41 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %40) #4
br label %55
42: ; preds = %20
%43 = load i8, ptr %27, align 1, !tbaa !13
switch i8 %43, label %149 [
i8 95, label %44
i8 49, label %47
i8 50, label %47
i8 51, label %47
i8 52, label %47
i8 53, label %47
i8 54, label %47
i8 55, label %47
i8 56, label %47
i8 57, label %47
]
44: ; preds = %42
store ptr %27, ptr %1, align 8, !tbaa !12
%45 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%46 = icmp eq i32 %45, -1
br i1 %46, label %149, label %55
47: ; preds = %42, %42, %42, %42, %42, %42, %42, %42, %42
store i8 %43, ptr %6, align 1, !tbaa !13
%48 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
store i8 0, ptr %48, align 1, !tbaa !13
%49 = call i32 @atoi(ptr nocapture noundef nonnull %6)
%50 = getelementptr inbounds i8, ptr %24, i64 2
%51 = load i8, ptr %50, align 1, !tbaa !13
%52 = icmp eq i8 %51, 95
%53 = select i1 %52, ptr %27, ptr %24
%54 = getelementptr inbounds i8, ptr %53, i64 2
store ptr %54, ptr %1, align 8, !tbaa !12
br label %55
55: ; preds = %44, %35, %47
%56 = phi i32 [ %49, %47 ], [ 0, %35 ], [ %45, %44 ]
%57 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 2
%58 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 3
%59 = icmp sgt i32 %56, 0
br i1 %59, label %60, label %118
60: ; preds = %55, %116
%61 = phi i32 [ %63, %116 ], [ %56, %55 ]
%62 = phi i32 [ %111, %116 ], [ 1, %55 ]
%63 = add nsw i32 %61, -1
%64 = call i32 @string_clear(ptr noundef nonnull %8) #4
%65 = load ptr, ptr %1, align 8, !tbaa !12
%66 = load i8, ptr %65, align 1, !tbaa !13
%67 = icmp eq i8 %66, 95
br i1 %67, label %68, label %71
68: ; preds = %60
%69 = getelementptr inbounds i8, ptr %65, i64 1
store ptr %69, ptr %1, align 8, !tbaa !12
%70 = load i8, ptr %69, align 1, !tbaa !13
br label %71
71: ; preds = %68, %60
%72 = phi i8 [ %70, %68 ], [ %66, %60 ]
%73 = phi ptr [ %69, %68 ], [ %65, %60 ]
switch i8 %72, label %91 [
i8 116, label %74
i8 75, label %77
]
74: ; preds = %71
%75 = call i32 @demangle_template(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef 1, i32 noundef 0) #4
%76 = icmp eq i32 %75, 0
br i1 %76, label %118, label %105
77: ; preds = %71
%78 = getelementptr inbounds i8, ptr %73, i64 1
store ptr %78, ptr %1, align 8, !tbaa !12
%79 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%80 = icmp eq i32 %79, -1
br i1 %80, label %118, label %81
81: ; preds = %77
%82 = load i32, ptr %57, align 8, !tbaa !14
%83 = icmp slt i32 %79, %82
br i1 %83, label %84, label %118
84: ; preds = %81
%85 = load ptr, ptr %58, align 8, !tbaa !15
%86 = sext i32 %79 to i64
%87 = getelementptr inbounds ptr, ptr %85, i64 %86
%88 = load ptr, ptr %87, align 8, !tbaa !12
%89 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %88) #4
%90 = icmp eq i32 %62, 0
br i1 %90, label %118, label %110
91: ; preds = %71
%92 = load i64, ptr @EDG_DEMANGLING, align 8, !tbaa !16
%93 = icmp eq i64 %92, 0
br i1 %93, label %99, label %94
94: ; preds = %91
%95 = call i32 @consume_count(ptr noundef nonnull %1) #4
%96 = icmp eq i32 %95, -1
br i1 %96, label %118, label %97
97: ; preds = %94
%98 = call i32 @recursively_demangle(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, i32 noundef %95) #4
br label %105
99: ; preds = %91
%100 = call i32 @string_delete(ptr noundef nonnull %8) #4
%101 = call i32 @do_type(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %8) #4
%102 = icmp eq i32 %101, 0
br i1 %102, label %118, label %103
103: ; preds = %99
%104 = call i32 @string_appends(ptr noundef nonnull %7, ptr noundef nonnull %8) #4
br label %105
105: ; preds = %74, %97, %103
%106 = phi i32 [ %101, %103 ], [ %62, %97 ], [ %75, %74 ]
%107 = load i32, ptr %7, align 4, !tbaa !18
%108 = call i32 @LEN_STRING(ptr noundef nonnull %7) #4
%109 = call i32 @remember_Ktype(ptr noundef %0, i32 noundef %107, i32 noundef %108) #4
br label %110
110: ; preds = %84, %105
%111 = phi i32 [ %106, %105 ], [ %62, %84 ]
%112 = icmp eq i32 %61, 1
br i1 %112, label %116, label %113
113: ; preds = %110
%114 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%115 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %114) #4
br label %116
116: ; preds = %110, %113
%117 = icmp sgt i32 %61, 1
br i1 %117, label %60, label %118
118: ; preds = %116, %74, %99, %81, %77, %94, %84, %55
%119 = phi i32 [ 1, %55 ], [ %111, %116 ], [ 0, %74 ], [ 0, %99 ], [ 0, %81 ], [ 0, %77 ], [ 0, %94 ], [ 0, %84 ]
%120 = load i32, ptr %7, align 4, !tbaa !18
%121 = call i32 @LEN_STRING(ptr noundef nonnull %7) #4
%122 = call i32 @remember_Btype(ptr noundef %0, i32 noundef %120, i32 noundef %121, i32 noundef %9) #4
br i1 %21, label %123, label %134
123: ; preds = %118
%124 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%125 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %124) #4
%126 = getelementptr inbounds %struct.work_stuff, ptr %0, i64 0, i32 1
%127 = load i32, ptr %126, align 4, !tbaa !11
%128 = and i32 %127, 1
%129 = icmp eq i32 %128, 0
br i1 %129, label %132, label %130
130: ; preds = %123
%131 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef nonnull @.str) #4
br label %132
132: ; preds = %130, %123
%133 = call i32 @string_appends(ptr noundef nonnull %7, ptr noundef nonnull %8) #4
br label %134
134: ; preds = %132, %118
%135 = icmp eq i32 %4, 0
br i1 %135, label %138, label %136
136: ; preds = %134
%137 = call i32 @string_appends(ptr noundef %2, ptr noundef nonnull %7) #4
br label %146
138: ; preds = %134
%139 = call i32 @STRING_EMPTY(ptr noundef %2) #4
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %144
141: ; preds = %138
%142 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%143 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %142) #4
br label %144
144: ; preds = %141, %138
%145 = call i32 @string_prepends(ptr noundef %2, ptr noundef nonnull %7) #4
br label %146
146: ; preds = %144, %136
%147 = call i32 @string_delete(ptr noundef nonnull %8) #4
%148 = call i32 @string_delete(ptr noundef nonnull %7) #4
br label %149
149: ; preds = %44, %42, %28, %31, %146
%150 = phi i32 [ %119, %146 ], [ 0, %31 ], [ 0, %28 ], [ 0, %42 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #4
ret i32 %150
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @register_Btype(ptr noundef) local_unnamed_addr #2
declare i32 @string_init(ptr noundef) local_unnamed_addr #2
declare i32 @consume_count_with_underscores(ptr noundef) local_unnamed_addr #2
declare i32 @string_append(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
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @string_clear(ptr noundef) local_unnamed_addr #2
declare i32 @demangle_template(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @consume_count(ptr noundef) local_unnamed_addr #2
declare i32 @recursively_demangle(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @string_delete(ptr noundef) local_unnamed_addr #2
declare i32 @do_type(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string_appends(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @remember_Ktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LEN_STRING(ptr noundef) local_unnamed_addr #2
declare ptr @SCOPE_STRING(ptr noundef) local_unnamed_addr #2
declare i32 @remember_Btype(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @STRING_EMPTY(ptr noundef) local_unnamed_addr #2
declare i32 @string_prepends(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"work_stuff", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!10, !10, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !10, i64 16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_17__", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/libiberty/extr_cplus-dem.c_demangle_qualified.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/libiberty/extr_cplus-dem.c_demangle_qualified.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i32 }
@EDG_DEMANGLING = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"~\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @demangle_qualified], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @demangle_qualified(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca [2 x i8], align 1
%7 = alloca %struct.TYPE_17__, align 4
%8 = alloca %struct.TYPE_17__, align 4
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
%9 = tail call i32 @register_Btype(ptr noundef %0) #4
%10 = icmp eq i32 %3, 0
br i1 %10, label %20, label %11
11: ; preds = %5
%12 = load i32, ptr %0, align 8, !tbaa !6
%13 = and i32 %12, 1
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = and i32 %17, 1
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %11, %15, %5
%21 = phi i1 [ false, %5 ], [ true, %11 ], [ %19, %15 ]
%22 = call i32 @string_init(ptr noundef nonnull %7) #4
%23 = call i32 @string_init(ptr noundef nonnull %8) #4
%24 = load ptr, ptr %1, align 8, !tbaa !13
%25 = load i8, ptr %24, align 1, !tbaa !14
%26 = icmp eq i8 %25, 75
%27 = getelementptr inbounds i8, ptr %24, i64 1
br i1 %26, label %28, label %42
28: ; preds = %20
store ptr %27, ptr %1, align 8, !tbaa !13
%29 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%30 = icmp eq i32 %29, -1
br i1 %30, label %149, label %31
31: ; preds = %28
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !15
%34 = icmp slt i32 %29, %33
br i1 %34, label %35, label %149
35: ; preds = %31
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load ptr, ptr %36, align 8, !tbaa !16
%38 = sext i32 %29 to i64
%39 = getelementptr inbounds ptr, ptr %37, i64 %38
%40 = load ptr, ptr %39, align 8, !tbaa !13
%41 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %40) #4
br label %55
42: ; preds = %20
%43 = load i8, ptr %27, align 1, !tbaa !14
switch i8 %43, label %149 [
i8 95, label %44
i8 49, label %47
i8 50, label %47
i8 51, label %47
i8 52, label %47
i8 53, label %47
i8 54, label %47
i8 55, label %47
i8 56, label %47
i8 57, label %47
]
44: ; preds = %42
store ptr %27, ptr %1, align 8, !tbaa !13
%45 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%46 = icmp eq i32 %45, -1
br i1 %46, label %149, label %55
47: ; preds = %42, %42, %42, %42, %42, %42, %42, %42, %42
store i8 %43, ptr %6, align 1, !tbaa !14
%48 = getelementptr inbounds i8, ptr %6, i64 1
store i8 0, ptr %48, align 1, !tbaa !14
%49 = call i32 @atoi(ptr nocapture noundef nonnull %6)
%50 = getelementptr inbounds i8, ptr %24, i64 2
%51 = load i8, ptr %50, align 1, !tbaa !14
%52 = icmp eq i8 %51, 95
%53 = select i1 %52, ptr %27, ptr %24
%54 = getelementptr inbounds i8, ptr %53, i64 2
store ptr %54, ptr %1, align 8, !tbaa !13
br label %55
55: ; preds = %44, %35, %47
%56 = phi i32 [ %49, %47 ], [ 0, %35 ], [ %45, %44 ]
%57 = getelementptr inbounds i8, ptr %0, i64 8
%58 = getelementptr inbounds i8, ptr %0, i64 16
%59 = icmp sgt i32 %56, 0
br i1 %59, label %60, label %118
60: ; preds = %55, %116
%61 = phi i32 [ %63, %116 ], [ %56, %55 ]
%62 = phi i32 [ %111, %116 ], [ 1, %55 ]
%63 = add nsw i32 %61, -1
%64 = call i32 @string_clear(ptr noundef nonnull %8) #4
%65 = load ptr, ptr %1, align 8, !tbaa !13
%66 = load i8, ptr %65, align 1, !tbaa !14
%67 = icmp eq i8 %66, 95
br i1 %67, label %68, label %71
68: ; preds = %60
%69 = getelementptr inbounds i8, ptr %65, i64 1
store ptr %69, ptr %1, align 8, !tbaa !13
%70 = load i8, ptr %69, align 1, !tbaa !14
br label %71
71: ; preds = %68, %60
%72 = phi i8 [ %70, %68 ], [ %66, %60 ]
%73 = phi ptr [ %69, %68 ], [ %65, %60 ]
switch i8 %72, label %91 [
i8 116, label %74
i8 75, label %77
]
74: ; preds = %71
%75 = call i32 @demangle_template(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef 1, i32 noundef 0) #4
%76 = icmp eq i32 %75, 0
br i1 %76, label %118, label %105
77: ; preds = %71
%78 = getelementptr inbounds i8, ptr %73, i64 1
store ptr %78, ptr %1, align 8, !tbaa !13
%79 = call i32 @consume_count_with_underscores(ptr noundef nonnull %1) #4
%80 = icmp eq i32 %79, -1
br i1 %80, label %118, label %81
81: ; preds = %77
%82 = load i32, ptr %57, align 8, !tbaa !15
%83 = icmp slt i32 %79, %82
br i1 %83, label %84, label %118
84: ; preds = %81
%85 = load ptr, ptr %58, align 8, !tbaa !16
%86 = sext i32 %79 to i64
%87 = getelementptr inbounds ptr, ptr %85, i64 %86
%88 = load ptr, ptr %87, align 8, !tbaa !13
%89 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %88) #4
%90 = icmp eq i32 %62, 0
br i1 %90, label %118, label %110
91: ; preds = %71
%92 = load i64, ptr @EDG_DEMANGLING, align 8, !tbaa !17
%93 = icmp eq i64 %92, 0
br i1 %93, label %99, label %94
94: ; preds = %91
%95 = call i32 @consume_count(ptr noundef nonnull %1) #4
%96 = icmp eq i32 %95, -1
br i1 %96, label %118, label %97
97: ; preds = %94
%98 = call i32 @recursively_demangle(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, i32 noundef %95) #4
br label %105
99: ; preds = %91
%100 = call i32 @string_delete(ptr noundef nonnull %8) #4
%101 = call i32 @do_type(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %8) #4
%102 = icmp eq i32 %101, 0
br i1 %102, label %118, label %103
103: ; preds = %99
%104 = call i32 @string_appends(ptr noundef nonnull %7, ptr noundef nonnull %8) #4
br label %105
105: ; preds = %74, %97, %103
%106 = phi i32 [ %101, %103 ], [ %62, %97 ], [ %75, %74 ]
%107 = load i32, ptr %7, align 4, !tbaa !19
%108 = call i32 @LEN_STRING(ptr noundef nonnull %7) #4
%109 = call i32 @remember_Ktype(ptr noundef %0, i32 noundef %107, i32 noundef %108) #4
br label %110
110: ; preds = %84, %105
%111 = phi i32 [ %106, %105 ], [ %62, %84 ]
%112 = icmp eq i32 %61, 1
br i1 %112, label %116, label %113
113: ; preds = %110
%114 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%115 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %114) #4
br label %116
116: ; preds = %110, %113
%117 = icmp sgt i32 %61, 1
br i1 %117, label %60, label %118
118: ; preds = %116, %74, %99, %81, %77, %94, %84, %55
%119 = phi i32 [ 1, %55 ], [ %111, %116 ], [ 0, %74 ], [ 0, %99 ], [ 0, %81 ], [ 0, %77 ], [ 0, %94 ], [ 0, %84 ]
%120 = load i32, ptr %7, align 4, !tbaa !19
%121 = call i32 @LEN_STRING(ptr noundef nonnull %7) #4
%122 = call i32 @remember_Btype(ptr noundef %0, i32 noundef %120, i32 noundef %121, i32 noundef %9) #4
br i1 %21, label %123, label %134
123: ; preds = %118
%124 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%125 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %124) #4
%126 = getelementptr inbounds i8, ptr %0, i64 4
%127 = load i32, ptr %126, align 4, !tbaa !12
%128 = and i32 %127, 1
%129 = icmp eq i32 %128, 0
br i1 %129, label %132, label %130
130: ; preds = %123
%131 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef nonnull @.str) #4
br label %132
132: ; preds = %130, %123
%133 = call i32 @string_appends(ptr noundef nonnull %7, ptr noundef nonnull %8) #4
br label %134
134: ; preds = %132, %118
%135 = icmp eq i32 %4, 0
br i1 %135, label %138, label %136
136: ; preds = %134
%137 = call i32 @string_appends(ptr noundef %2, ptr noundef nonnull %7) #4
br label %146
138: ; preds = %134
%139 = call i32 @STRING_EMPTY(ptr noundef %2) #4
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %144
141: ; preds = %138
%142 = call ptr @SCOPE_STRING(ptr noundef %0) #4
%143 = call i32 @string_append(ptr noundef nonnull %7, ptr noundef %142) #4
br label %144
144: ; preds = %141, %138
%145 = call i32 @string_prepends(ptr noundef %2, ptr noundef nonnull %7) #4
br label %146
146: ; preds = %144, %136
%147 = call i32 @string_delete(ptr noundef nonnull %8) #4
%148 = call i32 @string_delete(ptr noundef nonnull %7) #4
br label %149
149: ; preds = %44, %42, %28, %31, %146
%150 = phi i32 [ %119, %146 ], [ 0, %31 ], [ 0, %28 ], [ 0, %42 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #4
ret i32 %150
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @register_Btype(ptr noundef) local_unnamed_addr #2
declare i32 @string_init(ptr noundef) local_unnamed_addr #2
declare i32 @consume_count_with_underscores(ptr noundef) local_unnamed_addr #2
declare i32 @string_append(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
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @string_clear(ptr noundef) local_unnamed_addr #2
declare i32 @demangle_template(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @consume_count(ptr noundef) local_unnamed_addr #2
declare i32 @recursively_demangle(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @string_delete(ptr noundef) local_unnamed_addr #2
declare i32 @do_type(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string_appends(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @remember_Ktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LEN_STRING(ptr noundef) local_unnamed_addr #2
declare ptr @SCOPE_STRING(ptr noundef) local_unnamed_addr #2
declare i32 @remember_Btype(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @STRING_EMPTY(ptr noundef) local_unnamed_addr #2
declare i32 @string_prepends(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"work_stuff", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!11, !11, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !11, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_17__", !8, i64 0}
| freebsd_contrib_binutils_libiberty_extr_cplus-dem.c_demangle_qualified |
; ModuleID = 'AnghaBench/linux/drivers/net/can/ifi_canfd/extr_ifi_canfd.c_ifi_canfd_stop.c'
source_filename = "AnghaBench/linux/drivers/net/can/ifi_canfd/extr_ifi_canfd.c_ifi_canfd_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ifi_canfd_priv = type { %struct.TYPE_2__, i64 }
%struct.TYPE_2__ = type { i32 }
@IFI_CANFD_ERROR_CTR_ER_RESET = dso_local local_unnamed_addr global i32 0, align 4
@IFI_CANFD_ERROR_CTR = dso_local local_unnamed_addr global i64 0, align 8
@IFI_CANFD_STCMD_HARDRESET = dso_local local_unnamed_addr global i32 0, align 4
@IFI_CANFD_STCMD = dso_local local_unnamed_addr global i64 0, align 8
@IFI_CANFD_IRQMASK = dso_local local_unnamed_addr global i64 0, align 8
@IFI_CANFD_INTERRUPT_SET_IRQ = dso_local local_unnamed_addr global i64 0, align 8
@IFI_CANFD_INTERRUPT = dso_local local_unnamed_addr global i64 0, align 8
@CAN_STATE_STOPPED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ifi_canfd_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ifi_canfd_stop(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr @IFI_CANFD_ERROR_CTR_ER_RESET, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.ifi_canfd_priv, ptr %2, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = load i64, ptr @IFI_CANFD_ERROR_CTR, align 8, !tbaa !13
%7 = add nsw i64 %6, %5
%8 = tail call i32 @writel(i32 noundef %3, i64 noundef %7) #2
%9 = load i64, ptr %4, align 8, !tbaa !9
%10 = load i64, ptr @IFI_CANFD_ERROR_CTR, align 8, !tbaa !13
%11 = add nsw i64 %10, %9
%12 = tail call i32 @writel(i32 noundef 0, i64 noundef %11) #2
%13 = load i32, ptr @IFI_CANFD_STCMD_HARDRESET, align 4, !tbaa !5
%14 = load i64, ptr %4, align 8, !tbaa !9
%15 = load i64, ptr @IFI_CANFD_STCMD, align 8, !tbaa !13
%16 = add nsw i64 %15, %14
%17 = tail call i32 @writel(i32 noundef %13, i64 noundef %16) #2
%18 = load i64, ptr %4, align 8, !tbaa !9
%19 = load i64, ptr @IFI_CANFD_IRQMASK, align 8, !tbaa !13
%20 = add nsw i64 %19, %18
%21 = tail call i32 @writel(i32 noundef -1, i64 noundef %20) #2
%22 = load i64, ptr @IFI_CANFD_INTERRUPT_SET_IRQ, align 8, !tbaa !13
%23 = trunc i64 %22 to i32
%24 = xor i32 %23, -1
%25 = load i64, ptr %4, align 8, !tbaa !9
%26 = load i64, ptr @IFI_CANFD_INTERRUPT, align 8, !tbaa !13
%27 = add nsw i64 %26, %25
%28 = tail call i32 @writel(i32 noundef %24, i64 noundef %27) #2
%29 = load i32, ptr @CAN_STATE_STOPPED, align 4, !tbaa !5
store i32 %29, ptr %2, align 8, !tbaa !14
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"ifi_canfd_priv", !11, i64 0, !12, i64 8}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/can/ifi_canfd/extr_ifi_canfd.c_ifi_canfd_stop.c'
source_filename = "AnghaBench/linux/drivers/net/can/ifi_canfd/extr_ifi_canfd.c_ifi_canfd_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFI_CANFD_ERROR_CTR_ER_RESET = common local_unnamed_addr global i32 0, align 4
@IFI_CANFD_ERROR_CTR = common local_unnamed_addr global i64 0, align 8
@IFI_CANFD_STCMD_HARDRESET = common local_unnamed_addr global i32 0, align 4
@IFI_CANFD_STCMD = common local_unnamed_addr global i64 0, align 8
@IFI_CANFD_IRQMASK = common local_unnamed_addr global i64 0, align 8
@IFI_CANFD_INTERRUPT_SET_IRQ = common local_unnamed_addr global i64 0, align 8
@IFI_CANFD_INTERRUPT = common local_unnamed_addr global i64 0, align 8
@CAN_STATE_STOPPED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ifi_canfd_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ifi_canfd_stop(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr @IFI_CANFD_ERROR_CTR_ER_RESET, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = load i64, ptr @IFI_CANFD_ERROR_CTR, align 8, !tbaa !14
%7 = add nsw i64 %6, %5
%8 = tail call i32 @writel(i32 noundef %3, i64 noundef %7) #2
%9 = load i64, ptr %4, align 8, !tbaa !10
%10 = load i64, ptr @IFI_CANFD_ERROR_CTR, align 8, !tbaa !14
%11 = add nsw i64 %10, %9
%12 = tail call i32 @writel(i32 noundef 0, i64 noundef %11) #2
%13 = load i32, ptr @IFI_CANFD_STCMD_HARDRESET, align 4, !tbaa !6
%14 = load i64, ptr %4, align 8, !tbaa !10
%15 = load i64, ptr @IFI_CANFD_STCMD, align 8, !tbaa !14
%16 = add nsw i64 %15, %14
%17 = tail call i32 @writel(i32 noundef %13, i64 noundef %16) #2
%18 = load i64, ptr %4, align 8, !tbaa !10
%19 = load i64, ptr @IFI_CANFD_IRQMASK, align 8, !tbaa !14
%20 = add nsw i64 %19, %18
%21 = tail call i32 @writel(i32 noundef -1, i64 noundef %20) #2
%22 = load i64, ptr @IFI_CANFD_INTERRUPT_SET_IRQ, align 8, !tbaa !14
%23 = trunc i64 %22 to i32
%24 = xor i32 %23, -1
%25 = load i64, ptr %4, align 8, !tbaa !10
%26 = load i64, ptr @IFI_CANFD_INTERRUPT, align 8, !tbaa !14
%27 = add nsw i64 %26, %25
%28 = tail call i32 @writel(i32 noundef %24, i64 noundef %27) #2
%29 = load i32, ptr @CAN_STATE_STOPPED, align 4, !tbaa !6
store i32 %29, ptr %2, align 8, !tbaa !15
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"ifi_canfd_priv", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !7, i64 0}
| linux_drivers_net_can_ifi_canfd_extr_ifi_canfd.c_ifi_canfd_stop |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_NCPaint.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_NCPaint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32, i32, i32 }
@WS_MINIMIZE = dso_local local_unnamed_addr global i32 0, align 4
@WM_NCPAINT = dso_local local_unnamed_addr global i32 0, align 4
@DCX_USESTYLE = dso_local local_unnamed_addr global i32 0, align 4
@DCX_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@PGS_HORZ = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @PAGER_NCPaint], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @PAGER_NCPaint(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = load i32, ptr @WS_MINIMIZE, align 4, !tbaa !10
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %45
9: ; preds = %2
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load i32, ptr @WM_NCPAINT, align 4, !tbaa !10
%13 = trunc i64 %1 to i32
%14 = tail call i32 @DefWindowProcW(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = load i32, ptr %10, align 4, !tbaa !11
%16 = load i32, ptr @DCX_USESTYLE, align 4, !tbaa !10
%17 = load i32, ptr @DCX_WINDOW, align 4, !tbaa !10
%18 = or i32 %17, %16
%19 = tail call i32 @GetDCEx(i32 noundef %15, i32 noundef 0, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %45, label %21
21: ; preds = %9
%22 = load i32, ptr @FALSE, align 4, !tbaa !10
%23 = call i32 @PAGER_GetButtonRects(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %22) #3
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%25 = load i32, ptr %24, align 4, !tbaa !12
%26 = load i32, ptr %4, align 4, !tbaa !10
%27 = load i32, ptr %0, align 4, !tbaa !5
%28 = load i32, ptr @PGS_HORZ, align 4, !tbaa !10
%29 = and i32 %28, %27
%30 = load i32, ptr @TRUE, align 4, !tbaa !10
%31 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%32 = load i32, ptr %31, align 4, !tbaa !13
%33 = call i32 @PAGER_DrawButton(i32 noundef %19, i32 noundef %25, i32 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32) #3
%34 = load i32, ptr %24, align 4, !tbaa !12
%35 = load i32, ptr %3, align 4, !tbaa !10
%36 = load i32, ptr %0, align 4, !tbaa !5
%37 = load i32, ptr @PGS_HORZ, align 4, !tbaa !10
%38 = and i32 %37, %36
%39 = load i32, ptr @FALSE, align 4, !tbaa !10
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%41 = load i32, ptr %40, align 4, !tbaa !14
%42 = call i32 @PAGER_DrawButton(i32 noundef %19, i32 noundef %34, i32 noundef %35, i32 noundef %38, i32 noundef %39, i32 noundef %41) #3
%43 = load i32, ptr %10, align 4, !tbaa !11
%44 = call i32 @ReleaseDC(i32 noundef %43, i32 noundef %19) #3
br label %45
45: ; preds = %9, %2, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DefWindowProcW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetDCEx(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PAGER_GetButtonRects(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PAGER_DrawButton(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ReleaseDC(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_NCPaint.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_NCPaint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WS_MINIMIZE = common local_unnamed_addr global i32 0, align 4
@WM_NCPAINT = common local_unnamed_addr global i32 0, align 4
@DCX_USESTYLE = common local_unnamed_addr global i32 0, align 4
@DCX_WINDOW = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@PGS_HORZ = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @PAGER_NCPaint], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @PAGER_NCPaint(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = load i32, ptr @WS_MINIMIZE, align 4, !tbaa !11
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %45
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load i32, ptr @WM_NCPAINT, align 4, !tbaa !11
%13 = trunc i64 %1 to i32
%14 = tail call i32 @DefWindowProcW(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = load i32, ptr %10, align 4, !tbaa !12
%16 = load i32, ptr @DCX_USESTYLE, align 4, !tbaa !11
%17 = load i32, ptr @DCX_WINDOW, align 4, !tbaa !11
%18 = or i32 %17, %16
%19 = tail call i32 @GetDCEx(i32 noundef %15, i32 noundef 0, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %45, label %21
21: ; preds = %9
%22 = load i32, ptr @FALSE, align 4, !tbaa !11
%23 = call i32 @PAGER_GetButtonRects(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %22) #3
%24 = getelementptr inbounds i8, ptr %0, i64 12
%25 = load i32, ptr %24, align 4, !tbaa !13
%26 = load i32, ptr %4, align 4, !tbaa !11
%27 = load i32, ptr %0, align 4, !tbaa !6
%28 = load i32, ptr @PGS_HORZ, align 4, !tbaa !11
%29 = and i32 %28, %27
%30 = load i32, ptr @TRUE, align 4, !tbaa !11
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = load i32, ptr %31, align 4, !tbaa !14
%33 = call i32 @PAGER_DrawButton(i32 noundef %19, i32 noundef %25, i32 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32) #3
%34 = load i32, ptr %24, align 4, !tbaa !13
%35 = load i32, ptr %3, align 4, !tbaa !11
%36 = load i32, ptr %0, align 4, !tbaa !6
%37 = load i32, ptr @PGS_HORZ, align 4, !tbaa !11
%38 = and i32 %37, %36
%39 = load i32, ptr @FALSE, align 4, !tbaa !11
%40 = getelementptr inbounds i8, ptr %0, i64 8
%41 = load i32, ptr %40, align 4, !tbaa !15
%42 = call i32 @PAGER_DrawButton(i32 noundef %19, i32 noundef %34, i32 noundef %35, i32 noundef %38, i32 noundef %39, i32 noundef %41) #3
%43 = load i32, ptr %10, align 4, !tbaa !12
%44 = call i32 @ReleaseDC(i32 noundef %43, i32 noundef %19) #3
br label %45
45: ; preds = %9, %2, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DefWindowProcW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetDCEx(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PAGER_GetButtonRects(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PAGER_DrawButton(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ReleaseDC(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 12}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 8}
| reactos_dll_win32_comctl32_extr_pager.c_PAGER_NCPaint |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_sdma_unmask.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_sdma_unmask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
@irq_map = dso_local local_unnamed_addr global ptr null, align 8
@MPC52xx_IRQ_L2_MASK = dso_local local_unnamed_addr global i32 0, align 4
@sdma = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @mpc52xx_sdma_unmask], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mpc52xx_sdma_unmask(i32 noundef %0) #0 {
%2 = load ptr, ptr @irq_map, align 8, !tbaa !5
%3 = zext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = load i32, ptr @MPC52xx_IRQ_L2_MASK, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = load ptr, ptr @sdma, align 8, !tbaa !5
%9 = tail call i32 @io_be_clrbit(ptr noundef %8, i32 noundef %7) #2
ret void
}
declare i32 @io_be_clrbit(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_sdma_unmask.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_sdma_unmask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@irq_map = common local_unnamed_addr global ptr null, align 8
@MPC52xx_IRQ_L2_MASK = common local_unnamed_addr global i32 0, align 4
@sdma = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @mpc52xx_sdma_unmask], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mpc52xx_sdma_unmask(i32 noundef %0) #0 {
%2 = load ptr, ptr @irq_map, align 8, !tbaa !6
%3 = zext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = load i32, ptr @MPC52xx_IRQ_L2_MASK, align 4, !tbaa !13
%7 = and i32 %6, %5
%8 = load ptr, ptr @sdma, align 8, !tbaa !6
%9 = tail call i32 @io_be_clrbit(ptr noundef %8, i32 noundef %7) #2
ret void
}
declare i32 @io_be_clrbit(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| fastsocket_kernel_arch_powerpc_platforms_52xx_extr_mpc52xx_pic.c_mpc52xx_sdma_unmask |
; ModuleID = 'AnghaBench/linux/crypto/extr_gcm.c_crypto_gcm_free.c'
source_filename = "AnghaBench/linux/crypto/extr_gcm.c_crypto_gcm_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.gcm_instance_ctx = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @crypto_gcm_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @crypto_gcm_free(ptr noundef %0) #0 {
%2 = tail call ptr @aead_instance_ctx(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.gcm_instance_ctx, ptr %2, i64 0, i32 1
%4 = tail call i32 @crypto_drop_skcipher(ptr noundef nonnull %3) #2
%5 = tail call i32 @crypto_drop_ahash(ptr noundef %2) #2
%6 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare ptr @aead_instance_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_drop_skcipher(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_drop_ahash(ptr 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)"}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_gcm.c_crypto_gcm_free.c'
source_filename = "AnghaBench/linux/crypto/extr_gcm.c_crypto_gcm_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @crypto_gcm_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @crypto_gcm_free(ptr noundef %0) #0 {
%2 = tail call ptr @aead_instance_ctx(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = tail call i32 @crypto_drop_skcipher(ptr noundef nonnull %3) #2
%5 = tail call i32 @crypto_drop_ahash(ptr noundef %2) #2
%6 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare ptr @aead_instance_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_drop_skcipher(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_drop_ahash(ptr 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)"}
| linux_crypto_extr_gcm.c_crypto_gcm_free |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/sort/extr_tuplesort.c_comparetup_datum.c'
source_filename = "AnghaBench/postgres/src/backend/utils/sort/extr_tuplesort.c_comparetup_datum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @comparetup_datum], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @comparetup_datum(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = load i32, ptr %1, align 4, !tbaa !10
%10 = load ptr, ptr %2, align 8, !tbaa !11
%11 = tail call i32 @ApplySortComparator(i32 noundef %5, i32 noundef %6, i32 noundef %8, i32 noundef %9, ptr noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %3
%14 = load ptr, ptr %2, align 8, !tbaa !11
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, 0
br i1 %16, label %28, label %17
17: ; preds = %13
%18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = tail call i32 @PointerGetDatum(i32 noundef %19) #2
%21 = load i32, ptr %0, align 4, !tbaa !10
%22 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @PointerGetDatum(i32 noundef %23) #2
%25 = load i32, ptr %1, align 4, !tbaa !10
%26 = load ptr, ptr %2, align 8, !tbaa !11
%27 = tail call i32 @ApplySortAbbrevFullComparator(i32 noundef %20, i32 noundef %21, i32 noundef %24, i32 noundef %25, ptr noundef %26) #2
br label %28
28: ; preds = %13, %17, %3
%29 = phi i32 [ %11, %3 ], [ %27, %17 ], [ 0, %13 ]
ret i32 %29
}
declare i32 @ApplySortComparator(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ApplySortAbbrevFullComparator(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PointerGetDatum(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_9__", !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 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_10__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/sort/extr_tuplesort.c_comparetup_datum.c'
source_filename = "AnghaBench/postgres/src/backend/utils/sort/extr_tuplesort.c_comparetup_datum.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 @comparetup_datum], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @comparetup_datum(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = load i32, ptr %1, align 4, !tbaa !11
%10 = load ptr, ptr %2, align 8, !tbaa !12
%11 = tail call i32 @ApplySortComparator(i32 noundef %5, i32 noundef %6, i32 noundef %8, i32 noundef %9, ptr noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %3
%14 = load ptr, ptr %2, align 8, !tbaa !12
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = icmp eq i64 %15, 0
br i1 %16, label %28, label %17
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %0, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = tail call i32 @PointerGetDatum(i32 noundef %19) #2
%21 = load i32, ptr %0, align 4, !tbaa !11
%22 = getelementptr inbounds i8, ptr %1, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = tail call i32 @PointerGetDatum(i32 noundef %23) #2
%25 = load i32, ptr %1, align 4, !tbaa !11
%26 = load ptr, ptr %2, align 8, !tbaa !12
%27 = tail call i32 @ApplySortAbbrevFullComparator(i32 noundef %20, i32 noundef %21, i32 noundef %24, i32 noundef %25, ptr noundef %26) #2
br label %28
28: ; preds = %13, %17, %3
%29 = phi i32 [ %11, %3 ], [ %27, %17 ], [ 0, %13 ]
ret i32 %29
}
declare i32 @ApplySortComparator(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ApplySortAbbrevFullComparator(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PointerGetDatum(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_9__", !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 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_10__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!7, !8, i64 4}
| postgres_src_backend_utils_sort_extr_tuplesort.c_comparetup_datum |
; ModuleID = 'AnghaBench/linux/drivers/input/tablet/extr_aiptek.c_store_tabletCoordinateMode.c'
source_filename = "AnghaBench/linux/drivers/input/tablet/extr_aiptek.c_store_tabletCoordinateMode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@coordinate_mode_map = dso_local local_unnamed_addr global i32 0, align 4
@AIPTEK_INVALID_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_tabletCoordinateMode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @store_tabletCoordinateMode(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = load i32, ptr @coordinate_mode_map, align 4, !tbaa !5
%7 = tail call i32 @map_str_to_val(i32 noundef %6, ptr noundef %2, i64 noundef %3) #2
%8 = load i32, ptr @AIPTEK_INVALID_VALUE, align 4, !tbaa !5
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i64, ptr @EINVAL, align 8, !tbaa !9
%12 = sub i64 0, %11
br label %14
13: ; preds = %4
store i32 %7, ptr %5, align 4, !tbaa !11
br label %14
14: ; preds = %13, %10
%15 = phi i64 [ %12, %10 ], [ %3, %13 ]
ret i64 %15
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @map_str_to_val(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"aiptek", !13, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/input/tablet/extr_aiptek.c_store_tabletCoordinateMode.c'
source_filename = "AnghaBench/linux/drivers/input/tablet/extr_aiptek.c_store_tabletCoordinateMode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@coordinate_mode_map = common local_unnamed_addr global i32 0, align 4
@AIPTEK_INVALID_VALUE = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @store_tabletCoordinateMode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @store_tabletCoordinateMode(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = load i32, ptr @coordinate_mode_map, align 4, !tbaa !6
%7 = tail call i32 @map_str_to_val(i32 noundef %6, ptr noundef %2, i64 noundef %3) #2
%8 = load i32, ptr @AIPTEK_INVALID_VALUE, align 4, !tbaa !6
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i64, ptr @EINVAL, align 8, !tbaa !10
%12 = sub i64 0, %11
br label %14
13: ; preds = %4
store i32 %7, ptr %5, align 4, !tbaa !12
br label %14
14: ; preds = %13, %10
%15 = phi i64 [ %12, %10 ], [ %3, %13 ]
ret i64 %15
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @map_str_to_val(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"aiptek", !14, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_input_tablet_extr_aiptek.c_store_tabletCoordinateMode |
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_inode.c_cifs_revalidate_dentry_attr.c'
source_filename = "AnghaBench/linux/fs/cifs/extr_inode.c_cifs_revalidate_dentry_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@FYI = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [79 x i8] c"Update attributes: %s inode 0x%p count %d dentry: 0x%p d_time %ld jiffies %ld\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @cifs_revalidate_dentry_attr(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call ptr @d_inode(ptr noundef %0) #3
store ptr %3, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = icmp eq ptr %3, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOENT, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %37
9: ; preds = %1
%10 = tail call i32 @cifs_inode_needs_reval(ptr noundef nonnull %3) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %37, label %12
12: ; preds = %9
%13 = tail call i32 (...) @get_xid() #3
%14 = tail call ptr @build_path_from_dentry(ptr noundef nonnull %0) #3
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%18 = sub nsw i32 0, %17
br label %33
19: ; preds = %12
%20 = load i32, ptr @FYI, align 4, !tbaa !11
%21 = load i32, ptr %3, align 4, !tbaa !13
%22 = tail call i32 @cifs_get_time(ptr noundef nonnull %0) #3
%23 = load i32, ptr @jiffies, align 4, !tbaa !11
%24 = tail call i32 @cifs_dbg(i32 noundef %20, ptr noundef nonnull @.str, ptr noundef nonnull %14, ptr noundef nonnull %3, i32 noundef %21, ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23) #3
%25 = tail call i32 @CIFS_SB(ptr noundef %4) #3
%26 = tail call ptr @cifs_sb_master_tcon(i32 noundef %25) #3
%27 = load i64, ptr %26, align 8, !tbaa !16
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %19
%30 = call i32 @cifs_get_inode_info_unix(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef %4, i32 noundef %13) #3
br label %33
31: ; preds = %19
%32 = call i32 @cifs_get_inode_info(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef null, ptr noundef %4, i32 noundef %13, ptr noundef null) #3
br label %33
33: ; preds = %29, %31, %16
%34 = phi i32 [ %18, %16 ], [ %30, %29 ], [ %32, %31 ]
%35 = call i32 @kfree(ptr noundef %14) #3
%36 = call i32 @free_xid(i32 noundef %13) #3
br label %37
37: ; preds = %9, %33, %6
%38 = phi i32 [ %8, %6 ], [ %34, %33 ], [ 0, %9 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @d_inode(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_inode_needs_reval(ptr noundef) local_unnamed_addr #2
declare i32 @get_xid(...) local_unnamed_addr #2
declare ptr @build_path_from_dentry(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_dbg(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cifs_get_time(ptr noundef) local_unnamed_addr #2
declare ptr @cifs_sb_master_tcon(i32 noundef) local_unnamed_addr #2
declare i32 @CIFS_SB(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_get_inode_info_unix(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cifs_get_inode_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @free_xid(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"dentry", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"inode", !15, i64 0}
!15 = !{!"TYPE_3__", !12, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/cifs/extr_inode.c_cifs_revalidate_dentry_attr.c'
source_filename = "AnghaBench/linux/fs/cifs/extr_inode.c_cifs_revalidate_dentry_attr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@FYI = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [79 x i8] c"Update attributes: %s inode 0x%p count %d dentry: 0x%p d_time %ld jiffies %ld\0A\00", align 1
@jiffies = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @cifs_revalidate_dentry_attr(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call ptr @d_inode(ptr noundef %0) #3
store ptr %3, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = icmp eq ptr %3, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOENT, align 4, !tbaa !12
%8 = sub nsw i32 0, %7
br label %37
9: ; preds = %1
%10 = tail call i32 @cifs_inode_needs_reval(ptr noundef nonnull %3) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %37, label %12
12: ; preds = %9
%13 = tail call i32 @get_xid() #3
%14 = tail call ptr @build_path_from_dentry(ptr noundef nonnull %0) #3
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %33
19: ; preds = %12
%20 = load i32, ptr @FYI, align 4, !tbaa !12
%21 = load i32, ptr %3, align 4, !tbaa !14
%22 = tail call i32 @cifs_get_time(ptr noundef nonnull %0) #3
%23 = load i32, ptr @jiffies, align 4, !tbaa !12
%24 = tail call i32 @cifs_dbg(i32 noundef %20, ptr noundef nonnull @.str, ptr noundef nonnull %14, ptr noundef nonnull %3, i32 noundef %21, ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23) #3
%25 = tail call i32 @CIFS_SB(ptr noundef %4) #3
%26 = tail call ptr @cifs_sb_master_tcon(i32 noundef %25) #3
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %19
%30 = call i32 @cifs_get_inode_info_unix(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef %4, i32 noundef %13) #3
br label %33
31: ; preds = %19
%32 = call i32 @cifs_get_inode_info(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef null, ptr noundef %4, i32 noundef %13, ptr noundef null) #3
br label %33
33: ; preds = %29, %31, %16
%34 = phi i32 [ %18, %16 ], [ %30, %29 ], [ %32, %31 ]
%35 = call i32 @kfree(ptr noundef %14) #3
%36 = call i32 @free_xid(i32 noundef %13) #3
br label %37
37: ; preds = %9, %33, %6
%38 = phi i32 [ %8, %6 ], [ %34, %33 ], [ 0, %9 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @d_inode(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_inode_needs_reval(ptr noundef) local_unnamed_addr #2
declare i32 @get_xid(...) local_unnamed_addr #2
declare ptr @build_path_from_dentry(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_dbg(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cifs_get_time(ptr noundef) local_unnamed_addr #2
declare ptr @cifs_sb_master_tcon(i32 noundef) local_unnamed_addr #2
declare i32 @CIFS_SB(ptr noundef) local_unnamed_addr #2
declare i32 @cifs_get_inode_info_unix(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cifs_get_inode_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @free_xid(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"dentry", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"inode", !16, i64 0}
!16 = !{!"TYPE_3__", !13, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"long", !8, i64 0}
| linux_fs_cifs_extr_inode.c_cifs_revalidate_dentry_attr |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_skl_is_16gb_dimm.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_skl_is_16gb_dimm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @skl_is_16gb_dimm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @skl_is_16gb_dimm(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = shl nsw i32 %2, 3
%4 = sext i32 %3 to i64
%5 = tail call i64 @intel_dimm_num_devices(ptr noundef nonnull %0) #3
%6 = tail call i64 @llvm.umax.i64(i64 %5, i64 1)
%7 = sdiv i64 %4, %6
%8 = icmp eq i64 %7, 16
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @intel_dimm_num_devices(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dram_dimm_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_skl_is_16gb_dimm.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_skl_is_16gb_dimm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @skl_is_16gb_dimm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @skl_is_16gb_dimm(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = shl nsw i32 %2, 3
%4 = sext i32 %3 to i64
%5 = tail call i64 @intel_dimm_num_devices(ptr noundef nonnull %0) #3
%6 = tail call i64 @llvm.umax.i64(i64 %5, i64 1)
%7 = sdiv i64 %4, %6
%8 = icmp eq i64 %7, 16
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @intel_dimm_num_devices(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dram_dimm_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_extr_i915_drv.c_skl_is_16gb_dimm |
; ModuleID = 'AnghaBench/git/extr_config.c_get_base_var.c'
source_filename = "AnghaBench/git/extr_config.c_get_base_var.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
@cf = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_base_var], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_base_var(ptr noundef %0) #0 {
%2 = load ptr, ptr @cf, align 8, !tbaa !5
store i32 1, ptr %2, align 8, !tbaa !9
%3 = tail call i32 (...) @get_next_char() #3
%4 = load ptr, ptr @cf, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %29
8: ; preds = %1, %21
%9 = phi i32 [ %24, %21 ], [ %3, %1 ]
%10 = icmp eq i32 %9, 93
br i1 %10, label %29, label %11
11: ; preds = %8
%12 = tail call i64 @isspace(i32 noundef %9) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @get_extended_base_var(ptr noundef %0, i32 noundef %9) #3
br label %29
16: ; preds = %11
%17 = tail call i32 @iskeychar(i32 noundef %9) #3
%18 = icmp eq i32 %17, 0
%19 = icmp ne i32 %9, 46
%20 = and i1 %18, %19
br i1 %20, label %29, label %21
21: ; preds = %16
%22 = tail call i32 @tolower(i32 noundef %9) #4
%23 = tail call i32 @strbuf_addch(ptr noundef %0, i32 noundef %22) #3
%24 = tail call i32 (...) @get_next_char() #3
%25 = load ptr, ptr @cf, align 8, !tbaa !5
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i64 0, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !13
%28 = icmp eq i64 %27, 0
br i1 %28, label %8, label %29
29: ; preds = %16, %8, %21, %1, %14
%30 = phi i32 [ %15, %14 ], [ -1, %1 ], [ -1, %16 ], [ 0, %8 ], [ -1, %21 ]
ret i32 %30
}
declare i32 @get_next_char(...) local_unnamed_addr #1
declare i64 @isspace(i32 noundef) local_unnamed_addr #1
declare i32 @get_extended_base_var(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iskeychar(i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_addch(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 }
attributes #4 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
| ; ModuleID = 'AnghaBench/git/extr_config.c_get_base_var.c'
source_filename = "AnghaBench/git/extr_config.c_get_base_var.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cf = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @get_base_var], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_base_var(ptr noundef %0) #0 {
%2 = load ptr, ptr @cf, align 8, !tbaa !6
store i32 1, ptr %2, align 8, !tbaa !10
%3 = tail call i32 @get_next_char() #3
%4 = load ptr, ptr @cf, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %29
8: ; preds = %1, %21
%9 = phi i32 [ %24, %21 ], [ %3, %1 ]
%10 = icmp eq i32 %9, 93
br i1 %10, label %29, label %11
11: ; preds = %8
%12 = tail call i64 @isspace(i32 noundef %9) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @get_extended_base_var(ptr noundef %0, i32 noundef %9) #3
br label %29
16: ; preds = %11
%17 = tail call i32 @iskeychar(i32 noundef %9) #3
%18 = icmp eq i32 %17, 0
%19 = icmp ne i32 %9, 46
%20 = and i1 %18, %19
br i1 %20, label %29, label %21
21: ; preds = %16
%22 = tail call i32 @tolower(i32 noundef %9) #4
%23 = tail call i32 @strbuf_addch(ptr noundef %0, i32 noundef %22) #3
%24 = tail call i32 @get_next_char() #3
%25 = load ptr, ptr @cf, align 8, !tbaa !6
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = load i64, ptr %26, align 8, !tbaa !14
%28 = icmp eq i64 %27, 0
br i1 %28, label %8, label %29
29: ; preds = %16, %8, %21, %1, %14
%30 = phi i32 [ %15, %14 ], [ -1, %1 ], [ -1, %16 ], [ 0, %8 ], [ -1, %21 ]
ret i32 %30
}
declare i32 @get_next_char(...) local_unnamed_addr #1
declare i64 @isspace(i32 noundef) local_unnamed_addr #1
declare i32 @get_extended_base_var(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iskeychar(i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_addch(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 }
attributes #4 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 8}
| git_extr_config.c_get_base_var |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_pairing_confirm.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_pairing_confirm.c"
target datalayout = "e-m:e-p270:32:32-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.l2cap_conn = type { ptr, ptr }
%struct.smp_chan = type { i32, i32, i32 }
%struct.sk_buff = type { i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c"conn %p %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"master\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"slave\00", align 1
@SMP_INVALID_PARAMS = dso_local local_unnamed_addr global i32 0, align 4
@SMP_FLAG_SC = dso_local local_unnamed_addr global i32 0, align 4
@SMP_FLAG_REMOTE_PK = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"Unexpected SMP Pairing Confirm\00", align 1
@SMP_CMD_PAIRING_RANDOM = dso_local local_unnamed_addr global i32 0, align 4
@SMP_FLAG_TK_VALID = dso_local local_unnamed_addr global i32 0, align 4
@SMP_FLAG_CFM_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smp_cmd_pairing_confirm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @smp_cmd_pairing_confirm(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.l2cap_conn, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, ptr @.str.2, ptr @.str.1
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !16
%12 = icmp ult i32 %11, 4
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @SMP_INVALID_PARAMS, align 4, !tbaa !19
br label %55
15: ; preds = %2
%16 = getelementptr inbounds %struct.smp_chan, ptr %5, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !20
%18 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !22
%20 = tail call i32 @memcpy(i32 noundef %17, i32 noundef %19, i32 noundef 4) #2
%21 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 4) #2
%22 = load i32, ptr @SMP_FLAG_SC, align 4, !tbaa !19
%23 = tail call i64 @test_bit(i32 noundef %22, ptr noundef %5) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %15
%26 = load i32, ptr @SMP_FLAG_REMOTE_PK, align 4, !tbaa !19
%27 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %5) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = tail call i32 @sc_check_confirm(ptr noundef nonnull %5) #2
br label %55
31: ; preds = %25
%32 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.3) #2
%33 = tail call i32 @fixup_sc_false_positive(ptr noundef nonnull %5) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %55
35: ; preds = %31, %15
%36 = load ptr, ptr %0, align 8, !tbaa !12
%37 = load i64, ptr %36, align 8, !tbaa !13
%38 = icmp eq i64 %37, 0
br i1 %38, label %46, label %39
39: ; preds = %35
%40 = load i32, ptr @SMP_CMD_PAIRING_RANDOM, align 4, !tbaa !19
%41 = getelementptr inbounds %struct.smp_chan, ptr %5, i64 0, i32 1
%42 = load i32, ptr %41, align 4, !tbaa !23
%43 = tail call i32 @smp_send_cmd(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 4, i32 noundef %42) #2
%44 = load i32, ptr @SMP_CMD_PAIRING_RANDOM, align 4, !tbaa !19
%45 = tail call i32 @SMP_ALLOW_CMD(ptr noundef nonnull %5, i32 noundef %44) #2
br label %55
46: ; preds = %35
%47 = load i32, ptr @SMP_FLAG_TK_VALID, align 4, !tbaa !19
%48 = tail call i64 @test_bit(i32 noundef %47, ptr noundef nonnull %5) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 @smp_confirm(ptr noundef nonnull %5) #2
br label %55
52: ; preds = %46
%53 = load i32, ptr @SMP_FLAG_CFM_PENDING, align 4, !tbaa !19
%54 = tail call i32 @set_bit(i32 noundef %53, ptr noundef nonnull %5) #2
br label %55
55: ; preds = %29, %31, %52, %50, %39, %13
%56 = phi i32 [ %14, %13 ], [ 0, %39 ], [ %51, %50 ], [ 0, %52 ], [ %33, %31 ], [ %30, %29 ]
ret i32 %56
}
declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sc_check_confirm(ptr noundef) local_unnamed_addr #1
declare i32 @BT_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @fixup_sc_false_positive(ptr noundef) local_unnamed_addr #1
declare i32 @smp_send_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SMP_ALLOW_CMD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_confirm(ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"l2cap_conn", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"l2cap_chan", !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"sk_buff", !18, i64 0, !18, i64 4}
!18 = !{!"int", !8, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!21, !18, i64 8}
!21 = !{!"smp_chan", !18, i64 0, !18, i64 4, !18, i64 8}
!22 = !{!17, !18, i64 4}
!23 = !{!21, !18, i64 4}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_pairing_confirm.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_pairing_confirm.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 [11 x i8] c"conn %p %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"master\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"slave\00", align 1
@SMP_INVALID_PARAMS = common local_unnamed_addr global i32 0, align 4
@SMP_FLAG_SC = common local_unnamed_addr global i32 0, align 4
@SMP_FLAG_REMOTE_PK = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"Unexpected SMP Pairing Confirm\00", align 1
@SMP_CMD_PAIRING_RANDOM = common local_unnamed_addr global i32 0, align 4
@SMP_FLAG_TK_VALID = common local_unnamed_addr global i32 0, align 4
@SMP_FLAG_CFM_PENDING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smp_cmd_pairing_confirm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @smp_cmd_pairing_confirm(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %0, align 8, !tbaa !13
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, ptr @.str.2, ptr @.str.1
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !17
%12 = icmp ult i32 %11, 4
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @SMP_INVALID_PARAMS, align 4, !tbaa !20
br label %55
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %5, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !21
%18 = getelementptr inbounds i8, ptr %1, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !23
%20 = tail call i32 @memcpy(i32 noundef %17, i32 noundef %19, i32 noundef 4) #2
%21 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 4) #2
%22 = load i32, ptr @SMP_FLAG_SC, align 4, !tbaa !20
%23 = tail call i64 @test_bit(i32 noundef %22, ptr noundef %5) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %35, label %25
25: ; preds = %15
%26 = load i32, ptr @SMP_FLAG_REMOTE_PK, align 4, !tbaa !20
%27 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %5) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = tail call i32 @sc_check_confirm(ptr noundef nonnull %5) #2
br label %55
31: ; preds = %25
%32 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.3) #2
%33 = tail call i32 @fixup_sc_false_positive(ptr noundef nonnull %5) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %55
35: ; preds = %31, %15
%36 = load ptr, ptr %0, align 8, !tbaa !13
%37 = load i64, ptr %36, align 8, !tbaa !14
%38 = icmp eq i64 %37, 0
br i1 %38, label %46, label %39
39: ; preds = %35
%40 = load i32, ptr @SMP_CMD_PAIRING_RANDOM, align 4, !tbaa !20
%41 = getelementptr inbounds i8, ptr %5, i64 4
%42 = load i32, ptr %41, align 4, !tbaa !24
%43 = tail call i32 @smp_send_cmd(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 4, i32 noundef %42) #2
%44 = load i32, ptr @SMP_CMD_PAIRING_RANDOM, align 4, !tbaa !20
%45 = tail call i32 @SMP_ALLOW_CMD(ptr noundef nonnull %5, i32 noundef %44) #2
br label %55
46: ; preds = %35
%47 = load i32, ptr @SMP_FLAG_TK_VALID, align 4, !tbaa !20
%48 = tail call i64 @test_bit(i32 noundef %47, ptr noundef nonnull %5) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 @smp_confirm(ptr noundef nonnull %5) #2
br label %55
52: ; preds = %46
%53 = load i32, ptr @SMP_FLAG_CFM_PENDING, align 4, !tbaa !20
%54 = tail call i32 @set_bit(i32 noundef %53, ptr noundef nonnull %5) #2
br label %55
55: ; preds = %29, %31, %52, %50, %39, %13
%56 = phi i32 [ %14, %13 ], [ 0, %39 ], [ %51, %50 ], [ 0, %52 ], [ %33, %31 ], [ %30, %29 ]
ret i32 %56
}
declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sc_check_confirm(ptr noundef) local_unnamed_addr #1
declare i32 @BT_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @fixup_sc_false_positive(ptr noundef) local_unnamed_addr #1
declare i32 @smp_send_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SMP_ALLOW_CMD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_confirm(ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"l2cap_conn", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"l2cap_chan", !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"sk_buff", !19, i64 0, !19, i64 4}
!19 = !{!"int", !9, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{!22, !19, i64 8}
!22 = !{!"smp_chan", !19, i64 0, !19, i64 4, !19, i64 8}
!23 = !{!18, !19, i64 4}
!24 = !{!22, !19, i64 4}
| linux_net_bluetooth_extr_smp.c_smp_cmd_pairing_confirm |
; ModuleID = 'AnghaBench/git/extr_revision.c_mark_parents_uninteresting.c'
source_filename = "AnghaBench/git/extr_revision.c_mark_parents_uninteresting.c"
target datalayout = "e-m:e-p270:32:32-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.commit_stack = type { i64 }
%struct.commit_list = type { i32, ptr }
@COMMIT_STACK_INIT = dso_local local_unnamed_addr global %struct.commit_stack zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local void @mark_parents_uninteresting(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.commit_stack, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i64, ptr @COMMIT_STACK_INIT, align 8, !tbaa !5
store i64 %3, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %11
6: ; preds = %11
%7 = load i64, ptr %2, align 8, !tbaa !11
br label %8
8: ; preds = %6, %1
%9 = phi i64 [ %7, %6 ], [ %3, %1 ]
%10 = icmp sgt i64 %9, 0
br i1 %10, label %18, label %23
11: ; preds = %1, %11
%12 = phi ptr [ %16, %11 ], [ %4, %1 ]
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = call i32 @mark_one_parent_uninteresting(i32 noundef %13, ptr noundef nonnull %2) #3
%15 = getelementptr inbounds %struct.commit_list, ptr %12, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !9
%17 = icmp eq ptr %16, null
br i1 %17, label %6, label %11, !llvm.loop !16
18: ; preds = %8, %18
%19 = call i32 @commit_stack_pop(ptr noundef nonnull %2) #3
%20 = call i32 @mark_one_parent_uninteresting(i32 noundef %19, ptr noundef nonnull %2) #3
%21 = load i64, ptr %2, align 8, !tbaa !11
%22 = icmp sgt i64 %21, 0
br i1 %22, label %18, label %23, !llvm.loop !18
23: ; preds = %18, %8
%24 = call i32 @commit_stack_clear(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mark_one_parent_uninteresting(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @commit_stack_pop(ptr noundef) local_unnamed_addr #2
declare i32 @commit_stack_clear(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"commit_stack", !6, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"commit_list", !15, i64 0, !10, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| ; ModuleID = 'AnghaBench/git/extr_revision.c_mark_parents_uninteresting.c'
source_filename = "AnghaBench/git/extr_revision.c_mark_parents_uninteresting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.commit_stack = type { i64 }
@COMMIT_STACK_INIT = common local_unnamed_addr global %struct.commit_stack zeroinitializer, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @mark_parents_uninteresting(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.commit_stack, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i64, ptr @COMMIT_STACK_INIT, align 8, !tbaa !6
store i64 %3, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %11
6: ; preds = %11
%7 = load i64, ptr %2, align 8, !tbaa !12
br label %8
8: ; preds = %6, %1
%9 = phi i64 [ %7, %6 ], [ %3, %1 ]
%10 = icmp sgt i64 %9, 0
br i1 %10, label %18, label %23
11: ; preds = %1, %11
%12 = phi ptr [ %16, %11 ], [ %4, %1 ]
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = call i32 @mark_one_parent_uninteresting(i32 noundef %13, ptr noundef nonnull %2) #3
%15 = getelementptr inbounds i8, ptr %12, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !10
%17 = icmp eq ptr %16, null
br i1 %17, label %6, label %11, !llvm.loop !17
18: ; preds = %8, %18
%19 = call i32 @commit_stack_pop(ptr noundef nonnull %2) #3
%20 = call i32 @mark_one_parent_uninteresting(i32 noundef %19, ptr noundef nonnull %2) #3
%21 = load i64, ptr %2, align 8, !tbaa !12
%22 = icmp sgt i64 %21, 0
br i1 %22, label %18, label %23, !llvm.loop !19
23: ; preds = %18, %8
%24 = call i32 @commit_stack_clear(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mark_one_parent_uninteresting(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @commit_stack_pop(ptr noundef) local_unnamed_addr #2
declare i32 @commit_stack_clear(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"commit_stack", !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"commit_list", !16, i64 0, !11, i64 8}
!16 = !{!"int", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| git_extr_revision.c_mark_parents_uninteresting |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_uhid.c_uhid_char_poll.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_uhid.c_uhid_char_poll.c"
target datalayout = "e-m:e-p270:32:32-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.uhid_device = type { i64, i64, i32 }
@EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4
@EPOLLRDNORM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uhid_char_poll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uhid_char_poll(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.uhid_device, ptr %3, i64 0, i32 2
%5 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i64, ptr %3, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.uhid_device, ptr %3, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = icmp eq i64 %6, %8
%10 = load i32, ptr @EPOLLIN, align 4
%11 = load i32, ptr @EPOLLRDNORM, align 4
%12 = or i32 %11, %10
%13 = select i1 %9, i32 0, i32 %12
ret i32 %13
}
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"file", !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 = !{!"uhid_device", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_uhid.c_uhid_char_poll.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_uhid.c_uhid_char_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EPOLLIN = common local_unnamed_addr global i32 0, align 4
@EPOLLRDNORM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uhid_char_poll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @uhid_char_poll(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i64, ptr %3, align 8, !tbaa !11
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !15
%9 = icmp eq i64 %6, %8
%10 = load i32, ptr @EPOLLIN, align 4
%11 = load i32, ptr @EPOLLRDNORM, align 4
%12 = or i32 %11, %10
%13 = select i1 %9, i32 0, i32 %12
ret i32 %13
}
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"file", !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 = !{!"uhid_device", !13, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !13, i64 8}
| linux_drivers_hid_extr_uhid.c_uhid_char_poll |
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_appsearch.c_ACTION_AppSearchDr.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_appsearch.c_ACTION_AppSearchDr.c"
target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32 }
@ACTION_AppSearchDr.query = internal constant [48 x i8] c"select * from DrLocator where Signature_ = '%s'\00", align 16
@MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"failed to query DrLocator for %s\0A\00", align 1
@ERROR_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_FILE_ATTRIBUTES = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_DIRECTORY = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"returning %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ACTION_AppSearchDr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ACTION_AppSearchDr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_17__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !5
%7 = load i32, ptr @MAX_PATH, align 4, !tbaa !9
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 16
%11 = load i32, ptr @MAX_PATH, align 4, !tbaa !9
%12 = zext i32 %11 to i64
%13 = alloca i8, i64 %12, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%14 = load i32, ptr %2, align 4, !tbaa !11
%15 = tail call i32 @debugstr_w(i32 noundef %14) #4
%16 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %15) #4
store ptr null, ptr %1, align 8, !tbaa !5
%17 = load i32, ptr %0, align 4, !tbaa !13
%18 = load i32, ptr %2, align 4, !tbaa !11
%19 = tail call ptr @MSI_QueryGetRecord(i32 noundef %17, ptr noundef nonnull @ACTION_AppSearchDr.query, i32 noundef %18) #4
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %26
21: ; preds = %3
%22 = load i32, ptr %2, align 4, !tbaa !11
%23 = tail call i32 @debugstr_w(i32 noundef %22) #4
%24 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, i32 noundef %23) #4
%25 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !9
br label %86
26: ; preds = %3
%27 = tail call i64 @MSI_RecordGetString(ptr noundef nonnull %19, i32 noundef 2) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%30 = call i32 @ACTION_AppSearchSigName(ptr noundef nonnull %0, i64 noundef %27, ptr noundef nonnull %6, ptr noundef nonnull %4) #4
%31 = call i32 @ACTION_FreeSignature(ptr noundef nonnull %6) #4
%32 = load ptr, ptr %4, align 8, !tbaa !5
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = call i32 @msiobj_release(ptr noundef nonnull %19) #4
%36 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
br label %86
37: ; preds = %29
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
br label %38
38: ; preds = %37, %26
%39 = load i32, ptr @MAX_PATH, align 4, !tbaa !9
store i32 %39, ptr %5, align 4, !tbaa !9
%40 = call i32 @MSI_RecordGetStringW(ptr noundef nonnull %19, i32 noundef 3, ptr noundef nonnull %10, ptr noundef nonnull %5) #4
%41 = call i64 @MSI_RecordIsNull(ptr noundef nonnull %19, i32 noundef 4) #4
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %38
%44 = call i32 @MSI_RecordGetInteger(ptr noundef nonnull %19, i32 noundef 4) #4
br label %45
45: ; preds = %38, %43
%46 = phi i32 [ %44, %43 ], [ 0, %38 ]
%47 = load i32, ptr %5, align 4, !tbaa !9
%48 = icmp eq i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %45
%50 = load i32, ptr @MAX_PATH, align 4, !tbaa !9
%51 = call i32 @ACTION_ExpandAnyPath(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef nonnull %13, i32 noundef %50) #4
br label %54
52: ; preds = %45
%53 = call i32 @strcpyW(ptr noundef nonnull %13, ptr noundef nonnull %10) #4
br label %54
54: ; preds = %52, %49
%55 = load ptr, ptr %4, align 8, !tbaa !5
%56 = icmp eq ptr %55, null
br i1 %56, label %74, label %57
57: ; preds = %54
%58 = call i32 @GetFileAttributesW(ptr noundef nonnull %55) #4
%59 = load i32, ptr @INVALID_FILE_ATTRIBUTES, align 4, !tbaa !9
%60 = icmp eq i32 %58, %59
br i1 %60, label %70, label %61
61: ; preds = %57
%62 = load i32, ptr @FILE_ATTRIBUTE_DIRECTORY, align 4, !tbaa !9
%63 = and i32 %62, %58
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load ptr, ptr %4, align 8, !tbaa !5
%67 = call i32 @PathRemoveFileSpecW(ptr noundef %66) #4
%68 = load ptr, ptr %4, align 8, !tbaa !5
%69 = call i32 @PathAddBackslashW(ptr noundef %68) #4
br label %70
70: ; preds = %65, %61, %57
%71 = load ptr, ptr %4, align 8, !tbaa !5
%72 = call i32 @strcpyW(ptr noundef nonnull %10, ptr noundef %71) #4
%73 = call i32 @strcatW(ptr noundef nonnull %10, ptr noundef nonnull %13) #4
br label %79
74: ; preds = %54
%75 = load i32, ptr %5, align 4, !tbaa !9
%76 = icmp eq i32 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74
%78 = call i32 @strcpyW(ptr noundef nonnull %10, ptr noundef nonnull %13) #4
br label %79
79: ; preds = %74, %77, %70
%80 = call i32 @PathAddBackslashW(ptr noundef nonnull %10) #4
%81 = call i32 @ACTION_SearchDirectory(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %10, i32 noundef %46, ptr noundef nonnull %1) #4
%82 = load ptr, ptr %4, align 8, !tbaa !5
%83 = call i32 @msi_free(ptr noundef %82) #4
%84 = call i32 @msiobj_release(ptr noundef nonnull %19) #4
%85 = call i32 @TRACE(ptr noundef nonnull @.str.2, i32 noundef %81) #4
br label %86
86: ; preds = %34, %79, %21
%87 = phi i32 [ %81, %79 ], [ %25, %21 ], [ %36, %34 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #3
declare ptr @MSI_QueryGetRecord(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @MSI_RecordGetString(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ACTION_AppSearchSigName(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ACTION_FreeSignature(ptr noundef) local_unnamed_addr #3
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @MSI_RecordGetStringW(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @MSI_RecordIsNull(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @MSI_RecordGetInteger(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ACTION_ExpandAnyPath(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strcpyW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @GetFileAttributesW(ptr noundef) local_unnamed_addr #3
declare i32 @PathRemoveFileSpecW(ptr noundef) local_unnamed_addr #3
declare i32 @PathAddBackslashW(ptr noundef) local_unnamed_addr #3
declare i32 @strcatW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ACTION_SearchDirectory(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msi_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_17__", !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_19__", !10, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_appsearch.c_ACTION_AppSearchDr.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_appsearch.c_ACTION_AppSearchDr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i32 }
@ACTION_AppSearchDr.query = internal constant [48 x i8] c"select * from DrLocator where Signature_ = '%s'\00", align 1
@MAX_PATH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"failed to query DrLocator for %s\0A\00", align 1
@ERROR_SUCCESS = common local_unnamed_addr global i32 0, align 4
@INVALID_FILE_ATTRIBUTES = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_DIRECTORY = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"returning %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ACTION_AppSearchDr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ACTION_AppSearchDr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_17__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !6
%7 = load i32, ptr @MAX_PATH, align 4, !tbaa !10
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 1
%11 = load i32, ptr @MAX_PATH, align 4, !tbaa !10
%12 = zext i32 %11 to i64
%13 = alloca i8, i64 %12, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%14 = load i32, ptr %2, align 4, !tbaa !12
%15 = tail call i32 @debugstr_w(i32 noundef %14) #4
%16 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %15) #4
store ptr null, ptr %1, align 8, !tbaa !6
%17 = load i32, ptr %0, align 4, !tbaa !14
%18 = load i32, ptr %2, align 4, !tbaa !12
%19 = tail call ptr @MSI_QueryGetRecord(i32 noundef %17, ptr noundef nonnull @ACTION_AppSearchDr.query, i32 noundef %18) #4
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %26
21: ; preds = %3
%22 = load i32, ptr %2, align 4, !tbaa !12
%23 = tail call i32 @debugstr_w(i32 noundef %22) #4
%24 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, i32 noundef %23) #4
%25 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !10
br label %86
26: ; preds = %3
%27 = tail call i64 @MSI_RecordGetString(ptr noundef nonnull %19, i32 noundef 2) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%30 = call i32 @ACTION_AppSearchSigName(ptr noundef nonnull %0, i64 noundef %27, ptr noundef nonnull %6, ptr noundef nonnull %4) #4
%31 = call i32 @ACTION_FreeSignature(ptr noundef nonnull %6) #4
%32 = load ptr, ptr %4, align 8, !tbaa !6
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = call i32 @msiobj_release(ptr noundef nonnull %19) #4
%36 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
br label %86
37: ; preds = %29
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
br label %38
38: ; preds = %37, %26
%39 = load i32, ptr @MAX_PATH, align 4, !tbaa !10
store i32 %39, ptr %5, align 4, !tbaa !10
%40 = call i32 @MSI_RecordGetStringW(ptr noundef nonnull %19, i32 noundef 3, ptr noundef nonnull %10, ptr noundef nonnull %5) #4
%41 = call i64 @MSI_RecordIsNull(ptr noundef nonnull %19, i32 noundef 4) #4
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %38
%44 = call i32 @MSI_RecordGetInteger(ptr noundef nonnull %19, i32 noundef 4) #4
br label %45
45: ; preds = %38, %43
%46 = phi i32 [ %44, %43 ], [ 0, %38 ]
%47 = load i32, ptr %5, align 4, !tbaa !10
%48 = icmp eq i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %45
%50 = load i32, ptr @MAX_PATH, align 4, !tbaa !10
%51 = call i32 @ACTION_ExpandAnyPath(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef nonnull %13, i32 noundef %50) #4
br label %54
52: ; preds = %45
%53 = call i32 @strcpyW(ptr noundef nonnull %13, ptr noundef nonnull %10) #4
br label %54
54: ; preds = %52, %49
%55 = load ptr, ptr %4, align 8, !tbaa !6
%56 = icmp eq ptr %55, null
br i1 %56, label %74, label %57
57: ; preds = %54
%58 = call i32 @GetFileAttributesW(ptr noundef nonnull %55) #4
%59 = load i32, ptr @INVALID_FILE_ATTRIBUTES, align 4, !tbaa !10
%60 = icmp eq i32 %58, %59
br i1 %60, label %70, label %61
61: ; preds = %57
%62 = load i32, ptr @FILE_ATTRIBUTE_DIRECTORY, align 4, !tbaa !10
%63 = and i32 %62, %58
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load ptr, ptr %4, align 8, !tbaa !6
%67 = call i32 @PathRemoveFileSpecW(ptr noundef %66) #4
%68 = load ptr, ptr %4, align 8, !tbaa !6
%69 = call i32 @PathAddBackslashW(ptr noundef %68) #4
br label %70
70: ; preds = %65, %61, %57
%71 = load ptr, ptr %4, align 8, !tbaa !6
%72 = call i32 @strcpyW(ptr noundef nonnull %10, ptr noundef %71) #4
%73 = call i32 @strcatW(ptr noundef nonnull %10, ptr noundef nonnull %13) #4
br label %79
74: ; preds = %54
%75 = load i32, ptr %5, align 4, !tbaa !10
%76 = icmp eq i32 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74
%78 = call i32 @strcpyW(ptr noundef nonnull %10, ptr noundef nonnull %13) #4
br label %79
79: ; preds = %74, %77, %70
%80 = call i32 @PathAddBackslashW(ptr noundef nonnull %10) #4
%81 = call i32 @ACTION_SearchDirectory(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %10, i32 noundef %46, ptr noundef nonnull %1) #4
%82 = load ptr, ptr %4, align 8, !tbaa !6
%83 = call i32 @msi_free(ptr noundef %82) #4
%84 = call i32 @msiobj_release(ptr noundef nonnull %19) #4
%85 = call i32 @TRACE(ptr noundef nonnull @.str.2, i32 noundef %81) #4
br label %86
86: ; preds = %34, %79, %21
%87 = phi i32 [ %81, %79 ], [ %25, %21 ], [ %36, %34 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #3
declare ptr @MSI_QueryGetRecord(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @MSI_RecordGetString(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ACTION_AppSearchSigName(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ACTION_FreeSignature(ptr noundef) local_unnamed_addr #3
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @MSI_RecordGetStringW(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @MSI_RecordIsNull(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @MSI_RecordGetInteger(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ACTION_ExpandAnyPath(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strcpyW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @GetFileAttributesW(ptr noundef) local_unnamed_addr #3
declare i32 @PathRemoveFileSpecW(ptr noundef) local_unnamed_addr #3
declare i32 @PathAddBackslashW(ptr noundef) local_unnamed_addr #3
declare i32 @strcatW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ACTION_SearchDirectory(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msi_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_17__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_19__", !11, i64 0}
| reactos_dll_win32_msi_extr_appsearch.c_ACTION_AppSearchDr |
; ModuleID = 'AnghaBench/lab/q3map2/libs/l_net/extr_l_net.c_NMSG_WriteChar.c'
source_filename = "AnghaBench/lab/q3map2/libs/l_net/extr_l_net.c_NMSG_WriteChar.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@.str = private unnamed_addr constant [29 x i8] c"NMSG_WriteChar: range error\0A\00", align 1
@MAX_NETMESSAGE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"NMSG_WriteChar: overflow\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @NMSG_WriteChar(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, -256
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @WinPrint(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %2, %5
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = load i64, ptr @MAX_NETMESSAGE, align 8, !tbaa !11
%10 = icmp ult i64 %8, %9
br i1 %10, label %13, label %11
11: ; preds = %7
%12 = tail call i32 @WinPrint(ptr noundef nonnull @.str.1) #2
br label %18
13: ; preds = %7
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !12
%16 = getelementptr inbounds i32, ptr %15, i64 %8
store i32 %1, ptr %16, align 4, !tbaa !13
%17 = add nuw i64 %8, 1
store i64 %17, ptr %0, align 8, !tbaa !5
br label %18
18: ; preds = %13, %11
ret void
}
declare i32 @WinPrint(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/lab/q3map2/libs/l_net/extr_l_net.c_NMSG_WriteChar.c'
source_filename = "AnghaBench/lab/q3map2/libs/l_net/extr_l_net.c_NMSG_WriteChar.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 [29 x i8] c"NMSG_WriteChar: range error\0A\00", align 1
@MAX_NETMESSAGE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"NMSG_WriteChar: overflow\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @NMSG_WriteChar(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, -256
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @WinPrint(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %2, %5
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = load i64, ptr @MAX_NETMESSAGE, align 8, !tbaa !12
%10 = icmp ult i64 %8, %9
br i1 %10, label %13, label %11
11: ; preds = %7
%12 = tail call i32 @WinPrint(ptr noundef nonnull @.str.1) #2
br label %18
13: ; preds = %7
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = getelementptr inbounds i32, ptr %15, i64 %8
store i32 %1, ptr %16, align 4, !tbaa !14
%17 = add nuw i64 %8, 1
store i64 %17, ptr %0, align 8, !tbaa !6
br label %18
18: ; preds = %13, %11
ret void
}
declare i32 @WinPrint(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| lab_q3map2_libs_l_net_extr_l_net.c_NMSG_WriteChar |
; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_syscalls.c_trap_RealTime.c'
source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_syscalls.c_trap_RealTime.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"
@CG_REAL_TIME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @trap_RealTime(i32* noundef %0) local_unnamed_addr #0 {
%2 = load i32, i32* @CG_REAL_TIME, align 4, !tbaa !5
%3 = tail call i32 @syscall(i32 noundef %2, i32* noundef %0) #2
ret i32 %3
}
declare i32 @syscall(i32 noundef, 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_syscalls.c_trap_RealTime.c'
source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_syscalls.c_trap_RealTime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CG_REAL_TIME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @trap_RealTime(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CG_REAL_TIME, align 4, !tbaa !6
%3 = tail call i32 @syscall(i32 noundef %2, ptr noundef %0) #2
ret i32 %3
}
declare i32 @syscall(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"}
| lab_engine_code_cgame_extr_cg_syscalls.c_trap_RealTime |
; ModuleID = 'AnghaBench/freebsd/usr.bin/tftp/extr_main.c_settimeoutnetwork.c'
source_filename = "AnghaBench/freebsd/usr.bin/tftp/extr_main.c_settimeoutnetwork.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAXLINE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Network timeout \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"(value) \00", align 1
@stdin = dso_local local_unnamed_addr global i32 0, align 4
@margc = dso_local local_unnamed_addr global i32 0, align 4
@margv = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [17 x i8] c"usage: %s value\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s: bad value\0A\00", align 1
@timeoutpacket = dso_local local_unnamed_addr global i32 0, align 4
@maxtimeouts = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @settimeoutnetwork], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @settimeoutnetwork(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr @MAXLINE, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %20
7: ; preds = %2
%8 = call i32 @strcpy(ptr noundef nonnull %5, ptr noundef nonnull @.str) #4
%9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%10 = call i32 @strlen(ptr noundef nonnull %5) #4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %5, i64 %11
%13 = call i32 @strlen(ptr noundef nonnull %5) #4
%14 = sub i32 %3, %13
%15 = load i32, ptr @stdin, align 4, !tbaa !5
%16 = call i32 @fgets(ptr noundef nonnull %12, i32 noundef %14, i32 noundef %15) #4
%17 = call i32 @makeargv(ptr noundef nonnull %5) #4
%18 = load i32, ptr @margc, align 4, !tbaa !5
%19 = load ptr, ptr @margv, align 8, !tbaa !9
br label %20
20: ; preds = %7, %2
%21 = phi ptr [ %19, %7 ], [ %1, %2 ]
%22 = phi i32 [ %18, %7 ], [ %0, %2 ]
%23 = icmp eq i32 %22, 2
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load ptr, ptr %21, align 8, !tbaa !9
%26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %25)
br label %38
27: ; preds = %20
%28 = getelementptr inbounds ptr, ptr %21, i64 1
%29 = load ptr, ptr %28, align 8, !tbaa !9
%30 = call i32 @atoi(ptr nocapture noundef %29)
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %29)
br label %38
34: ; preds = %27
%35 = load i32, ptr @timeoutpacket, align 4, !tbaa !5
%36 = load i32, ptr @maxtimeouts, align 4, !tbaa !5
%37 = call i32 @settimeouts(i32 noundef %35, i32 noundef %30, i32 noundef %36) #4
br label %38
38: ; preds = %34, %32, %24
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @makeargv(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @settimeouts(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/tftp/extr_main.c_settimeoutnetwork.c'
source_filename = "AnghaBench/freebsd/usr.bin/tftp/extr_main.c_settimeoutnetwork.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAXLINE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Network timeout \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"(value) \00", align 1
@stdin = common local_unnamed_addr global i32 0, align 4
@margc = common local_unnamed_addr global i32 0, align 4
@margv = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [17 x i8] c"usage: %s value\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%s: bad value\0A\00", align 1
@timeoutpacket = common local_unnamed_addr global i32 0, align 4
@maxtimeouts = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @settimeoutnetwork], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @settimeoutnetwork(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr @MAXLINE, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %20
7: ; preds = %2
%8 = call i32 @strcpy(ptr noundef nonnull %5, ptr noundef nonnull @.str) #4
%9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%10 = call i32 @strlen(ptr noundef nonnull %5) #4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %5, i64 %11
%13 = call i32 @strlen(ptr noundef nonnull %5) #4
%14 = sub i32 %3, %13
%15 = load i32, ptr @stdin, align 4, !tbaa !6
%16 = call i32 @fgets(ptr noundef nonnull %12, i32 noundef %14, i32 noundef %15) #4
%17 = call i32 @makeargv(ptr noundef nonnull %5) #4
%18 = load i32, ptr @margc, align 4, !tbaa !6
%19 = load ptr, ptr @margv, align 8, !tbaa !10
br label %20
20: ; preds = %7, %2
%21 = phi ptr [ %19, %7 ], [ %1, %2 ]
%22 = phi i32 [ %18, %7 ], [ %0, %2 ]
%23 = icmp eq i32 %22, 2
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load ptr, ptr %21, align 8, !tbaa !10
%26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %25)
br label %38
27: ; preds = %20
%28 = getelementptr inbounds i8, ptr %21, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !10
%30 = call i32 @atoi(ptr nocapture noundef %29)
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %29)
br label %38
34: ; preds = %27
%35 = load i32, ptr @timeoutpacket, align 4, !tbaa !6
%36 = load i32, ptr @maxtimeouts, align 4, !tbaa !6
%37 = call i32 @settimeouts(i32 noundef %35, i32 noundef %30, i32 noundef %36) #4
br label %38
38: ; preds = %34, %32, %24
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @makeargv(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @settimeouts(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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_usr.bin_tftp_extr_main.c_settimeoutnetwork |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_flags.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_flags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @ENGINE_get_flags(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_flags.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_flags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @ENGINE_get_flags(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_crypto_engine_extr_eng_lib.c_ENGINE_get_flags |
; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rmap.c_xfs_rmap_btrec_to_irec.c'
source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rmap.c_xfs_rmap_btrec_to_irec.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.xfs_rmap_irec = type { i32, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local i32 @xfs_rmap_btrec_to_irec(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @be32_to_cpu(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.xfs_rmap_irec, ptr %1, i64 0, i32 2
store ptr %5, ptr %6, align 8, !tbaa !8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = tail call ptr @be32_to_cpu(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.xfs_rmap_irec, ptr %1, i64 0, i32 1
store ptr %9, ptr %10, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = tail call i32 @be64_to_cpu(i32 noundef %12) #2
store i32 %13, ptr %1, align 8, !tbaa !13
%14 = load i32, ptr %0, align 4, !tbaa !5
%15 = tail call i32 @be64_to_cpu(i32 noundef %14) #2
%16 = tail call i32 @xfs_rmap_irec_offset_unpack(i32 noundef %15, ptr noundef nonnull %1) #2
ret i32 %16
}
declare ptr @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @be64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @xfs_rmap_irec_offset_unpack(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !11, i64 16}
!9 = !{!"xfs_rmap_irec", !10, i64 0, !11, i64 8, !11, i64 16}
!10 = !{!"int", !6, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!9, !11, i64 8}
!13 = !{!9, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rmap.c_xfs_rmap_btrec_to_irec.c'
source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rmap.c_xfs_rmap_btrec_to_irec.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 @xfs_rmap_btrec_to_irec(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 12
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @be32_to_cpu(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %5, ptr %6, align 8, !tbaa !9
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = tail call ptr @be32_to_cpu(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %9, ptr %10, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = tail call i32 @be64_to_cpu(i32 noundef %12) #2
store i32 %13, ptr %1, align 8, !tbaa !14
%14 = load i32, ptr %0, align 4, !tbaa !6
%15 = tail call i32 @be64_to_cpu(i32 noundef %14) #2
%16 = tail call i32 @xfs_rmap_irec_offset_unpack(i32 noundef %15, ptr noundef nonnull %1) #2
ret i32 %16
}
declare ptr @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @be64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @xfs_rmap_irec_offset_unpack(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 16}
!10 = !{!"xfs_rmap_irec", !11, i64 0, !12, i64 8, !12, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!10, !11, i64 0}
| linux_fs_xfs_libxfs_extr_xfs_rmap.c_xfs_rmap_btrec_to_irec |
; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_rename.c_test_diff_rename__delete_and_rename.c'
source_filename = "AnghaBench/libgit2/tests/diff/extr_rename.c_test_diff_rename__delete_and_rename.c"
target datalayout = "e-m:e-p270:32:32-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 { i32 }
%struct.TYPE_9__ = type { i32 }
@RENAME_MODIFICATION_COMMIT = dso_local local_unnamed_addr global ptr null, align 8
@DELETE_RENAME_COMMIT = dso_local local_unnamed_addr global ptr null, align 8
@GIT_DIFF_FIND_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@GIT_BUF_INIT = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@.str = private unnamed_addr constant [1067 x i8] c"diff --git a/sixserving.txt b/sixserving.txt\0Adeleted file mode 100644\0Aindex f90d4fc..0000000\0A--- a/sixserving.txt\0A+++ /dev/null\0A@@ -1,25 +0,0 @@\0A-I KEEP six honest serving-men\0A- (They taught me all I knew);\0A-Their names are What and Why and When\0A- And How and Where and Who.\0A-I send them over land and sea,\0A- I send them east and west;\0A-But after they have worked for me,\0A- I give them all a rest.\0A-\0A-I let them rest from nine till five,\0A- For I am busy then,\0A-As well as breakfast, lunch, and tea,\0A- For they are hungry men.\0A-But different folk have different views;\0A-I know a person small\E2\80\94\0A-She keeps ten million serving-men,\0A-Who get no rest at all!\0A-\0A-She sends'em abroad on her own affairs,\0A- From the second she opens her eyes\E2\80\94\0A-One million Hows, two million Wheres,\0A-And seven million Whys!\0A-\0A- -- Rudyard Kipling\0A-\0Adiff --git a/songof7cities.txt b/sixserving.txt\0Asimilarity index 100%\0Arename from songof7cities.txt\0Arename to sixserving.txt\0A\00", align 1
@g_repo = dso_local local_unnamed_addr global i32 0, align 4
@GIT_DIFF_FIND_RENAMES_FROM_REWRITES = dso_local local_unnamed_addr global i32 0, align 4
@GIT_DIFF_FORMAT_PATCH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_diff_rename__delete_and_rename() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca %struct.TYPE_8__, align 4
%3 = alloca %struct.TYPE_9__, align 4
%4 = load ptr, ptr @RENAME_MODIFICATION_COMMIT, align 8, !tbaa !5
%5 = load ptr, ptr @DELETE_RENAME_COMMIT, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%6 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !9
store i32 %6, ptr %3, align 4, !tbaa !9
%7 = load i32, ptr @g_repo, align 4, !tbaa !9
%8 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %7, ptr noundef %4) #3
%9 = load i32, ptr @g_repo, align 4, !tbaa !9
%10 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %9, ptr noundef %5) #3
%11 = load i32, ptr @GIT_DIFF_FIND_RENAMES_FROM_REWRITES, align 4, !tbaa !9
store i32 %11, ptr %2, align 4, !tbaa !11
%12 = load i32, ptr @g_repo, align 4, !tbaa !9
%13 = call i32 @git_diff_tree_to_tree(ptr noundef nonnull %1, i32 noundef %12, ptr noundef %8, ptr noundef %10, ptr noundef null) #3
%14 = call i32 @cl_git_pass(i32 noundef %13) #3
%15 = load ptr, ptr %1, align 8, !tbaa !5
%16 = call i32 @git_diff_find_similar(ptr noundef %15, ptr noundef nonnull %2) #3
%17 = call i32 @cl_git_pass(i32 noundef %16) #3
%18 = load ptr, ptr %1, align 8, !tbaa !5
%19 = load i32, ptr @GIT_DIFF_FORMAT_PATCH, align 4, !tbaa !9
%20 = call i32 @git_diff_to_buf(ptr noundef nonnull %3, ptr noundef %18, i32 noundef %19) #3
%21 = call i32 @cl_git_pass(i32 noundef %20) #3
%22 = load i32, ptr %3, align 4, !tbaa !13
%23 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %22) #3
%24 = call i32 @git_buf_dispose(ptr noundef nonnull %3) #3
%25 = load ptr, ptr %1, align 8, !tbaa !5
%26 = call i32 @git_diff_free(ptr noundef %25) #3
%27 = call i32 @git_tree_free(ptr noundef %8) #3
%28 = call i32 @git_tree_free(ptr noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @resolve_commit_oid_to_tree(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_diff_tree_to_tree(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_find_similar(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_to_buf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_buf_dispose(ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_8__", !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_9__", !10, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_rename.c_test_diff_rename__delete_and_rename.c'
source_filename = "AnghaBench/libgit2/tests/diff/extr_rename.c_test_diff_rename__delete_and_rename.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 { i32 }
%struct.TYPE_9__ = type { i32 }
@RENAME_MODIFICATION_COMMIT = common local_unnamed_addr global ptr null, align 8
@DELETE_RENAME_COMMIT = common local_unnamed_addr global ptr null, align 8
@GIT_DIFF_FIND_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@GIT_BUF_INIT = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@.str = private unnamed_addr constant [1067 x i8] c"diff --git a/sixserving.txt b/sixserving.txt\0Adeleted file mode 100644\0Aindex f90d4fc..0000000\0A--- a/sixserving.txt\0A+++ /dev/null\0A@@ -1,25 +0,0 @@\0A-I KEEP six honest serving-men\0A- (They taught me all I knew);\0A-Their names are What and Why and When\0A- And How and Where and Who.\0A-I send them over land and sea,\0A- I send them east and west;\0A-But after they have worked for me,\0A- I give them all a rest.\0A-\0A-I let them rest from nine till five,\0A- For I am busy then,\0A-As well as breakfast, lunch, and tea,\0A- For they are hungry men.\0A-But different folk have different views;\0A-I know a person small\E2\80\94\0A-She keeps ten million serving-men,\0A-Who get no rest at all!\0A-\0A-She sends'em abroad on her own affairs,\0A- From the second she opens her eyes\E2\80\94\0A-One million Hows, two million Wheres,\0A-And seven million Whys!\0A-\0A- -- Rudyard Kipling\0A-\0Adiff --git a/songof7cities.txt b/sixserving.txt\0Asimilarity index 100%\0Arename from songof7cities.txt\0Arename to sixserving.txt\0A\00", align 1
@g_repo = common local_unnamed_addr global i32 0, align 4
@GIT_DIFF_FIND_RENAMES_FROM_REWRITES = common local_unnamed_addr global i32 0, align 4
@GIT_DIFF_FORMAT_PATCH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_diff_rename__delete_and_rename() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca %struct.TYPE_8__, align 4
%3 = alloca %struct.TYPE_9__, align 4
%4 = load ptr, ptr @RENAME_MODIFICATION_COMMIT, align 8, !tbaa !6
%5 = load ptr, ptr @DELETE_RENAME_COMMIT, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%6 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !10
store i32 %6, ptr %3, align 4, !tbaa !10
%7 = load i32, ptr @g_repo, align 4, !tbaa !10
%8 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %7, ptr noundef %4) #3
%9 = load i32, ptr @g_repo, align 4, !tbaa !10
%10 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %9, ptr noundef %5) #3
%11 = load i32, ptr @GIT_DIFF_FIND_RENAMES_FROM_REWRITES, align 4, !tbaa !10
store i32 %11, ptr %2, align 4, !tbaa !12
%12 = load i32, ptr @g_repo, align 4, !tbaa !10
%13 = call i32 @git_diff_tree_to_tree(ptr noundef nonnull %1, i32 noundef %12, ptr noundef %8, ptr noundef %10, ptr noundef null) #3
%14 = call i32 @cl_git_pass(i32 noundef %13) #3
%15 = load ptr, ptr %1, align 8, !tbaa !6
%16 = call i32 @git_diff_find_similar(ptr noundef %15, ptr noundef nonnull %2) #3
%17 = call i32 @cl_git_pass(i32 noundef %16) #3
%18 = load ptr, ptr %1, align 8, !tbaa !6
%19 = load i32, ptr @GIT_DIFF_FORMAT_PATCH, align 4, !tbaa !10
%20 = call i32 @git_diff_to_buf(ptr noundef nonnull %3, ptr noundef %18, i32 noundef %19) #3
%21 = call i32 @cl_git_pass(i32 noundef %20) #3
%22 = load i32, ptr %3, align 4, !tbaa !14
%23 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %22) #3
%24 = call i32 @git_buf_dispose(ptr noundef nonnull %3) #3
%25 = load ptr, ptr %1, align 8, !tbaa !6
%26 = call i32 @git_diff_free(ptr noundef %25) #3
%27 = call i32 @git_tree_free(ptr noundef %8) #3
%28 = call i32 @git_tree_free(ptr noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @resolve_commit_oid_to_tree(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_diff_tree_to_tree(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_find_similar(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_to_buf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_buf_dispose(ptr noundef) local_unnamed_addr #2
declare i32 @git_diff_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_8__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_9__", !11, i64 0}
| libgit2_tests_diff_extr_rename.c_test_diff_rename__delete_and_rename |
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_token.c_au_to_zonename.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_token.c_au_to_zonename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AUT_ZONENAME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local noalias noundef nonnull ptr @au_to_zonename(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%3 = add i64 %2, 13
%4 = tail call i32 @GET_TOKEN_AREA(ptr noundef undef, ptr noundef null, i64 noundef %3) #3
unreachable
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @GET_TOKEN_AREA(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 #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/freebsd/contrib/openbsm/libbsm/extr_bsm_token.c_au_to_zonename.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_token.c_au_to_zonename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUT_ZONENAME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noalias noundef nonnull ptr @au_to_zonename(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%3 = add i64 %2, 13
%4 = tail call i32 @GET_TOKEN_AREA(ptr noundef undef, ptr noundef null, i64 noundef %3) #3
unreachable
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @GET_TOKEN_AREA(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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)"}
| freebsd_contrib_openbsm_libbsm_extr_bsm_token.c_au_to_zonename |
; ModuleID = 'AnghaBench/beanstalkd/extr_testserv.c_mustdialunix.c'
source_filename = "AnghaBench/beanstalkd/extr_testserv.c_mustdialunix.c"
target datalayout = "e-m:e-p270:32:32-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_un = type { i32, i32 }
@AF_UNIX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mustdialunix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mustdialunix(ptr noundef %0) #0 {
%2 = alloca %struct.sockaddr_un, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @AF_UNIX, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i64 0, i32 1
store i32 %3, ptr %4, align 4, !tbaa !9
%5 = tail call i32 @snprintf(i32 noundef undef, i64 noundef 4, ptr noundef nonnull @.str, ptr noundef %0) #4
%6 = load i32, ptr @AF_UNIX, align 4, !tbaa !5
%7 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5
%8 = tail call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) #4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = tail call i32 @twarn(ptr noundef nonnull @.str.1) #4
%12 = tail call i32 @exit(i32 noundef 1) #5
unreachable
13: ; preds = %1
%14 = call i32 @connect(i32 noundef %8, ptr noundef nonnull %2, i32 noundef 8) #4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @twarn(ptr noundef nonnull @.str.2) #4
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
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 @snprintf(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @twarn(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @connect(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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"sockaddr_un", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/beanstalkd/extr_testserv.c_mustdialunix.c'
source_filename = "AnghaBench/beanstalkd/extr_testserv.c_mustdialunix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mustdialunix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, -1) i32 @mustdialunix(ptr noundef %0) #0 {
%2 = alloca %struct.sockaddr_un, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @AF_UNIX, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = tail call i32 @snprintf(i32 noundef undef, i64 noundef 4, ptr noundef nonnull @.str, ptr noundef %0) #4
%6 = load i32, ptr @AF_UNIX, align 4, !tbaa !6
%7 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6
%8 = tail call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) #4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = tail call i32 @twarn(ptr noundef nonnull @.str.1) #4
%12 = tail call i32 @exit(i32 noundef 1) #5
unreachable
13: ; preds = %1
%14 = call i32 @connect(i32 noundef %8, ptr noundef nonnull %2, i32 noundef 8) #4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @twarn(ptr noundef nonnull @.str.2) #4
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
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 @snprintf(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @twarn(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @connect(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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"sockaddr_un", !7, i64 0, !7, i64 4}
| beanstalkd_extr_testserv.c_mustdialunix |
; ModuleID = 'AnghaBench/linux/lib/lz4/extr_lz4_compress.c_LZ4_compress_destSize.c'
source_filename = "AnghaBench/linux/lib/lz4/extr_lz4_compress.c_LZ4_compress_destSize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @LZ4_compress_destSize(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @LZ4_compress_destSize_extState(ptr noundef %4, ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2
ret i32 %6
}
declare i32 @LZ4_compress_destSize_extState(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/lib/lz4/extr_lz4_compress.c_LZ4_compress_destSize.c'
source_filename = "AnghaBench/linux/lib/lz4/extr_lz4_compress.c_LZ4_compress_destSize.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 @LZ4_compress_destSize(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @LZ4_compress_destSize_extState(ptr noundef %4, ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2
ret i32 %6
}
declare i32 @LZ4_compress_destSize_extState(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_lib_lz4_extr_lz4_compress.c_LZ4_compress_destSize |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_osst.c_os_scsi_tape_close.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_osst.c_os_scsi_tape_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.osst_tape = type { i64, i32, i64, i32, i64, i64 }
@ST_LOCKED_AUTO = dso_local local_unnamed_addr global i64 0, align 8
@os_scsi_tapes_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @os_scsi_tape_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @os_scsi_tape_close(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr @ST_LOCKED_AUTO, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @do_door_lock(ptr noundef nonnull %3, i32 noundef 0) #2
br label %9
9: ; preds = %7, %2
%10 = getelementptr inbounds %struct.osst_tape, ptr %3, i64 0, i32 5
%11 = load i64, ptr %10, align 8, !tbaa !15
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = getelementptr inbounds %struct.osst_tape, ptr %3, i64 0, i32 4
store i64 0, ptr %14, align 8, !tbaa !16
br label %15
15: ; preds = %13, %9
%16 = getelementptr inbounds %struct.osst_tape, ptr %3, i64 0, i32 3
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = tail call i32 @normalize_buffer(i32 noundef %17) #2
%19 = tail call i32 @write_lock(ptr noundef nonnull @os_scsi_tapes_lock) #2
%20 = getelementptr inbounds %struct.osst_tape, ptr %3, i64 0, i32 2
store i64 0, ptr %20, align 8, !tbaa !18
%21 = tail call i32 @write_unlock(ptr noundef nonnull @os_scsi_tapes_lock) #2
%22 = getelementptr inbounds %struct.osst_tape, ptr %3, i64 0, i32 1
%23 = load i32, ptr %22, align 8, !tbaa !19
%24 = tail call i32 @scsi_device_put(i32 noundef %23) #2
ret i32 0
}
declare i32 @do_door_lock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @normalize_buffer(i32 noundef) local_unnamed_addr #1
declare i32 @write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @scsi_device_put(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 = !{!"file", !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 = !{!"osst_tape", !12, i64 0, !13, i64 8, !12, i64 16, !13, i64 24, !12, i64 32, !12, i64 40}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 40}
!16 = !{!11, !12, i64 32}
!17 = !{!11, !13, i64 24}
!18 = !{!11, !12, i64 16}
!19 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_osst.c_os_scsi_tape_close.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_osst.c_os_scsi_tape_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ST_LOCKED_AUTO = common local_unnamed_addr global i64 0, align 8
@os_scsi_tapes_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @os_scsi_tape_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @os_scsi_tape_close(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr @ST_LOCKED_AUTO, align 8, !tbaa !15
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @do_door_lock(ptr noundef nonnull %3, i32 noundef 0) #2
br label %9
9: ; preds = %7, %2
%10 = getelementptr inbounds i8, ptr %3, i64 40
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %3, i64 32
store i64 0, ptr %14, align 8, !tbaa !17
br label %15
15: ; preds = %13, %9
%16 = getelementptr inbounds i8, ptr %3, i64 24
%17 = load i32, ptr %16, align 8, !tbaa !18
%18 = tail call i32 @normalize_buffer(i32 noundef %17) #2
%19 = tail call i32 @write_lock(ptr noundef nonnull @os_scsi_tapes_lock) #2
%20 = getelementptr inbounds i8, ptr %3, i64 16
store i64 0, ptr %20, align 8, !tbaa !19
%21 = tail call i32 @write_unlock(ptr noundef nonnull @os_scsi_tapes_lock) #2
%22 = getelementptr inbounds i8, ptr %3, i64 8
%23 = load i32, ptr %22, align 8, !tbaa !20
%24 = tail call i32 @scsi_device_put(i32 noundef %23) #2
ret i32 0
}
declare i32 @do_door_lock(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @normalize_buffer(i32 noundef) local_unnamed_addr #1
declare i32 @write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @scsi_device_put(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 = !{!"file", !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 = !{!"osst_tape", !13, i64 0, !14, i64 8, !13, i64 16, !14, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 40}
!17 = !{!12, !13, i64 32}
!18 = !{!12, !14, i64 24}
!19 = !{!12, !13, i64 16}
!20 = !{!12, !14, i64 8}
| fastsocket_kernel_drivers_scsi_extr_osst.c_os_scsi_tape_close |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/lpr/lpd/extr_printjob.c_opentty.c'
source_filename = "AnghaBench/freebsd/usr.sbin/lpr/lpd/extr_printjob.c_opentty.c"
target datalayout = "e-m:e-p270:32:32-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.printer = type { i32, i32, i64 }
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@pfd = dso_local local_unnamed_addr global i64 0, align 8
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i64 0, align 8
@LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s: %m\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"waiting for %s to become ready (offline?)\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%s is ready and printing\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @opentty], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @opentty(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.printer, ptr %0, i64 0, i32 1
%3 = getelementptr inbounds %struct.printer, ptr %0, i64 0, i32 2
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = load i64, ptr %3, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = tail call i64 @open(i32 noundef %4, i32 noundef %9) #3
store i64 %10, ptr @pfd, align 8, !tbaa !12
%11 = icmp sgt i64 %10, -1
br i1 %11, label %12, label %17
12: ; preds = %32, %1
%13 = tail call i32 @delay(i32 noundef 500) #3
%14 = load i64, ptr @pfd, align 8, !tbaa !12
%15 = tail call i64 @isatty(i64 noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %47, label %45
17: ; preds = %1, %32
%18 = phi i32 [ %36, %32 ], [ 1, %1 ]
%19 = load i64, ptr @errno, align 8, !tbaa !12
%20 = load i64, ptr @ENOENT, align 8, !tbaa !12
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load i32, ptr @LOG_ERR, align 4, !tbaa !13
%24 = load i32, ptr %2, align 4, !tbaa !5
%25 = tail call i32 @syslog(i32 noundef %23, ptr noundef nonnull @.str, i32 noundef %24) #3
%26 = tail call i32 @exit(i32 noundef 1) #4
unreachable
27: ; preds = %17
%28 = icmp eq i32 %18, 1
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i32, ptr %0, align 8, !tbaa !14
%31 = tail call i32 @pstatus(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %30) #3
br label %32
32: ; preds = %29, %27
%33 = tail call i32 @sleep(i32 noundef %18) #3
%34 = icmp slt i32 %18, 32
%35 = zext i1 %34 to i32
%36 = shl i32 %18, %35
%37 = load i32, ptr %2, align 4, !tbaa !5
%38 = load i64, ptr %3, align 8, !tbaa !11
%39 = icmp eq i64 %38, 0
%40 = load i32, ptr @O_RDWR, align 4
%41 = load i32, ptr @O_WRONLY, align 4
%42 = select i1 %39, i32 %41, i32 %40
%43 = tail call i64 @open(i32 noundef %37, i32 noundef %42) #3
store i64 %43, ptr @pfd, align 8, !tbaa !12
%44 = icmp sgt i64 %43, -1
br i1 %44, label %12, label %17
45: ; preds = %12
%46 = tail call i32 @setty(ptr noundef nonnull %0) #3
br label %47
47: ; preds = %45, %12
%48 = load i32, ptr %0, align 8, !tbaa !14
%49 = tail call i32 @pstatus(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %48) #3
ret void
}
declare i64 @open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delay(i32 noundef) local_unnamed_addr #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @pstatus(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleep(i32 noundef) local_unnamed_addr #1
declare i64 @isatty(i64 noundef) local_unnamed_addr #1
declare i32 @setty(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, !7, i64 4}
!6 = !{!"printer", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/lpr/lpd/extr_printjob.c_opentty.c'
source_filename = "AnghaBench/freebsd/usr.sbin/lpr/lpd/extr_printjob.c_opentty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_RDWR = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@pfd = common local_unnamed_addr global i64 0, align 8
@errno = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i64 0, align 8
@LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s: %m\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"waiting for %s to become ready (offline?)\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%s is ready and printing\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @opentty], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @opentty(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = load i64, ptr %3, align 8, !tbaa !12
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = tail call i64 @open(i32 noundef %4, i32 noundef %9) #3
store i64 %10, ptr @pfd, align 8, !tbaa !13
%11 = icmp sgt i64 %10, -1
br i1 %11, label %12, label %17
12: ; preds = %32, %1
%13 = tail call i32 @delay(i32 noundef 500) #3
%14 = load i64, ptr @pfd, align 8, !tbaa !13
%15 = tail call i64 @isatty(i64 noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %47, label %45
17: ; preds = %1, %32
%18 = phi i32 [ %36, %32 ], [ 1, %1 ]
%19 = load i64, ptr @errno, align 8, !tbaa !13
%20 = load i64, ptr @ENOENT, align 8, !tbaa !13
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load i32, ptr @LOG_ERR, align 4, !tbaa !14
%24 = load i32, ptr %2, align 4, !tbaa !6
%25 = tail call i32 @syslog(i32 noundef %23, ptr noundef nonnull @.str, i32 noundef %24) #3
%26 = tail call i32 @exit(i32 noundef 1) #4
unreachable
27: ; preds = %17
%28 = icmp eq i32 %18, 1
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i32, ptr %0, align 8, !tbaa !15
%31 = tail call i32 @pstatus(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %30) #3
br label %32
32: ; preds = %29, %27
%33 = tail call i32 @sleep(i32 noundef %18) #3
%34 = icmp slt i32 %18, 32
%35 = zext i1 %34 to i32
%36 = shl i32 %18, %35
%37 = load i32, ptr %2, align 4, !tbaa !6
%38 = load i64, ptr %3, align 8, !tbaa !12
%39 = icmp eq i64 %38, 0
%40 = load i32, ptr @O_RDWR, align 4
%41 = load i32, ptr @O_WRONLY, align 4
%42 = select i1 %39, i32 %41, i32 %40
%43 = tail call i64 @open(i32 noundef %37, i32 noundef %42) #3
store i64 %43, ptr @pfd, align 8, !tbaa !13
%44 = icmp sgt i64 %43, -1
br i1 %44, label %12, label %17
45: ; preds = %12
%46 = tail call i32 @setty(ptr noundef nonnull %0) #3
br label %47
47: ; preds = %45, %12
%48 = load i32, ptr %0, align 8, !tbaa !15
%49 = tail call i32 @pstatus(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %48) #3
ret void
}
declare i64 @open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delay(i32 noundef) local_unnamed_addr #1
declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @pstatus(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleep(i32 noundef) local_unnamed_addr #1
declare i64 @isatty(i64 noundef) local_unnamed_addr #1
declare i32 @setty(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, !8, i64 4}
!7 = !{!"printer", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| freebsd_usr.sbin_lpr_lpd_extr_printjob.c_opentty |
; ModuleID = 'AnghaBench/freebsd/sbin/dhclient/extr_inet.c_broadcast_addr.c'
source_filename = "AnghaBench/freebsd/sbin/dhclient/extr_inet.c_broadcast_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local { i32, ptr } @broadcast_addr(i32 %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %0, %2
%6 = select i1 %5, i32 %0, i32 0
%7 = insertvalue { i32, ptr } poison, i32 %6, 0
%8 = insertvalue { i32, ptr } %7, ptr undef, 1
ret { i32, ptr } %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sbin/dhclient/extr_inet.c_broadcast_addr.c'
source_filename = "AnghaBench/freebsd/sbin/dhclient/extr_inet.c_broadcast_addr.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(inaccessiblemem: write) uwtable(sync)
define [2 x i64] @broadcast_addr([2 x i64] %0, [2 x i64] %1) local_unnamed_addr #0 {
%3 = extractvalue [2 x i64] %0, 0
%4 = trunc i64 %3 to i32
%5 = extractvalue [2 x i64] %1, 0
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = icmp eq i32 %4, 0
tail call void @llvm.assume(i1 %9)
br label %10
10: ; preds = %2, %8
ret [2 x i64] [i64 0, i64 undef]
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(inaccessiblemem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sbin_dhclient_extr_inet.c_broadcast_addr |
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_explain_recover.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_explain_recover.c"
target datalayout = "e-m:e-p270:32:32-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.tm = type { i32 }
@UINT64_MAX = dso_local local_unnamed_addr global i32 0, align 4
@TEXT_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"action: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@ZPOOL_CONFIG_LOAD_INFO = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_INFO = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_TIME = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_TIME = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_DATA_ERRORS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [58 x i8] c"Recovery is possible, but will result in some data loss.\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [73 x i8] c"\09Returning the pool to its state as of %s\0A\09should correct the problem. \00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c"\09Reverting the pool to an earlier state should correct the problem.\0A\09\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c"Approximately %lld minutes of data\0A\09must be discarded, irreversibly. \00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c"Approximately %lld seconds of data\0A\09must be discarded, irreversibly. \00", align 1
@.str.8 = private unnamed_addr constant [70 x i8] c"After rewind, at least\0A\09one persistent user-data error will remain. \00", align 1
@.str.9 = private unnamed_addr constant [66 x i8] c"After rewind, several\0A\09persistent user-data errors will remain. \00", align 1
@.str.10 = private unnamed_addr constant [60 x i8] c"Recovery can be attempted\0A\09by executing 'zpool %s -F %s'. \00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"import\00", align 1
@.str.13 = private unnamed_addr constant [62 x i8] c"A scrub of the pool\0A\09is strongly recommended after recovery.\0A\00", align 1
@.str.14 = private unnamed_addr constant [55 x i8] c"Destroy and re-create the pool from\0A\09a backup source.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @zpool_explain_recover(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.tm, align 4
%10 = alloca [128 x i8], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
store ptr null, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
store i32 -1, ptr %6, align 4, !tbaa !9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%11 = load i32, ptr @UINT64_MAX, align 4, !tbaa !9
store i32 %11, ptr %7, align 4, !tbaa !9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %10) #4
%12 = load i32, ptr %0, align 4, !tbaa !11
%13 = icmp eq i32 %12, 0
br i1 %13, label %95, label %14
14: ; preds = %4
%15 = icmp sgt i32 %2, -1
%16 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%17 = select i1 %15, ptr @.str, ptr @.str.1
%18 = tail call ptr @dgettext(i32 noundef %16, ptr noundef nonnull %17) #4
%19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %18)
%20 = load i32, ptr @ZPOOL_CONFIG_LOAD_INFO, align 4, !tbaa !9
%21 = call i64 @nvlist_lookup_nvlist(ptr noundef %3, i32 noundef %20, ptr noundef nonnull %5) #4
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %90
23: ; preds = %14
%24 = load ptr, ptr %5, align 8, !tbaa !5
%25 = load i32, ptr @ZPOOL_CONFIG_REWIND_INFO, align 4, !tbaa !9
%26 = call i64 @nvlist_lookup_nvlist(ptr noundef %24, i32 noundef %25, ptr noundef nonnull %5) #4
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %90
28: ; preds = %23
%29 = load ptr, ptr %5, align 8, !tbaa !5
%30 = load i32, ptr @ZPOOL_CONFIG_LOAD_TIME, align 4, !tbaa !9
%31 = call i64 @nvlist_lookup_uint64(ptr noundef %29, i32 noundef %30, ptr noundef nonnull %8) #4
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %90
33: ; preds = %28
%34 = load ptr, ptr %5, align 8, !tbaa !5
%35 = load i32, ptr @ZPOOL_CONFIG_REWIND_TIME, align 4, !tbaa !9
%36 = call i32 @nvlist_lookup_int64(ptr noundef %34, i32 noundef %35, ptr noundef nonnull %6) #4
%37 = load ptr, ptr %5, align 8, !tbaa !5
%38 = load i32, ptr @ZPOOL_CONFIG_LOAD_DATA_ERRORS, align 4, !tbaa !9
%39 = call i64 @nvlist_lookup_uint64(ptr noundef %37, i32 noundef %38, ptr noundef nonnull %7) #4
%40 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%41 = call ptr @dgettext(i32 noundef %40, ptr noundef nonnull @.str.2) #4
%42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %41)
%43 = call ptr @localtime_r(ptr noundef nonnull %8, ptr noundef nonnull %9) #4
%44 = icmp eq ptr %43, null
br i1 %44, label %52, label %45
45: ; preds = %33
%46 = call i64 @strftime(ptr noundef nonnull %10, i32 noundef 128, ptr noundef nonnull @.str.3, ptr noundef nonnull %9) #4
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %45
%49 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%50 = call ptr @dgettext(i32 noundef %49, ptr noundef nonnull @.str.4) #4
%51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %50, ptr noundef nonnull %10)
br label %56
52: ; preds = %45, %33
%53 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%54 = call ptr @dgettext(i32 noundef %53, ptr noundef nonnull @.str.5) #4
%55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %54)
br label %56
56: ; preds = %52, %48
%57 = load i32, ptr %6, align 4, !tbaa !9
%58 = icmp sgt i32 %57, 120
br i1 %58, label %59, label %66
59: ; preds = %56
%60 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%61 = call ptr @dgettext(i32 noundef %60, ptr noundef nonnull @.str.6) #4
%62 = load i32, ptr %6, align 4, !tbaa !9
%63 = add nsw i32 %62, 30
%64 = sdiv i32 %63, 60
%65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %61, i32 noundef %64)
br label %73
66: ; preds = %56
%67 = icmp sgt i32 %57, 0
br i1 %67, label %68, label %73
68: ; preds = %66
%69 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%70 = call ptr @dgettext(i32 noundef %69, ptr noundef nonnull @.str.7) #4
%71 = load i32, ptr %6, align 4, !tbaa !9
%72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %70, i32 noundef %71)
br label %73
73: ; preds = %66, %68, %59
%74 = load i32, ptr %7, align 4, !tbaa !9
%75 = icmp eq i32 %74, 0
%76 = load i32, ptr @UINT64_MAX, align 4
%77 = icmp eq i32 %74, %76
%78 = select i1 %75, i1 true, i1 %77
br i1 %78, label %85, label %79
79: ; preds = %73
%80 = icmp eq i32 %74, 1
%81 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%82 = select i1 %80, ptr @.str.8, ptr @.str.9
%83 = call ptr @dgettext(i32 noundef %81, ptr noundef nonnull %82) #4
%84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %83)
br label %85
85: ; preds = %79, %73
%86 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%87 = call ptr @dgettext(i32 noundef %86, ptr noundef nonnull @.str.10) #4
%88 = select i1 %15, ptr @.str.11, ptr @.str.12
%89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %87, ptr noundef nonnull %88, ptr noundef %1)
br label %90
90: ; preds = %28, %23, %14, %85
%91 = phi ptr [ @.str.13, %85 ], [ @.str.14, %14 ], [ @.str.14, %23 ], [ @.str.14, %28 ]
%92 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !9
%93 = call ptr @dgettext(i32 noundef %92, ptr noundef nonnull %91) #4
%94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %93)
br label %95
95: ; preds = %90, %4
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @nvlist_lookup_nvlist(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @nvlist_lookup_uint64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @nvlist_lookup_int64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @localtime_r(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
| ; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_explain_recover.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_explain_recover.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tm = type { i32 }
@UINT64_MAX = common local_unnamed_addr global i32 0, align 4
@TEXT_DOMAIN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"action: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@ZPOOL_CONFIG_LOAD_INFO = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_INFO = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_TIME = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_TIME = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_DATA_ERRORS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [58 x i8] c"Recovery is possible, but will result in some data loss.\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [73 x i8] c"\09Returning the pool to its state as of %s\0A\09should correct the problem. \00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c"\09Reverting the pool to an earlier state should correct the problem.\0A\09\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c"Approximately %lld minutes of data\0A\09must be discarded, irreversibly. \00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c"Approximately %lld seconds of data\0A\09must be discarded, irreversibly. \00", align 1
@.str.8 = private unnamed_addr constant [70 x i8] c"After rewind, at least\0A\09one persistent user-data error will remain. \00", align 1
@.str.9 = private unnamed_addr constant [66 x i8] c"After rewind, several\0A\09persistent user-data errors will remain. \00", align 1
@.str.10 = private unnamed_addr constant [60 x i8] c"Recovery can be attempted\0A\09by executing 'zpool %s -F %s'. \00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"import\00", align 1
@.str.13 = private unnamed_addr constant [62 x i8] c"A scrub of the pool\0A\09is strongly recommended after recovery.\0A\00", align 1
@.str.14 = private unnamed_addr constant [55 x i8] c"Destroy and re-create the pool from\0A\09a backup source.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @zpool_explain_recover(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.tm, align 4
%10 = alloca [128 x i8], align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
store ptr null, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
store i32 -1, ptr %6, align 4, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%11 = load i32, ptr @UINT64_MAX, align 4, !tbaa !10
store i32 %11, ptr %7, align 4, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %10) #4
%12 = load i32, ptr %0, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %95, label %14
14: ; preds = %4
%15 = icmp sgt i32 %2, -1
%16 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%17 = select i1 %15, ptr @.str, ptr @.str.1
%18 = tail call ptr @dgettext(i32 noundef %16, ptr noundef nonnull %17) #4
%19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %18)
%20 = load i32, ptr @ZPOOL_CONFIG_LOAD_INFO, align 4, !tbaa !10
%21 = call i64 @nvlist_lookup_nvlist(ptr noundef %3, i32 noundef %20, ptr noundef nonnull %5) #4
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %90
23: ; preds = %14
%24 = load ptr, ptr %5, align 8, !tbaa !6
%25 = load i32, ptr @ZPOOL_CONFIG_REWIND_INFO, align 4, !tbaa !10
%26 = call i64 @nvlist_lookup_nvlist(ptr noundef %24, i32 noundef %25, ptr noundef nonnull %5) #4
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %90
28: ; preds = %23
%29 = load ptr, ptr %5, align 8, !tbaa !6
%30 = load i32, ptr @ZPOOL_CONFIG_LOAD_TIME, align 4, !tbaa !10
%31 = call i64 @nvlist_lookup_uint64(ptr noundef %29, i32 noundef %30, ptr noundef nonnull %8) #4
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %90
33: ; preds = %28
%34 = load ptr, ptr %5, align 8, !tbaa !6
%35 = load i32, ptr @ZPOOL_CONFIG_REWIND_TIME, align 4, !tbaa !10
%36 = call i32 @nvlist_lookup_int64(ptr noundef %34, i32 noundef %35, ptr noundef nonnull %6) #4
%37 = load ptr, ptr %5, align 8, !tbaa !6
%38 = load i32, ptr @ZPOOL_CONFIG_LOAD_DATA_ERRORS, align 4, !tbaa !10
%39 = call i64 @nvlist_lookup_uint64(ptr noundef %37, i32 noundef %38, ptr noundef nonnull %7) #4
%40 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%41 = call ptr @dgettext(i32 noundef %40, ptr noundef nonnull @.str.2) #4
%42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %41)
%43 = call ptr @localtime_r(ptr noundef nonnull %8, ptr noundef nonnull %9) #4
%44 = icmp eq ptr %43, null
br i1 %44, label %52, label %45
45: ; preds = %33
%46 = call i64 @strftime(ptr noundef nonnull %10, i32 noundef 128, ptr noundef nonnull @.str.3, ptr noundef nonnull %9) #4
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %45
%49 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%50 = call ptr @dgettext(i32 noundef %49, ptr noundef nonnull @.str.4) #4
%51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %50, ptr noundef nonnull %10)
br label %56
52: ; preds = %45, %33
%53 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%54 = call ptr @dgettext(i32 noundef %53, ptr noundef nonnull @.str.5) #4
%55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %54)
br label %56
56: ; preds = %52, %48
%57 = load i32, ptr %6, align 4, !tbaa !10
%58 = icmp sgt i32 %57, 120
br i1 %58, label %59, label %66
59: ; preds = %56
%60 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%61 = call ptr @dgettext(i32 noundef %60, ptr noundef nonnull @.str.6) #4
%62 = load i32, ptr %6, align 4, !tbaa !10
%63 = add nsw i32 %62, 30
%64 = sdiv i32 %63, 60
%65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %61, i32 noundef %64)
br label %73
66: ; preds = %56
%67 = icmp sgt i32 %57, 0
br i1 %67, label %68, label %73
68: ; preds = %66
%69 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%70 = call ptr @dgettext(i32 noundef %69, ptr noundef nonnull @.str.7) #4
%71 = load i32, ptr %6, align 4, !tbaa !10
%72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %70, i32 noundef %71)
br label %73
73: ; preds = %66, %68, %59
%74 = load i32, ptr %7, align 4, !tbaa !10
%75 = icmp eq i32 %74, 0
%76 = load i32, ptr @UINT64_MAX, align 4
%77 = icmp eq i32 %74, %76
%78 = select i1 %75, i1 true, i1 %77
br i1 %78, label %85, label %79
79: ; preds = %73
%80 = icmp eq i32 %74, 1
%81 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%82 = select i1 %80, ptr @.str.8, ptr @.str.9
%83 = call ptr @dgettext(i32 noundef %81, ptr noundef nonnull %82) #4
%84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %83)
br label %85
85: ; preds = %79, %73
%86 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%87 = call ptr @dgettext(i32 noundef %86, ptr noundef nonnull @.str.10) #4
%88 = select i1 %15, ptr @.str.11, ptr @.str.12
%89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %87, ptr noundef nonnull %88, ptr noundef %1)
br label %90
90: ; preds = %28, %23, %14, %85
%91 = phi ptr [ @.str.13, %85 ], [ @.str.14, %14 ], [ @.str.14, %23 ], [ @.str.14, %28 ]
%92 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !10
%93 = call ptr @dgettext(i32 noundef %92, ptr noundef nonnull %91) #4
%94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %93)
br label %95
95: ; preds = %90, %4
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @nvlist_lookup_nvlist(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @nvlist_lookup_uint64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @nvlist_lookup_int64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @localtime_r(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
| zfs_lib_libzfs_extr_libzfs_pool.c_zpool_explain_recover |
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_alloc_devinfo.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_alloc_devinfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4
@M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4
@M_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_pci_alloc_devinfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @acpi_pci_alloc_devinfo(i32 %0) #0 {
%2 = load i32, ptr @M_DEVBUF, align 4, !tbaa !5
%3 = load i32, ptr @M_WAITOK, align 4, !tbaa !5
%4 = load i32, ptr @M_ZERO, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = tail call ptr @malloc(i32 noundef 4, i32 noundef %2, i32 noundef %5) #2
ret ptr %6
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_alloc_devinfo.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_alloc_devinfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_DEVBUF = common local_unnamed_addr global i32 0, align 4
@M_WAITOK = common local_unnamed_addr global i32 0, align 4
@M_ZERO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @acpi_pci_alloc_devinfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @acpi_pci_alloc_devinfo(i32 %0) #0 {
%2 = load i32, ptr @M_DEVBUF, align 4, !tbaa !6
%3 = load i32, ptr @M_WAITOK, align 4, !tbaa !6
%4 = load i32, ptr @M_ZERO, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = tail call ptr @malloc(i32 noundef 4, i32 noundef %2, i32 noundef %5) #2
ret ptr %6
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_acpica_extr_acpi_pci.c_acpi_pci_alloc_devinfo |
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_ghb_subtitle_list_refresh_all.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_ghb_subtitle_list_refresh_all.c"
target datalayout = "e-m:e-p270:32:32-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 @ghb_subtitle_list_refresh_all(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @subtitle_refresh_list_ui(ptr noundef %0) #2
ret void
}
declare i32 @subtitle_refresh_list_ui(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/HandBrake/gtk/src/extr_subtitlehandler.c_ghb_subtitle_list_refresh_all.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_ghb_subtitle_list_refresh_all.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 @ghb_subtitle_list_refresh_all(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @subtitle_refresh_list_ui(ptr noundef %0) #2
ret void
}
declare i32 @subtitle_refresh_list_ui(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)"}
| HandBrake_gtk_src_extr_subtitlehandler.c_ghb_subtitle_list_refresh_all |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_close_filed.c'
source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_close_filed.c"
target datalayout = "e-m:e-p270:32:32-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.filed = type { i32, i32, i32, ptr }
@F_UNUSED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @close_filed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @close_filed(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %24, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp eq i32 %4, -1
br i1 %5, label %24, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.filed, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
switch i32 %8, label %21 [
i32 130, label %9
i32 131, label %16
i32 128, label %16
i32 132, label %16
i32 129, label %19
]
9: ; preds = %6
%10 = getelementptr inbounds %struct.filed, ptr %0, i64 0, i32 3
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = tail call i32 @freeaddrinfo(ptr noundef nonnull %11) #2
store ptr null, ptr %10, align 8, !tbaa !12
%15 = load i32, ptr %0, align 8, !tbaa !5
br label %16
16: ; preds = %9, %13, %6, %6, %6
%17 = phi i32 [ %4, %9 ], [ %15, %13 ], [ %4, %6 ], [ %4, %6 ], [ %4, %6 ]
%18 = load i32, ptr @F_UNUSED, align 4, !tbaa !13
store i32 %18, ptr %7, align 4, !tbaa !11
br label %21
19: ; preds = %6
%20 = getelementptr inbounds %struct.filed, ptr %0, i64 0, i32 2
store i32 0, ptr %20, align 8, !tbaa !14
br label %21
21: ; preds = %6, %19, %16
%22 = phi i32 [ %4, %6 ], [ %4, %19 ], [ %17, %16 ]
%23 = tail call i32 @close(i32 noundef %22) #2
store i32 -1, ptr %0, align 8, !tbaa !5
br label %24
24: ; preds = %1, %3, %21
ret void
}
declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #1
declare i32 @close(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 = !{!"filed", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_close_filed.c'
source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_close_filed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_UNUSED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @close_filed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @close_filed(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %24, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp eq i32 %4, -1
br i1 %5, label %24, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
switch i32 %8, label %21 [
i32 130, label %9
i32 131, label %16
i32 128, label %16
i32 132, label %16
i32 129, label %19
]
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = tail call i32 @freeaddrinfo(ptr noundef nonnull %11) #2
store ptr null, ptr %10, align 8, !tbaa !13
%15 = load i32, ptr %0, align 8, !tbaa !6
br label %16
16: ; preds = %9, %13, %6, %6, %6
%17 = phi i32 [ %4, %9 ], [ %15, %13 ], [ %4, %6 ], [ %4, %6 ], [ %4, %6 ]
%18 = load i32, ptr @F_UNUSED, align 4, !tbaa !14
store i32 %18, ptr %7, align 4, !tbaa !12
br label %21
19: ; preds = %6
%20 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %20, align 8, !tbaa !15
br label %21
21: ; preds = %6, %19, %16
%22 = phi i32 [ %4, %6 ], [ %4, %19 ], [ %17, %16 ]
%23 = tail call i32 @close(i32 noundef %22) #2
store i32 -1, ptr %0, align 8, !tbaa !6
br label %24
24: ; preds = %1, %3, %21
ret void
}
declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #1
declare i32 @close(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 = !{!"filed", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 16}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 8}
| freebsd_usr.sbin_syslogd_extr_syslogd.c_close_filed |
; ModuleID = 'AnghaBench/libgit2/src/extr_blob.c_git_blob_create_from_buffer.c'
source_filename = "AnghaBench/libgit2/src/extr_blob.c_git_blob_create_from_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"
@GIT_OBJECT_BLOB = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @git_blob_create_from_buffer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = icmp ne ptr %0, null
%8 = icmp ne ptr %1, null
%9 = and i1 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = call i32 @git_repository_odb__weakptr(ptr noundef nonnull %5, ptr noundef %1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %30, label %14
14: ; preds = %4
%15 = load ptr, ptr %5, align 8, !tbaa !5
%16 = load i32, ptr @GIT_OBJECT_BLOB, align 4, !tbaa !9
%17 = call i32 @git_odb_open_wstream(ptr noundef nonnull %6, ptr noundef %15, i64 noundef %3, i32 noundef %16) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %14
%20 = load ptr, ptr %6, align 8, !tbaa !5
%21 = call i32 @git_odb_stream_write(ptr noundef %20, ptr noundef %2, i64 noundef %3) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %6, align 8, !tbaa !5
%25 = call i32 @git_odb_stream_finalize_write(ptr noundef %0, ptr noundef %24) #3
br label %26
26: ; preds = %23, %19
%27 = phi i32 [ %25, %23 ], [ %21, %19 ]
%28 = load ptr, ptr %6, align 8, !tbaa !5
%29 = call i32 @git_odb_stream_free(ptr noundef %28) #3
br label %30
30: ; preds = %4, %14, %26
%31 = phi i32 [ %27, %26 ], [ %12, %4 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @git_repository_odb__weakptr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_odb_open_wstream(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_finalize_write(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_blob.c_git_blob_create_from_buffer.c'
source_filename = "AnghaBench/libgit2/src/extr_blob.c_git_blob_create_from_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_OBJECT_BLOB = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @git_blob_create_from_buffer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = icmp ne ptr %0, null
%8 = icmp ne ptr %1, null
%9 = and i1 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = call i32 @git_repository_odb__weakptr(ptr noundef nonnull %5, ptr noundef %1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %30, label %14
14: ; preds = %4
%15 = load ptr, ptr %5, align 8, !tbaa !6
%16 = load i32, ptr @GIT_OBJECT_BLOB, align 4, !tbaa !10
%17 = call i32 @git_odb_open_wstream(ptr noundef nonnull %6, ptr noundef %15, i64 noundef %3, i32 noundef %16) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %14
%20 = load ptr, ptr %6, align 8, !tbaa !6
%21 = call i32 @git_odb_stream_write(ptr noundef %20, ptr noundef %2, i64 noundef %3) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %6, align 8, !tbaa !6
%25 = call i32 @git_odb_stream_finalize_write(ptr noundef %0, ptr noundef %24) #3
br label %26
26: ; preds = %23, %19
%27 = phi i32 [ %25, %23 ], [ %21, %19 ]
%28 = load ptr, ptr %6, align 8, !tbaa !6
%29 = call i32 @git_odb_stream_free(ptr noundef %28) #3
br label %30
30: ; preds = %4, %14, %26
%31 = phi i32 [ %27, %26 ], [ %12, %4 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @git_repository_odb__weakptr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_odb_open_wstream(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_finalize_write(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_odb_stream_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| libgit2_src_extr_blob.c_git_blob_create_from_buffer |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vcpu.h___gpfn_is_io.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vcpu.h___gpfn_is_io.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GPFN_INV_MASK = dso_local local_unnamed_addr global i32 0, align 4
@GPFN_IO_MASK = dso_local local_unnamed_addr global i32 0, align 4
@GPFN_PHYS_MMIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__gpfn_is_io], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @__gpfn_is_io(i32 noundef %0) #0 {
%2 = tail call i32 @kvm_get_mpt_entry(i32 noundef %0) #2
%3 = load i32, ptr @GPFN_INV_MASK, align 4, !tbaa !5
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @GPFN_IO_MASK, align 4, !tbaa !5
%8 = and i32 %7, %2
%9 = load i32, ptr @GPFN_PHYS_MMIO, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %6, %1
br label %12
12: ; preds = %6, %11
%13 = phi i32 [ 0, %11 ], [ %8, %6 ]
ret i32 %13
}
declare i32 @kvm_get_mpt_entry(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/arch/ia64/kvm/extr_vcpu.h___gpfn_is_io.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vcpu.h___gpfn_is_io.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GPFN_INV_MASK = common local_unnamed_addr global i32 0, align 4
@GPFN_IO_MASK = common local_unnamed_addr global i32 0, align 4
@GPFN_PHYS_MMIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__gpfn_is_io], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @__gpfn_is_io(i32 noundef %0) #0 {
%2 = tail call i32 @kvm_get_mpt_entry(i32 noundef %0) #2
%3 = load i32, ptr @GPFN_INV_MASK, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @GPFN_IO_MASK, align 4, !tbaa !6
%8 = and i32 %7, %2
%9 = load i32, ptr @GPFN_PHYS_MMIO, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %6, %1
br label %12
12: ; preds = %6, %11
%13 = phi i32 [ 0, %11 ], [ %8, %6 ]
ret i32 %13
}
declare i32 @kvm_get_mpt_entry(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_arch_ia64_kvm_extr_vcpu.h___gpfn_is_io |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiInitAdminAccept.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiInitAdminAccept.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NiListenThread = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @NiInitAdminAccept(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr @NiListenThread, align 4, !tbaa !5
%5 = tail call ptr @NewThread(i32 noundef %4, ptr noundef nonnull %0) #2
%6 = tail call i32 @WaitThreadInit(ptr noundef %5) #2
store ptr %5, ptr %0, align 8, !tbaa !9
br label %7
7: ; preds = %1, %3
ret void
}
declare ptr @NewThread(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WaitThreadInit(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_4__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiInitAdminAccept.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiInitAdminAccept.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NiListenThread = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @NiInitAdminAccept(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr @NiListenThread, align 4, !tbaa !6
%5 = tail call ptr @NewThread(i32 noundef %4, ptr noundef nonnull %0) #2
%6 = tail call i32 @WaitThreadInit(ptr noundef %5) #2
store ptr %5, ptr %0, align 8, !tbaa !10
br label %7
7: ; preds = %1, %3
ret void
}
declare ptr @NewThread(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WaitThreadInit(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_4__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| SoftEtherVPN_src_Cedar_extr_Nat.c_NiInitAdminAccept |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_mipsnbsd-tdep.c_fetch_elfcore_registers.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_mipsnbsd-tdep.c_fetch_elfcore_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"
@SIZEOF_STRUCT_REG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Wrong size register set in core file.\00", align 1
@SIZEOF_STRUCT_FPREG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fetch_elfcore_registers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fetch_elfcore_registers(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
switch i32 %2, label %19 [
i32 0, label %5
i32 2, label %12
]
5: ; preds = %4
%6 = load i32, ptr @SIZEOF_STRUCT_REG, align 4, !tbaa !5
%7 = icmp eq i32 %6, %1
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @warning(ptr noundef nonnull @.str) #2
br label %19
10: ; preds = %5
%11 = tail call i32 @mipsnbsd_supply_reg(ptr noundef %0, i32 noundef -1) #2
br label %19
12: ; preds = %4
%13 = load i32, ptr @SIZEOF_STRUCT_FPREG, align 4, !tbaa !5
%14 = icmp eq i32 %13, %1
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = tail call i32 @warning(ptr noundef nonnull @.str) #2
br label %19
17: ; preds = %12
%18 = tail call i32 @mipsnbsd_supply_fpreg(ptr noundef %0, i32 noundef -1) #2
br label %19
19: ; preds = %4, %15, %17, %8, %10
ret void
}
declare i32 @warning(ptr noundef) local_unnamed_addr #1
declare i32 @mipsnbsd_supply_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mipsnbsd_supply_fpreg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_mipsnbsd-tdep.c_fetch_elfcore_registers.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_mipsnbsd-tdep.c_fetch_elfcore_registers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIZEOF_STRUCT_REG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Wrong size register set in core file.\00", align 1
@SIZEOF_STRUCT_FPREG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fetch_elfcore_registers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fetch_elfcore_registers(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
switch i32 %2, label %19 [
i32 0, label %5
i32 2, label %12
]
5: ; preds = %4
%6 = load i32, ptr @SIZEOF_STRUCT_REG, align 4, !tbaa !6
%7 = icmp eq i32 %6, %1
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @warning(ptr noundef nonnull @.str) #2
br label %19
10: ; preds = %5
%11 = tail call i32 @mipsnbsd_supply_reg(ptr noundef %0, i32 noundef -1) #2
br label %19
12: ; preds = %4
%13 = load i32, ptr @SIZEOF_STRUCT_FPREG, align 4, !tbaa !6
%14 = icmp eq i32 %13, %1
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = tail call i32 @warning(ptr noundef nonnull @.str) #2
br label %19
17: ; preds = %12
%18 = tail call i32 @mipsnbsd_supply_fpreg(ptr noundef %0, i32 noundef -1) #2
br label %19
19: ; preds = %4, %15, %17, %8, %10
ret void
}
declare i32 @warning(ptr noundef) local_unnamed_addr #1
declare i32 @mipsnbsd_supply_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mipsnbsd_supply_fpreg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_mipsnbsd-tdep.c_fetch_elfcore_registers |
; ModuleID = 'AnghaBench/fastsocket/kernel/virt/kvm/extr_coalesced_mmio.c_coalesced_mmio_in_range.c'
source_filename = "AnghaBench/fastsocket/kernel/virt/kvm/extr_coalesced_mmio.c_coalesced_mmio_in_range.c"
target datalayout = "e-m:e-p270:32:32-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.kvm_coalesced_mmio_dev = type { i32, ptr, ptr }
%struct.kvm_coalesced_mmio_ring = type { i32, i32 }
%struct.kvm_coalesced_mmio_zone = type { i64, i64 }
@KVM_COALESCED_MMIO_MAX = dso_local local_unnamed_addr global i32 0, align 4
@KVM_MAX_VCPUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @coalesced_mmio_in_range], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal noundef i32 @coalesced_mmio_in_range(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.kvm_coalesced_mmio_dev, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = getelementptr inbounds %struct.kvm_coalesced_mmio_ring, ptr %6, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = xor i32 %9, -1
%11 = add i32 %7, %10
%12 = load i32, ptr @KVM_COALESCED_MMIO_MAX, align 4, !tbaa !16
%13 = srem i32 %11, %12
%14 = load i32, ptr @KVM_MAX_VCPUS, align 4, !tbaa !16
%15 = icmp ult i32 %13, %14
br i1 %15, label %38, label %16
16: ; preds = %3
%17 = sext i32 %2 to i64
%18 = add nsw i64 %17, %1
%19 = load i32, ptr %0, align 8, !tbaa !17
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %38
21: ; preds = %16
%22 = getelementptr inbounds %struct.kvm_coalesced_mmio_dev, ptr %0, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !18
%24 = zext nneg i32 %19 to i64
br label %25
25: ; preds = %21, %35
%26 = phi i64 [ 0, %21 ], [ %36, %35 ]
%27 = getelementptr inbounds %struct.kvm_coalesced_mmio_zone, ptr %23, i64 %26
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = icmp sgt i64 %28, %1
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = getelementptr inbounds %struct.kvm_coalesced_mmio_zone, ptr %23, i64 %26, i32 1
%32 = load i64, ptr %31, align 8, !tbaa !22
%33 = add nsw i64 %32, %28
%34 = icmp sgt i64 %18, %33
br i1 %34, label %35, label %38
35: ; preds = %25, %30
%36 = add nuw nsw i64 %26, 1
%37 = icmp eq i64 %36, %24
br i1 %37, label %38, label %25, !llvm.loop !23
38: ; preds = %30, %35, %16, %3
%39 = phi i32 [ 0, %3 ], [ 0, %16 ], [ 1, %30 ], [ 0, %35 ]
ret i32 %39
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"kvm_coalesced_mmio_dev", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"kvm_coalesced_mmio_ring", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 4}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!20, !21, i64 0}
!20 = !{!"kvm_coalesced_mmio_zone", !21, i64 0, !21, i64 8}
!21 = !{!"long", !8, i64 0}
!22 = !{!20, !21, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/virt/kvm/extr_coalesced_mmio.c_coalesced_mmio_in_range.c'
source_filename = "AnghaBench/fastsocket/kernel/virt/kvm/extr_coalesced_mmio.c_coalesced_mmio_in_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.kvm_coalesced_mmio_zone = type { i64, i64 }
@KVM_COALESCED_MMIO_MAX = common local_unnamed_addr global i32 0, align 4
@KVM_MAX_VCPUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @coalesced_mmio_in_range], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @coalesced_mmio_in_range(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = getelementptr inbounds i8, ptr %6, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = xor i32 %9, -1
%11 = add i32 %7, %10
%12 = load i32, ptr @KVM_COALESCED_MMIO_MAX, align 4, !tbaa !17
%13 = srem i32 %11, %12
%14 = load i32, ptr @KVM_MAX_VCPUS, align 4, !tbaa !17
%15 = icmp ult i32 %13, %14
br i1 %15, label %38, label %16
16: ; preds = %3
%17 = sext i32 %2 to i64
%18 = add nsw i64 %17, %1
%19 = load i32, ptr %0, align 8, !tbaa !18
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %38
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !19
%24 = zext nneg i32 %19 to i64
br label %25
25: ; preds = %21, %35
%26 = phi i64 [ 0, %21 ], [ %36, %35 ]
%27 = getelementptr inbounds %struct.kvm_coalesced_mmio_zone, ptr %23, i64 %26
%28 = load i64, ptr %27, align 8, !tbaa !20
%29 = icmp sgt i64 %28, %1
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = getelementptr inbounds i8, ptr %27, i64 8
%32 = load i64, ptr %31, align 8, !tbaa !23
%33 = add nsw i64 %32, %28
%34 = icmp sgt i64 %18, %33
br i1 %34, label %35, label %38
35: ; preds = %25, %30
%36 = add nuw nsw i64 %26, 1
%37 = icmp eq i64 %36, %24
br i1 %37, label %38, label %25, !llvm.loop !24
38: ; preds = %30, %35, %16, %3
%39 = phi i32 [ 0, %3 ], [ 0, %16 ], [ 1, %30 ], [ 0, %35 ]
ret i32 %39
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"kvm_coalesced_mmio_dev", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"kvm_coalesced_mmio_ring", !8, i64 0, !8, i64 4}
!16 = !{!15, !8, i64 4}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 0}
!19 = !{!7, !11, i64 8}
!20 = !{!21, !22, i64 0}
!21 = !{!"kvm_coalesced_mmio_zone", !22, i64 0, !22, i64 8}
!22 = !{!"long", !9, i64 0}
!23 = !{!21, !22, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_virt_kvm_extr_coalesced_mmio.c_coalesced_mmio_in_range |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_unexpected_offload.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_unexpected_offload.c"
target datalayout = "e-m:e-p270:32:32-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.freelQ = type { i64, ptr }
%struct.freelQ_ce = type { ptr }
%struct.adapter = type { i32, i32 }
@dma_addr = dso_local local_unnamed_addr global i32 0, align 4
@dma_len = dso_local local_unnamed_addr global i32 0, align 4
@PCI_DMA_FROMDEVICE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"%s: unexpected offload packet, cmd %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @unexpected_offload], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unexpected_offload(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.freelQ, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %1, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.freelQ_ce, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i32, ptr @dma_addr, align 4, !tbaa !17
%11 = tail call i32 @dma_unmap_addr(ptr noundef nonnull %6, i32 noundef %10) #2
%12 = load i32, ptr @dma_len, align 4, !tbaa !17
%13 = tail call i32 @dma_unmap_len(ptr noundef nonnull %6, i32 noundef %12) #2
%14 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4, !tbaa !17
%15 = tail call i32 @pci_dma_sync_single_for_cpu(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
%16 = load i32, ptr %0, align 4, !tbaa !18
%17 = load ptr, ptr %7, align 8, !tbaa !19
%18 = load i32, ptr %17, align 4, !tbaa !17
%19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !11
%21 = tail call i32 @recycle_fl_buf(ptr noundef nonnull %1, i64 noundef %20) #2
ret void
}
declare i32 @pci_dma_sync_single_for_cpu(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_addr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_len(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @recycle_fl_buf(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"freelQ", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"freelQ_ce", !10, i64 0}
!14 = !{!15, !16, i64 4}
!15 = !{!"adapter", !16, i64 0, !16, i64 4}
!16 = !{!"int", !8, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !16, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"sk_buff", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_unexpected_offload.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_unexpected_offload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.freelQ_ce = type { ptr }
@dma_addr = common local_unnamed_addr global i32 0, align 4
@dma_len = common local_unnamed_addr global i32 0, align 4
@PCI_DMA_FROMDEVICE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"%s: unexpected offload packet, cmd %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @unexpected_offload], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unexpected_offload(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %1, align 8, !tbaa !12
%6 = getelementptr inbounds %struct.freelQ_ce, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load i32, ptr @dma_addr, align 4, !tbaa !18
%11 = tail call i32 @dma_unmap_addr(ptr noundef nonnull %6, i32 noundef %10) #2
%12 = load i32, ptr @dma_len, align 4, !tbaa !18
%13 = tail call i32 @dma_unmap_len(ptr noundef nonnull %6, i32 noundef %12) #2
%14 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4, !tbaa !18
%15 = tail call i32 @pci_dma_sync_single_for_cpu(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
%16 = load i32, ptr %0, align 4, !tbaa !19
%17 = load ptr, ptr %7, align 8, !tbaa !20
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !12
%21 = tail call i32 @recycle_fl_buf(ptr noundef nonnull %1, i64 noundef %20) #2
ret void
}
declare i32 @pci_dma_sync_single_for_cpu(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_addr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_len(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @recycle_fl_buf(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"freelQ", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"freelQ_ce", !11, i64 0}
!15 = !{!16, !17, i64 4}
!16 = !{!"adapter", !17, i64 0, !17, i64 4}
!17 = !{!"int", !9, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!16, !17, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"sk_buff", !11, i64 0}
| linux_drivers_net_ethernet_chelsio_cxgb_extr_sge.c_unexpected_offload |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp22_rss_is_supported.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp22_rss_is_supported.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@queue_mode = dso_local local_unnamed_addr global i64 0, align 8
@MVPP2_QDIST_MULTI_MODE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvpp22_rss_is_supported], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @mvpp22_rss_is_supported() #0 {
%1 = load i64, ptr @queue_mode, align 8, !tbaa !5
%2 = load i64, ptr @MVPP2_QDIST_MULTI_MODE, align 8, !tbaa !5
%3 = icmp eq i64 %1, %2
%4 = zext i1 %3 to i32
ret i32 %4
}
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/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp22_rss_is_supported.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp22_rss_is_supported.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@queue_mode = common local_unnamed_addr global i64 0, align 8
@MVPP2_QDIST_MULTI_MODE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @mvpp22_rss_is_supported], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @mvpp22_rss_is_supported() #0 {
%1 = load i64, ptr @queue_mode, align 8, !tbaa !6
%2 = load i64, ptr @MVPP2_QDIST_MULTI_MODE, align 8, !tbaa !6
%3 = icmp eq i64 %1, %2
%4 = zext i1 %3 to i32
ret i32 %4
}
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"}
| linux_drivers_net_ethernet_marvell_mvpp2_extr_mvpp2_main.c_mvpp22_rss_is_supported |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_disable_ints.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_disable_ints.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B44_IMASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b44_disable_ints], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @b44_disable_ints(ptr noundef %0) #0 {
%2 = tail call i32 @__b44_disable_ints(ptr noundef %0) #2
%3 = load i32, ptr @B44_IMASK, align 4, !tbaa !5
%4 = tail call i32 @br32(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @__b44_disable_ints(ptr noundef) local_unnamed_addr #1
declare i32 @br32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_disable_ints.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_disable_ints.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B44_IMASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b44_disable_ints], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @b44_disable_ints(ptr noundef %0) #0 {
%2 = tail call i32 @__b44_disable_ints(ptr noundef %0) #2
%3 = load i32, ptr @B44_IMASK, align 4, !tbaa !6
%4 = tail call i32 @br32(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @__b44_disable_ints(ptr noundef) local_unnamed_addr #1
declare i32 @br32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_broadcom_extr_b44.c_b44_disable_ints |
; ModuleID = 'AnghaBench/freebsd/sys/i386/pci/extr_pci_cfgreg.c_pci_cfgregwrite.c'
source_filename = "AnghaBench/freebsd/sys/i386/pci/extr_pci_cfgreg.c_pci_cfgregwrite.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cfgmech = dso_local local_unnamed_addr global i64 0, align 8
@CFGMECH_PCIE = dso_local local_unnamed_addr global i64 0, align 8
@pcie_minbus = dso_local local_unnamed_addr global i32 0, align 4
@pcie_maxbus = dso_local local_unnamed_addr global i32 0, align 4
@pcie_badslots = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @pci_cfgregwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load i64, ptr @cfgmech, align 8, !tbaa !5
%8 = load i64, ptr @CFGMECH_PCIE, align 8, !tbaa !5
%9 = icmp ne i64 %7, %8
%10 = load i32, ptr @pcie_minbus, align 4
%11 = icmp sgt i32 %10, %0
%12 = select i1 %9, i1 true, i1 %11
%13 = load i32, ptr @pcie_maxbus, align 4
%14 = icmp slt i32 %13, %0
%15 = select i1 %12, i1 true, i1 %14
br i1 %15, label %25, label %16
16: ; preds = %6
%17 = icmp eq i32 %0, 0
br i1 %17, label %18, label %23
18: ; preds = %16
%19 = shl nuw i32 1, %1
%20 = load i32, ptr @pcie_badslots, align 4, !tbaa !9
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18, %16
%24 = tail call i32 @pciereg_cfgwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
br label %27
25: ; preds = %18, %6
%26 = tail call i32 @pcireg_cfgwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
br label %27
27: ; preds = %25, %23
ret void
}
declare i32 @pciereg_cfgwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcireg_cfgwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/i386/pci/extr_pci_cfgreg.c_pci_cfgregwrite.c'
source_filename = "AnghaBench/freebsd/sys/i386/pci/extr_pci_cfgreg.c_pci_cfgregwrite.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cfgmech = common local_unnamed_addr global i64 0, align 8
@CFGMECH_PCIE = common local_unnamed_addr global i64 0, align 8
@pcie_minbus = common local_unnamed_addr global i32 0, align 4
@pcie_maxbus = common local_unnamed_addr global i32 0, align 4
@pcie_badslots = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @pci_cfgregwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load i64, ptr @cfgmech, align 8, !tbaa !6
%8 = load i64, ptr @CFGMECH_PCIE, align 8, !tbaa !6
%9 = icmp ne i64 %7, %8
%10 = load i32, ptr @pcie_minbus, align 4
%11 = icmp sgt i32 %10, %0
%12 = select i1 %9, i1 true, i1 %11
%13 = load i32, ptr @pcie_maxbus, align 4
%14 = icmp slt i32 %13, %0
%15 = select i1 %12, i1 true, i1 %14
br i1 %15, label %25, label %16
16: ; preds = %6
%17 = icmp eq i32 %0, 0
br i1 %17, label %18, label %23
18: ; preds = %16
%19 = shl nuw i32 1, %1
%20 = load i32, ptr @pcie_badslots, align 4, !tbaa !10
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18, %16
%24 = tail call i32 @pciereg_cfgwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
br label %27
25: ; preds = %18, %6
%26 = tail call i32 @pcireg_cfgwrite(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
br label %27
27: ; preds = %25, %23
ret void
}
declare i32 @pciereg_cfgwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcireg_cfgwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_sys_i386_pci_extr_pci_cfgreg.c_pci_cfgregwrite |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ncpaddr.c_ncprange_init.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ncpaddr.c_ncprange_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AF_UNSPEC = 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 @ncprange_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !5
store i32 %2, ptr %0, 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 = !{!"ncprange", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ncpaddr.c_ncprange_init.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ncpaddr.c_ncprange_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AF_UNSPEC = 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 @ncprange_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !6
store i32 %2, ptr %0, 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 = !{!"ncprange", !7, i64 0}
| freebsd_usr.sbin_ppp_extr_ncpaddr.c_ncprange_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_udp.c_udp_v6_flush_pending_frames.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_udp.c_udp_v6_flush_pending_frames.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AF_INET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @udp_v6_flush_pending_frames], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @udp_v6_flush_pending_frames(ptr noundef %0) #0 {
%2 = tail call ptr @udp_sk(ptr noundef %0) #3
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr @AF_INET, align 8, !tbaa !10
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call i32 @udp_flush_pending_frames(ptr noundef %0) #3
br label %12
8: ; preds = %1
%9 = icmp eq i64 %3, 0
br i1 %9, label %12, label %10
10: ; preds = %8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%11 = tail call i32 @ip6_flush_pending_frames(ptr noundef %0) #3
br label %12
12: ; preds = %8, %10, %6
ret void
}
declare ptr @udp_sk(ptr noundef) local_unnamed_addr #1
declare i32 @udp_flush_pending_frames(ptr noundef) local_unnamed_addr #1
declare i32 @ip6_flush_pending_frames(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"udp_sock", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_udp.c_udp_v6_flush_pending_frames.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_udp.c_udp_v6_flush_pending_frames.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AF_INET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @udp_v6_flush_pending_frames], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @udp_v6_flush_pending_frames(ptr noundef %0) #0 {
%2 = tail call ptr @udp_sk(ptr noundef %0) #3
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr @AF_INET, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call i32 @udp_flush_pending_frames(ptr noundef %0) #3
br label %12
8: ; preds = %1
%9 = icmp eq i64 %3, 0
br i1 %9, label %12, label %10
10: ; preds = %8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%11 = tail call i32 @ip6_flush_pending_frames(ptr noundef %0) #3
br label %12
12: ; preds = %8, %10, %6
ret void
}
declare ptr @udp_sk(ptr noundef) local_unnamed_addr #1
declare i32 @udp_flush_pending_frames(ptr noundef) local_unnamed_addr #1
declare i32 @ip6_flush_pending_frames(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"udp_sock", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_net_ipv6_extr_udp.c_udp_v6_flush_pending_frames |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/calxeda/extr_xgmac.c_desc_init_tx_desc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/calxeda/extr_xgmac.c_desc_init_tx_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"
%struct.xgmac_dma_desc = type { i32 }
@TXDESC_END_RING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @desc_init_tx_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @desc_init_tx_desc(ptr noundef %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef %3) #2
%5 = load i32, ptr @TXDESC_END_RING, align 4, !tbaa !5
%6 = tail call i32 @cpu_to_le32(i32 noundef %5) #2
%7 = sext i32 %1 to i64
%8 = getelementptr %struct.xgmac_dma_desc, ptr %0, i64 %7
%9 = getelementptr %struct.xgmac_dma_desc, ptr %8, i64 -1
store i32 %6, ptr %9, align 4, !tbaa !9
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"xgmac_dma_desc", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/calxeda/extr_xgmac.c_desc_init_tx_desc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/calxeda/extr_xgmac.c_desc_init_tx_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.xgmac_dma_desc = type { i32 }
@TXDESC_END_RING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @desc_init_tx_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @desc_init_tx_desc(ptr noundef %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef %3) #2
%5 = load i32, ptr @TXDESC_END_RING, align 4, !tbaa !6
%6 = tail call i32 @cpu_to_le32(i32 noundef %5) #2
%7 = sext i32 %1 to i64
%8 = getelementptr %struct.xgmac_dma_desc, ptr %0, i64 %7
%9 = getelementptr i8, ptr %8, i64 -4
store i32 %6, ptr %9, align 4, !tbaa !10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(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"}
!10 = !{!11, !7, i64 0}
!11 = !{!"xgmac_dma_desc", !7, i64 0}
| linux_drivers_net_ethernet_calxeda_extr_xgmac.c_desc_init_tx_desc |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_ioctl_set.c_validate_ssid.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_ioctl_set.c_validate_ssid.c"
target datalayout = "e-m:e-p270:32:32-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.ndis_802_11_ssid = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @validate_ssid], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal noundef i32 @validate_ssid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 32
br i1 %3, label %19, label %4
4: ; preds = %1
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %19
6: ; preds = %4
%7 = getelementptr inbounds %struct.ndis_802_11_ssid, ptr %0, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = zext nneg i32 %2 to i64
br label %13
10: ; preds = %13
%11 = add nuw nsw i64 %14, 1
%12 = icmp eq i64 %11, %9
br i1 %12, label %19, label %13, !llvm.loop !12
13: ; preds = %6, %10
%14 = phi i64 [ 0, %6 ], [ %11, %10 ]
%15 = getelementptr inbounds i32, ptr %8, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = add i32 %16, -32
%18 = icmp ult i32 %17, 95
br i1 %18, label %10, label %19
19: ; preds = %13, %10, %4, %1
%20 = phi i32 [ 0, %1 ], [ 1, %4 ], [ 0, %13 ], [ 1, %10 ]
ret i32 %20
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ndis_802_11_ssid", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_ioctl_set.c_validate_ssid.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_ioctl_set.c_validate_ssid.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 @validate_ssid], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @validate_ssid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 32
br i1 %3, label %19, label %4
4: ; preds = %1
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %19
6: ; preds = %4
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = zext nneg i32 %2 to i64
br label %13
10: ; preds = %13
%11 = add nuw nsw i64 %14, 1
%12 = icmp eq i64 %11, %9
br i1 %12, label %19, label %13, !llvm.loop !13
13: ; preds = %6, %10
%14 = phi i64 [ 0, %6 ], [ %11, %10 ]
%15 = getelementptr inbounds i32, ptr %8, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = add i32 %16, -32
%18 = icmp ult i32 %17, 95
br i1 %18, label %10, label %19
19: ; preds = %13, %10, %4, %1
%20 = phi i32 [ 0, %1 ], [ 1, %4 ], [ 0, %13 ], [ 1, %10 ]
ret i32 %20
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ndis_802_11_ssid", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!8, !8, i64 0}
| linux_drivers_staging_rtl8712_extr_rtl871x_ioctl_set.c_validate_ssid |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_xgmac.c_xgene_enet_reset.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_xgmac.c_xgene_enet_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.xgene_enet_pdata = type { ptr, i32 }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgene_enet_reset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xgene_enet_reset(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @xgene_ring_mgr_init(ptr noundef nonnull %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENODEV, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %25
8: ; preds = %1
%9 = load i64, ptr %2, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %22, label %11
11: ; preds = %8
%12 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = tail call i32 @clk_prepare_enable(i32 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 5) #2
%16 = load i32, ptr %12, align 8, !tbaa !15
%17 = tail call i32 @clk_disable_unprepare(i32 noundef %16) #2
%18 = tail call i32 @udelay(i32 noundef 5) #2
%19 = load i32, ptr %12, align 8, !tbaa !15
%20 = tail call i32 @clk_prepare_enable(i32 noundef %19) #2
%21 = tail call i32 @udelay(i32 noundef 5) #2
br label %22
22: ; preds = %8, %11
%23 = tail call i32 @xgene_enet_ecc_init(ptr noundef nonnull %0) #2
%24 = tail call i32 @xgene_enet_config_ring_if_assoc(ptr noundef nonnull %0) #2
br label %25
25: ; preds = %22, %5
%26 = phi i32 [ 0, %22 ], [ %7, %5 ]
ret i32 %26
}
declare i32 @xgene_ring_mgr_init(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @xgene_enet_ecc_init(ptr noundef) local_unnamed_addr #1
declare i32 @xgene_enet_config_ring_if_assoc(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 = !{!"xgene_enet_pdata", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"device", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_xgmac.c_xgene_enet_reset.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_xgmac.c_xgene_enet_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgene_enet_reset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @xgene_enet_reset(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @xgene_ring_mgr_init(ptr noundef nonnull %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENODEV, align 4, !tbaa !12
%7 = sub nsw i32 0, %6
br label %25
8: ; preds = %1
%9 = load i64, ptr %2, align 8, !tbaa !13
%10 = icmp eq i64 %9, 0
br i1 %10, label %22, label %11
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !16
%14 = tail call i32 @clk_prepare_enable(i32 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 5) #2
%16 = load i32, ptr %12, align 8, !tbaa !16
%17 = tail call i32 @clk_disable_unprepare(i32 noundef %16) #2
%18 = tail call i32 @udelay(i32 noundef 5) #2
%19 = load i32, ptr %12, align 8, !tbaa !16
%20 = tail call i32 @clk_prepare_enable(i32 noundef %19) #2
%21 = tail call i32 @udelay(i32 noundef 5) #2
br label %22
22: ; preds = %8, %11
%23 = tail call i32 @xgene_enet_ecc_init(ptr noundef nonnull %0) #2
%24 = tail call i32 @xgene_enet_config_ring_if_assoc(ptr noundef nonnull %0) #2
br label %25
25: ; preds = %22, %5
%26 = phi i32 [ 0, %22 ], [ %7, %5 ]
ret i32 %26
}
declare i32 @xgene_ring_mgr_init(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @xgene_enet_ecc_init(ptr noundef) local_unnamed_addr #1
declare i32 @xgene_enet_config_ring_if_assoc(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 = !{!"xgene_enet_pdata", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"device", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !11, i64 8}
| linux_drivers_net_ethernet_apm_xgene_extr_xgene_enet_xgmac.c_xgene_enet_reset |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.c_signal_cb.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.c_signal_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"
@test_ok = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @signal_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @signal_cb(i32 %0, i16 signext %1, ptr noundef %2) #0 {
%4 = tail call i32 @evsignal_del(ptr noundef %2) #2
store i32 1, ptr @test_ok, align 4, !tbaa !5
ret void
}
declare i32 @evsignal_del(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.c_signal_cb.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.c_signal_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@test_ok = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @signal_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @signal_cb(i32 %0, i16 signext %1, ptr noundef %2) #0 {
%4 = tail call i32 @evsignal_del(ptr noundef %2) #2
store i32 1, ptr @test_ok, align 4, !tbaa !6
ret void
}
declare i32 @evsignal_del(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_libevent_test_extr_regress.c_signal_cb |
; ModuleID = 'AnghaBench/fastdfs/tracker/extr_fdfs_server_id_func.c_fdfs_is_server_id_valid.c'
source_filename = "AnghaBench/fastdfs/tracker/extr_fdfs_server_id_func.c_fdfs_is_server_id_valid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FDFS_STORAGE_ID_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@FDFS_MAX_SERVER_ID = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @fdfs_is_server_id_valid(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = load i32, ptr @FDFS_STORAGE_ID_MAX_SIZE, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = tail call ptr @llvm.stacksave.p0()
%6 = alloca i8, i64 %4, align 16
%7 = load i8, ptr %0, align 1, !tbaa !9
%8 = icmp eq i8 %7, 0
br i1 %8, label %26, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8, !tbaa !10
%10 = call i64 @strtol(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 10)
%11 = load ptr, ptr %2, align 8, !tbaa !10
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = load i8, ptr %11, align 1, !tbaa !9
%15 = icmp eq i8 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %13, %9
%17 = icmp slt i64 %10, 1
%18 = load i64, ptr @FDFS_MAX_SERVER_ID, align 8
%19 = icmp sgt i64 %10, %18
%20 = select i1 %17, i1 true, i1 %19
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = call i32 @snprintf(ptr noundef nonnull %6, i32 noundef %3, ptr noundef nonnull @.str, i64 noundef %10) #5
%23 = call i64 @strcmp(ptr noundef nonnull %6, ptr noundef nonnull %0) #5
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %16, %13, %1, %21
%27 = phi i32 [ %25, %21 ], [ 0, %1 ], [ 0, %13 ], [ 0, %16 ]
call void @llvm.stackrestore.p0(ptr %5)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { "no-trapping-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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastdfs/tracker/extr_fdfs_server_id_func.c_fdfs_is_server_id_valid.c'
source_filename = "AnghaBench/fastdfs/tracker/extr_fdfs_server_id_func.c_fdfs_is_server_id_valid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FDFS_STORAGE_ID_MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@FDFS_MAX_SERVER_ID = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @fdfs_is_server_id_valid(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = load i32, ptr @FDFS_STORAGE_ID_MAX_SIZE, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = tail call ptr @llvm.stacksave.p0()
%6 = alloca i8, i64 %4, align 1
%7 = load i8, ptr %0, align 1, !tbaa !10
%8 = icmp eq i8 %7, 0
br i1 %8, label %26, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8, !tbaa !11
%10 = call i64 @strtol(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 10)
%11 = load ptr, ptr %2, align 8, !tbaa !11
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = load i8, ptr %11, align 1, !tbaa !10
%15 = icmp eq i8 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %13, %9
%17 = icmp slt i64 %10, 1
%18 = load i64, ptr @FDFS_MAX_SERVER_ID, align 8
%19 = icmp sgt i64 %10, %18
%20 = select i1 %17, i1 true, i1 %19
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = call i32 @snprintf(ptr noundef nonnull %6, i32 noundef %3, ptr noundef nonnull @.str, i64 noundef %10) #5
%23 = call i64 @strcmp(ptr noundef nonnull %6, ptr noundef nonnull %0) #5
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %16, %13, %1, %21
%27 = phi i32 [ %25, %21 ], [ 0, %1 ], [ 0, %13 ], [ 0, %16 ]
call void @llvm.stackrestore.p0(ptr %5)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| fastdfs_tracker_extr_fdfs_server_id_func.c_fdfs_is_server_id_valid |
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/windows/extr_spy.c_get_indent_level.c'
source_filename = "AnghaBench/reactos/win32ss/user/user32/windows/extr_spy.c_get_indent_level.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@indent_tls_index = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_indent_level], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @get_indent_level() #0 {
%1 = load i32, ptr @indent_tls_index, align 4, !tbaa !5
%2 = tail call i32 @TlsGetValue(i32 noundef %1) #2
ret i32 %2
}
declare i32 @TlsGetValue(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/win32ss/user/user32/windows/extr_spy.c_get_indent_level.c'
source_filename = "AnghaBench/reactos/win32ss/user/user32/windows/extr_spy.c_get_indent_level.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@indent_tls_index = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_indent_level], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @get_indent_level() #0 {
%1 = load i32, ptr @indent_tls_index, align 4, !tbaa !6
%2 = tail call i32 @TlsGetValue(i32 noundef %1) #2
ret i32 %2
}
declare i32 @TlsGetValue(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_win32ss_user_user32_windows_extr_spy.c_get_indent_level |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_element.c_svn_element__tree_set.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_element.c_svn_element__tree_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_element__tree_set(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @svn_eid__hash_set(i32 noundef %4, i32 noundef %1, ptr noundef %2) #2
%6 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
ret ptr %6
}
declare i32 @svn_eid__hash_set(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !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}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_element.c_svn_element__tree_set.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_element.c_svn_element__tree_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_element__tree_set(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @svn_eid__hash_set(i32 noundef %4, i32 noundef %1, ptr noundef %2) #2
%6 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !11
ret ptr %6
}
declare i32 @svn_eid__hash_set(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_delta_extr_element.c_svn_element__tree_set |
; ModuleID = 'AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_set_module_params.c'
source_filename = "AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_set_module_params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_soc_dapm_widget = type { i32, ptr, ptr }
%struct.skl_specific_cfg = type { i64, i64, i32, ptr }
%struct.snd_kcontrol_new = type { i32, i64 }
%struct.skl_algo_data = type { i64, i64, i32, i64 }
@SKL_PARAM_SET = dso_local local_unnamed_addr global i64 0, align 8
@SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @skl_tplg_set_module_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @skl_tplg_set_module_params(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = getelementptr inbounds %struct.skl_specific_cfg, ptr %4, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr @SKL_PARAM_SET, align 8, !tbaa !16
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %19
12: ; preds = %7
%13 = getelementptr inbounds %struct.skl_specific_cfg, ptr %4, i64 0, i32 3
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = getelementptr inbounds %struct.skl_specific_cfg, ptr %4, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !18
%17 = tail call i32 @skl_set_module_params(ptr noundef %1, ptr noundef %14, i64 noundef %5, i32 noundef %16, ptr noundef nonnull %4) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %62, label %19
19: ; preds = %12, %7, %2
%20 = load i32, ptr %0, align 8, !tbaa !19
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %19
%23 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %0, i64 0, i32 1
%24 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, align 4, !tbaa !20
br label %25
25: ; preds = %22, %56
%26 = phi i32 [ %20, %22 ], [ %57, %56 ]
%27 = phi i32 [ %24, %22 ], [ %58, %56 ]
%28 = phi i64 [ 0, %22 ], [ %59, %56 ]
%29 = load ptr, ptr %23, align 8, !tbaa !21
%30 = getelementptr inbounds %struct.snd_kcontrol_new, ptr %29, i64 %28
%31 = load i32, ptr %30, align 8, !tbaa !22
%32 = and i32 %27, %31
%33 = icmp eq i32 %32, 0
br i1 %33, label %56, label %34
34: ; preds = %25
%35 = getelementptr inbounds %struct.snd_kcontrol_new, ptr %29, i64 %28, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !24
%37 = inttoptr i64 %36 to ptr
%38 = load i64, ptr %37, align 8, !tbaa !25
%39 = inttoptr i64 %38 to ptr
%40 = load i64, ptr %39, align 8, !tbaa !28
%41 = load i64, ptr @SKL_PARAM_SET, align 8, !tbaa !16
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %34
%44 = getelementptr inbounds %struct.skl_algo_data, ptr %39, i64 0, i32 3
%45 = load i64, ptr %44, align 8, !tbaa !30
%46 = inttoptr i64 %45 to ptr
%47 = getelementptr inbounds %struct.skl_algo_data, ptr %39, i64 0, i32 1
%48 = load i64, ptr %47, align 8, !tbaa !31
%49 = getelementptr inbounds %struct.skl_algo_data, ptr %39, i64 0, i32 2
%50 = load i32, ptr %49, align 8, !tbaa !32
%51 = tail call i32 @skl_set_module_params(ptr noundef %1, ptr noundef %46, i64 noundef %48, i32 noundef %50, ptr noundef nonnull %4) #2
%52 = icmp slt i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %43
%54 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, align 4, !tbaa !20
%55 = load i32, ptr %0, align 8, !tbaa !19
br label %56
56: ; preds = %53, %25, %34
%57 = phi i32 [ %26, %25 ], [ %55, %53 ], [ %26, %34 ]
%58 = phi i32 [ %27, %25 ], [ %54, %53 ], [ %27, %34 ]
%59 = add nuw nsw i64 %28, 1
%60 = sext i32 %57 to i64
%61 = icmp slt i64 %59, %60
br i1 %61, label %25, label %62, !llvm.loop !33
62: ; preds = %43, %56, %19, %12
%63 = phi i32 [ %17, %12 ], [ 0, %19 ], [ %51, %43 ], [ 0, %56 ]
ret i32 %63
}
declare i32 @skl_set_module_params(ptr noundef, ptr 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 16}
!6 = !{!"snd_soc_dapm_widget", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"skl_specific_cfg", !13, i64 0, !13, i64 8, !7, i64 16, !10, i64 24}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"skl_module_cfg", !12, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !10, i64 24}
!18 = !{!12, !7, i64 16}
!19 = !{!6, !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!6, !10, i64 8}
!22 = !{!23, !7, i64 0}
!23 = !{!"snd_kcontrol_new", !7, i64 0, !13, i64 8}
!24 = !{!23, !13, i64 8}
!25 = !{!26, !13, i64 0}
!26 = !{!"soc_bytes_ext", !27, i64 0}
!27 = !{!"TYPE_2__", !13, i64 0}
!28 = !{!29, !13, i64 0}
!29 = !{!"skl_algo_data", !13, i64 0, !13, i64 8, !7, i64 16, !13, i64 24}
!30 = !{!29, !13, i64 24}
!31 = !{!29, !13, i64 8}
!32 = !{!29, !7, i64 16}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_set_module_params.c'
source_filename = "AnghaBench/linux/sound/soc/intel/skylake/extr_skl-topology.c_skl_tplg_set_module_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.snd_kcontrol_new = type { i32, i64 }
@SKL_PARAM_SET = common local_unnamed_addr global i64 0, align 8
@SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @skl_tplg_set_module_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @skl_tplg_set_module_params(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %4, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !15
%10 = load i64, ptr @SKL_PARAM_SET, align 8, !tbaa !17
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %19
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %4, i64 24
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = getelementptr inbounds i8, ptr %4, i64 16
%16 = load i32, ptr %15, align 8, !tbaa !19
%17 = tail call i32 @skl_set_module_params(ptr noundef %1, ptr noundef %14, i64 noundef %5, i32 noundef %16, ptr noundef nonnull %4) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %62, label %19
19: ; preds = %12, %7, %2
%20 = load i32, ptr %0, align 8, !tbaa !20
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %19
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, align 4, !tbaa !21
br label %25
25: ; preds = %22, %56
%26 = phi i32 [ %20, %22 ], [ %57, %56 ]
%27 = phi i32 [ %24, %22 ], [ %58, %56 ]
%28 = phi i64 [ 0, %22 ], [ %59, %56 ]
%29 = load ptr, ptr %23, align 8, !tbaa !22
%30 = getelementptr inbounds %struct.snd_kcontrol_new, ptr %29, i64 %28
%31 = load i32, ptr %30, align 8, !tbaa !23
%32 = and i32 %27, %31
%33 = icmp eq i32 %32, 0
br i1 %33, label %56, label %34
34: ; preds = %25
%35 = getelementptr inbounds i8, ptr %30, i64 8
%36 = load i64, ptr %35, align 8, !tbaa !25
%37 = inttoptr i64 %36 to ptr
%38 = load i64, ptr %37, align 8, !tbaa !26
%39 = inttoptr i64 %38 to ptr
%40 = load i64, ptr %39, align 8, !tbaa !29
%41 = load i64, ptr @SKL_PARAM_SET, align 8, !tbaa !17
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %34
%44 = getelementptr inbounds i8, ptr %39, i64 24
%45 = load i64, ptr %44, align 8, !tbaa !31
%46 = inttoptr i64 %45 to ptr
%47 = getelementptr inbounds i8, ptr %39, i64 8
%48 = load i64, ptr %47, align 8, !tbaa !32
%49 = getelementptr inbounds i8, ptr %39, i64 16
%50 = load i32, ptr %49, align 8, !tbaa !33
%51 = tail call i32 @skl_set_module_params(ptr noundef %1, ptr noundef %46, i64 noundef %48, i32 noundef %50, ptr noundef nonnull %4) #2
%52 = icmp slt i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %43
%54 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, align 4, !tbaa !21
%55 = load i32, ptr %0, align 8, !tbaa !20
br label %56
56: ; preds = %53, %25, %34
%57 = phi i32 [ %26, %25 ], [ %55, %53 ], [ %26, %34 ]
%58 = phi i32 [ %27, %25 ], [ %54, %53 ], [ %27, %34 ]
%59 = add nuw nsw i64 %28, 1
%60 = sext i32 %57 to i64
%61 = icmp slt i64 %59, %60
br i1 %61, label %25, label %62, !llvm.loop !34
62: ; preds = %43, %56, %19, %12
%63 = phi i32 [ %17, %12 ], [ 0, %19 ], [ %51, %43 ], [ 0, %56 ]
ret i32 %63
}
declare i32 @skl_set_module_params(ptr noundef, ptr 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 16}
!7 = !{!"snd_soc_dapm_widget", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"skl_specific_cfg", !14, i64 0, !14, i64 8, !8, i64 16, !11, i64 24}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"skl_module_cfg", !13, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !11, i64 24}
!19 = !{!13, !8, i64 16}
!20 = !{!7, !8, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!7, !11, i64 8}
!23 = !{!24, !8, i64 0}
!24 = !{!"snd_kcontrol_new", !8, i64 0, !14, i64 8}
!25 = !{!24, !14, i64 8}
!26 = !{!27, !14, i64 0}
!27 = !{!"soc_bytes_ext", !28, i64 0}
!28 = !{!"TYPE_2__", !14, i64 0}
!29 = !{!30, !14, i64 0}
!30 = !{!"skl_algo_data", !14, i64 0, !14, i64 8, !8, i64 16, !14, i64 24}
!31 = !{!30, !14, i64 24}
!32 = !{!30, !14, i64 8}
!33 = !{!30, !8, i64 16}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
| linux_sound_soc_intel_skylake_extr_skl-topology.c_skl_tplg_set_module_params |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.